Skip to Content
Author's profile photo Deepak Jharkharia

Considering component shelf life in batch determination

Introduction :  inspiration for this blog  derived from thread  http://scn.sap.com/thread/3414474 . I assume all basic settings for batch management and batch determination for components are in place. Without waiting, enjoy the short ride with me.

Process steps:

  1. Create batch class T-CODE CL01

Adding  Characteristics LOBM_VFDAT

SAVE

2.MAINTAIN IN MATERIAL MASTER--CLASSIFICATION VIEW

3.SORT SEQUENCE T-CODE : CU70

4.CREATE STRATEGY CLASS To be used in Batch Determination process.

5. T-CODE : CU65

Enter and click on        Button 

Make sure to mark  LOBM_RLZ and LOBM_LFDAT as input parameters as shown above.

Follow Menu path->Goto ->Basic data here select status 1 as Released.

ENTER

CLICK ON 

And paste below code

            FUNCTION LOBM_UBD

(LOBM_LFDAT = $SELF.LOBM_LFDAT,

LOBM_RLZ = $SELF.LOBM_RLZ,

LOBM_VFDAT = $SELF.LOBM_VFDAT)

IF LOBM_LFDAT SPECIFIED


Save

7.DEFINING BATCH SEARCH STRATEGY T-CODE : COB1

7.a  SELECTION CRITERIA :Choose required strategy, I have chosen CO02.Assign class ZCLASS_002 here. Make an entry for expiration date check. I mentioned  > 50 days here .

7.b SORT RULE

7.c DETAILS SHOULD BE LIKE THIS

CREATE ORDER AND DO BATCH DETERMINATION IN COMPONENET OVERVIEW  Correct one:

Correct one:

         Wrong one

Its very short now.i will  update it with more details next week.I will try to cover more issues related to Batch determination in this blog only based on comments.Waiting for all positive and negative feedback’s 🙂 .

Best Regards,

