Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PO taxes display in output

Former Member
0 Kudos
99

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...

3 REPLIES 3

Former Member
0 Kudos
56

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

0 Kudos
56

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

Former Member
0 Kudos
56

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