Thursday, May 18, 2017

Simple BADI for Material Check

At the time of material creation we often activate Batch Management. It means different materials will have different batches. Hence, material & batch both will behave as a unique. At this point the Valuation Category needs to be activated. If we don’t activate Valuation Category then there will be no meaning to activate batch management. Because Valuation Category always ensures that the different batch will hold different price of the materials. If it is not activated in this case, then all materials need to satisfy average price of the batch. At this point the valuation will be wrong for those materials.

In the following BADI we have created a simple logic by which Valuation Category will be mandatory if Batch Management is activated at the time of creating a material; t-code MM01. The required BADI is BADI_MATERIAL_CHECK. Now we implement this step by step.

1. Go to SE18 & enter BADI name and display.


2. We need to add our custom code inside the CHECK DATA.


3. Go to SE19 & enter the BADI name and create Implementation.


4. Enter implementation name and then go to Interface.


5. Double click on CHECK DATA method.


6. It will open with the editor. Write the required code here. Then save -> check -> active.


7. Go back and click on the Active button. By this the BADI is activated.


Required Code:


  METHOD if_ex_badi_material_check~check_data.

    
IF    wmarc-xchar = 'X'
      
AND ( wmara-mtart = 'ROH' OR wmara-mtart = 'VERP' )
      
AND sy-tcode = 'MM01'.

      
IF wmbew-bwtty IS INITIAL.
        
MESSAGE 'Valuation Category is mandatory (Value = X)'
        
TYPE 'I' DISPLAY LIKE 'E'.
        
LEAVE LIST-PROCESSING.
        
LEAVE TO SCREEN sy-dynnr.
      
ENDIF.
    
ENDIF.

  ENDMETHOD.

Material Creation:

1. Now go to MM01.


2. Select the required views and enter.



3. Enter plant & s-loc, and then enter.



4. Check the Batch Management.


5. Create the Inspection Setup.




6. Now keep Valuation Category blank and then try to save the material.


7. It will give the Information (display like error) message.


8. Now enter the Valuation Category and the save the material.




9. The material has been created and we can check the Valuation Category details in the MARC table.


204 comments:

1 – 200 of 204   Newer›   Newest»
No One Can See C P R said...

Aspiring to go ahead with SAP ABAP certification. Was looking for complete SAP ABAP questions and material to go ahead with C_TAW12_750 certification. I found your blog with very nice piece of information and go ahead to follow. I found other good websites too, that will too help me.!!! Later I am looking for online SAP ABAP Certification C_TAW12_750 practice questions and exam to boost my confident to crack ASQ certification exam at first attempt

Unknown said...

SAP Success Factors Real Time Hands on Training in Chennai…

Don’t always Depend on Training Institute alone.Please aware of Best Trainers too..

http://thecreatingexperts.com/sap-successfactors-training-in-chennai/

If You need a Best Trainer in SAP Success Factors??? Then be ready for a DEMO From the Trainer MR.Karthick
CONTACT:8122241286
http://thecreatingexperts.com/sap-mm-training-in-chennai/

Both Classroom/Online Training is Available!!!!!!

Unknown said...

Thanks for sharing a usefull good information and it is a nice blog keep sharing these type of blogs sap abap training in hyderabad

Unknown said...

Very informative blog...SAP ABAP real Time Hands on Training in Chennai…

http://thecreatingexperts.com/sap-abap-training-in-chennai/

CONTACT:8122241286

Both Classroom/Online Training is Available.

Unknown said...

Best SAP HANA Training in Chennai by leading HANA Consultant.
Reach at 9003085882
http://thecreatingexperts.com/category/sap-hana-training-in-chennai/

Anonymous said...


Thank you. sir, Really I like your post on. sap videos

Unknown said...

Thank you for Sharing Great Information. It is Very Helpful Information on. sap training videos

Anonymous said...


Thank you for giving this best information. It’s a very nice topic. sapvideos

Unknown said...


Thanks for Nice and Informative Post on. Sap videos

Anonymous said...


Fabulous..!!! The information you Provided is much useful. sap training videos

Anonymous said...

Thank you for information excellent blog have a great possible sap video tutorials

Unknown said...


I get a lot of great information from this blog on. sap videos tutorials

Anonymous said...



Thank you for giving this best information. It’s a very nice topic. sap videos

Unknown said...

The information you have given here is truly helpful to me. sap training videos

Anonymous said...

Thank you for Sharing Great Information. It is Very Helpful Information on sap video tutorials

Unknown said...

it has great information it is very useful Post sap videos online

Anonymous said...




Thanks for the detailed info about SAP..Sap videos

Unknown said...

Thank you for information excellent blog have a great possible sap video tutorials

