Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

selection screen query

I have one filed on selection screen KNA1-KTOKD.

for that field I have two values 0001( Sold to Party)

0002 (Ship to Party).

On Selection scree I have two radio buttons

1) Sold To Party

2) Ship To Party

Based on Selction of Radio Button the corresponding values it should show.

for Sold to Party it should show 0001

Ship to Party it should show 0002

Could please guide me how to overcome my problem.

-Kumar

Tags:
Former Member
replied

check now , i think you are not using the user-commnad addition in the radiobutton.

check now.

SELECT-OPTIONS : s_ktokd FOR kna1-ktokd.
parameters: sop radiobutton group g1 user-command abc default 'X',
            shp radiobutton group g1.

AT SELECTION-SCREEN OUTPUT.
IF sop = 'X'.
CLEAR s_ktokd[].

s_ktokd-low = '0001'.
s_ktokd-sign = 'I'.
s_ktokd-option = 'EQ'.
APPEND s_ktokd.
ELSE.
CLEAR s_ktokd[].
s_ktokd-low = '0002'.
s_ktokd-sign = 'I'.
s_ktokd-option = 'EQ'.
APPEND s_ktokd.
ENDIF.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question