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:
- 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
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
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,
Hi,
Very helpful document,but some of the screen shots are not visible plz check.
Hello SAP QM,
thanks for the update,ill check and update soon.
Regards,
Hello SAP QM,
Could please help in finding which screen shots are not visible.
Best Regards,
Hello SAP qm,
Please check in other browser.For me images are mising in chrome and IE,but firefox showing it all well.
Regards,
I have checked in Firefox browser,screen shots are displaying, Thanks
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.JPGImages 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.
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."
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.
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.
Good document,
The code is very useful, the object dependency explained is useful for other bussiness process requirements also.
Neelima
Thank you for the appreciation and i am thinking to extend object dependency with more detail with other scenarios in next blog.
Best Regards,
Very Useful...Many Thanks.
Best Regards,
Naresh K.
Hello Naresh,
Thank you very much.
Regards,
Hi Dee,
Nice document, Keep sharing .
Regards,
Anupam Sharma
Hello Anupam,
Thank you very much.sure i'll keep adding.
Regards,
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
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,
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.
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,
Hi joy,
You can see the screen shot below and please communicate incase you are able to comeup with any solution.
Regards
Neelima
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
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,
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
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,
Dear Dee Joy,
Good information, thank you for sharing.
Regards,
Sharat
Hello Sharat,
Thank you very much for your appreciation.
Regards,
Thank you dear.
We are waiting
Hello S Chidambaram,
thanks to you.Sure ill add something in few weeks.
Regards,
Hi Joy,
You did not turned up.
Regards
Hello Neelima,
For your question,could you plz check if you have done any development on batch selection screen?
Regards,
Hi Joy,
We had not done any developments regarding this. Still I will look into this.
Regards
Neelima
Nice you spend time sharing.
Arturo.
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,
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
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.
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,
Hello Rupesh Bramhankar,
Thank you very much for your appreciation.I'll check and fine tune it soon.
Regards,
Hello Rupesh Bramhankar,
It browser issue.For me images are missing in chrome and IE,but firefox showing it all well.
Best Regards,
Dear Dee Joy,
Very useful doc. Thanks for sharing.
Truly Appreciated.
Regards.
Senthil
Hello Senthil,
Thank you very much and glad that you found it useful 🙂 .
Best Regards,
Dear Dee Joy,
I really appreciated your effort as this document is very helpful.
Thanks for uploading & sharing the document. It is very useful.
Regards,
Gaurav
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.
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,
Hi Joy ,
thanks for update .
Regards
Prashanth
Dear Deepak,
It's more useful to learn quickly by screenshots & detailed explanation thank you.
Regards,
Giri