Skip to Content
0
Former Member
Oct 03, 2005 at 12:45 PM

Doubt in selection screen

21 Views

hai friends,

i have doubt in selection screen when validation check in another screen.

this is my scenario.

SELECTION-SCREEN: BEGIN OF BLOCK box1,

PARAMETERS: r1 RADIOBUTTON GROUP rad1 DEFAULT 'X',

r2 RADIOBUTTON GROUP rad1,

r3 RADIOBUTTON GROUP rad1.

BEGIN OF BLOCK box1.

*****************

SELECTION-SCREEN: BEGIN OF SCREEN 1200,

BEGIN OF BLOCK blk2,

PARAMETERS : p_ccode TYPE bkpf-bukrs, p_fyear TYPE bkpf-gjahr DEFAULT '',

p_pperd TYPE bkpf-monat DEFAULT ''.

SELECTION-SCREEN: END OF BLOCK blk2,

END OF SCREEN 1200.

****************

like 1200 screen i have 5 screens number as 1300,1400,1500..

*****************

start-of-selection.

if r1 = 'x'.

call selection-screen 1200.

elseif r2 = 'x'.

call selection-screen 1300.

***like that i am calling all screens.

endif.

now my problem is how to validate the parameters p_ccode,p_fyear,p_pperd .

please work on with this example after that tell me the correct one, if that one will ok means i assure, you get full points. ok,

best of luck in advance.

by maran.