cancel
Showing results for 
Search instead for 
Did you mean: 

Approvers in RFX getting changed after clicking on "Refresh"

Former Member
0 Kudos

Hi All,

My requirement:

RFX when created by user needs to send to the managers for approval, based on the Target Value and Useru2019s approval limit. If the Target value is less than the users approval limit then the RFX will have the automatic approval else it needs to go to the next level manager. If the approval limit of the next level manager is also less than the target value, then it should go the next level of manager. If nothing satisfies the condition, then Admin should be passed as the approver.

What I Did:

Created one custom expression which calls the Process Scheme in runtime.

Create Process Scheme with two process levels:

1. Approval with Completion and Task ID: 40107917 with custom responsible resolver name

2. Automatic

I created an implementation in the enhancement spot /SAPSRM/BD_WF_AGENTS for the BADI /SAPSRM/BD_WF_RESP_RESOLVER. This badi implementation was assigned with filter values of Object Type & Responsible resolver name.

In the method /SAPSRM/IF_WF_AREA~GET_RESPONSIBLE_APPROVERS there is a code:

lt_area_entity_id = me->/sapsrm/if_wf_area~get_area_entity_ids ( ).

May I know how to configure/get the Area Entity ID or Leading object ID.?

I know in the runtime the program will get the entry from table /SAPSRM/D_WF_012. But before this will they configure Leading Object ID/Area Entity ID to the responsible resolver name?

Kindly help me in this issue.

Regards

Kannaiah

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The problem is with the guid. Used Export/Import statements.