Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8065

Re: I have a requirement where the old material no. in tcode MM01 needs to be done mandetory for a specific material type.

$
0
0

Hi,

 

Go to transaction SE18 and enter BADI -> BADI_MATERIAL_CHECK.

Create your own implementation for this BADI.

 

do implementation for BADI method: CHECK_DATA

this method has an importing parameter WMARA. which has both the fields material (MATNR) and material type (MTART).

 

so check based on your material type whether material is filled. if not stop for furthur action.

 

for example:

 

if WMARA-MTART = 'FERT'

 

if WMARA-MATNR is initial.

error message.....

endif.

endif.

 

Let me know if its not clear.

 

Regards,

Prasad


Viewing all articles
Browse latest Browse all 8065

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>