on 12-12-2006 3:29 AM
hi,
how to calculate the Tax( which table and fields and wht is the logic).
then how will we add it to our script , in sapscript and smartform.
Hi,
If it is for PO here's the solution.
There are tables available in the syatem to get the tax rate and percentage.
first you need to pass the PO no into EKKO. Against a PO you shall get a unique condition record no - KNUMV from the table. Pass this KNUMV along with the line item no - EKPO-EBELP into table KONV.
In this table pass the EKKO-KNUMV into KONV-KNUMV and EKPO-EBELP into KONV-KPOSN and KAPPL as 'E8'. Execute the table. You shall get all the entries respected to tax details - condition type wise. From this you can pick up all the fields KWERT(condition value) for each condition type, add it and give the Total tax amount.
Hope this will help in solving your problem.
Feel free to revert back.
--Ragu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amar,
Just Tax in SAP would be a very general term.
There will be different tables and fields for all kinds of Tax.
E.g. For sales order you can get the tax amount from
VBAP-MWSBP field.
Regards,
Vivek Kute.
Pls reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.