cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

EREC- Missing relationship after running HRALXSYNC

Former Member
0 Likes
1,696

Hi Experts,

I am facing a problem after running the report HRALXSYNC. Relationship B208 between CP and US is missing in HRP1001. But i can see that that it is missing only for internal candidates and users. Relationship exists for all the newly created external candidates. i.e NA-CP-US exists only for external candidate where as for internal candidates there exists P-CP-US and P-CP-NA.

It is because of this problem that when ever i try to access any e-recruitment role, say for e.g. "Recruiter" role, i get the error message "You are not authorized to execute this application"

Also the following SLG1 error message appears:

No candidate could be found for US *********

The error occurred in program CL_HRRCF_CANDIDATE============CM003

I also tried creating the missing relationship through pp01 manually. But this error doesn't go.

Also i would like to mention that in hrp1000 records for object type US does NOT exist.

Please let me know how can i remove this error. How can i generate the missing CP-US relationship for all the employees.

We are on EHP5, SP3. Both the systems (HR and E-rec) are on the same instance

Regards,

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

romanweise
Active Contributor
0 Likes

Hi,

in the integrated installation scenario the relationship between central person (CP) and user (US) is not physically stored in HRP1001. Instead the system is using the IT0105 subtype 0001 entry for the employee ID to emulate this relation.

Check if there is the user information maintained for the employee Id in IT 0105. In very rare cases the subtype default for the sap user Id was changed which might need to be checked, too.

Rgds.

Roman

Former Member
0 Likes

Thanks Roman,

then why am i getting the error in SLG1:

No candidate could be found for US *********

The error occurred in program CL_HRRCF_CANDIDATE============CM003

          • stands for the user id assigned to the pernr in IT0105 sub type 001

I want to give the portal role of "Recruiter" to a person. i followed the following steps:

1) Created reference user RCF_Recruit in SU01.

2) Assigned recruiter role "ZER_RCF_RECRUITER_ERC_CI_2" to this user

3) Created a user "testrec" on portal and r/3. On portal with only recruiter role and on r/3 with no role.

4) Ran the report HRALXSYNC and corrected the entries. Internal candidate was created. i.e All green indicators

5) Then when i try to access the recruiter role on portal for the user testrec, i get the error "You are not authorized to execute this application" . And when i run SLG1 i get the errors: "No candidate could be found for US testrec" and "The error occurred in program CL_HRRCF_CANDIDATE============CM003"

I also tried giving giving "ZER_RCF_RECRUITER_ERC_CI_2" on r/3.

Am i missing anything?

Regards,

Pradeep

Former Member
0 Likes

Hi,

Have you gave the role : HCM_ALL_GENERAL_ACCESS in R/3 ssytem for your user ID and also assign the parameter values for the same user in r/e and e-rec environments.

Cheers,

Asha...

Answers (3)

Answers (3)

NicoleGeischnek
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Pradeep,

But the issue is that if there is no IT0105/0001 entry for the employee on the first run of HRALXSYNC the system creates automatically a random user - usually starting with EE*.

Regards

Nicole

romanweise
Active Contributor
0 Likes

Hi,

I'd lilke to suggest to split this complex issue to better determine the reason for the error. The user record might be corrupted, the HRALXSYNC is a mess, there might also be a portal issue or an authorization issue. So we need to narrow the options.

So for a first step. Give the user SAP_ALL. Grab the link for the internal start page you can get from the web dynpro application in SE80 and try to log in. That way you could restrict your problem. If you can not log on there is a candidate issue. If you can log on there is most likely something wrong with your protal setup or authorization.

Pls. post your result and we will be probably able to help with the next steps.

Rgds.

Roman

romanweise
Active Contributor
0 Likes

Hi,

I'd lilke to suggest to split this complex issue to better determine the reason for the error. The user record might be corrupted, the HRALXSYNC is a mess, there might also be a portal issue or an authorization issue. So we need to narrow the options.

So for a first step. Give the user SAP_ALL. Grab the link for the internal start page you can get from the web dynpro application in SE80 and try to log in. That way you could restrict your problem. If you can not log on there is a candidate issue. If you can log on there is most likely something wrong with your protal setup or authorization.

