cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Budget Button from Marketing Plan screen

Former Member
0 Kudos

Hi

In our project there is requirement to remove Budget Button from Marketing Plan screen, in CRM 2007 UI. Please tell me how to got about it.

Thanx & Regards

Hits

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use following logic..

Read table rt_buttons in IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS and

DELETE rt_button where on_click = cl_mkt_cpgmpl_util=>gc_event_budgeting.

Regards

Gaurav

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Create a enhancement set using SM34 -BSPWDVC_CMP_EXT

Assign ur enhancement set to BSPWDV_EHSET_ASG in SM30

then enhance your Component by choosing your view.By this way u will get Zclasses and easily u can change what ever u want in Z..IMPL class.

Regards

Gaurav

xavier_dehairs2
Active Participant
0 Kudos

In the controller class(CL_XYZ_IMPL) linked to your viewset you have methods like IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS where the buttons are defined. So you can modify the code in there to remove the button you don't need. Some technical knowledge is therefore needed to do this.

Regards,

Xavier

Former Member
0 Kudos

Hi Xavier

Thanx for your reply...over here we are modifying standard class...this will require access key...How can we achieve same using Z class...or is there some better method available for the same.

Cheers

Hits

xavier_dehairs2
Active Participant
0 Kudos

No, never change a standard class !!!! In CRM 2007, you can easily "enhance" a component using enhancement sets and the system will create for you the Z classes for your view -> check the online help on help.sap.com to read more about the new UI framework and the enhancement concepts, this is mandatory before starting to modify the new UI.

Regards,

Xavier