Anonymous said...

Thank you. sir, Really I like your post on sap videos tutorials

Anonymous said...


Thankyou for Sharing Great Information. It is Very Helpful Information on. sap videos

Unknown said...


I get a lot of great information from this blog. sap training videos

Anonymous said...


Thanks for Nice and Informative Post on. sapvideos

Camellia said...

Wow amazing i saw the article with execution models you had posted. It was such informative. Really its a wonderful article. Thank you for sharing and please keep update like this type of article because i want to learn more relevant to this topic.

SAP MM Training in Chennai

SAP HR Training in Chennai

Unknown said...

Good post! Thanks for sharing this Information.The information you Provided is much useful on sap video

Unknown said...

Thank you for information excellent blog have a great possible sap video tutorials

Anonymous said...


Thanks for the detailed info about SAP. sapvideos

Unknown said...

Thanks for sharing this informative blog..Your blog is really useful for me. sap video training

Unknown said...

Thanks for the great information in your blog on It was so nice article Thank you for valuable information sap video

Anonymous said...

Thank you for information excellent blog have a great possible sap training videos

Unknown said...

it has great information it is very useful Post sap videos online

Anonymous said...

Good post! Thanks for sharing this Information.The information you Provided is much useful on sap video

Anonymous said...


Thank you for Sharing Great Information. It is Very Helpful Information on. sap training videos

Anonymous said...

Thanks for the great information in your blog on. sapvideos

Unknown said...

Thanks for sharing this informative blog..Your blog is really useful for me. sap video training


Anonymous said...


Thanks for the detailed info about SAP. sap video

Unknown said...


it has great information it is very useful Post. sapvideos

Anonymous said...


The information you have posted here is really useful and interesting too & here sap videos online

Unknown said...

Well it Was Very Good Information. Thanks for sharing this Information. sap training videos

Anonymous said...


It was so nice article.I was really satisfied by seeing this article.sap video

Unknown said...


Thanks for Nice and Informative Post on. sapvideos

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on. sap video training

Unknown said...

Good post! Thanks for sharing this Information.The information you Provided is much useful on sap video

Anonymous said...

Thank you. It is such a wonderful post. sap training videos

Unknown said...

Well it Was Very Good Information. Thanks for sharing this Information. sapvideos

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on. sap video

Unknown said...

Thank you for Sharing Great Information. It is Very Helpful Information on..sap video tutorials

Anonymous said...

Thank you. It is such a wonderful post. sap tutorial videos

Unknown said...

I get a lot of great information from this blog. sap video training

Anonymous said...

Thank you. sir, Really I like your post on sap videos.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sap videos.

Anonymous said...

Thank you. sir, Really I like your post on sap training videos.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sap video tutorials.

Anonymous said...

Good post! Thanks for sharing this Information.The information you Provided is much useful on sap video

Unknown said...

It was so nice article Thank you for valuable information. sap training videos

Anonymous said...


it has great information it is very useful Post. sapvideos

Unknown said...

Thank you. sir, Really I like your post on sap videos tutorials

Anonymous said...

The information you have given here is truly helpful to me. sap training videos

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap training videos.

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap training videos.

Unknown said...

Thank you. It is such a wonderful post. sap tutorial videos

Anonymous said...

it has great information it is very useful Post sap videos online

Unknown said...

it has great information it is very useful Post. sap video

ERP Training said...

It was so nice article.I was really satisified by seeing this article sap videos.

Anonymous said...

Thank you. sir, Really I like your post on sap training videos.

Unknown said...


Thanks for Nice and Informative Post on. sap video tutorials

Anonymous said...


Well it Was Very Good Information. Thanks for sharing this Information. sap videos tutorials

Unknown said...

it has great information it is very useful Post. sap tutorial videos

Anonymous said...

Fabulous..!!! The information you Provided is much useful..sap video

Unknown said...

This article is really contains lot more information. sap video tutorials

Anonymous said...

Thank you. It is such a wonderful post. sap tutorial videos

Unknown said...


Fabulous..!!! The information you Provided is much useful. sap video training

Anonymous said...

Good post! Thanks for sharing this Information.The information you Provided is much useful on sap video

Anonymous said...

Thank you. sir, Really I like your post on sap video tutorials.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sap video tutorials.

Unknown said...


Thank you. sir, Really I like your post on sapvideos

Anonymous said...

Thanks for sharing this informative blog..Your blog is really useful for me. sap video training

Unknown said...

Thank you for giving this best information. It’s a very nice topic. sap video

Anonymous said...

The information you have given here is truly helpful to me. sap training videos

Unknown said...

Thanks for the detailed info about SAP..sap video tutorials

Anonymous said...

