cancel
Showing results for 
Search instead for 
Did you mean: 

Hide button

Former Member
0 Kudos

Hi,

I would like to hide the services button in product type, shopping cart screen. Can any one suggest me how this can be achieved

Regards,

Chary

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

What is the exact requirement ? Why you want to do that ?

<b>Instead of hiding the button, you can do the following code by creating an Implemenetation of the BBP_DOC_CHANGE_BADI Definition, Using Transaction SE18 - To permanently enable the Goods buttons.</b>

Here is the code.



METHOD if_ex_bbp_doc_change_badi~bbp_sc_change.

data          ls_item              TYPE bbps_sc_item_badi.

  LOOP AT et_item INTO ls_item WHERE del_ind EQ space.
    IF ls_item-product_type NE '01'.
      ls_item-product_type = '01'.
      MODIFY et_item FROM ls_item TRANSPORTING product_type.
      CLEAR ls_item. 
    ENDIF.
ENDLOOP.

ENDMETHOD.

Hope this will definitely help.

Please reward suitable points.

Regards

- Atul

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Have you tried this ?

Any updates.

Regards

- Atul