Assigned Tags

      47 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo SAP QM PP
      SAP QM PP

      Hi,

      Very helpful document,but some of the screen shots are not visible plz check.  

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello SAP QM,

      thanks for the update,ill check and update soon.

      Regards,

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello SAP QM,

      Could please help in finding which screen shots are not visible.

      Best Regards,

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello SAP qm,

      Please check in other browser.For me images are mising in chrome and IE,but firefox showing it all well.

      Regards,

      Author's profile photo SAP QM PP
      SAP QM PP

      I have checked in Firefox browser,screen shots are displaying, Thanks  

      Author's profile photo Jürgen L
      Jürgen L

      Just load all pictures again, if you already know that many people have an issue to see them, this solved the issue in other cases. Or report a bug in http://scn.sap.com/community/support/scn-bug-reporting

      if you want see what others see, then check the screen shot behind the link.

      http://scn.sap.com/servlet/JiveServlet/downloadImage/38-87641-281259/305-400/screenshots+missing.JPG

      Author's profile photo Former Member
      Former Member

      Images are not actually missing in non-Firefox browser.

      What you see as blank box are extra blank boxes, in addition to images added by you.

      For example, between point 2 and point 3 of this blog, you see 1 image in Firefox, whereas 1 image + 1 blank box in IE.

      While editing the blog, switch to html mode, and see the code.

      You need to remove tags <img ....> which does not specify src (source) image path.

      <img src="something.png"> is fine.

      <img > is faulty.

      In above html example related to code between point 2 and point 3 of blog, first <img tag is fine, whereas second <img tag is bogus.

      Author's profile photo Jürgen L
      Jürgen L

      I actually think that Firefox may not display this empty spaces (I dont have a proof), but the user wanted to show more screen shots and SCN did not allow it, because

      "you can insert a maximum of 20 images with a total file size of 1 MB into SCN content."


      Author's profile photo Former Member
      Former Member

      Firefox displays empty images. I checked using a small html file.

      The image tag in jive postings have class="jiveImage", and the platform might be hiding empty spaces using CSS, which is working only on Firefox.

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Manish,

      I am not able to choose file/insert image while editing/reloading,is it becoz it crossed 1MB limit?

      Note:

      i uploaded all content to .docx file  and its size is 350 kb.

      Author's profile photo Former Member
      Former Member

      Good document,

      The code is very useful, the object dependency explained is useful for other bussiness process requirements also.

      Neelima

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Thank you for the appreciation and i am thinking to extend object dependency with more detail with other scenarios in next blog.

      Best Regards,

      Author's profile photo Former Member
      Former Member

      Very Useful...Many Thanks.

      Best Regards,

      Naresh K.

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Naresh,

      Thank you very much.

      Regards,

      Author's profile photo Anupam Sharma
      Anupam Sharma

      Hi Dee,

      Nice document, Keep sharing .

      Regards,

      Anupam Sharma

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Anupam,

      Thank you very much.sure i'll keep adding.

      Regards,

      Author's profile photo Former Member
      Former Member

      Hi joy,

      Can you please help me inserting a field (w.r.t. your last screen shot) just beside characteristic sort field I want a field as Split Qty. in Base UOM, which I was getting earlier. But not getting now.

      Regards

      Neelima

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Neelima,

      Split quantity as shown below

      will come when you would maintain in t-code COB1 for your strategy type like below

      Hope it helps

      Regards,

      Author's profile photo Former Member
      Former Member

      Hello Joy,

      In my configuration there are two unit of measures, Base UOM and alternate UOM, In the field you had mentioned is shown for alternate UOM and one more filed used to appear just beside Charcteristics sort field i.e. also split qty but is Base UOM.

      I got it earlier, but now not getting.

      Just check and revert.

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Neelima,

      When you do Batch determination than alt Uom will come into available qty field and base Uom will come into Requirement qty.But i have doubt that field adjacent to char field?

                Could you please share screen from working system.

      Regards,

      Author's profile photo Former Member
      Former Member

      Hi joy,

      You can see the screen shot below and please communicate incase you are able to comeup with any solution.

      screen_2013-09-04 11.16.02.jpg

      Regards

      Neelima

      Author's profile photo Former Member
      Former Member

      Hi Dee,

      Very short and clear document.

      But One thing , why the characteristic column are blank (last screen shot), as you have maintained it in the

      Class CL01 Zclass_001, the SLED date should appear in those (characteristic)filed????

      Regards,

      Chandan

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello chandan,

      nice observation.i was concentrating towards getting shelf life  based BD only so forgot these fine details(i'll check and correct it).Thank you for acknowledgement and appreciation.

      Best Regards,

      Author's profile photo Mangalraj Senthamaraikannan
      Mangalraj Senthamaraikannan

      Dear Dee Joy,

      Thanks for sharing this wonderful (transaction and settings Flow) document.

      I am not clear about the object dependency part, why is this required?( I Will also check

      in the system and keep you posted).

      Regards

      Mangalraj.S

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Mangalraj,

      I am really glad that you liked it,thank you.As far as object dependency is concerned,it is necessary for calculating remaining shelf life dynamically.For more info please refer note 33396.

      Best Regards,

      Author's profile photo Sharat Sugur
      Sharat Sugur

      Dear Dee Joy,

      Good information, thank you for sharing.

      Regards,

      Sharat

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Sharat,

      Thank you very much for your appreciation.

      Regards,

      Author's profile photo Former Member
      Former Member

      Thank you dear.

      We are waiting

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello S Chidambaram,

      thanks to you.Sure ill add something in few weeks.

      Regards,

      Author's profile photo Former Member
      Former Member

      Hi Joy,

      You did not turned up.

      Regards

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Neelima,

      For your question,could you plz check if you have done any development on batch selection screen?

      Regards,

      Author's profile photo Former Member
      Former Member

      Hi Joy,

      We had not done any developments regarding this. Still I will look into this.

      Regards

      Neelima


      Author's profile photo arturo senosain
      arturo senosain

      Nice you spend time sharing.

      Arturo.

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Arturo,

           Thanks for appreciation.

      Whenever i am free from my projects,i spend time here.I learn something here everyday so sharing to the community  makes me happy. 🙂

      Regards,

      Author's profile photo R Brahmankar
      R Brahmankar

      Hi Deep Joy,,

      It is really a very useful and descriptive document. Few screen shots are not visible to me 😐 could you please edit the same?

      Keep on such great work...!!

      Cheers,

      R.Brahmankar

      Author's profile photo SAP QM PP
      SAP QM PP

      Hi Deep joy,

             Is it possible to display the batch Production date in Character sort filed for respective batches of ur last screen shot, Please guide me. 

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello SAP QM,

      Yes its possible.Just add standard char LOBM_HSDAT to class ZCLASS_001.

      for example take a look below example

      now in Batch determination

      Hope its helpful.Please check and revert.

      Regards,

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Rupesh Bramhankar,

      Thank you very much for your appreciation.I'll check and fine tune it soon.

      Regards,

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Rupesh Bramhankar,

      It browser issue.For me images are missing in chrome and IE,but firefox showing it all well.

      Best Regards,

      Author's profile photo Former Member
      Former Member

      Dear Dee Joy,

      Very useful doc. Thanks for sharing.

      Truly Appreciated.

      Regards.

      Senthil

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello Senthil,

      Thank you very much and glad that you found it useful 🙂 .

      Best Regards,

      Author's profile photo Nasir Ramzan
      Nasir Ramzan

      Dear Dee Joy,

      I really appreciated your effort as this document is very helpful.

      Author's profile photo Former Member
      Former Member

      Thanks for uploading & sharing the document. It is very useful.

      Regards,

      Gaurav

      Author's profile photo swapnil rajane
      swapnil rajane

      Hi Joy,

      I couldn't able to see some screen shot which is really very important from my point of you to understand batch determination functionality.

      Request you to please check it once and update it since I cant go ahead for further reading without it.

      Regards.

      Author's profile photo Deepak Jharkharia
      Deepak Jharkharia
      Blog Post Author

      Hello swapnil,

      as now i am not able to re-load images and asked help from Mr.Manish. For now you can put your queries here or in new discussion.

      Regards,

      Author's profile photo Former Member
      Former Member

      Hi Joy ,

      thanks for update .

      Regards

      Prashanth

      Author's profile photo giri m
      giri m

      Dear Deepak,

      It's more useful to learn quickly by screenshots & detailed explanation thank you.

      Regards,

      Giri