on 06-03-2009 11:30 AM
Hi Gurus
We are developing the smart form for PO.I have given logic for all the feilds in the PO, but im not not getting the tax logic how to link it up.we are not using CIN.we have only taxes like CST, VAT and service taxes for different percentages.So kindly tell me how to fetch the Tax rate and percentage linking from PO.
Thanks in Advance......
Sri.
HI,
Tere is only updation of tax values from the tax procedure.
Go to OBQ3 and here the calculation happened as per that only the values updated in Invoice tab.
The data is not directly updated for the pricing conditions,
So you have to retrieve the data from the Functonal module to the internal table . Then put logic as per that one.
Regards,
Andra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Im maintaining tax codes in the po invoice tab and I can see the tax rate and percentage in that tab only.
So how to get those tax values and percentages in to the smart form.
Is there any way to have a tax condition type in the PO conditions tab ? if yes please suggest me the condition type and how it will be automatically updated by the tax code value.
Thanks in Advance.
Sri devi.......
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 PRICING.
The sample code is given below..
Re: Functinal Module : PO Tax Conditions
Posted: May 29, 2009 12:37 PM in response to: anis bazmi Edit Reply
select single * from ekko where ebeln = wa_ekko-ebeln.
select single * from ekpo where ebeln = wa_ekpo-ebeln
and ebelp = wa_ekpo-ebelp
and loekz = ' '.
komk-mandt = ekko-mandt.
komk-aland = ekko-lands.
komk-bukrs = ekko-bukrs.
komk-waerk = ekko-waers.
komk-hwaer = ekko-waers.
komk-lifnr = ekko-lifnr.
komk-kappl = 'TX'.
komk-kalsm = 'TAXINN'.
komk-prsdt = ekko-aedat.
komk-ekorg = ekko-ekorg.
komk-mwskz = ekpo-mwskz.
komk-txjcd = ekpo-txjcd.
komp-kposn = ekpo-ebelp.
komp-matnr = ekpo-matnr.
komp-werks = ekpo-werks.
komp-matkl = ekpo-matkl.
komp-wrbtr = ekpo-kzwi1.
komp-meins = ekpo-meins.
komp-mglme = ekpo-menge.
komp-mtart = ekpo-mtart.
komp-mwskz = ekpo-mwskz.
komp-mgame = ekpo-menge.
komp-vrkme = ekpo-meins.
komp-wrbtr = ekpo-netwr.
refresh t_komv.
call function 'PRICING'
exporting
calculation_type = 'B'
comm_head_i = komk
comm_item_i = komp
tables
tkomv = t_komv.
loop at t_komv into wa_komv where kvsl1 is not initial.
wa_final-taxamt = wa_komv-kwert + wa_final-taxamt.
clear wa_komv.
endloop.
wa_final-totamt = wa_final-taxamt + wa_final-netwr.
refresh : t_komv.
clear: ekko,
ekpo.
Hi,
The VAT or CST can be calculated on the basis of condition types mentioned in the pricing procedue.
The logic is same and get the relavent field from the mentiond condition types in the pricing procedure.
Check in M/08.
Regards,
Andra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.