Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Standard function module hard code.

Former Member
0 Likes
1,788

Hi All,

Why there is some hard code assignment in standard function module.  As you can see in function module J_1I4_GET_ECESS has fixed value 2% and it comes along with SAP itself.


e_ecs_rate = 2.
x_ecs_rate =
2.


I want to change it to 0%. My user is doing flat tax calculation at the rate of 12.50% while creating excise invoice (tcode : J1IIN) so it does not require to calculate ecess and hecs. still it comes with 2%, I found that additional 2% comes with help of above mentioned function module and that contains fixed 2% of value and calculates the same. all the necessary configuration done with condition record/tax structure.

Regards,

Avirat

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,759

Would it be better to use user exit J_1I7_USEREXIT_DUTY_IN_EXPORT where I can pass the field SUPPRESS_CALCULATION value as 'X' ,

Does it effect rest calculation for tax?

11 REPLIES 11
Read only

Former Member
0 Likes
1,760

Would it be better to use user exit J_1I7_USEREXIT_DUTY_IN_EXPORT where I can pass the field SUPPRESS_CALCULATION value as 'X' ,

Does it effect rest calculation for tax?

Read only

0 Likes
1,759

Hi Avirat,

Please check the below note :

  1175362 - ECS rate hardcoded as 2% in J1IIN, J1IS, J1IG, J1IEX

Thanks

Read only

0 Likes
1,759

Ok using this function J_1I7_USEREXIT_DUTY_IN_EXPORT where I can pass the field SUPPRESS_CALCULATION value as 'X' , then total value become 0.

Failed !

Read only

0 Likes
1,759

Hi,

If it is set to 'X', then it will not calculate tax.Please do a where used list of FM , set a break-point and debug.

Chang the SUPPRESS_CALCULATION to 'X' in debugging mode and compare the results.

Thanks

-Learner

Read only

0 Likes
1,759

Ok I have debug the system and system returns the 0 (Total utilization) value when I set 'X' at suppress_calculation.

Read only

Former Member
0 Likes
1,759

is there any way to resolve this?

Read only

0 Likes
1,759

Hi Avirat

I would not recommend trying to use a coding solution here as a system upgrade may overwrite it.

Rather raise this as an incident with SAP, they should provide a fix in this scenario as it would appear to be a genuine bug.

Regards

Arden

Read only

0 Likes
1,759

Can you check in your system that this function module "J_1I4_GET_ECESS" has fixed values for

e_ecs_rate and x_ecs_rate variables.

Read only

former_member185054
Active Participant
0 Likes
1,759

hi Arivat,

it can be commented use the Note 1175362.

I took screenshot of my IDES system for your refrence.

hope it will solve your issue.

Regrads,

sampath kumar.

Read only

0 Likes
1,759

but how to put comment ....in e_ecs_rate and x_ecs_rate?

Read only

0 Likes
1,759

You already have the answer given by Always Learner. Thread locked, points awarded.