cancel
Showing results for 
Search instead for 
Did you mean: 

Disable 'Direct Material' Button

henning_abel
Participant
0 Kudos

Hello SRM-gurus,

is there a way to disable the 'Order as direct material'-button which appears under 'Internal products / Services' --> basic settings in SRM shopping-cart transaction?

I found badi BBP_DP_PROD_CHK_BADI and Parameter EV_DP_FLAG, but can't set it inactive despite being in change-mode. The only thing I could do is delete the whole line, so that there's only the line IS_PRODUCT left.

It it possible to delete the whole entry EV_DP_FLAG to not get displayed the button any more or would this be fatal?

Thanks for your help.

Regards,

Henning

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1) For 'Order as Direct Material' button to be disabled ,use the BADI "BBP_DP_PROD_CHK_BADI".

In method PRODUCT_CHECK, just clear EV_DP_FLAG.

2) Use BBP_UI_CONTROL_BADI

3) Change in the programme settings in SE80.

Award the points if it helps.

BR,

Vijay Mittal

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

What do you mean by "can't set it inactive despite being in change-mode"???You just need to create an active implementation of the badi BBP_DP_PROD_CHK_BADI in trascn SE19 and in the method PRODUCT_CHECK ,just write the foll line:

EV_DP_POSSIBLE = ' '.

Please take help of an ABAPER for implementing the BADI.You just need to implement this BADI to hide the ORDER AS DIRECT MATERIAL button!

Related links:

(The previous reply to your post seems to be picked up from the above threads!!!)

BR,

Disha.

DO reward points for useful answers.

Former Member
0 Kudos

Hi Henning,

You can use BBP_UI_CONTROL_BADI to diable any of the standard fields, Puch buttons etc.

Using SE18 txn, activate this BADI and use the relavant method to affect the required change.

Hope this helps in resolving your issue.

Award points for helpful answers.

Rgds,

Teja