Skip to Content
0

Select-Options in Multiple Selection Screens

Jan 12, 2017 at 10:20 PM

43

avatar image

Hello Everyone,

I am trying to impletment the below code. When I go to check the code, I receive an error stating that P_DATE has been already defined. Is there any way to have this defined globally so I can reference the same select-option on both selection screens?

selection-screen begin of screen 100 title TEXT-T03.
parameters: P_BUKRS like PAYR-ZBUKR obligatory,
 	    P_HBKID like PAYR-HBKID obligatory.
select-options: P_HKTID for PAYR-HKTID,
 		P_DATE for SY-DATUM.
selection-screen end of screen 100.

selection-screen begin of screen 200.
parameters: P_FNAME(100) type c obligatory lower case,
 	    urb RADIOBUTTON GROUP ac,
 	    lrb RADIOBUTTON GROUP ac.
select-options: P_DATE for SY-DATUM.
selection-screen end of screen 200.
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi Jan 13, 2017 at 06:52 AM
2

Use a statement SELECTION-SCREEN INCLUDE SELECT-OPTIONS.

Regards,
Raymond

Share
10 |10000 characters needed characters left characters exceeded
Christopher Solomon
Jan 12, 2017 at 11:53 PM
0

Short answer....no. Longer answer...have two separate select-options values/variables/whiz-bangs and then have the value of which ever one you need assigned to a "global" variable you can then use for further processing. Keep in mind, this is REALLY old SAP tech and is well long-in-the-tooth now....like many of us who worked with this when it was "new". haha

Share
10 |10000 characters needed characters left characters exceeded