on 05-28-2012 11:44 AM
Hello experts,
We are in SRM 7.0 process controlled workflow and using BRF.
I have a doubt. We had a requirement to find manager of manager. To get it I used retrieve_process_history.
While using that I needed IV_DOCUMENT_GUID. I didn't know any FM to call SC instance or docment GUID. Therefore, I used export and import respectively in get_area_to_item_map and get_responsible_approvers methods like following.
get_area_to_item_map
zgc_mock_pdo_guid = is_document-document_guid. "uncomment later 24.05.12
export zgc_mock_pdo_guid from zgc_mock_pdo_guid to memory id 'Z_MOCK_PDO_GUID'
get_responsible_approvers
import zgc_mock_pdo_guid = zgc_mock_pdo_guid from memory id 'Z_MOCK_PDO_GUID' . "uncomment this later 24.05.12
Now I would like to know instead of using export and import is there any standard FM or any abap object patterns available to call the same ?
I tried it using /SAPSRM/IF_CLL_TASKCON_FACTORY interface with method GET_INSTANCE from class /SAPSRM/CL_CH_WD_TASKCONT_FACT.
Then, get task container from this interface. But that didn't work.
Please advise.suggest BRF context method, FM to achieve. Right now my program works correctly but I am not too sure about its validity as it's not in BRF/workflow context. Please share your ideas.
Thank you.
hi Abhijit,
There is standard responsibility resolver already available as " RR_MANAGER_OF_MANAGER".
Thanks,
Anshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.