on 09-18-2008 10:33 AM
Hi,
If I want to display the Total taxes for all the line items(EBELP) in a purchase order, how I can do this??
Is there any function module available for that??
Please guide.
Regards,
Venkt
Hi Venkat,,
You can use FM CALCULATE_TAX_ITEM as follows;
CALL FUNCTION 'CALCULATE_TAX_ITEM'
EXPORTING
i_taxcom = ls_taxcom
TABLES
t_xkomv = gt_komv
EXCEPTIONS
mwskz_not_defined = 1
mwskz_not_found = 2
mwskz_not_valid = 3
steuerbetrag_falsch = 4
country_not_found = 5
OTHERS = 6.
But you have to write this inside the item loop and add all entries, then at last you can print the total tax value.
Revert back if u have doubts.
Regards
Karthik D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
help full
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use FM RV_PRICE_PRINT_ITEM to get condition values .
and then calculate total taxes for the tax condition type.
Regards,
Raju.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
do u want taxes item line wise? or total taxes at bottom of main window?
1.if u want total u can get it from konv table .
for this first u get conition no for PO from ekko .
from that condition no extarct condition types & values from konv table.
condition type - kschl.
condition rate - kbetr.
condition value - kwert. etc
2. if u want item wise taxes -
use same logic.
only first u have to use funcition 'PRICING' for line item wise values.
i hope this will help u
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.