09-24-2008 11:05 AM
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
09-26-2008 9:31 AM
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
09-26-2008 9:42 AM
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