on 2014 Feb 21 6:58 PM
Hello Experts,
We activated EhP5 business function HCM_ERC_CI_4 in our Sandbox system. Since doing so the batch job PERIODIC_SERVICES fails. Looking in ST22 it states that the error is in CL_HRRCF_CS_DOC_CAT_APPL======CP with a runtime error of OBJECTS_OBJREF_NOT_ASSIGNED. The section of code is as follows:
595 *
596 * ----------------------------------------- prepare sender data
597 *
598 * get sender data
599 IF me->sender IS BOUND.
600
601 me->sf_sender-username = me->sender->userid.
>>>> me->sf_sender-employeeid = me->sender->candidate->employeeid.
603 me->sf_sender-title_key = me->sender->candidate->centraldata-title_key.
604
The user id (BCBATCH) associated with the PERIODIC_SERVICES job does not have a pernr assigned to it. This is true in all of our clients where we HAVE NOT activated HCM_ERC_CI_4 and the PERIODIC_SERVICES job successfully runs in those clients.
It appears that in the Sandbox the PERIODIC_SERVICES job is executing the new service HANDLE_UNVERIFIED_CANDIDATES based on what appears in the Active Calls/Events section of ST22:
So I have two questions:
1. Am I correct that as a result of activating this business function that the user BCBATCH used by the job PERIODIC_SERVICES now needs a pernr whereas previously it did not?
2. If so, do I use RCF_CREATE_USER via SE80 in order to do so?
Thanks for your help.
Regards,
John Holland
Request clarification before answering.
Hello John,
with the business function you activated SAP delivered the E-Mail verification process. You can find details for this function under: http://wiki.scn.sap.com/wiki/display/ERPHCM/EhP5+functionalities#EhP5functionalities-E-MailVerificat...
As described there the function includes the new periodical service HANDLE_UNVERIFIED_CANDIDATES you already identified. As this service sends a correspondence to the candidate it requires that the user for which the periodical services job is planned has a candidate assigned. This is similar to the WF-BATCH user which Needs a candidate to send correspondences like the automated acknowledgement of receipt letter.
Mail verification process can be switched on / off using the T77S0 switch RECFA VERIF. So you can chose to use it or not. If you do not want to have the functionality just deactivate the T77S0 switch and deactivate the periodical service HANDLE_UNVERIFIED_CANDIDATES in the IMG as well. Then the dump will disappear. If you decide to use it, you will need a user with a candidate for the periodical services job. So in this case the answer to your first question would be yes. This candidate would be created using RCF_CREATE_USER. But to avoid to have to many of these technical candidates in the system I recommend to plan the job with the WF-BATCH user which should already have a candidate if this is fine for system Basis.
Kind Regards
Roman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.