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»
Sofita Paul 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

Keerthi Suresh 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!!!!!!

srinivas 356 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

Priyasekar 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.

ragu varan said...

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

Reddy sap installation said...


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

Video Tutorials said...

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

Reddy sap installation said...


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

Video Tutorials said...


Thanks for Nice and Informative Post on. Sap videos

Reddy sap installation said...


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

Reddy sap installation said...

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

Video Tutorials said...


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

Reddy sap installation said...



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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...




Thanks for the detailed info about SAP..Sap videos

Video Tutorials said...

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

Reddy sap installation said...

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

Reddy sap installation said...


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

Video Tutorials said...


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

Reddy sap installation 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

Video Tutorials said...

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

Video Tutorials said...

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

Reddy sap installation said...


Thanks for the detailed info about SAP. sapvideos

Video Tutorials said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Reddy sap installation said...


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

Reddy sap installation said...

Thanks for the great information in your blog on. sapvideos

Video Tutorials said...

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


Reddy sap installation said...


Thanks for the detailed info about SAP. sap video

Video Tutorials said...


it has great information it is very useful Post. sapvideos

Reddy sap installation said...


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

Video Tutorials said...

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

Reddy sap installation said...


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

Video Tutorials said...


Thanks for Nice and Informative Post on. sapvideos

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

ERP Training Videos 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.

ERP Training Videos 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.

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...


it has great information it is very useful Post. sapvideos

Video Tutorials said...

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

Reddy sap installation 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.

ERP Training Videos said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials 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.

ERP Training Videos said...

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

Video Tutorials said...


Thanks for Nice and Informative Post on. sap video tutorials

Reddy sap installation said...


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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...


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

Reddy sap installation said...

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

ERP Training Videos 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.

Video Tutorials said...


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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

Thanks for Nice and Informative Post on. sap tutorial videos

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...


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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...

Thanks for Nice and Informative Post on. sap video tutorials

ERP Training Videos said...

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

Reddy sap installation 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.

Video Tutorials said...

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

Video Tutorials said...

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

Reddy sap installation said...



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

Video Tutorials said...


This article is really contains lot more information. sap videos

Reddy sap installation said...


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

Video Tutorials said...

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

ERP Training Videos 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.

Reddy sap installation said...


Thanks for Nice and Informative Post on. sap video

Video Tutorials said...

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

Reddy sap installation said...

Thanks for the detailed info about SAP. sapvideos

Video Tutorials said...


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

ERP Training Videos 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.

ERP Training Videos 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.

Reddy sap installation said...

This article is really contains lot more information. sap video

Video Tutorials said...


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

Reddy sap installation said...


Thanks for Nice and Informative Post on sap tutorial videos

Video Tutorials said...

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

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

Reddy sap installation said...

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

Reddy sap installation said...


Thanks for Nice and Informative Post on. sap videos tutorials

Video Tutorials said...



Thanks for the detailed info about SAP. sap video training

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...


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

Reddy sap installation said...


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

ERP Training Videos said...

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

ERP Training Videos said...

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

Video Tutorials said...


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

Reddy sap installation said...

Thanks for Nice and Informative Post on. sap training videos

Video Tutorials said...

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

Reddy sap installation said...


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

Video Tutorials said...

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

Reddy sap installation 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.

ERP Training Videos said...

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

ERP Training Videos said...

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

Video Tutorials said...

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

Reddy sap installation said...


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

Video Tutorials 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.

ERP Training Videos said...

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

Reddy sap installation said...

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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

Video Tutorials said...


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

Reddy sap installation said...

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

Video Tutorials said...

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

Reddy sap installation said...

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

ERP Training Videos 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.

ERP Training Videos said...

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

Ramya Reddy said...

SAP  HANA online Access

hybris training said...

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

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

sameera sam said...



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

Vamshi Singh said...

Thanks for sharing this valuable information
Sap Training in Gurgaon

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos said...

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

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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.

ERP Training Videos 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»