on Executing the method
CALL METHOD /SAPSRM/CL_WF_APV_FACADE=>GET_CURRENT_PROCESS_LEVEL
IV_DOCUMENT_GUID = P_PW_HEADER-SC_GUID
IV_RESOLVE_AGENTS = ABAP_TRUE
ES_PROCESS_LEVEL = LW_APPROVER_SEQ.
CATCH /SAPSRM/CX_WF_NOT_FOUND .
In QA client .
On executing std. Classes from my ID . I am getting the out list of agent for SC.
But on Executing same std. Class with Approver id does not give the list of agent.
LT_DECISION = LW_APPROVER_SEQ-DECISIONSET_LIST.
READ TABLE LT_DECISION INTO LW_DECISION WITH KEY STATUS = 'OPEN'.
IF SYST-SUBRC = 0.
LT_AGENT_LIST = LW_DECISION-AGENT_LIST.
here LT_AGENT_LIST is initial.
from Approve iD.
But from ID it giving List.
In Dev. Client Approver id is also proving the list of agent.