Application Development and Automation 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: 
Read only

Default values in MM01

Former Member
0 Likes
2,528

Hello experts ,

I want to default a value in MM01 transaction for the field Volume Unit (ERVOE ) based on a particular material type

Can any one tell me how can I do this ?? Is it possible to do with any exits/BADI/Customization ...!!

I tried with couple of BADIs but all are populating the data in the field at the time of saving , but I want it by default in the specified field.

Please suggest .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,366

Hi John,

try to use BADI_MATERIAL_REF (se18/19). It works OK.

Regards, Dieter

Hello experts ,

I want to default a value in MM01 transaction for the field Volume Unit (ERVOE ) based on a particular material type

Can any one tell me how can I do this ?? Is it possible to do with any exits/BADI/Customization ...!!

I tried with couple of BADIs but all are populating the data in the field at the time of saving , but I want it by default in the specified field.

Please suggest .

4 REPLIES 4
Read only

Former Member
0 Likes
1,367

Hi John,

try to use BADI_MATERIAL_REF (se18/19). It works OK.

Regards, Dieter

Read only

0 Likes
1,366

Hi John,

Thx for the quick reply.I was trying to implement the BADI.

But we get the following error.

"Interface implementation IF_EX_MATERIAL_REFERENCE does not exist"

Could you tell me what we can do

Read only

0 Likes
1,366

Hi John,

my name is Dieter?!

We have create the BADI via SE19

Implementation Name: ZBADI_MATERIAL_REF

Definition Name: BADI_MATERIAL_REF

Interface

Interface name: IF_EX_MATERIAL_REFERENCE

Name of implementing class : ZCL_IM_BADI_MATERIAL_REF

Method is CREATE_MATERIAL

in the CLASS ZCL_IM_BADI_MATERIAL_REF we have the Method

IF_EX_MATERIAL_REFERENCE~CREATE_MATERIAL which contails

the code.

The BADI is created under 4.6C and works also in ECC6.

Which release do you have?

Compare your creation with my values.

Regards, Dieter

Read only

Former Member
0 Likes
1,366

hi

good

try with these user exits

MGA00001 Material Master (Industry): Checks and Enhancements

MGA00002 Material Master (Industry): Number Assignment

MGA00003 Material Master (Industry and Retail): Number Display

thanks

mrutyun^