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

Screen exit for MM01

Former Member
0 Likes
728

I have a requirement like adding 2 fields in purchasing view screen in MM01 transaction. Can anybody help me out in this regard?

Thanks in Advance

I have a requirement like adding 2 fields in purchasing view screen in MM01 transaction. Can anybody help me out in this regard?

Thanks in Advance

6 REPLIES 6
Read only

Former Member
0 Likes
655

Hi,

Check the BADI 'BADI_MATERIAL_REF', the documentation clearly says that this is used to add custom defined fields while creating the material, hope this helps.

Rgds,

Read only

0 Likes
655

Hi,

Can u give me little more information because I am new to BADI concepts.

Thanks in advance.

Read only

0 Likes
655

Hi,

BADI's are similar to Customer exits, but BADI's use object oriented programming.

BADI definition is found in SE18 transaction, if you want to make use of the definition available in SE18, you need to implement the BADI in SE19, for ex, if you want to use the BADI definition 'BADI_MATERIAL_REF', you create the implementation by name 'ZBADI_MATERIAL_REF' using the defintion. Once you activate, go to Interface tab of the BADI, there you find the 'Method', by double clicking the method you can open an editor, there between method....endmethod, you write your logic. You can always go thro' the documentation available in SE18 to understand more about any BADI as SAP has provided very good documentation on BADI's.

Follow the link to understand more about BADI's,

http://help.sap.com/saphelp_47x200/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm.

Hope this helps.

Rgds,

Read only

0 Likes
655

Hi Sailatha,

Thank you for your guidance. I created the implementation with the name ZBADI_MATERIAL_REF. I found method and endmethod. Here my question is after writing our code how it will reflect in Material creation.It means how to attach this method to that program.Can you please guide me in this regard.

Thanks in advance.

Read only

0 Likes
655

Hi,

You dont have to attach the BADI to the transaction, like customer exits BADI's have been developed by SAP to have custom functionality in addtion to the standard functionality.

To test the link between the two, you may put a break point in the method of a BADI and try to create the material from MM01, you will understand it better.

Hope this helps.

Rgds,

Read only

0 Likes
655

Hi,

Can u explain me how to create subscreen in that.

Thanks in advance.