Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Down Payment Request (f-47) with BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos

Hi All,

I have a requirement to create a downpayment request (F-47). I have used bapi BAPI_ACC_DOCUEMENT_POST for this and implemented BTE RWBAPI01 and added the code in Function module for BTE.

BAPI is getting executed successfully and giving me a document number also, in the return table. But after calling BAPI_TRANSACTION_COMMIT the document no. doesnt get updated to tables. There is no error returned by either of the BAPI

In the next run, next document number gets generated.

Can anyone please help and let me know why the document is not getting updated in tables even though it gets generated.

Any help will be appreciated,

Thanks,

Kanchan

3 REPLIES 3

former_member226519
Active Contributor
0 Kudos

there is a class CL_HRPAY99_POSTING_ENGINE.

May be you can find somthing there.

0 Kudos

I would search for an OSS note on this:

[https://websmp110.sap-ag.de/notes]

0 Kudos

Hi,

I had checked the OSS notes as well, Note 884246 is already implemented.

I am not able to understand when the BAPI_ACC_DOCUMENT_POST is giving me a document number why is commit for the same failing.

Thanks,

Kanchan

Edited by: Kanchan Dalwani on Nov 18, 2010 11:06 AM