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] sfakn Field is Not Getting Updated

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

Reply from sri_ponappalli on Jul 26 at 2:02 AM
Hi,

I have debugged and checked the bapi returnlog_out. It is giving only the
messages of success or failure.

Bapi is working fine. But VBRK-FKSTO and VBRK-SFAKN are not getting updated.

It is generating the cancel invoice number. But not updating in vbrk table.

The following is my code.


READ TABLE it_vbrp INTO wa_vbrp WITH KEY vbeln = wa_change-vbeln.

d_bill_doc = wa_vbrp-vgbel .

MOVE : wa_change-vbeln TO wa_document_data_in-sd_doc,
wa_change-posnr TO wa_document_data_in-itm_number.
APPEND wa_document_data_in TO t_document_data_in .
CLEAR wa_document_data_in .
ENDLOOP.

CALL FUNCTION 'BAPI_BILLINGDOC_CANCEL'
EXPORTING
ext_ref_doc = d_bill_doc
TABLES
document_data_in = t_document_data_in
returnlog_out = t_returnlog_out.

Can anybody tell me what should i pass in t_document_data_in-UPDATEFLAG .


Thanks in advance.

Sri.p

---------------Original Message---------------
From: Juan_Tamad
Sent: Wednesday, July 25, 2012 8:55 PM
Subject: sfakn Field is Not Getting Updated

Neal,

I just based it from his question and from his recent posts (bapi is going to dump. etc..) so I assumed he didn't debug again because he did not mention what was happened on the returnlog_out of the bapi.

Anyway Sri,
Did you check the returnlog_out of the bapi?

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
sri_ponappalli  
 
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