Application Development and Automation 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: 
Read only

FI BAPI OR FUNCTION MODULE

Former Member
0 Likes
637

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.

4 REPLIES 4
Read only

Former Member
0 Likes
586

Hi Jose,

Try with the bapi:

BAPI_ACC_DOCUMENT_POST

Regards,

Ravi

Read only

Former Member
0 Likes
586

Hi,

You can use the BAPI_ACC_DOCUMENT_POST. You can check the FM documentation for how to populate the parameters..

Thanks,

Naren

Read only

Former Member
0 Likes
586

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

Read only

Former Member
0 Likes
586

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