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: 

Enhancement for MM01

former_member1284402
Participant
0 Kudos

hi all,

i have to make 'X-distr.chain status' value by default as '03' in 'sales organization view of MM01 during material creation. so can anyone please tell me how can i do this?

Regards saurabh.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Try this :

You can use enhancement MGA00001 (industry only) for this.

For more information, see the documentation for the following components assigned to this enhancement:

EXIT_SAPLMGMU_001

3 REPLIES 3

Former Member
0 Kudos

Hi,

Try this :

You can use enhancement MGA00001 (industry only) for this.

For more information, see the documentation for the following components assigned to this enhancement:

EXIT_SAPLMGMU_001

0 Kudos

hi vinnu thanx for reply,

actually i got a BADI 'BADI_GTIN_VARIANT' which is trigering before that screen display so i made a enhancement 'ZBADI_GTIN_VARIANT' and i wrote the code but problem is that during material creation its going there in debug mode but not making the changes there on screen. can anyone please help me?

code: method IF_EX_BADI_GTIN_VARIANT~CALL_USEREXIT.

break-point.

if sy-tcode = 'MM01'.

mara-mstav = '03'.

endif.

endmethod.

this value is showing during debug but not reflecting on screen.

Regards saurabh.

Edited by: saurabh srivastava on May 5, 2009 8:50 AM

Edited by: saurabh srivastava on May 5, 2009 9:25 AM

0 Kudos

Hi,

We have to change the status fo the screen field. Make the screen field an editable one, and then only the val;ue will be updated.