Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from horacio zapettini on Jan 7 at 6:26 AM Ananth, I know the syntax of Select-options. It's a basic one. I've only suggested our OP to check the syntax in tcode abaphelp tcode. Horacio
| | | ---------------Original Message--------------- From: Ananth Kumar Musunuri Sent: Saturday, January 05, 2013 4:17 PM Subject: Error about select-options in ABAP Hello Horacio Zapettini, For S_1 & S_2 fields the reference is from Tables : SFLIGHT. For S_3 & S_4 fields the reference is from Data : I_SO. But OPTIONS field is refered to EQ which is not at all declared earlier in this code. Declare EQ as DATA : EQ type C. after I_SO declaration as mentioned below. TABLES : SFLIGHT. DATA : I_SO TYPE CHAR20. data : EQ type c. SELECT-OPTIONS : S_1 FOR SFLIGHT-CARRID DEFAULT 'AC', S_2 FOR SFLIGHT-CARRID DEFAULT 'AA*', OPTION FOR EQ SIGN I, S_3 FOR I_SO DEFAULT '1111' TO '9999', S_4 FOR I_SO DEFAULT '1111' TO '9999', | | Reply to this email to post your response. __.____._ | _.____.__ |