2022 Feb 14 5:50 PM
Hi friends ,
i created a subscreen for my screen 0400 .
SELECTION-SCREEN BEGIN OF SCREEN 401 AS SUBSCREEN .
SELECTION-SCREEN BEGIN OF BLOCK blk4 WITH FRAME TITLE TEXT-400.
SELECT-OPTIONS : s_tno FOR zfk_talep_t-talep_no , " talep no
s_ttarih FOR zfk_talep_t-talep_tarih , " talep tarih
s_uno FOR zfk_urun_t-urun_no , " urun no
s_sno FOR zfk_sehir_t-sehir_no , " sehir no
s_ino FOR zfk_ilce_t-ilce_no . " ilce no
SELECTION-SCREEN SKIP 2 .
SELECTION-SCREEN :
PUSHBUTTON 1(15) but4 USER-COMMAND cli4 "filtrelemeleri listele .
VISIBLE LENGTH 15 .
SELECTION-SCREEN END OF BLOCK blk4.
SELECTION-SCREEN END OF SCREEN 401 .
then i called my screen . it works nice but . (pls look below pic)

when click any of marked buttons , throws me to the screen 0100 I created before .
Do you have any idea , why ? Where did i go wrong ?
Thanks ..
Hi friends ,
i created a subscreen for my screen 0400 .
SELECTION-SCREEN BEGIN OF SCREEN 401 AS SUBSCREEN .
SELECTION-SCREEN BEGIN OF BLOCK blk4 WITH FRAME TITLE TEXT-400.
SELECT-OPTIONS : s_tno FOR zfk_talep_t-talep_no , " talep no
s_ttarih FOR zfk_talep_t-talep_tarih , " talep tarih
s_uno FOR zfk_urun_t-urun_no , " urun no
s_sno FOR zfk_sehir_t-sehir_no , " sehir no
s_ino FOR zfk_ilce_t-ilce_no . " ilce no
SELECTION-SCREEN SKIP 2 .
SELECTION-SCREEN :
PUSHBUTTON 1(15) but4 USER-COMMAND cli4 "filtrelemeleri listele .
VISIBLE LENGTH 15 .
SELECTION-SCREEN END OF BLOCK blk4.
SELECTION-SCREEN END OF SCREEN 401 .
then i called my screen . it works nice but . (pls look below pic)

when click any of marked buttons , throws me to the screen 0100 I created before .
Do you have any idea , why ? Where did i go wrong ?
Thanks ..
2022 Feb 14 6:47 PM
2022 Feb 14 7:00 PM
Probably you have some wrong code in event block AT SELECTION-SCREEN.
Just debug your code.
2022 Feb 15 12:28 PM
2022 Feb 15 12:29 PM
2022 Feb 15 1:23 PM
Did you forget the CALL SUBSCREEN area. in the PAI of the main screen 0400
PROCESS BEFORE OUTPUT.
MODULE status_0100.
CALL SUBSCREEN area INCLUDING g_repid '0401'.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
CALL SUBSCREEN area. " forgotten?
MODULE user_command_0100. " which ok_code are handled?
2022 Feb 16 12:58 PM
yeah i did all but unfortunately not solved , anyway thanks for your comments
2022 Feb 16 1:02 PM
2022 Feb 16 1:13 PM
thank you so much , but there re too many includes , classes etc. 😞 if can't even if i wanted to 😞
2022 Feb 16 2:15 PM
2022 Feb 16 2:27 PM
matthew.billingham is right, it's also the way to find the solution by yourself. It's what I'm doing all the time, when I have some issues. If I still can't understand, I ask the question and post this minimal reproducible example (it's also the "way of life" of Stack Overflow).
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |