Skip to Content
0
Former Member
May 10, 2010 at 04:09 AM

BAPI_ACC_DOCUMENT_POST tax code without base amount

674 Views

Hi Expert,

Using this FM I faced the error is throw out from error return bapi. but if I used FB01 to create manual posting. I filled the tax code without base amount it's can posted successfully. are there any structure I missed it to pass in this bapi ? or have other OSS note need to apply ?

Sample

posting manual FB01

posting key | gl |amount |base amount | tax code

01 | 20110000 |32.10 | |

50 | 5000100 |20 | | S7

50 | 5000100 |10 | | S7

50 | 2740200 |2.10 | | S7

This environment can save successfully posted.

But for BAPI, error :

posting key | gl |amount |base amount | tax code

01 | 20110000 |32.10 | |

50 | 5000100 |20 | Required | S7

50 | 5000100 |10 | Required | S7

50 | 2740200 |2.10 | | S7

error bapi : required field AMT_BASE was not transferred in paramete CURRENCYAMOUNT

Bapi required base amount which line got tax code. anybody can give me suggest for this problem ? Thank you

Regards,

Kohokoho

Edited by: koho koho on May 10, 2010 6:54 AM

Edited by: koho koho on May 10, 2010 6:59 AM