Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
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. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |