Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Greying out Pushbuttons in MM01

Former Member
0 Kudos
140

Hi Folks,

Please let me know how can I grey out the pushbuttons in standard SAP transactions.like I wan to grey out the ADDITIONALS (pushbutton ) of Basic data view 2 in MM01.

when i checked SDN lot of posts reg greying out fields but not for pushbuttons.

Please throw some light on this.

Thanks,

Shwetha

4 REPLIES 4

Former Member
0 Kudos
62

hey..this is functionnal part..

u just ask to MM functional guy...

i m sure there is some configuration settings in SPRO. Through SPRO u can delete BASIC DATA2 button.

0 Kudos
62

Hi Folks,

Based on some conditions Im disabling fields and push buttons

in all the views in MM01.Please give some input for greying fileds

like Basic Data view 1 i want ot grey out "OLD MATERIAL NUMBER" and for

Basic data view2 i wnat ot grey out "BASIC MATERIAL" fields

how can achieve this.

Thanks,

Shwetha

madhu_vadlamani
Active Contributor
0 Kudos
62

Hi Shwetha,

Additional tabs,Push buttons can control through configuration.Did you through configuration.

Regards,

Madhu.

Former Member
0 Kudos
62

Hi,

Use BADI "BADI_MAT_F_SPEC_SEL" to change the field properties of transaction MM01 and MM02.

Put your logic in Method "FIELD_SELECTION".

This method is called for each field and Structure FAUSWTAB contains field attributes of each field which you need to modify as per your requirement.

For greying out Pushbutton "Additionals" in Basic Data screen write below mentioned code in Method FIELD_SELECTION.

if fauswtab-fname = 'MARA_WTADDI'.

fauswtab-kzinp = '0'.

endif.

Regards,

Vijay