2007 May 15 2:27 PM
Hi,
I want to display Purchse Order Invoice Tax in output script.
can anybody know which parameter pass in "CALCULATE_TAX_ITEM"
plz help me with example if possible...
2007 May 15 2:35 PM
Hi,
Here is the fields which we need to pass this function module
DATA: SF_TAXCOM LIKE TAXCOM.
CALL FUNCTION 'CALCULATE_TAX_ITEM'
EXPORTING
I_TAXCOM = SF_TAXCOM
IMPORTING
E_TAXCOM = SF_TAXCOM
TABLES
T_XKOMV = XKOMV
EXCEPTIONS
ERROR_MESSAGE = 4.
Regards
Sudheer
2007 May 18 8:04 AM
Hi Sudheer,
I am using this function but it carry all records which are define in combination Plant/Vendor/Material in table A363 with transaction fv11. In PO not all taxes are apply but function will display.
Is there any parameter are missing?
Please help me for resolve this issue.
Regards,
Himanshu
2007 May 15 2:35 PM
Use below Example code :
data : h_wert LIKE ekpo-netwr.
CALL FUNCTION 'CALCULATE_TAX_ITEM'
EXPORTING
I_TAXCOM = TAXCOM
DISPLAY_ONLY = 'X'
DIALOG = 'N'
IMPORTING
E_TAXCOM = TAXCOM
NAV_ANTEIL = H_WERT
EXCEPTIONS
ERROR_MESSAGE = 02
OTHERS = 01.
IF H_WERT NE 0.
Reward Points if it is helpful
Thanks
Seshu