on 02-12-2014 2:34 PM
Hello Experts,
we are in SAP 7.0, controlled using BRF process workflow.
For all the approval I need to send an email to the approver later.
Does anyone know how to get the next approver or approvers of all the process?
Thank you all.
Federico
Hi Federico,
use class /SAPSRM/CL_WF_PROCESS_MANAGER
for example /SAPSRM/CL_WF_PROCESS_MANAGER=>GET_PROCESS_BY_DOCUMENT
or
use class /SAPSRM/CL_WF_APV_FACADE
for example /SAPSRM/CL_WF_APV_FACADE=>GET_PROCESS_INFO
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Of course I'm sure!!
this is my code:
CALL METHOD / sapsrm / cl_wf_apv_facade => get_process_info (
EXPORTING
iv_document_guid = iv_object_guid
iv_document_type-object_type = <fs_event>
iv_agent_id = sy-uname
IMPORTING
es_process_info = ls_process_info
).
In the table 'ls_process_info' there are data that step and the previous step, but those are not present after.
Do you have any example?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.