Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from robphelan on May 12 at 12:57 PM Have you debugged to see what's happening in your loop? 1) Make sure ITAB contains the values you're looking for in RFWRT. If not, your SELECT statement is bad. 2) If those records are in ITAB, make sure it's VBTYP = H / K / O/ N -> you're only looping on these 3) Lastly.. post more of your code.
| | | ---------------Original Message--------------- From: umer1 Sent: Sunday, May 11, 2014 6:21 AM Subject: vbfa-rfwrt Unable to Workout Hi Experts, I was trying to get credit note for an abap report . I added the below code which helped me out in getting credit note. LOOP AT itab WHERE VBTYP = 'H' OR VBTYP = 'K' OR VBTYP = 'O' OR VBTYP = 'N'. Itab-NETWR = Itab-NETWR * ( -1 ). Itab-NETWR1 = Itab-NETWR1 * ( -1 ). i MODIFY Itab. ENDLOOP. But what i should add to get cost of goods sold whose field is vbfa-rfwrt i tried in the same loop with this code itab-RFWRT = VBFA-RFWRT. but doesn't works. Thanks in advance and answers will be appreciated | | Reply to this email to post your response. __.____._ | _.____.__ |