‎2007 Jan 23 4:29 AM
Hello!
Would like to request for some help with BAPI's, since it is my first time to use them. The programming requirement is to create an uploading utility to post the beginning balances of vendor and customer. I was recommended to use the fm BAPI_ACC_DOCUMENT_POST since it's easier than coding it in batch input, but I'm not quite sure which goes where. My questions are:
1. If the posting requires credit vendor/debit clearing account, would this mean the vendor item will be in the ACCOUNTPAYABLE/BAPIACAP09 table and the GL clearing account in the ACCOUNTGL/BAPIACGL09 table?
2. All amounts are placed in the CURRENCYAMOUNT/BAPIACCR09 table?
3. The fm automatically determines the posting key to be used?
Thank you in advance for any replies. Sample codes would also be greatly appreciated.
‎2007 Jan 23 5:10 AM
Hi,
Check this link: https://forums.sdn.sap.com/click.jspa?searchID=850430&messageID=493291
There is one more BAPI_ACC_DOCUMENT_CHECK, this will check if the parameter values which enter is feasible to create a document or not.
First use this FM and if sy-subrc = 0, then you can call the BAPI_ACC_DOCUMENT_POST and also call BAPI_TRANSACTION_COMMIT to save the changes.
Refer to the Function Module Documentation [ a push button on the toolbar ] for more detailed information.
Regards
Subramanian
‎2007 Jan 23 5:10 AM
Hi,
Check this link: https://forums.sdn.sap.com/click.jspa?searchID=850430&messageID=493291
There is one more BAPI_ACC_DOCUMENT_CHECK, this will check if the parameter values which enter is feasible to create a document or not.
First use this FM and if sy-subrc = 0, then you can call the BAPI_ACC_DOCUMENT_POST and also call BAPI_TRANSACTION_COMMIT to save the changes.
Refer to the Function Module Documentation [ a push button on the toolbar ] for more detailed information.
Regards
Subramanian