07-21-2014 11:42 AM
Is there any way to make the field (old material no.-BISMT) mandatory for a particular material type in tcode MM01?
07-21-2014 12:55 PM
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
07-21-2014 12:05 PM
Hi
Using the following BADI, you can achieve this.
Regards
Sajid Shaik
07-21-2014 12:14 PM
Hi,
you can use BADI: BADI_MAT_F_SPEC_SEL
or
create an own structure of data Screen for each Screen sequence
Tcode (OMT3B) and assign it to your materialtype (Tcode: OMT3E)
Regards, Dieter
07-21-2014 12:31 PM
Check the following
Enhancement
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Display
Business Add-in
CDT_CHECK_MATERIAL Checks for Existence of a Material in a CDT
BADI_MM_MATNR Modification-Free Archiving Enhancement of MM_MATNR
BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
BADI_MATNR_CHECK_PVS Check Material for Use in iPPE
BADI_MATERIAL_REF Addition of customer-defined default data for material
BADI_MATERIAL_OD Integration of New Objects in Material or Article Master
BADI_MATERIAL_CHECK Enhanced Checks for Material Master Tables
BADI_GTIN_VARIANT User Exit for Customer-Specific GTIN Variant Check
BADI_EAN_SYSTEMATIC BAdI for Internal Control of EAN Logic
WRF_DISCONT_PARAMS_I BAdI: Parameters in Fashion Discontinuation
WRF_DISCONT_FACT_E BAdI: Follow-Up Actions in Discontinuation
WRF_DISCONT_CHECKS_I BAdI: Scope of Check in Material Reorganization
MG_MASS_NEWSEG User-Specific Fields & Segments in Mass Maintenance
MATGRP_SKU_UPD BAdI for Article Hierarchy Connection
Reward points if useful
Regards
07-21-2014 12:55 PM
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
07-22-2014 5:58 AM
I did implement the BADi a u suggested,but nothing is happening....i set the breakpoint to the BADi too but its not getting executed.
07-22-2014 6:09 AM
Hi,
After you implemented BADI, make sure that it is activated like below. other wise it will not be called.
i hope u might know this, but cross check pls.
Regards,
Prasad
07-22-2014 6:24 AM