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

Select Options in Subscreen

Neithan
Participant
0 Likes
2,886

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 ..

10 REPLIES 10
Read only

Sandra_Rossi
Active Contributor
0 Likes
2,758

Is screen 400 a classic screen?

Read only

Sandra_Rossi
Active Contributor
2,758

Probably you have some wrong code in event block AT SELECTION-SCREEN.

Just debug your code.

Read only

Neithan
Participant
0 Likes
2,758

yes screen 400 is classic screen

Read only

Neithan
Participant
0 Likes
2,758

sadly i still haven't found the mistake

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,758

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?
Read only

Neithan
Participant
0 Likes
2,758

yeah i did all but unfortunately not solved , anyway thanks for your comments

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,758

Please provide your code, we'll debug it for you.

Read only

Neithan
Participant
0 Likes
2,758

thank you so much , but there re too many includes , classes etc. 😞 if can't even if i wanted to 😞

Read only

matt
Active Contributor
2,758

Write a simple sample program that demonstrates the issue.

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,758

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).