on 04-16-2012 1:49 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi Ajay
I have the same issue , could you please let me know how you solve it.
Regards
Ghadeer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
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.