2015 Mar 22 9:40 AM
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.
2015 Mar 23 1:22 PM
2015 Mar 31 3:39 PM
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.