on ‎2006 May 27 6:11 AM
SRM 5.0; R/3 46C; classic scenario
Hi everyone,
I was wondering if it's at all possible to disable the partial approval/rejection functionality (by line item).
I know that using BBP_WFL_SECURITY I can disallow any changes to the document but I am looking to disallow all but full rejection or full approval by the approver.
Thank you as always.
Jay
Request clarification before answering.
Hi Jay
Have you tried BADI BBP_WFL_SECUR_BADI which we can use to regulate our own rules for changing or displaying the buttons.
we can use this with roles Employee or Manager roles and even set Security levels 0-4.
read the documentatio of BADI BBP_WFL_SECUR_BADI
regards,
Nimish Sheth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nimish,
Thank you for your response. Correct me if I am wrong but the documentation seem to suggest that this is regarding the change of the SHC contents not the actual approval - which can be done at the work item processing. I am thinking perhaps I need to gray out the save button in the SHC details screen so that they can only conf/reject fully from the initial work item screen. Or possible option would be to gray out the radio buttons if possible.
-Jay
Hi jay,
You can go to tcode SWL1,for the WF task in the approval WF for SHC,the attributes EC_DECISION and EC_MAIL are maintained..These attributes control the enabling/disbling of the radiobuttons "Approve/reject" in teh approval screen...
Regards,
Disha.
Pls reward points for helpful answers.
HI Jay
If you are looking for a solution that approver can either reject all items in SC or Either Apporove all the items in the SC. correct me ??
If this is the case you need to user BBP_Change_Document_BADI.
Chk the properties of Approve = 0
Rejected - 1
Check for the first line . If it is 0(Approve) try to compare the same for all lines and throw an error message through BBP_Document_Check_Badi
You need to use both the Badis Change and Check.
And pass the value whether Approved or Reject from change BAdi to the global memory area and use the same in Check badi to throw an error message.
regards,
Nimish Sheth
Hi Nimish,
Thank you again for the response. I was wondering where are the properties "Approve" and "Rejected?" Is it in the import table or is there some other method to retrieve it.
Disha, that seems to only work for the header level approval/rejection - I am concerned w/ the item level approval for Shopping Carts with multiple line items.
Thank you all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.