on 06-07-2007 8:18 AM
Hi Gurus,
Can anyone send me details regarding routine 366 in pricing procedure and its functionality in CIN.
regards
vandana
Hi
Thats basically assigned to the tax Ctyp's. This is used to determine tax codes based on certain conditions automatically.
Reward if it helped
Chandru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vandana,
I try to explain routine 366 to you.
Formula 366 is mainly used for calculating Education Cess, NCCD .
<b>Let me explain it for Education Cess calculation :</b>
##################################################################
Remember that we assign this formula to condition JECS in tax procedure as well as in pricing procedure.
Goto T.Code VOFM --> click on button Formulas in top panel --> select Condition value ---> now select routine 366 and display source code .
You will see the ABAP code which drives this routine.
This code works as follows :
See for the code section :
***************************************************************
form frm_kondi_wert_366.
check komk-trtyp ne 'A'.
data :
<b>land1 like t001-land1,
kalsm like t005-kalsm.</b>
NCCD changes starts
data: wa_excdef like j_1iexcdef.
<b>select single land1 from t001 into land1
where bukrs = komk-bukrs.
select single kalsm from t005 into kalsm
where land1 = land1.
select single * from j_1iexcdef into wa_excdef
where j_1itaxcal = kalsm.</b>
*********************************************************************
You can see the table <b>j_1iexcdef</b> which is actually excise default table.
You do the configuration of Excise Default under the path:
T.Code J1IT --> Global Settings --> Maintain Excise Defaults
The conditions maintained in Excise Defaults are only considered by the system for calculation.
I suggest you go to T.Code SE16 and have a look at <b>j_1iexcdef</b>.
You will ensure that you have maintained the education cess condition type JECS and JECX in ECS relevant fields.
Now Formula works as follows :
First it selects the right tax procedure e.g TAXINJ for country India.
It do so by the code section which is bold above.
e.g.
// select single land1 from t001 into land1
where bukrs = komk-bukrs //
Select the Country(land1) corresponding to Company Code (bukrs)
// select single kalsm from t005 into kalsm
where land1 = land1 //
Select Tax procedure corresponding to Country.
// select single * from j_1iexcdef into wa_excdef
where j_1itaxcal = kalsm. //
Now, select all the default excise conditions for this tax procedure.
Exactly from here it will pick up the condition for Educatiopn Cess i.e. JECS
and starts processing it according to further code .
I just explain the functionality now :
In condition record of JECS where 100% is maintained.
Then checks FTXP percentage of JECS in tax code determined via UTXJ.
Suppose you maintained there 100% ( which is usual ).
This mean it will pick up 100% of what has been maintained in ECS percentage column under "maintain excise rate" in J1ID.
If you maintained 25 for ECS in J1ID, then finally takes 2% for JECS.
Now it takes the base value from procedure itself.
and calculates 2% of it.
Finally it displays the calculated value.
##################################################################
Similarly , the formula calculates NCCD etc. as per the case.
I suggest you refer SAP Note 753581( when education cess was introduced and formula 366 originally designed for AED was modified further for ECS needs initially ).
Hope this will help you to some extent.
Please reward points if found useful.
Regards,
Gaurav Raghav.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.