on 2005 Nov 21 3:06 PM
Hi,
Does anyone know if it´s possible that the BAPI_ACC_DOCUMENT_POST calculate the tax itself. So that you only assign the tax code in the income statement account or in the expense account.
Thanks
Nuno Ferreira
Hello Nuno, have you the solution to your answer?
At this moment I have the same problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fernando
You can use one of the following function modules:
CALCULATE_TAX_FROM_GROSSAMOUNT
CALCULATE_TAX_FROM_NET_AMOUNT
These function modules look at your tax accounts and will give you the correct entries in the internal table <b>"t_mwdat"</b>, even if you have multiple lines for the tax calculation. This is based on the tax codes you defined in transaction <b>FTXP</b>. You can then loop at the internal table <b>"t_mwdat"</b> and map your tax structure <b>"accounttax"</b> in BAPI_ACC_DOCUMENT_POST from this internal table.
You can also run program RF_STEUERINFO to display what you are supposed to post. Hope this helps.
Kind Regards
Gustav Coleske
Hi,
I always use the function 'RECP_FI_TAX_CALCULATE' to calculate the tax.
Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.