cancel
Showing results for 
Search instead for 
Did you mean: 

HR_INFOTYPE_OPERATION not updating infotype 0014

Former Member
0 Kudos

Hi All,

I have written a program to update Infotype 0014 using function module "HR_INFOTYPE_OPERATION" and i am passing P0014 structure for record but it doesnot update amount field. When i debug this function module, it doesnot pass amount field value to proposes_value-FVAL for this Amount field. I wish to know how should i update field with type "P".

Regards

Ajay

Accepted Solutions (0)

Answers (4)

Answers (4)

jagan_gunja
Active Contributor
0 Kudos

Employee data as well as PD data maintenance has a good amount of validation and creation of linked table entries. 

It would be expedient to upload data with LSMW or such tools rather than try user programs.

Former Member
0 Kudos

Hi Jagan

Thank you

actually am creating custom infotype , and i have requirement to create wage type in  '0267' once records save in the custom infotype , so i create FM in SHDB to create the wage , but the problem

is that when i call the FM in PBAS0001 enhancement program its not working cause i call it from pa30 and the record is locked .

but when i execute the FM separately   its working fine.

could you please help me how can i handle this issue.

Regards

Ghadeer

jagan_gunja
Active Contributor
0 Kudos

You need to go through the program module for IT 267.  There would be a need for dequeue and enqueue to unlock/lock.  It could be similar to IT 2001 creation along with IT 2006 update (see MP200000).

Former Member
0 Kudos

Hi Ajay

I have the same issue , could you please let me know how you solve it.

Regards

Ghadeer

suresh_datti
Active Contributor
0 Kudos

Check in table T511, if the Overwrite Indicator for the wage type you are passing is set to 'F'. ie Fixed, then you cannot edit the Amount field.

~Suresh

Former Member
0 Kudos

Hi,

When i tried updating through PA30, it says error message  as " No Entry in table T591B for key 0014 10 /BE2". Do i have to entry the value there and try using function module ?

regards

Ajay

Former Member
0 Kudos

Hi Ajay,

I think I can help you! Can you please provide the ABAP code that you've written for Update of 14 with HR_INFOTYPE_OPERATION.

Update: As mentioned by Suresh, it is quite possible that you are trying to supply an amount for a wage type entry that does not accept values for Amount. The best way for you to determine this apart from checking the configuration for the wage type, you can also try to simulate the change through PA30. If the change you do through PA30 for the test criteria you use works then you should also be able to do the same with HR_INFOTYPE_OPERATION. Just make sure you are able to first simulate the user action through PA30 and based on your findings you can try to implement the same through FM. If for some reason your PA30 action was successful but the update through FM is not working for the same test criteria, please do respond back with the code snippet and I can take a look to see what may be the issue with your specific code.

Regards,

Ravi