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-abap] Loop With Where Condition As Select Option

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

Reply from lubos.adamka on Feb 10 at 6:28 AM
check, whether record is integer type or numc type.

1 <> 0001

Check entries in it_input in debugger and compare.

Lubos


2014-02-10 12:15 GMT+01:00 Community_Member email@removed:

> Question from Rajavel on Feb 10 at 6:14 AM Hi all,
> This is my code where i passed the select options as where condition.
> LOOP AT it_input INTO wa_input
> WHERE record = '1'.
> AND sold_party IN s_sold
> AND material IN s_matl.
> wa_input1-record = wa_input-record.
> wa_input1-sold_party = wa_input-sold_party.
> wa_input1-material = wa_input-material.
> wa_input1-quantity = wa_input-quantity.
> wa_input1-unit = wa_input-unit.
> APPEND wa_input1 TO it_input1.
> ENDLOOP.
>
> It_input has records and there is no syntax error.
> but sy-subrc is failing.
> Can anyone tell me what is the possible error?
>
> *Reply to this email* to post your response.

---------------Original Message---------------
From: Rajavel
Sent: Monday, February 10, 2014 6:15 AM
Subject: Loop With Where Condition As Select Option

Hi all,
This is my code where i passed the select options as where condition.
LOOP AT it_input INTO wa_input
WHERE record = '1'.
AND sold_party IN s_sold
AND material IN s_matl.
wa_input1-record = wa_input-record.
wa_input1-sold_party = wa_input-sold_party.
wa_input1-material = wa_input-material.
wa_input1-quantity = wa_input-quantity.
wa_input1-unit = wa_input-unit.
APPEND wa_input1 TO it_input1.
ENDLOOP.

It_input has records and there is no syntax error.
but sy-subrc is failing.
Can anyone tell me what is the possible error?

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
lubos.adamka  

Programmer/Developer - Software
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

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