This method has become obsolete with the introduction of the
container concept in Release 4.6. Do not use this method any longer. Instead, use the LINK method on the container instance.When the office application is initialized, the connection is set for the current program (SY-REPID) and screen (SY-DYNPRO). The SAP Document Container Control is created on this screen. If you want to specify a different screen after the initialization, you can use the method init_control, specifying the new program and screen.
CALL METHOD control->link_control
EXPORTING rep_id = rep_id
dynpro_nr = dynpro_nr
gui_container = gui_container
no_flush = no_flush
IMPORTING retcode = retcode
error = error.
Description of parameters
Parameter |
Optional |
Description |
rep_id |
X |
Obsolete . Previous use:Names the program or the module pool of the screen in which the office application will be displayed. (If you have not specified a container but want to process the events from the desktop application). |
dynpro_nr |
X |
Obsolete . Previous use:Number of the screen on which you want to create the SAP Document Container Control. (If you have not specified a container but want to process the events from the desktop application). |
gui_container |
X |
Obsolete . Previous use:Name of the container defined in the Screen Painter for which the SAP Document Container Control should be created. |
rep_id |
X |
Name of program or module pool containing the screen on which you want to create the SAP Document Container Control. |
dynpro_nr |
X |
Number of the screen on which you want to create the SAP Document Container Control. |
gui_container |
X |
Name of the container defined in the Screen Painter for which the SAP Document Container Control should be created. |
Any parameters not contained in the individual method descriptions are listed under
Generic Parameters.