You use this method to add an internal table to the table collection.
CALL METHOD table_coll->add_table_by_url
EXPORTING table_name = table_name
table_title = table_title
table_type = table_type
table_url = table_url
no_flush = no_flush
IMPORTING error = error
retcode = retcode.
Description of parameters
Parameter |
Optional |
Description |
table_name |
The name of the internal table in the ABAP program | |
table_title |
X |
Describes the table |
table_type |
Table type: table_coll->table_type_input : Passes an empty table to the desktop application This is used to load data from the application into the R/3 System.table_coll->table_type_output : Passes a filled table to the desktop application This is used to pass data from the R/3 System to the application. | |
table_url |
The location of an internal table when it has been downloaded to the presentation server (location created for example using the function module ‘DP_CREATE_URL_FROM_TABLE’) |

You must download the contents of the internal table form the presentation server. Use a function module to maintain data in the data provider. The URL address is then transferred to the link server.