Get Example source ABAP code based on a different SAP table
ID DYNPRO% • SET SCREEN ABAP Statement
SET SCREEN> Short Reference >
ABAP_SYNTAX SET SCREEN dynnr.>
What does it do? This statement sets the dynpro> with the dynpro number> specified in dynnr> as the next dynpro> of the current dynpro. dynnr> expects a data object of the type n > and the length 4. It must contain either the dynpro number of a dynpro in the main program> of the current program group> or the value 0, otherwise an uncatchable exception is raised. The specified next dynpro overwrites the previously defined next dynpro. The next dynpro is called automatically when the end of PAI> processing is reached for the current dynpro. If the dynpro number of the next dynpro is 0, the current dynpro sequence is ended.
Latest notes: There is always a next dynpro defined while a dynpro is being processed. After a dynpro is called, the next dynpro whose properties are defined statically applies, which can be overwritten using the statement SET SCREEN> for as long as the current dynpro is being processed. ABAP_HINT_END