To get information about the screen to be synchronized, your transaction must use the function module ITS_GET_SYNC_INFO, which exports an internal table SYNC_INFO (defined as structure SITSSYNC). SYNC_INFO has the following fields:
Field Name |
Description |
REPID |
Module pool for the screen. |
DYNNR |
Screen number of the screen. |
SUBSC |
Subscreen name or "MAIN". |
If this is a single-frame transaction (that is, the update screen does not contain any subscreens), SYNC_INFO contains only one line. In this case, the field SYNC_INFO-SUBSC contains the string "MAIN".
For a multi-frame transaction (that is, the update screen contains subscreens), the table contains one line for the main screen, and one line for each subscreen. In this case, the field SYNC_INFO-SUBSC contains the name of the subscreen.