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] vbfa-rfwrt Unable to Workout

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

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

14 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