on 10-18-2010 11:22 AM
Hi to all,
I am useing bapi to get the details of service order and printing the details in my custom smartform which is assigned in me23n. My problem is i am getting all the details like line item and all related but not the tax details. I need to print the net amount which is net amount + tax . Can any one help me in this regards.
Try finding some bapi to read tax tax related data or write the logic to fetch tax details from database table.
Let me know if you need any help concerning tables.
Nabheet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use function module CALL FUNCTION 'CALCULATE_TAX_ITEM'
EXPORTING
dialog = lc_n
display_only = lc_x
i_taxcom = lwa_taxcom
IMPORTING
E_NAVFW =
e_taxcom = lwa_taxcom
E_XSTVR =
nav_anteil = lv_taxamt
TABLES
t_xkomv = lt_komv
EXCEPTIONS
mwskz_not_defined = 1
mwskz_not_found = 2
mwskz_not_valid = 3
steuerbetrag_falsch = 4
country_not_found = 5
OTHERS = 6
.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LT_KOMV will return the tax related data.
Nabheet
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.