on 2023 May 14 5:54 PM
Hi All,
I have called a list in dynpro screen.
So, I have used Leave to list processing and Return to screen 0.
Suppress dialog.
Also, In the screen of application toolbar I have created a button using set pf-status 'screennumber' but that button is not working though I have written the logic for the button In the PAI event.
If I don't use Leave to list processing Return to screen 0 that button is working but I am not getting the output in the list.
Request clarification before answering.
The problem with your question is that you say "it is working" but we don't don't know what is the corresponding symptom (your "is working" is maybe not what experts would expect).
Also, we don't understand the exact flow of your program, when the ABAP statements are executed, in which part of screen, etc. It's a program with very few number of ABAP lines, so you could share it.
I don't understand why you use suppress dialog as you don't want to suppress any dialog here...
I don't understand why you need to use "and return to screen 0".
e.g. this code "works very well for me":
REPORT.
DATA okcode TYPE syucomm.
CALL SCREEN 100.
MODULE status_0100 OUTPUT.
SET PF-STATUS '0100'.
ENDMODULE.
MODULE user_command_0100 INPUT.
CASE okcode.
WHEN 'BACK'.
SET SCREEN 0.
WHEN 'DISPLYLIST'.
WRITE sy-uzeit.
LEAVE TO LIST-PROCESSING.
ENDCASE.
ENDMODULE.
Screen 100:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
*
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
GUI status 100:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have two screen 100 and 200.
I am using suppress dialog because after input screen(100) I am getting a blank screen then I am getting the output screen as list output(200).
So avoid the blank screen I have used suppress dialog.
But due to this suppress dialog In the application toolbar which button I have created in the screen of 200 it's not working .
User | Count |
---|---|
48 | |
10 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.