on 08-06-2010 8:06 AM
Hi Experts,
I am creating a HCM process and form and using Ehp2. I need the step object id in the backend service. I created a field in the service with datatype ASR_GUID and the field name is STEP_OBJECT_GUID. I selected this field in the form scenario under the specified service.
But the value is not coming up. I have three scenario steps and in all these three steps, the field is empty when i check in case management. Have I to add this field in the SPECIAL FIELDS of the service.
I tried to add the process reference number in the service also similarly but the name is PROCESS_GUID with datatype ASR_REFERENCE_NUMBER. It is also coming empty. I selected the default value in the form field for these fields to point the generic service.
Kindly help.
Thanks,
Vijay
Read the documentation for HCM P&F THOROUGHLY from help.sap.com.
Both fields you want are SPECIAL and you have to name them exactly. The framework will fill them in for you and you can reference them. Look for "PROCESS_REFERENCE_NUMBER" and "FORM_SCENARIO_STAGE" in the docs.
Do NOT worry over the GUID info of the actual CASE. You do not need that. With the two pieces of info above, you can do pretty much everything you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
Thanks for the help. I am creating the Vacancy Requisition request in HCM P & F. I need the GUID to get the attachements in the process. I see that PROCESS_REFERENCE_NUMBER is suffice for this.
Many Thanks for your blogs as reading through them gave me confidence to work on HCM P & F though I am altogether new to SAP itself.
Thanks,
Vijay
Your almost there. You can actually use a class passing in proc. ref. number that will then give you a "hook" into that instance. Then you can call the class to fetch attachments. From there, you cross reference the attachments it returns to the attachments table and pull additional details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah thanks for the compliments. I have written a very nice little Generic Service before (that I STILL use a lot!) that can look up any attachment to see if it's attached and the details of it. I know what you had to do. 😃
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
I had used the process reference number to retrieve the case id from the T5ASRPROCESSES table and used the T5ASRSTEPDETAILS to get the STEP_GUID and used the standard cl_hrasr00_container_utils=>get_attachments class method to get the attachments (ofcourse refered the standard SAP object coding).
Kindly give me hint if this can be done otherway.
Thanks,
Vijay
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.