‎2007 Jan 29 8:01 PM
Hello.
I like to now bapi's or function modules for create account document.
I like to create documents similar to the transaction FB01.
thanks for all.
‎2007 Jan 29 8:09 PM
‎2007 Jan 29 8:11 PM
Hi,
You can use the BAPI_ACC_DOCUMENT_POST. You can check the FM documentation for how to populate the parameters..
Thanks,
Naren
‎2007 Jan 29 9:43 PM
Hi,
Use the FM: BAPI_ACC_DOCUMENT_CHECK to see if the posting can be made successfully and BAPI_ACC_DOCUMENT_POST to make the actual posting.
Check the documentation on how to pass the parametres.
Once document is created successfully, call 'BAPI_TRANSACTION_COMMIT' to commit the changes to the darabase.
Regards
Subramanian
‎2007 Jan 29 10:03 PM
Hi Jose,
Use BAPI_ACC_DOCUMENT_POST to make postings if you have discount field in flat file.
Use BAPI_ACC_BILLING_POST to make the posting if you do not have discount field in flat file.
After calling anyone of above function module you need to call 'BAPI_TRANSACTION_COMMIT' to commit the changes to darabase.
Reward points for helpful answers.
Ashven