We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-dev] Error about select-options in ABAP

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2013 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
horacio zapettini  

12 achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language