SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → User Dialogs → Screens → ABAP Statements for Screens →Syntax
CALL SCREEN dynnr
[STARTING AT col1 lin1
[ENDING AT col2 lin2]].
Addition:
... STARTING AT col1 lin1 [ENDING AT col2 lin2]
Effect
This statement calls the dynpro with the dynpro number specified in dynnr. dynnr expects a data object of the type n and the length 4. The call starts a new dynpro sequence, which is embedded into the current dynpro sequence. The dynpro with dynpro number dynnr is the initial dynpro of the dynpro sequence. In a dynpro sequence started by a transaction code, up to 50 other dynpro sequences can be nested.
The called dynpro sequence is ended when one the dynpros branches to the next dynpro with the number 0. The program flow is then continued after CALL SCREEN.
The statement CALL SCREEN accesses the dynpros of the relevant main program of the current program group and these use the global data and dialog modules of the main program. Except when calling a dynpro in an externally called subroutine, the main program usually is the current program. If the specified dynpro does not exist in the main program of the program group, an unhandleable exception is raised.
By default, the screens of all
dynpros of the called dynpro sequence are displayed in the current window. Use addition STARTING AT to open a modal dialog window.
... STARTING AT col1 lin1 [ENDING AT col2 lin2]
Effect
Use addition STARTING AT to open a new popup level and to display all screens of the called dynpro sequence in a modal dialog window. The upper left corner of the dialog box is determined by the values in col1 and lin1 for column and row. The values refer to the window with popup level 0. The lower right corner is set automatically or use col2 and lin2 can be used to specify it after ENDING AT. For col1, lin1, col2 and lin2, data objects of the type i are expected. The values of col1, lin1 should be smaller than col2, lin2; Otherwise the behavior will be undefined. The maximum popup level is 9.
Notes
Non-Catchable Exceptions