Hi all,
I have some problem with selection screen.
My selection screen looks like below.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : c1 TYPE c AS CHECKBOX,
c2 TYPE c AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002 .
SELECT-OPTIONS : s_vbeln FOR vbak-vbeln oblidgatory.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
SELECT-OPTIONS : s_fkart FOR vbrk-fkart obligatory
SELECTION-SCREEN END OF BLOCK b3.
SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-004.
PARAMETERS : p_rlgrap TYPE rlgrap-filename. SELECTION-SCREEN END OF BLOCK b4.
my requirement is if user selects c1 check box he will pass only block B2 values(s_vbeln) and if selects c2 check box will pass only block b3 values only and block b4 is common for both check boxes .
I know i can do this by using screen structure.
but as my both parameters are obligatory i am facing problem by doing so .(my both parameters must be obligatory and no error messages issued in my program as it runs in back ground means no message class and no validations required for my selection screen.)
can any one help me in this.
all answers are rewardfull.