cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Delete Button

Former Member
0 Kudos

Hi All,

In the menu Shopping cart Status, I could able to see all the shopping cart.

Now the requierment is , DELETE button should be disable if there is any corresponding PO for that SC.

Please let me know how to do this. I tried with BADI BBP_UI_CONTROL_BADI. But this will hide alll the SC's irrespective of PO's.

Please let me know any other way to do this?

I am working on SRM 5

Regards,

Nikhil V.Kumar

Edited by: Nikhil V Kumar on Aug 30, 2010 1:58 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

It will be too complex(if at all possible) to implement a solution for enabling/disabling delete button depending on the follow on document of the cart.

I will recommend you to put some code in Check BADI which could check the follow on documents for a Shopping cart on Action DELETE and throw an error if someone tries to delete such shopping carts.

Regards

Virender Singh

Former Member
0 Kudos

Changed the standard code using implicit enhancement.

Solved the issue.

former_member183819
Active Contributor
0 Kudos

Try Jay or try this one too

You can use the Business Add-In BBP_MON_SC to influence the selection and the list display of selected shopping carts in the Monitor Shopping Cart function.

Muthu

Former Member
0 Kudos

I tried with BADI BBP_UI_CONTROL_BADI. But this will hide alll the SC's irrespective of PO's.

Can you get the follow-on PO information by utilizing the importing parameter IS_COMACC? It contains object_type, object_id which could be used to get the SC details.