on 08-05-2015 12:23 AM
Hi everyone,
I'm working on setting up HR triggers so we can automatically terminate employees. However, I keep getting an error in the logs stating "A user must be assigned to an employee ID". This seems to be specific to changes with infotypes 0000 and 0001, as I don't get this error when processing HR triggers for infotype 0105/0001.
We just upgraded to the latest support pack, and I've done my best to review all notes including "2101648 - HR Trigger: No user assigned to employee ID" and "2182535 - HR Trigger BRF+ Rule is getting too complex?" .
Anyone have any recommendations as to what else to check?
Thanks in advance!
The user does not have sap ID maintained in infotype 0105 subtype 0001.
the sap id of the use should be maintained there for HR trigger.
Regards,
Prasant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cristobal,
We are not using structural authorizations in HR so that shouldn't be an issue. Can anyone provide me with a screenshot of the SLG1 audit log when this works for any infotype 0000/0001 change?
I would like to test this out using function GRAC_HR_TRIGGER_EVENT_RECIEVER to see if I get similar results.
Prasant - I haven't tried your last recommendation, but I will get to it.
Thanks,
Salim Assaf
I think I have everything I need to figure this out, as I have tested the function in SE37 successfully with infotype 0000. I'm now thinking that the parameter IV_ORIGINATING_SYSTEM might not be getting passed correctly, which might be due to incorrect config somewhere.
I'll keep you guys updated as to what I find.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the help everyone! The Maintain Plug-In Configuration Settings connector was setup wrong in parameter 1000.
Original Setting:
RFC name found in the Plugin system (SM59) that went from plugin to itself.
New Setting:
RFC name found in the GRC client (SM59) that goes from GRC to plug-in.
Since they were slightly different, it wasn't working!
The user does not have sap ID maintained in infotype 0105 subtype 0001.
the sap id of the use should be maintained there for HR trigger.
Regards,
Prasant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.