Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Leave list processing in simple words

3,820

can someone explain me these following terms in layman way or with examples- list processor, screen list, list dynpro, dynpro,

leave list processing, leave to list processing and the use of these.

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
3,752

There are 2 modes, either screen (dynpro layout) or list (WRITE):

  • During selection screen processing, it's mode screen.
  • After START-OF-SELECTION, it's mode list.
  • During CALL SCREEN, it's mode screen.
  • If you want to go from mode screen to list, use LEAVE TO LIST-PROCESSING
  • If you want to go from mode list to screen, use LEAVE LIST-PROCESSING

If you work only with screens:

  • At the end of PAI of a dynpro, the next screen is defined statically in the dynpro attributes, or overwritten dynamically at runtime using SET SCREEN
  • To leave the screen and continue after CALL SCREEN, the next screen should be set to 0
  • LEAVE SCREEN terminates the current PAI, like RETURN at each level in the stack
  • LEAVE TO SCREEN xxxx does LEAVE SCREEN + SET SCREEN xxxx at the same time

can someone explain me these following terms in layman way or with examples- list processor, screen list, list dynpro, dynpro,

leave list processing, leave to list processing and the use of these.

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
3,752

What don't you understand? Why do you need to understand these obsolete concepts?

All of them are described in the ABAP glossary and in the ABAP documentation.

Read only

3,752

what i dont understand is where and when should i use leave screen or leave list processing.

Read only

Sandra_Rossi
Active Contributor
3,753

There are 2 modes, either screen (dynpro layout) or list (WRITE):

  • During selection screen processing, it's mode screen.
  • After START-OF-SELECTION, it's mode list.
  • During CALL SCREEN, it's mode screen.
  • If you want to go from mode screen to list, use LEAVE TO LIST-PROCESSING
  • If you want to go from mode list to screen, use LEAVE LIST-PROCESSING

If you work only with screens:

  • At the end of PAI of a dynpro, the next screen is defined statically in the dynpro attributes, or overwritten dynamically at runtime using SET SCREEN
  • To leave the screen and continue after CALL SCREEN, the next screen should be set to 0
  • LEAVE SCREEN terminates the current PAI, like RETURN at each level in the stack
  • LEAVE TO SCREEN xxxx does LEAVE SCREEN + SET SCREEN xxxx at the same time