2006 Mar 22 10:53 AM
Hi all,
Does anyone know of a BAPI who can retrieve a list of available tax codes for purchase (field MWSKZ) in a company code, and eventually their percentages?
Thanks in advance,
Ioana
2006 Apr 14 1:54 PM
MWSKZ is the tax code .
you dont have to use any bapi to retrieve tax percentage.
only do this.
you select KNUMH (Condition number) from A003 (taxe code table) with the key fields ALAND and MWSKZ.
you select KBETR (tax percentage) from KONP with key KNUMH (Condition number)that you have retrived in the previous step.
A+
Ihsen ABROUG
Hi all,
Does anyone know of a BAPI who can retrieve a list of available tax codes for purchase (field MWSKZ) in a company code, and eventually their percentages?
Thanks in advance,
Ioana
2006 Mar 22 11:07 AM
Hi Loana,
not sure abt getting the tax codes, but by using FM 'CALCULATE_TAX_ITEM' , u can get the percentages n values of the taxes by inputting the tax code n purchase data.
Hope it helps,
Regards,
Bikash
2006 Mar 22 11:38 AM
Hai Virtosu,
I think these two will work out for you..
<b>CALCULATE_TAX_FROM_GROSSAMOUNT or
CALCULATE_TAX_FROM_NET_AMOUNT</b>
also just check this link....
http://www.sapfans.com/sapfans/forum/intface/messages/4192.html
Regards,
Srikanth.
reward points if helpful.
2006 Mar 22 11:57 AM
Hi guys,
Maybe my question wasn't clear enough - these functions calculate tax amounts, but you have to pass the codes yourself. What I'm looking for is a function which returns a list of available tax codes - so the only parameter to pass to the function should be the company code and/or the procedure, and it should return the list of all available codes, like an F4-list but in an internal table or such.
2006 Apr 14 1:54 PM
MWSKZ is the tax code .
you dont have to use any bapi to retrieve tax percentage.
only do this.
you select KNUMH (Condition number) from A003 (taxe code table) with the key fields ALAND and MWSKZ.
you select KBETR (tax percentage) from KONP with key KNUMH (Condition number)that you have retrived in the previous step.
A+
Ihsen ABROUG
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |