Skip to Content
0
Former Member
Oct 30, 2012 at 04:59 AM

BRF--Document GUID value returns NULL.

45 Views

Hello experts,

We are into SRm 7.0, process controlled workflow.

I am trying to get document guid in /SAPSRM/IF_WF_AREA~GET_RESPONSIBLE_APPROVERS method of customized z class.

To get document GUID, I am using instance from /SAPSRM/CL_CH_WD_BO_MAPPER.

Following is my code.

data : guid_instance TYPE REF TO /SAPSRM/CL_CH_WD_BO_MAPPER.

sc_guid TYPE bbp_guid.

CALL METHOD GUID_INTANCE->/SAPSRM/IF_CLL_BO_MAPPER~GET_BO_GUID
RECEIVING
RV_BO_GUID = sc_guid

But this SC_GUID returns NULL value. I am not able to figure out why it is passing NULL value. is there anything wrong ? Earlier I had tried using /SAPSRM/CL_CH_WD_TASKCONT_FACT. But it also returned NULL value. Is there anything else I need to declare ?

Please share your ideas/suggestions.

Best regards.