Pls. post your result and we will be probably able to help with the next steps.

Rgds.

Roman

Former Member
0 Likes

Thanks Roman,

With SAP_ALL it is allowing me to access the internal start page. It removes the SLG1 errors as well. What could be wrong with my protal setup or authorization?

Can you please help in identifying the mistake.

Regards,

Pradeep

Former Member
0 Likes

Thanks Nicole, But can you please tell me how to take care of cases in which the sy-user name changes. i guess running HRALXSYNC again won't help. What is the work around?

romanweise
Active Contributor
0 Likes

Hi,

for the portal I would check the following points:

- correct definition of system aliases for e-rec in the system definition of portal

- correct portal packages for e-recruiting installed in portal (when you check the SDN for portal business package you will find an exel file including a list of all portal business packages, the sap component releases they are assigned and additional information I found very helpful)

- ICF service activation, esp.: web dynpro services named ERC*

- check if the roles for recruiter / recruiting administrator for the release are generated, correctly assigned to the user and the user comparison is done

- you might need to temporarly assign SAP_J2EE_ADMIN role on the UME sap client to assign portal admin authorization to bypass missing portal authorization.

For the user issue. At the moment there is no solution provided by sap for changing the user for an internal candidate. This has been a point of customer complaint for some years now.

Kind Regards

Roman

Former Member
0 Likes

Was there ever an answer posted to this issue:

"how to take care of cases in which the sy-user name changes. i guess running HRALXSYNC again won't help. What is the work around?"

NicoleGeischnek
Product and Topic Expert
Product and Topic Expert
0 Likes

Sy-user changes are always problematic because the sy-user is stored in the database tables. So if you change that, the new user won't have the same information and is not assigned anymore to the activities it created.

Former Member
0 Likes

Thanks Nicole.  That is what happened.  The sy-suser ID was changed, but we've since changed it back in IT0105.

The employee (internal candidate) continues to get the "Internal Error" message or "Unfortunately, the system is unavailable, please try again later.", when trying to access the Employment Opportunities.

We've run HRALXSYNC and have run comparisons on roles in SU01, but that hasn't solved the problem.

Any suggestions on how to resolve this, would be greatly appreciated.

NicoleGeischnek
Product and Topic Expert
Product and Topic Expert
0 Likes

If you execute method CL_HRRCF_CANDIDATE => GET() with this user object, do you get results or an error?

What entries do you have in transaction SLG1 when you got the internal error and unfortunately .... messages?

NicoleGeischnek
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Pradeep,

So you change the user assignment of an existing pernr? Please bear in mind that if you change the user ID of an existing employee, this employee has already an internal candidate ID and hence, an automatically created user ID too. Please check if that is the case.

Regards

Nicole

Former Member
0 Likes

Hi Nicole,

No that isnt the case...the employee didnt have a sy-user name attached to it. It was a new user name that was assigned. (i had run hralxsync initially without syuser name attached and then after assigning the sy-user name, i ran it again)

today i saw another error. For the same employee when i tried to access the business partner using the tcode bp, it was giving me a dump. can this be the reason for the error that i m getting.

Thanks,

Pradeep

NicoleGeischnek
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Pradeep,

What I am missing in your steps is when do you create IT0105/0001? You say you create the user in SU01 and then run report HRALXSYNC to create the candidate. Is it a new candidate (hiring action in PA40) or just an update of the already existing candidate object (where you changed the IT0105 infotpye)?

Regards

Nicole

Former Member
0 Likes

yes Nicole, i forgot to mention:

after step 3 i assigned the user to an existing pernr (it1005, subtyp: 001). after that i ran hralxsync (in fact i had run it once before and now after attaching the user to pernr, i ran the report again).

Now i am observing another behaviour: When i run the report hralxsync for my pernr, address is in yellow. I clicked on "start repair" and it turns green. then when i go back and execute the program for the same employee--address is visible in yellow.

Can't understand why is this happening.

Regards,

Pradeep