cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Disable Partial Approval/Rejection Functionality

Former Member
0 Likes
1,607

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

View Entire Topic
Former Member
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

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.

Former Member
0 Likes

Hi Disha,

Would you be able to provide a bit more detail on this?

I am not sure exactly what I am looking at...

Do I erase an entry in this table? Or add... I think the task is an WF task.

Thank you.

Former Member
0 Likes

Hi Jay

I am not sure about looking at the configuration, but you might want to try looking at the BBP_DOC_CHANGE_BADI and adding some checks there that does not allow the shopper to do partial approval.

I have not looked at this possibility myself, but it seems a viable option.

Nicholas

Former Member
0 Likes

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

Former Member
0 Likes

Hi,

Yeah if these entries are not present... the radio buttons are disabled..You can try this..

BR,

Disha.

Pls reward points if the answers are helpful.

Former Member
0 Likes

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.

Former Member
0 Likes

Hi Nimish

I am with J, what variable do I look for to check the approval/reject status.

I must apologize J, I did not check the fields available before posting my answer. I do not see a approval/reject property.

Nimish, any help here?

Nicholas