cancel
Showing results for 
Search instead for 
Did you mean: 

ECS rate defaulted to 2%

Former Member
0 Kudos

HI Gurus

When creating SO, JECS is defaulted to 2% and not taking from J1ID.. Seems that it is taking from routine 366.. What needs to be done in order for JECS to be picked from J1ID?

Pls advise...

Rgds..Vinz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There are 2 possible reason I can guess of:

1. Condition Record is maintained for the same.

2. 2% is hardcoded somewhere, which can be tracked through debuggung.

Regards,

Rajesh Banka

Reward suitable points.

Former Member
0 Kudos

HI Rajesh

As mentioned it is taking from routine 366 where it is defaulted to 2%.. My question, what needs to be done in order for it to be picked up from J1ID?

Rgds,,Vinz

Former Member
0 Kudos

Hi Vinz,

If Education Cess rate is hardcoded as 2% in 355 routine.

then, you must do nothing but apply SAP Note 902937 so that the ECS rate can be picked from J1ID.

I hope this sorts out the issue.

If not, then please revert back.

Reward suitable points.

Regards,

Gaurav Raghav.

Former Member
0 Kudos

Hi Gaurav

Thanks for yr reply.. Routine 366 was assigned to cond type JECS instead of 355... So do we need to change routine 366?

Rgds..Vinz

Former Member
0 Kudos

Hi,

Remove the routine 366 from Pricing Procedure & test the scenario based on condition record.

Alternatively get the hardcoding changed & provide the logic to capture it from J1ID.

Regards,

Rajesh Banka

Former Member
0 Kudos

Hi Vinz,

Do not change the routine of JECS, keep it as 366 only.

Actually, I meant to ask if 355 has ECS rate hardcoded in your case ?

routine 355 is used for assigning to condition JMOD.

Since your problem is that you are not getting JECS rate from J1ID , then please check following :

1. Maintain rate 100% for JECX via VK11

2. Maintain rate 100% for JECS for your taxcode via T.Code VK19 (TX)

3. Maintain 2% in ECS column in J1ID.

4.For JECS --> routine 366

5.For JECX --> routine 353 if factory, routine 356 if Depot.

6. SD Side :Check JECS is in D A 1 Mode via T.Code V/06

7. FI Side :Check JECS is in D A D Mode via T.Code OBYZ --> Condition Type

Please check the above mentioned settings and then test.

Revert back please if still having any issue.

Reward if it helps to you.

Regards,

Gaurav Raghav.

Former Member
0 Kudos

Hi Gaurav

Thanks for yr reply.. We have the same settings as what you have described.. I have get my developer to debug and found that it is taking from routine 366 where it is defaulted to 2%..Pls advise

Rgds..Vinz

Former Member
0 Kudos

Hi Vinz,

OK. That mean you have the sort of ABAP code in routine 366 as shown below :

********************

WHEN 'JECS'.

IF XKOMV-KAWRT NE 0.

XKOMV-KWERT = XKOMV-KAWRT * 2 / 100.

XKWERT = XKOMV-KWERT.

ENDIF.

*********************

you can see that the condition JECS is hardcoded as well as ECS rate is hardcoded as 2%.

To make the routine fetch this ECS rate from J1ID, comment the above section of the code and add new section of code in routine 366

The code which you may refer is :

*****************************

  • ECS changes begins

when wa_excdef-J_1ICECSP.

if xkomv-kbetr ne 0.

xkomv-kwert = j_1itaxvar-j_1itaxamf.

xkwert = j_1itaxvar-j_1itaxamf.

if xkomv-kawrt ne 0.

xkomv-kbetr = j_1itaxvar-j_1itaxpcf.

endif.

else.

  • reset fields for zero percent tax codes

xkomv-kbetr = 0.

xkwert = 0.

endif.

taxbasf = xkomv-kawrt.

  • ECS changes ends

********************************

Just ask your ABAPer to modify routine 366 like this and test.

It should surely solve your issue.

Please revert back if any problem.

Hope this helps you.

Reward points if it helps you.

Regards,

Gaurav Raghav.

Former Member
0 Kudos

HI Gaurav

Its working now.. Thanks a lot..

Rgds..Vinz

Answers (0)