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

Tax base amount error in BAPI_ACC_DOCUMENT_CHECK

Former Member
0 Likes
2,481

Hi,

We have created an webdynpro application  for posting  and parking the document,checking for Errors. In this  almost we have embedded all the functionalities which exist in fb50 when we try to post a document.

Till last week users were posting to a normal G/L account. Now they have come with a requirement where in which they directly post to the Tax account.

An excel sheet will be uploaded with the relevant G/L ITems and then document is posted through Webdynpro application.

Now along with G/L account they are giving Tax account ( eg : 1600100 , Amount =100) and tax base amount as 10000.

I have added it to CURRENCYAMOUNT  ( AMT_BASE )structure and then passing to BAPI_ACC_DOCUMENT_CHECK fm.

But I am getting the Error " Entry of tax for $W 000 is not possible because of tax base 0 ". ( FF 848 )

I have debugged and checked for this error. I understood that In BSEG there is a field FWBAS and MWART  which is not getting filled. Due to this Error is raised.

I have tried to fill the value in debugging, it worked and document got posted.

I have been trying to fix this from last couple of days,But I din't. Did anyone come across this kind of issue earlier ?

Can anyone please help why FWBAS and MWART are not getting filled ?  Am I missing something ?

Best regards,

Karthik Ganti.

Hi,

We have created an webdynpro application  for posting  and parking the document,checking for Errors. In this  almost we have embedded all the functionalities which exist in fb50 when we try to post a document.

Till last week users were posting to a normal G/L account. Now they have come with a requirement where in which they directly post to the Tax account.

An excel sheet will be uploaded with the relevant G/L ITems and then document is posted through Webdynpro application.

Now along with G/L account they are giving Tax account ( eg : 1600100 , Amount =100) and tax base amount as 10000.

I have added it to CURRENCYAMOUNT  ( AMT_BASE )structure and then passing to BAPI_ACC_DOCUMENT_CHECK fm.

But I am getting the Error " Entry of tax for $W 000 is not possible because of tax base 0 ". ( FF 848 )

I have debugged and checked for this error. I understood that In BSEG there is a field FWBAS and MWART  which is not getting filled. Due to this Error is raised.

I have tried to fill the value in debugging, it worked and document got posted.

I have been trying to fix this from last couple of days,But I din't. Did anyone come across this kind of issue earlier ?

Can anyone please help why FWBAS and MWART are not getting filled ?  Am I missing something ?

Best regards,

Karthik Ganti.

2 REPLIES 2
Read only

Former Member
0 Likes
1,082

Hi Karthik,

Try filling the DISC_BASE amount

Read only

0 Likes
1,082

Hi George,

Thanks for the response. Sorry,I was out for some days, could not reply you back.

For some reason, the above developmet was put on hold, while concentraing on other others.

Probably I will be looking in next week, will give you update on it.

Thanks.

BEsdt regards,

Karthik.