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

BAPI_ACC_DOCUMENT_POST tax code without base amount

Former Member
0 Likes
1,317

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

3 REPLIES 3
Read only

Former Member
0 Likes
642

Hello,

Could you please try with the below option?

While you pass the tax amount in the table ACCOUNTTAX in the bapi, there is one indicator u2018DIRECT_TAXu2019, which will decide whether the tax is based on the base amount or not.

Kindly let me know if it is not working.

Regards,

Selva K.

Read only

0 Likes
642

Hi Selvakumar,

Thanks for the reply, but actualy I want to bypass it which I key in the tax code. I don't want to fill the base amount through the BAPI FM. because manual posting can do it without fill the base amount just only filled the tax code. is it field DIRECT_TAX can do it? if not any suggestion about this ? Thank you

Regards,

Kohokoho

Read only

Former Member
0 Likes
642

Hi All,

for temporay this issue has been close. my functional decided no need to build it again anymore . thanks for all

Regards,

Kohokoho