cancel
Showing results for 
Search instead for 
Did you mean: 

/sapsrm/cl_wf_apv_facade=>get_current_decision

Former Member
0 Kudos

Hi All,

In order to make the approval note mandatory on the rejection of shopping cart,I am using the functional module

" /sapsrm/cl_wf_apv_facade=>get_current_decision" to get the current decision of the document.If the decision is "REJECTED",then I am checking whether the approval note is mandatory or not.This functional module provides the correct value for the original version of the document.But it is not giving the proper value for the change version of the document.Could anybody please suggest me is there any other way to get the current decision of the change version document?

Thanks and Regards,

Rohini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Rohini

try using, use method GET_CURRENT_PROCESS_STATE, return parameter structure /SAPSRM/S_WF_PROCESS-PROCESS_LEVEL_LIST-DECISIONSET_LIST-ITEM_STATUS_LIST gets you the current status of the item (ACCEPTED, REJECTED, OPEN, INQUIRED).

regards

sahil 

Answers (1)

Answers (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello Rohini,

do you give correct document GUID (the one of the change version) as importing parameter ?

Regards.

Laurent.