cancel
Showing results for 
Search instead for 
Did you mean: 

Can an adhoc approver be removed in SRM 7.0

Former Member
0 Kudos

Dear All,

Can you please let me know whether an adhoc approver can be deleted.

My requirement is to remove approver added as adhoc. Following are the findings:

1. The Remove Approver button is invisible even if the adhoc approver is added. I enabled programmatically through Web DynPro but it is enabled even in display mode.

2. I tried to execute standard code for ONACTIONREMOVE_APPROVER but it is firing class /SAPSRM/CL_PDO_DO_APV_50 method /SAPSRM/IF_PDO_DO_APV_EXT~REMOVE_APPROVER where no code is provided by SAP. I did an enhancement implementation and added code of /SAPSRM/IF_PDO_DO_APV_EXT~REMOVE_APPROVER method but without any result.

3. In POST-EXIT of ONACTIONREMOVE_APPROVER I read the context node HDR_STATUS and deleted the line item in question and bound through BIND_TABLE. It got removed from the screen but it is giving short dump while changing lead selection and additionally if I want to add same adhoc approver it is throwing error message that the approver already exists.

Can it be controlled through approval BAdI?

Looking for your valuable suggestion.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Adhoc approvers can be only removed with Process controlled workflow and that too only before ordering the cart.

See the below thread by Melina for the complete function of the ADD APPROVER and REMOVE APPROVER buttons in SRM 7:

http://scn.sap.com/thread/2123693

Please refre below link:

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=235672447

Former Member
0 Kudos

Hi Deepti,

Thanks for your reply. I have the requirement to remove the adhoc approver before order. How can I do that?

Thanks for your understanding.

Best wishes,

Atanu

Former Member
0 Kudos

If you have added an approver using the ADD APPROVER button "before" orderig the cart,then the button "REMOVE APPROVER" should also be visible to remove the added approver.This is standard functionality.

If you are unable to do that,please raise an OSS message with SAP.

I also found a note for the REMOVE APPROVER button which talks about  a short dump:

Note 1693081 - Remove Adhoc Approver

Answers (1)

Answers (1)

mithun_kukke
Explorer
0 Kudos

Hi Atanu,

We had the same issue and we contacted SAP for a solution but they mentioned that removal of added approvers can only be achieved thru process controlled workflow and application controlled workflow does not support it (The button for remove approver gets enabled with Application controlled but does not work). You will have to use the alternative which is replace approver where you can replace an added approver with another approver. If not a new SC will have to be created if the SC is already saved or submitted.

Hope this helps.

Regards
MKK