‎2008 May 06 5:42 AM
Hi experts,
I have a selection screen with 4 select options. But the problem is 3 of the 4 fields in the select option are the same i.e
my selection screen is :
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_loc for t527x-orgeh ,
s_area for t001p-btrtl ,
s_mark for t527x-orgeh ,
s_reg for t527x-orgeh .
SELECTION-SCREEN END OF BLOCK b1.
How do i write a select statement for this selection screen to select the values entered in the above fields??
what will be my where condition??
Kindly guide me on this.
Points will be rewarded for answers.
Thanks and regards,
Frank.
‎2008 May 06 6:51 AM
HI,
U can give more than one values in select-options. Avoid to use the same field three times. U try to give the Values in one select-option.
Revert Back for any clarification.
Regards,
Saran.
‎2008 May 06 7:04 AM
Hi saravanan,
But in my requirement i need to keep it separate. all three are for a different purpose.
Thanks and regards,
Frank
‎2008 May 06 7:37 AM
Hi frank,
Do like this
DATA: var1 type t527x-orgeh ,
var2 type t527x-orgeh ,
var3 type t527x-orgeh .
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_loc for var1 ,
s_area for t001p-btrtl ,
s_mark for var2,
s_reg for var3.
SELECTION-SCREEN END OF BLOCK b1.
Now u can easily write selection logic nased on var1, var2 , var3.
Regards
Sandipan