You are on page 1of 7
anno16 pascal ret » SAP Balch Determination made easy pascal renet + Fotolog * Loan SAP Batch Determination made easy Recemly a colleague encountered the following problem: His customer tacks perishable products tht are bought! inventory managed / sold wing the SAP functionality Balch Management (LO-BM), The produits havea she ‘byiExpiration” date. His problem was hat he was able comedy update the characteristic "Expizaton date” ofthe batch, Dut was not abet select hatches during ‘Txpration date” — ie Batches that were sl it fr use, So ere i tutorial on how to select batches during the delivery (but it could be applied to any batch search requirement) fr whic the shel ie has wot expized. Hh kings of senaro. =I. might be company practice to ship out the door prods with a minimum she life of X days itmight be tara speci customer requies a product With diferent, longer misimum remaining shelf fe Imig also be tit products tat are shipped to a specifi country require yet again dierent minimum sel Ue Temght bo thet you rquite ll shee or logical combination oF all hee, SAP will easily cove al shse requirements and mor, “This tutorial only covers the batch determination process in SD, but once you get the it fit you should be able to apply tis to any oer module where that function -nave setup your system in such way tht you are abl to have pdt bach managed Step 1 ~ Standard SAP characteristics you will Import “The fis thing you neod to dois to check tht your SAP cient hes all he requited SAP standaré characterises. Todo this goto ranaction CTO and query Your sy called LOBM® alist of values such asthe one below is returned then it means that you areal set to goto Step 2 ~ Create and assign Batch clas to produeis raves rene / Romaves miwairos GICIEl Tel ssa) mene acre aaa omer vaveseurmntze” suanae Ot lomcccummne Saanemcann sauna owt Jomcsronroxcmen ions Sainute St Jomason Speen aso Gun Jomawence om Sam euzaaz_ faq Renanagtunme nessun) hat mot it means that you need to copy them fom lint 000. do that goto customizing and follow the path indicated: Customizing / Logics General Batch Man Updates Standard Characteristics (or ansaction BMSM) ipkwww renet-webs.n6'2008109)05/s29-batch-determination-made-easy/ w anno16 pascal ret » SAP Batch Determination made easy ‘The following messages will be displayed if everthing goos well Copy Standard Characteristics LOBM_* from Client 000 (apy Standara characteristics LOBH + fron CTient 2 Maintaining Standard Characteristics with Object Dependencies ea ins SS ORE, a, 2 Citrate “ascent Tee ae, TELCO rs sere — etn late fae esriny a Wcepove "hs ee tied. Sau nent ‘Stren chr “GR > ob een SL HN UTE" a ‘Once hat is done you might want wo go back 1 uansaction CTOM and query for characteristics called LBM Why dot noe todo that do you ask? Well for one thing all the workis done for you. Secondly and more imporamlythe sandard SAP functions that will enable us to “Bapiraion dae” ased on minimum remaining shelf He, makes ue of these standard characterises ~ they are hard code inthe ABAP Turtios ‘Moving on to step 2 and geting your basic data right. Step 2 ~ Create and assign Ratch class to products you will do In our cae we have one product, to which we have assigned one class (f technical type 023 — batches). This class has be conveniently clled “EXPIRATION” and “That characteristic sone ofthe standard SAP ones called "LOBM_VEDAT ~ pinto date shelf ie" The system hasbeen set up in suck away that whenever SSAP will ask me to input the produeton date and then hased on the shelf ie ofthe prodat, aulomatialyealeulate the expiration date of my batch. [8 adem © oe Pmt 2a Sink oe i) pe msectwmensvirsenens cone me [Dssmee muons ete em Downer F2esmmnnonet = —ae ipkwww renet-webs.n6'2008109)05/s29-batch-determination-made-easy/ anneo16 pascal ret » SAP Balch Determination made easy ® ont or mertoe m8 —_.£,.,—<——— ‘Ths will update a standard SAP table field (MCHA-VFDAT / MCHI-VFDAT ~ depending onthe validity of your batch across plants). This wil in tur update the va ‘VEDAT within the batch So ifwe look atthe shelf ist report (eansation MBSM) wo se that his information concurs with hat contained inthe classification of our batches. ae (se Be \ Bh oye (evn ate ecoeced Sse —_ SF = 8 oa [Baraca ca. es He Step 3 ~ Create a Batch search class you will do “This a class shat wil be used o search and fnd applicable batches during batch determination. Is not directly assigned to the product it willbe assigned tothe ba “The question is, what characteristics should we put inthis lass? we go back bases, what we wil want tod, ind batches hat have a remaining shel life of X days. I've view tis requirement in a diferent way, we em ay ¢ ‘have an expiry date that is equal or greater to “delivery date = X days". My class will herefre use te folowing characterises =LOBM-VFDAT: The expiration date ofthe batch ~ that value SAP will xleulate TLOBM-LEDAT: The delivery date ~ that value willbe automatically updated by SAP with he delivery date om the delivery [Al we need i characteriste where we willbe able fo input the value corresponding to X (rinimu remsining shel ie required). Again, we donot need to do any ‘characteristic "LOBM_RLZ ~ Remaining Shelf Life for Batch, to do just hat, We erefore have a class (als a echnical ype 025 ~ batches) that looks Uke his re set aan Step 4 - Create a sort rule you will do al good to build batch serch class to find batches, but assuming SAP finds numerous batches, hw should they be sorted (Le which should be the fist onc ud! ‘ol, we want lo sort batches based on the expiration date in ascending order (he batches withthe date closest to the present shoud Be he fis © BO) ‘Todo this call wansaction CUT. Give your sont sequence a name an ia the following seoon give ite description as well ipkwww renet-webs.n6'2008109)05/s29-batch-determination-made-easy/ 37 anno16 pascal rnet » SAP Balch Determination made easy “Then click on the characteristics button ad assign the characoitc LOBM-VEDAT tot Also selee/amend the sr onde hat you want el = ee ne Te A a Save your srt ey. Step 5 - Create a batch search strategy you will do es and distribution, So call transaction VCHI —to create it, We'll erate a strategy deter We want to create a search strategy during delivery processing, ein SD~ ‘he material (standard seategy type SDOL eaters fr that), Create Batch Search Strategy: Initial Screen Ener your customer and product (amend the suategy a quite). ‘create Fc section (S00): Fast Enty Pe exo) = fa eT Z a oo (lick onthe “seleton Criteria” baton to assign the search lass, In this ease we indented our search lass, which copie acos the characteris associated with i ‘We also indicate the value ">—50 in he characteristic “Remaining Shot Life for Batch” ~ this means that we wil only want to select Dashes that have an expiration + elvery date +30 days ae "Now go back othe previous screen and now cick on the "son button, There you will asign the sort re you ceatdin the previous stp, ipkwww renet-webs.n6'2008109)05/s29-batch-determination-made-easy/ an anne pascal ret » SAP Batch Determination made easy Create Fix selection (S001) : Sort Rule mo) = exe Tae = va Vakatowod 508.208 losin nan sonny 2 Bsneyonraonase toner aon tt ao Save your work Step 6 ~ Putting iti to practice - the fruit of your efforts you will see [Now that we have crated ll he required basic data, ls See how it all hangs together. We havea sales onder for which we create a delivery ~ bach search will be triggered manvally to better follow the process Inthe dlivery, we go tothe Batch dlerminationsereen and we se that the system has automatically seatched, found and propose batches that have a remaining shel ays oly and thas sorted them according to expiration date ~ just what we wanted. Soe Saree EES) a == a “The system ere proposes 3 batches (yet ember that above itd indicat that we had S batches inthe system). To get a beter idea of what parameters wee calcu batches, lick on the "selection eet buon” sociep_[Btircion atoms? Fite [oe 3 208 ‘We sce the 30 tat we typed inthe batch search strategy. We also se that the system tok the delivery dat “08.08.2008” added 30 days to it and determined that th ‘had to have an expan date greater or equa 0 08.10.2008, ‘We ca also change the search parameters ere (this is customizable), We'll change the valu of 30 104 rght there inthe batch determination, ipkwww renet-webs.n6'2008109)05/s29-batch-determination-made-easy/ 87 anneo16 pascal ret » SAP Balch Determination made easy Soe Som a “This shows even moe batches ~ logical as we have indicated that batches shoud only ave a remaining sel life of 4 days or more. Published on September 5, 2008 3:47 pm. Filed under! SAP 16 Comments 1 PN caso ay: September 1.2008 t £59 pm ‘Wow Pascal, you ae definitely on my A-Lis=) 2. sumed says January 30, 2009 3:48 pm great document extremly uso Gagan Mohan Singh sys (tas Pascal Really Clas document 4. © Jason Bailey says: May 23,2009 61.03 am {Great Document, Ihave another sation 1 work inthe Mi and Dairy industry, we have some customers who require shelf life greater then 20 days an oter greater then 15 days. To add another ayes ‘wha requir 20 days remaining of bet life but rquie that Material X bas greater then 25 days and other lems use the 20 day rule Haw to you st soning 5.0 eneteh says ‘Maw 25,2009 9 12045 pop What do you mean another case? What I describe i exactly the answer to your problem 6. frankue says: Jane 24,2009 a 4:56 pon dear guys have you ever have the prblem below (Cause the bacth character lon zs require, fn thi character vale isnot abigned fo the star of atch classification i incomplete then when batch detemination, hi bath eat be choosed 1. frank says: wae 262009 319 10a 1 misunderstand your meaning lobar should no be inceed in the material batch clas 8.7 ceneteh sys ne 35.209 gf 98 pm ‘You do not nee to have the characteristic LOBM_RLZin the batch las. 9 PA nina says: Jy 12009 688 po Wi ‘A quick question —you have mentioned that changing the search parameter in batch determination is customizable. Where do we do this in SPRO, Will pprecia ipkwww renet-webs.n6'2008109)05/s29-batch-determination-made-easy/ 67 anno16 pascal ret » SAP Balch Determination made easy Thanks & Regards Ninad| 10,“ wendy Vendtett December 15,2009 2:50am Hi Have set up exactly as yu note but cannot ge he bate characterises updated eutomatically, Afr running BMSM, I get the fist pat of the message say donot go the remainder of the message ting thatthe standard characteristics ae being maintained wit the object depensenci. le this my problems? Thanks, Wendy 1 Ray says January 19.2010 ot 13 am (0b GOD Pascal You ar so reat and enjoyed your document Greatt 12, Irihi sys etwuary 2572011 at 11.25 pm were id atachment? 13. “pascal say: Febuary 26 2011 9-10 am Where isthe please? 14, tirkocemason lan dt cepat muda 69 November 30,2013 131 pay ‘Thank you for any other wonderflantle. The pce else may anybody ge that kind of info in such a perfect method of writing? have a presentation subsegue such information, 15, ramy say etwuary (7, 2012 at 12:47 am So Nice cally thanks) 16.) audher says ‘pal 1L.2072 311031 pm ‘Thave done all contigs for Batch detmn for delivery. But bach isnt eoming automatically in delivery eed to goto batch split et to determine the same me Taxin advance Sony, the comment form is closed at his time ipkwww renet-webs.n6'2008109)05/s29-batch-determination-made-easy/ m

You might also like