cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable certain fields/buttons in BBP_POC and BBP_MON_SC

Former Member
0 Kudos

Hi SRM Gurus,

We have to disable some fields for the standard T-codes BBP_MON_SC & BBP_POC.

But those fields will needs to be disable for certain role users only.

We can disable the fields through creating the Screen/Transaction variant (SHD0) for those standard

T-codes (BBP_POC & BBP_MON_SC). But to implement the role based logic, I think we need

to use the standard badi BBP_SCREENVARIANT and method GET_SCREENVARIANT_PO

and GET_SCREENVARIANT_SC (As per the standard SAP documentation).

I have also implemented the BADI with the above mentioned methods. But it's not working at all.

So could you please let me know which BADI & which method we need to handle (or any other way), so that we can get the exact result.

Full points for the reply.

Thanks

Shraman

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shraman,

You can use BBP_UI_CONTROL_BADI for this. Implement this BAdi and put a condition in the code you write that it should be executed only for certain users.

Regards,

Zubair.

Former Member
0 Kudos

Hi Zubair,

I have checked the BBP_UI_CONTROL_BADI badi. Actually there has 3 methods mentioned below.

BBP_CTR_UI_CTRL --> Field Control in the Contract

BBP_QUOT_UI_CTRL --> Field Control in Bid

BBP_BID_UI_CTRL --> Field Control in Bid Invitation/Bid

Now these methods are related to Contract,Bid & Bid Invitation. But my requirement is for

BBP_POC & BBP_MON_SC. So please suggest.

Thanks

Shraman

Answers (1)

Answers (1)

dean_hinson2
Active Contributor
0 Kudos

Have you tried BBP_UI_CONTROL_BADI?

Regards, Dean.