Thanks for Nice and Informative Post on. sap tutorial videos

Unknown said...

it has great information it is very useful Post sap videos online

Anonymous said...

Good post! Thanks for sharing this Information.The information you Provided is much useful on sap video

Unknown said...

Thank you for information excellent blog have a great possible sap video tutorials

Anonymous said...


This article is really contains lot more information. sap videos tutorials

Unknown said...

Fabulous..!!! The information you Provided is much useful. sap video

Anonymous said...

The information you have given here is truly helpful to me. sap training videos

Unknown said...

Thanks for Nice and Informative Post on. sap video tutorials

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap video training.

Anonymous said...

Thank you. It is such a wonderful post. sap tutorial videos

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap video training.

Unknown said...

Good post! Thanks for sharing this Information.The information you Provided is much useful on sap video

Unknown said...

Thank you for information excellent blog have a great possible sap video tutorials

Anonymous said...



Thank you for giving this best information. It’s a very nice topic. sapvideos

Unknown said...


This article is really contains lot more information. sap videos

Anonymous said...


I get a lot of great information from this blog on. sap training videos

Unknown said...

Thanks for sharing this informative blog..Your blog is really useful for me. sap videos online

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap training videos.

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap training videos.

Anonymous said...


Thanks for Nice and Informative Post on. sap video

Unknown said...

Thank you for information excellent blog have a great possible sap video tutorials

Anonymous said...

Thanks for the detailed info about SAP. sapvideos

Unknown said...


This article is really contains lot more information. sap video training

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap video.

ERP Training said...

Thank you. It is such a wonderful post. it has great information it is very useful for sap video.

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap hana video tutorials.

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap hana video tutorials.

Anonymous said...

This article is really contains lot more information. sap video

Unknown said...


Fabulous..!!! The information you Provided is much useful..sap video tutorials

Anonymous said...


Thanks for Nice and Informative Post on sap tutorial videos

Unknown said...

it has great information it is very useful Post sap videos online

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap videos.

ERP Training said...

Thank you. It is such a wonderful post. it has great information it is very useful for sapvideos.

Anonymous said...

Thank you. sir, Really I like your post on sapvideos.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sapvideos.

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap video.

ERP Training said...

Thank you. It is such a wonderful post. it has great information it is very useful for sap video.

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap video training.

ERP Training said...

Thank you. It is such a wonderful post. it has great information it is very useful for sap video training.

Anonymous said...

Thanks for sharing this informative blog..Your blog is really useful for me. sap video

Anonymous said...


Thanks for Nice and Informative Post on. sap videos tutorials

Unknown said...



Thanks for the detailed info about SAP. sap video training

Anonymous said...

Thanks for sharing this informative blog..Your blog is really useful for me. sap video

Unknown said...

This article is really contains lot more information. sap video tutorials

Anonymous said...

Thanks for sharing this informative blog..Your blog is really useful for me..sap video tutorials

Unknown said...


It was so nice article.I was really satisfied by seeing this article. sapvideos

Anonymous said...


It was so nice article.I was really satisfied by seeing this article. sap tutorial videos

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap video training.

Anonymous said...

Thankyou for wonderful article. It has more Information in Your Website sap video training.

Unknown said...


It was so nice article.I was really satisfied by seeing this article. sap video

Anonymous said...

Thanks for Nice and Informative Post on. sap training videos

Unknown said...

Thank you for information excellent blog have a great possible sap video tutorials

Anonymous said...


Well it Was Very Good Information. Thanks for sharing this Information. sapvideos

Unknown said...

Thank you. sir, Really I like your post on sap videos tutorials

Anonymous said...

Thank you. It is such a wonderful post. sap video training

ERP Training said...

It was so nice article.I was really satisified by seeing this article sap tutorial videos.

ERP Training said...

Thank you. sir, Really I like your post on sap tutorial videos.

Anonymous said...

Thank you. sir, Really I like your post on sap videos.

Anonymous said...

It was so nice article.I was really satisified by seeing this article sap videos.

Unknown said...

Thank you for giving this best information. It’s a very nice topic. sap video

Anonymous said...


This article is really contains lot more information. sap video tutorials

Unknown said...

it has great information it is very useful Post sap videos online

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap training videos.

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap training videos.

Anonymous said...

Good post! Thanks for sharing this Information.The information you Provided is much useful on sap video

Anonymous said...

Thank you for information excellent blog have a great possible sap video tutorials

Unknown said...

Thank you for giving this best information. It’s a very nice topic. sapvideos

Anonymous said...

Thank you. sir, Really I like your post on sap videos tutorials

Unknown said...


This article is really contains lot more information about. sap video training

Anonymous said...

