on 04-25-2012 11:07 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rohini,
do you give correct document GUID (the one of the change version) as importing parameter ?
Regards.
Laurent.
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.