on 04-03-2012 4:44 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.