on 01-31-2012 12:58 PM
Hello Experts,
We are working in SRM 7.0 process controlled workflow using BRF. We have a situation where we have to pass document_guid from item map to area_guid method. Therefore I created a customized z attribute in a following way.
attribute level visibility typing associated type
Zgc_GUID Instance Attribute public type ref to zcl_**************
in my item map I am doing following.
zgc_guid = is_document-document_guid.
export zgc_guid from zgc_guid to memory id 'Z_GUID' .
in my are_guid methid i am getting using import like the following.
import zgc_guid = zgc_guid from memory id 'Z_GUID' .
lo_area = /sapsrm/cl_wf_area=>/sapsrm/if_wf_area~get_instance_by_guid(
iv_area_type = 'ZCL_******************'' "/sapsrm/if_wf_process_c=>gc_area_type_manager " " " "'ZCL_WF_APV_FACADE' "
iv_area_guid = ZGC_GUID "is_area-area_guid "
).
I want to know is it standard and valid technic to achieve this or is there any OO abap way to do so ? Doing like this I am getting desired results but I would like to confirm whether this is correcr way of doing so or not. If not please advise how to add customized z attribute in item_map method and how to call it using "/sapsrm/if_wf_process_c=>z customized attribute
Thank you in advance.
Best regards.
Experts,
Please reply.
I don't think import/export is the right way to use in OO abap context.
Please share your ideas.
Best regards.
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.