Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

BAPI_ACC_DOCUMENT_POST Vendor Invoice with Asset Posting

$
0
0

Hi All,

 

When I create a vendor invoice with an asset posting using transaction FB60, 2 documents gets created which are linked to each other, one for Vendor invoice and an other related to Asset posting. ( Posting key 31 - Vendor and posting key 70 - Asset)

 

Now how can I achieve this with the BAPI BAPI_ACC_DOCUMENT_POST?


I pass ACCOUNTGL with the asset details

and ACCOUNTPAYABLE with the vendor details

and ACCOUNTTAX and CURRENCYAMOUNT with the respective values I get a successful return message with a document number, but when I look for the document I can find it anywhere. I am calling BAPI_TRANSACTION_COMMIT after my BAPI call.

 

Is there any other values that I need to pass to the BAPI? will this BAPI create both the documents?

 

Any help is appreciated!

 

Thanks

Elan


Viewing all articles
Browse latest Browse all 3280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>