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: 

Problems in Posting an Accounting Document using BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos

Hi All,

I am facing a problem when I try to post an accounting document using the BAPI "BAPI_ACC_DOCUMENT_POST".

While passing data to the structure "ACCOUNTTAX", I get the errors "Required field AMT_BASE was not transferred in parameter CURRENCYAMOUNT" and "Required field TAX_CODE was not transferred in parameter ACCOUNTTAX".

Till now I was not passing the ACCOUNTTAX structure to the BAPI and posting was happening fine.

Any pointers / solutions in this direction will be most helpful.

Thanks in advance.

Regards,

Keerthi

2 REPLIES 2

Former Member
0 Kudos

Hi,

Are you sure you have completely filled all the required fields?

Based on the BAPI return, it seems no TAX_CODE and AMT_BASE specified. Try to fill all the data needed by SAP. You can check the manual steps through FB01 and check what data still needed.

Regards,

Teddy Kurniawan

Former Member
0 Kudos

Hi

As u told earlier it was fine , so it may there is some config. change done by func. so this error is coming.

For minimum required fields fo BAPI , u can go to SE37 and click on Function Module Documentation on Application tool bar.

here u will find good help.

Regards

Sachin