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

Problem with HR_INFOTYPE_OPERATION

Former Member
0 Likes
695

Hi,

I am Using HR_INFOTYPE_OPERATION FM to modify records in infotype 00014 for BETRG filed using the operation 'MOD'. But i am getting an error

EPG 145Amount for wage type 1480 is too great (table T511).

Hi,

I am Using HR_INFOTYPE_OPERATION FM to modify records in infotype 00014 for BETRG filed using the operation 'MOD'. But i am getting an error

EPG 145Amount for wage type 1480 is too great (table T511).

3 REPLIES 3
Read only

Former Member
0 Likes
630

Hi,

First read the data from PA0014 using function moduule

HR_READ_INFOTYPE

and read active record from the internal table that is returned by the above FM into one structure (work area) and changes the values you want to change and pass it to FM HR_INFOTYPE_OPERATION

If you are creating a new record you should give operation'INS'

for FM HR_INFOTYPE_OPERATION with all the values to structure and pass that structure to FM HR_INFOTYPE_OPERATION

Regards

Krishna

Read only

Former Member
0 Likes
630

Well this looks to be a valid error to me.

What wagetype value you are passing to the Function module.

Goto Sm31 and T511. Find maintainance dialog select V_T511. Enter MOLGA. Now select Wage type 1480. and click on details button. Here you will be able to see the Min and Max value permitted for WT.

Compare it to what you are passing to FM.

Hope this solves.

Read only

former_member199581
Active Participant
0 Likes
630

Hi,

Check if in table T511 there's not a limit defined for the Wage Type amount (use view V_T511).

You can even take care to the field BETRG you're passing to the FM:

Hope it helps,

R.