Thanks for the great information in your blog on It was so nice article Thank you for valuable information sap video

Unknown said...

This article is really contains lot more information about This Topic on. sap video tutorials

Anonymous said...

Thank you. It is such a wonderful post. sap tutorial videos

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap video download.

ERP Training said...

Thank you. It is such a wonderful post. it has great information it is very useful for sap video download.

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap learning videos.

Unknown said...

SAP  HANA online Access

hybris training said...

Very good write-up. I definitely appreciate this website. Continue the good work!
Hybris Training

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap videos.

ERP Training said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap training videos.

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap videos.

ERP Training said...

Thank you. It is such a wonderful post. it has great information it is very useful for sap training videos for sale.

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap tutorial videos.

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap videos.

Anonymous said...

Thank you. sir, Really I like your post on sap training video tutorials.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sap training video tutorials.

Anonymous said...

Thank you. sir, Really I like your post on sap training video tutorials.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sap video tutorial.

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap video learning.

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap video tutorials.

Anonymous said...

Thank you. sir, Really I like your post on sap training videos free download.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sapvideos.

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap s4 hana training videos.

ERP Training said...

Thank you. It is such a wonderful post. it has great information it is very useful for sapvideos.

logistic-solutions said...

Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
supply diversity services

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap fiori training videos.

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap videos.

Anonymous said...

Thank you. sir, Really I like your post on sap videos.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sapvideos.

Anonymous said...

Thankyou for Sharing Great Information. It is Very Helpful Information on sap fiori training videos.

ERP Training said...

Thank you. It is such a wonderful post. it has great information it is very useful for sap fiori training videos.

Unknown said...



It's so nice article thank you for sharing a valuable content
Sap Online Access

Unknown said...

Thanks for sharing this valuable information
Sap Training in Gurgaon

Anonymous said...

Thank you. sir, Really I like your post on sap training video tutorials.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sapvideos.

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap learning videos.

ERP Training said...

Thankyou for wonderful article. It has more Information in Your Website sap video download.

Anonymous said...

Fabulous..!! Thank you.The information you provided is much usful information on sap s4 hana training videos.

Anonymous said...

Thank you. sir, Really I like your post on sap hana training videos.

ERP Training said...

It was so nice article.I was really satisified by seeing this article sap tutorial videos.

Anonymous said...

Thank you ,
Well it was nice post and very helpful information on s4 hana training videos.

ERP Training said...

It was Nice post and very useful information on sap video training.

Anonymous said...

Thank you ,
Well it was nice post and very helpful information on sap hana training videos.

ERP Training said...

It was Nice post and very useful information on sap tutorial videos.

Anonymous said...

Thank you ,
Well it was nice post and very helpful information on sap training video tutorials.

ERP Training said...

It was Nice post and very useful information on sap video training.

logistic-solutions said...


Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
sas implementation services

Shailendra said...

Hooray!......The Blog Content is very informative and helpful. Please share more content. Thanks.
SAP Training
SAP Course
SAP Institute

PLC Training Chennai said...

PLC Training in Chennai | PLC Training Institute in Chennai | PLC Training Center in Chennai | PLC SCADA Training in Chennai | PLC SCADA DCS Training in Chennai | Best PLC Training in Chennai | Best PLC Training Institute in Chennai | PLC Training Centre in Chennai | PLC SCADA Training in Chennai | Automation Training Institute in Chennai | PLC Training in Kerala

PLC Training Chennai said...

PLC Training in Chennai | PLC Training Institute in Chennai | PLC Training Center in Chennai | PLC SCADA Training in Chennai | PLC SCADA DCS Training in Chennai | Best PLC Training in Chennai | Best PLC Training Institute in Chennai | PLC Training Centre in Chennai | PLC Training Chennai | PLC Training Institute Chennai

Embedded Systems Course in Chennai said...

Embedded Training in Chennai | Best Embedded Training in Chennai | Embedded System Training in Chennai | Embedded System Training Institute in Chennai | Best Embedded System Training Institute in Chennai | Embedded Course in Chennai | Embedded System Training Institutes in Chennai | Embedded System Training Center in Chennai | Best Embedded System Training in Chennai | Embedded Systems Training in Chennai | VLSI Training in Chennai | VLSI Training Institute in Chennai

VLSI Training Chennai said...

VLSI Training in Chennai | Best VLSI Training in Chennai | VLSI Training Centres in Chennai | VLSI Courses in Chennai | VLSI Training Courses in Chennai | VLSI Training Institute in Chennai | VLSI Training Institutes in Chennai | Best VLSI Training Institute in Chennai

«Oldest ‹Older   1 – 200 of 204   Newer› Newest»