on 01-18-2010 8:14 AM
Hi,
I would like to have process information (Process Object GUID or Process Reference Number) in the back end generic service i.e BAdi implementation of Interface IF_HRASR00GEN_SERVICE during runtime. How we would do this?
Thank You,
Naddy.
Hi,
Create the Process_reference_number in your form scenario.
Inside your Generic service add the attribute with type 'ASR_REFERENCE_NUMBER' .
You can get the reference number at runtime.
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mukesh,
I guess Process reference Number is created after 'Check and Step'. The documentation says, the process object gets created when process is initialized. I need this Process Object GUID in the form generic service (step 'Fill out Form') to get the details of process.
I have added following fields in the methods GET_SPECIAL_FIELDS, GET_OPERATIONS, GET_FIELD_INFO of generic service interface IF_HRASR00GEN_SERVICE.
1) PROCESS_GUID
2) CASE_GUID
3) STEP_GUID
4) STEP_OBJECT_GUID
I would like to get the Process Object GUID in the method DO_OPERATIONS of generic service generic service interface IF_HRASR00GEN_SERVICE.
Thank you very much for your help.
...Naddy
You will not have this information until the FIRST process scenario has been executed. A lot of things happen at that time.....your workflow (if any) is triggered, CASE Mgmt creates the process # and GUID. After this point, you will then be able to look directly in Case Mgmt (via t-code SCASE) and see your newly started process. At that point, you could then create a generic service to use in further process steps to "pull" that information for you. As another post above explained, you DO have access to the Process number (ie. the number based on your process number range config) by simply setting up a form field with the mentioned field definition....but again, this number will not be available till after the first step in your process is executed. Hope this helps!
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.