Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

POPUP_TO_DECIDE_LIST

Former Member
0 Kudos

hi all ,

in my process we are using the FM POPUP_TO_DECIDE_LIST

i check the necessary radiobutton

the sy-subrc is 0

but it returns a importing parameter as 2

do any bdy know about the same?

3 REPLIES 3

Former Member
0 Kudos

I think your internal table (T_SPOPLI) contains more than 25

entries ..

0 Kudos

hello gurnaam

there are only 2 entries in that table

0 Kudos

IF OK_CODE = 'ESC '.

ANSWER = 'A'.

ELSEIF OK_CODE IS INITIAL.

ANSWER = ANTWORT.

LOOP AT T_SPOPLI.

READ TABLE SPOPLIST INDEX SY-TABIX.

MOVE SPOPLIST-SELFLAG TO T_SPOPLI-SEL

MODIFY T_SPOPLI.

ENDLOOP.

ENDIF.

ok_code is initial hence

answer is 2

But is this the error with programming?