Skip to Content
0
Former Member
Apr 03, 2012 at 03:44 PM

Can an adhoc approver be removed in SRM 7.0

88 Views

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.