HCM Processes & Forms: The Mystery of the Missing Sample Processes!….or “Where are the PD processes?!?!”
“But I followed all the steps in the documentation, and I still do not see my PD sample processes anywhere!!!!! ARGGGGGGGG!!!!!” *much gnashing of teeth, ripping of hair out, and occasionally even throwing things around the room soon follows*
….it usually starts like that or something similar. I hear this a lot from others now, and yes, at first, even I was uttering those words to myself. How is it that you follow all the initial set up steps for HCM Processes and Forms in order to view and execute your standard SAP “sample” processes, and yet, they do not seem to be anywhere? Well, let’s just say that SAP’s documentation isn’t exactly “current”. ( I know what you are thinking “Oh gasp! Did he really just say that??!?!”…I know people will be soooo shocked by that statement. haha) Allow me to explain and guide you to the “new” way of doing things.
(*DISCLAIMER: this blog was actually completed a good while back, but I never came back and released it as “finished”. Doh! I happened back upon it and think it is still quite useful. This blog details steps for anything up to enhancement pack 4, however, the same methods can/should be applied to EhP5 as well.)
Assumptions: You have activated the business functions via the IMG (via t-code SFW5 actually) for your level of enhancement packs in order to make the newer sample processes available. This corresponds to business function HCM_ASR_CL_1 (for Enhancement Pack 2) and HCM_ASR_CL_2 (for Enhancement Pack 4).
SETTING UP SAP SAMPLE PROCESSES FOR HCM P&F
From the initial released of HCM P&F and onward through EhP4, the help.sap.com and the IMG activity documentation has remained fairly unchanged….VERY unchanged as it relates to setting up the sample processes. Even from the EhP4 SAP help.sap.com documentation, it reads as follows:
“To use the sample processes for test purposes, in Customizing for HR Administrative Services you must have performed the IMG activities under Configuration of Forms/Processes ->Sample Processes for HCM Processes and Forms.”
which leads us to this location in the IMG:
And from the IMG documentation for the node in the activity section noted above:
“The sample processes are for demonstration purposes and can be used in a test system only. The following section describes the necessary steps to get the sample processes to run in the current test client. The sample processes are not to be used in a production system.”
(note: I just threw the quote above in to once again point out that the samples are NOT meant to be used “as is”. Many do NOT work, and most all of them are really there to be used as reference for how to accomplish things in configuration, workflow or in form development.)
Furthermore, if you look at the IMG activity documentation, it tells us that are steps to set up the sample processes are as follows:
- Execute the IMG activity Perform Client Copy According to Piece List to transfer the objects from the object list in client 000 to the current client.
- Execute the IMG activity Perform Comparison Run Using Object List to compare the Customizing objects in the object list HRASR_PROCESSCONTENT_VP.
- Execute the IMG activity Compare Form Scenarios to check whether all form scenarios used in the sample processes exist in the copied processes.
- Execute the IMG activity Specify Number Range Interval for Reference Numbers of Process.
- Execute all IMG activities under Configuration of Forms/Processes -> Process Configuration -> Technical Settings.
- Execute the IMG activity Assign Possible Processors to Error Categories to set up error handling.
- Execute the IMG activity Activate Event Coupling for Workflow Template of Sample Processes to activate the triggering event for the relevant workflow template of the sample process.
Steps 4,5, and 6 can (should?) actually be done prior to this as they relate to setting up your HCM P&F environment overall and not just the sample processes. So that leaves us with,
- Perform Client Copy According to Piece List HRASR_PROCESSCONTENT_VP
- Perform Comparison Run Using Object List
- Compare Form Scenarios
- Activate Event Coupling for Workflow Template of Sample Processes
From step 1, we already have problems. First off, the IMG node activity documentation reads:
Activities
Enter the transport request and the source client, and transfer the objects from the HRASR_PROCESSCONTENT_VP object list into the current client.
This is WRONG! It is actually HRASR_PROCCONTENT_VP….HRASR_PROCESSCONTENT is the name of the piece list for the original HCM P&F release.
You can use transaction SE01 to go view the contents of the “piece list” HRASR_PROCESSCONTENT. You will see if you expand the node related to the table that stores the processes that it only has the initial processes from the very first “version” of HCM P&F.
But what about all the new samples from EhP2?!?! Again, you can use transaction SE01 to go view the contents of the “piece list” HRASR_PROCCONTENT_VP (watch the name!) . You will see if you expand the node related to the table that stores the processes that it has the initial processes from the very first “version” of HCM P&F as well as those for EpH2.
What about the samples from EhP4….especially the new, fancy PD ones!?!?!?!?!?! Not in any piece list!
Also,you will find the same issue when you get to the step to activate event coupling for workflow. It is all very frustrating!…but hey, you were just following the documentation and steps and SAP told you to do right? haha
If they are at least somewhat familiar with HCM P&F and know a little bit of what they are doing at least, a lot of people at this point will usually create their own “process” in the Design Time for the “missing” samples and then simply “pull in” the existing Form Scenarios to start that the process that should be there for them (as those are documented correctly in the sample process details in the help.sap.com documentation). Setting up the “process” container in Design Time is fairly straightforward. But why should we even have to do that?!?!?! There is a better (correct?) way!!!
Design Time->Reconcile Objects
If we execute the Design Time (transaction HRASR_DT), we find a nice, often-overlooked, hidden gem of a menu item available. In the top menu, follow the path “Design Time->Reconcile Objects”.
This will display a pop-up window for us asking if we are looking for a Process object or Form Scenario Object.
Now personally, I do this by first copying my Form Scenarios and then the Processes. In this way, I hope I avoid conflicts as keep in mind that in Process configuration, it asks for our “start” Form Scenario/Step. Therefore, I do not want to have reference to a Form Scenario that does not yet exist.
Select “Form Scenario”, and next you will see a new screen asking you for a RFC Connection. Here, we want to select a previously configured RFC connection to client 000 in our same “box”. With the correct RFC connection set, simply click “Display Form Scenarios of Remote System”. Once we have our list, two very nice buttons become active for us at the bottom of that list/table.
Now, you can run the “compare” at this point, but let us assume that we have nothing in our HCM P&F environment in our client yet. Therefore, we select ALL of the rows in the table that lists the available form scenarios in client 000 and run a “reconcile” by clicking “Reconcile (Import from Remote System)”. This will copy all of our selected form scenarios from client 000 into our client. You will get a pop-up window verifying this choice and a CUSTOMIZING transport request after that. You will be asked to logon to client 000 a few more times to complete the process (make sure you enter client 000 in the logon!).
The next part is exactly the same but for the processes. Again, from the Design Time menu, select “Reconcile Objects”, and this time select “Process” from the pop up window.
Again, select your RFC connection to client 000 and click the “Display Remote System Processes” button. This actually calls a nice little function module called HR_ASR_DT_GET_PROCESS_LIST. After connecting via the RFC, we see from client 000 the list of available “sample” processes:
Make sure all rows (processes) were selected (you will have to scroll and select the remaining rows). Then click the “Reconcile (Import from Remote System)” button. Again, you will get a pop-up window verifying this choice and a CUSTOMIZING transport request after that. You will be asked to logon to client 000 a few more times to complete the process (make sure you enter client 000 in the logon!).
The last step is a bit more tedious, but not so bad once you get the hang of it. You will now have to activate the event coupling/linkage for workflow. For this, we have to go into each process and activate the linkage directly. This is much easier than it may sound, and keep in mind, that you will most likely not be using all of the samples (as many are German or English and some country specific even).
From the Design Time, just select your first sample process and continue doing these steps until you have all of them done. For instance, we pick the first in our list:
Navigate the folders in the most current version of the process (most often, only one version) and select the “Workflow” folder.
You will see the “Event Linkage” listed as either “Incomplete” or “Do(es) not exist”.
Go into “change” mode and simply click the icon/button for “Generate Event Type Linkage”.
This will prompt you for a CUSTOMIZING request. Follow the steps to complete the request. It will now show as:
Continue for each process in the same way.
(*Note: processes HR_PA_XX_MSP_ADDR_CHANGE, HR_PD_CHANGE_JOB_NAME, HR_PD_CHANGE_ORG_UNIT_NAME, HR_PD_CHANGE_POSITION_NAME do not have workflow so this is not needed for them.)
And that’s it. You are done and now have successfully copied over and configured your sample processes. Maybe one day, SAP will update their documentation as well. In any event, you won’t need it now. Our work is done. Please exit through the gift shop. Thanks!
Great post Chris. Good information and good to see you posting again!
Thanks! I took a break from HCM P&F for a while....just a plain old ESS/MSS/portal project last year. hahaha But back to it again now....and not much changes....luckily!
Thank you for this hint.
Reconcile is still a useable way to move processes to relevant client.
Also for HRPAO_* processes.
Ahh. That's how to do it... thx,,,
hello. Thank you very much for this information.
i followed and could pass the error. I got another while using HRPAO_COPY_ORGUNIT :
No FPM configuration defined in form scenario
SHRPAO_COPY_ORGUNITof process HRPAO_COPY_ORGUNIT.
i edited the process and assigned the FPM configuration manually,then i got the following:
ERROR: Parameter has invalid value: Parameter TSTMP1 has invalid value 0 .
(termination: RABAX_STATE)
is this error related to some missing configuration
Hello Chris,
Nice article, I was wondering why SAP design this way this one. Normally they provide the configuration in the configuration instead of 000. That is different story. Now when I try that I am getting error 'RFC destination not found' even though i have the RFC Connection works to 000 when I use SCMP transaction. Is there any other special settings we have to do to make this process/forms works?
Thanks a lot for your help.
Andi.
Hi Chris,
Was hoping you could assist with two questions:
For Step 1 can I ask how the object HRASR_PROCCONTENT is attached to the transport request in Client 000?
Secondly, after I did the reconcile objects in Design Time for the HIRE1 and HIRE2 process, design time is now not accessible with an Assertion Error and does not start up. I have been having authorization errors and have been provided with per transaction/per ASR table objects, I am wondering if when I did the reconcile authorization blocked some of the values being brought over from 000 to target client. Would you know which tables I could access to delete the process object so I can access the Design time transaction again? Or any other recommendation to access Design Time. I tried 1075650 - New Design Time tool Corrections for the dump but this did not work.
Thanks in advance,
Andrew