Batch determination -sort rule -reg

hi,
requirement is :
Through COR2 , for the process order's component  when  batch determination is done , Batch determination should first select  for the unrestricted stock in the storage location and once all the unrestricted stock is consumed then only batch determination should happen from the stock of the batches of the  consignment  stock in the storage location.
With in the stock of the storage location ... first it should check for unrestricted  stock  -with in unrestricted  it should sort based on GR date of the batch and consume the oldest batch.Once all unrestricted is consumed then only it should look for consignment stock consumption , again based on the Gr date and consume the oldest batch  with in the consignment .
We have created a sort sequence with unrestricted stock as the first characteristic (table MCHB-field CLABS in the additional data tab of the CT04) and then Gr date in ascending (table MCH1-Field LWEDT)
and also tried with the combination of consignment stock also (from MARD table )  but it is not working as expected
System is always picking the oldest GR date batch irrespective whether it is unrestricted or consignment  as sorting is done for the characteristic  Gr date which is updated in the classification tab of the batch when it is created .
Can the multiple sorting ( first sort on stock type :unrestricted / consignment & then on gr date) is possible   in standard SAP
please guide us
regards,
Madhu Kiran

Hi Madhu,
I have the same issue.  What was your solution please ?
Thanks in advance,

Similar Messages

  • Help needed in Automatic Batch determination during Delivery

    Hello gurus..
    Can anyone point me in the right direction. I am trying to trigger auto batch determination during delivery creation based on available batches. thank you
    If any can give me the config that goes with it, that'll be great

    Steps to configure Batch Management
    1)  Specify Batch Level
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Specify batch level and activate batch status management Transaction  OMCT
    2)  Batch Number - Activate Internal Number Assignment
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Number Assignment --> Activate internal batch number assignment Transaction  OMCZ
    3)  Batch Creation - for Goods Movements 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Creation of new batches --> Define batch creation for goods movements
    4) Characteristic Value Assignment -- Update Standard Characteristics 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Update Standard Characteristics
    5) Activate Batch Classification for Goods Movements in Inventory Management 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Valuation for goods movements --> Activate Batch Classification for goods movements in Inventory Management Transaction  OMCV
    6) Batch Determination – Condition Table(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define production order condition tables Transaction  OPLB
    7)  Batch Determination – Condition Table(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define SD condition Tables Transaction  V/C7
    8) Batch Determination – Access Sequence(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define Production Order Access Sequences Transaction  OPLF
    9) Batch Determination – Access Sequence(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define SD Access Sequences Transaction  V/C2
    10) Batch Determination – Strategy Types
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production Order Strategy Types Transaction  OPLE
    11) Batch Determination – Strategy Types
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Strategy Types Transaction  V/C1
    12) Batch Determination – Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define IM   Search Procedure Transaction  OMCY
    13) Batch Determination – Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production order Search Procedure Transaction  OPLG
    14) Batch Determination – Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Search Procedure Transaction  V/C3
    15) Batch Determination – Batch Search Procedure Allocation
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate IM search procedure/activate check Transaction  OMCG
    16) Batch Determination – Batch Search Procedure Allocation
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Assign Search procedure to production order Transaction  OPL8
    17) Batch Determination – Batch Search Procedure Allocation(SD)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate SD Search procedure Transaction  V/C5
    18) Batch Determination – Activate Automatic Batch Determination(SD)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Activate Automatic Batch Determination in SD -->For delivery item categories Transaction  V/CL
    19) Batch Determination – Batch Selection Class
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Selection Classes Transaction  CL01
    20) Batch Determination – Sort Rule
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Sort Rules Transaction  CU70
    21) Batch Determination – Make Settings for Batch Where-used list
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Make Settings for Batch Where-used list Transaction  OMBB
    thanks
    G. Lakshmipathi

  • Batch determination & Batch Management

    Hi Gurus,
    Can anyone plz send me the batch determination screen shots in SD point of view urgent to my mail [email protected]
    Thanks

    Hi Ngassom,
    BATCH DETERMINATION:
    We use batches in SD where the materials are produced under one batch and they are given the shell life expiry date for each batch,
    A1) Normally we use batch determination at delivery level, because at the time of order material may or may not be created. For this material should be configured with batch and batch determination should be checked in sales views of material.
    A2) Batch Determination during order Creation.
    For this you need to maintain Classes d for you Material. Depending on the Manufacturing process you can define the characteristics for your material.
    Ex: Purity for Medicines, Resistance for Electric Items.
    You need to create a class (You might have to create a new class type) which incorporates the characteristic.
    First Create the Characteristic Using CT04 and then using CL02 create the Class including this characteristic.
    Then in your material master Classification View Enter this class.
    Then Create a Batch for the particular plant and Storage Location using MSC1N.Give the value of the characteristics in this batch.
    Then go to SPRO ->Logistics General ->Batch Management and maintain the Condition Technique (Procedure, Strategy Types and assignment to sales docs etc).
    Then Create the Batch Determination Record using VCH1.
    Config Setting In Batch Management
    Logistics general - Batch Management
    1.1. Specify Batch Level
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Specify batch level and activate batch status management Transaction OMCT
    1.2. Batch Number - Activate Internal Number Assignment
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Number Assignment --> Activate internal batch number assignment Transaction OMCZ
    1.3. Batch Creation - for Goods Movements
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Creation of new batches --> Define batch creation for goods movements Transaction
    1.4. Characteristic Value Assignment -- Update Standard Characteristics
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Update Standard Characteristics Transaction
    1.5. Activate Batch Classification for Goods Movements in Inventory Management
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Valuation for goods movements --> Activate Batch Classification for goods movements in Inventory Management Transaction OMCV
    1.6. Batch Determination – Condition Table (Cross Client)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define production order condition tables Transaction OPLB
    1.7. Batch Determination – Condition Table (Cross Client)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define SD condition Tables Transaction V/C7
    1.8. Batch Determination – Access Sequence (Cross Client)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define Production Order Access Sequences Transaction OPLF
    1.9. Batch Determination – Access Sequence (Cross Client)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define SD Access Sequences Transaction V/C2
    1.10. Batch Determination – Strategy Types
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production Order Strategy Types Transaction OPLE
    1.11. Batch Determination – Strategy Types
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Strategy Types Transaction V/C1
    1.12. Batch Determination – Batch Search Procedure
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define IM Search Procedure Transaction OMCY
    1.13. Batch Determination – Batch Search Procedure
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production order Search Procedure Transaction OPLG
    1.14. Batch Determination – Batch Search Procedure
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Search Procedure Transaction V/C3
    1.15. Batch Determination – Batch Search Procedure Allocation
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate IM search procedure/activate check Transaction OMCG
    1.16. Batch Determination – Batch Search Procedure Allocation
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Assign Search procedure to production order Transaction OPL8
    1.17. Batch Determination – Batch Search Procedure Allocation (SD)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate SD Search procedure Transaction V/C5
    1.18. Batch Determination – Activate Automatic Batch Determination (SD)
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Activate Automatic Batch Determination in SD -->For delivery item categories Transaction V/CL
    1.19. Batch Determination – Batch Selection Class
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Selection Classes Transaction CL01
    1.20. Batch Determination – Sort Rule
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Sort Rules Transaction CU70
    1.21. Batch Determination – Make Settings for Batch Where-used list
    Menu Path Enterprise Structure> Logistics General> Batch Management --> Make Settings for Batch Where-used list Transaction OMBB
    Hope this helps you.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Reg. Invalid batch according to selection criteria in batch determination

    Dear Experts
    I have configured newly batch management in our IDES ECC 6 system in which while posting the GRN I am getting the following error:
    Invalid batch according to selection criteria in batch determination
    Batch WHITE has already been posted in stock
    For batch WHITE of material YARN40SCMBD 1001, no class could be deter
    Deficit of PU Ordered quantity 5 KG : YARN40SCMBD 1001 YN01 WHITE
    and also the system response is
    For batch WHITE of material YARN40SCMBD 1001, no class could be determined
    Message no. M7207
    Diagnosis
    The system has been configured so that batches have to be classified for the current movement type. Since neither the material nor any batch of this material has been classified, batch &V1 cannot be classified for the current movement type.
    System Response
    Depending on how the system is configured, either a warning or an error message is issued.
    If the message issued is a warning (W), the system allows you to enter batch WHITE without classification. The warning is, however, issued to prevent you from making a wrong entry.
    If the message issued is an error message (E), you cannot post batch WHITE.
    Procedure
    You either have to classify material YARN40SCMBD in the material master or manually create batch WHITE in the batch master and classify the batch there.
    As soon as a class has been assigned to the material or a batch of this material, you can classify other batches of this material upon goods movements.
    Pls help me. how to solve this problem.
    Thanks
    Rajakumar.K

    Hi,
    Follow the steps:
    1.Field---VFDAT and table-MCHA should be created as a charecter in CT04 and assigned to a class in CL02N.
    2.create MM01 and add the class to it in classification view.
    3.In mm01 plt storage1 view give data for remainning shelf life and total shelf life and in purchasing view activate batch management.
    4.OMJ5- activate SLED for your plant and mvt type 201.
    5.opj2- set BD for your plant.
    6.create sort sequence in cu70 and assign your charecteristic value to it.
    7.create batch serch strategy in MBC1 for access sequence(plt/matrl/mvt typ) create a condition record.
    8.Do a GR using 501 and enter SLED related details.(production date and exp date values)
    Repeat the above step and enter diffrent values for SLED details.
    So now two batches are created with SLED as the charecteristic.
    9.Do a GI using 201 mvt tye in MB1A and enter * in batch field(system will determine the batch using the SLED value basedon the criteria(ascending or descending which was set in the sort rule.)
    (or)
    view this thread
    Re: Batch Search
    Reg,
    Deepak

  • Sorting Rule in Batch Management

    Hi,
    I want to issue 23no of pieces from my stock which is in batch managment.It is picking 20qty correctly but its not picking from a batch where qty 3 is available.How can I solve it.
    I used LOBM_ZUSTD (qty status) as characteristics for sorting rule.You can see the senario here while issuing.
    Batch           Split quantity    Available quantity SLoc S
    0000000416                20                20             0001
    0000000414                 3                 15             0001
    0000000415                                   10              0001
    0000000417                                    5               0001
    0000000418                                    3               0001

    Are you doing batch determination for a SD delivery, just for an MM movement, or for PP or for WM?

  • Reg: Batch determination

    hai ,
    while doing the G.I (goods issue) for batch determination material ,i want the system to take automaticaly from  the stock of another batch .
    for this where we have to configure the settings in  batch determination .
    For example :
    G.I is 100 pc.
    first batch had        50 pc stock
    second batch had  75 pc stock
    i want that the system to take automaticallyfrom the  second batch stock.  while doing the goods issue of 100 pc.

    Hi,
    You have configured the Characteristics and CLASS
    Please follow the steps
    Logistic General u2013 Batch Management-Batch Determination and Batch Check-Strategy Type u2013 Define Inventory Management search procedure
    Here we have to assign the Strategy type to the appropriate procedure
    Logistic General u2013 Batch Management-Batch Determination and Batch Check- Batch Search Procedure allocation and check activation-allocate IM search procedure /activate check
    Logistic General u2013 Batch Management-Batch Determination and Batch Check- Define Sort Rules (CU17)
    While doing  MIGO
    Select the stock determination           icon to distribute the quantities based on batch classification, copy the selected items from the below list and post.
    Regards
    Ganesh

  • Reg FIFO in batch determination

    Dear all,
    At my clients place we have given batch specific numbers like for ex plant 1100 they will start like 1100000001, here for one P.O we received 1000 kgs it was split to 10 batches of 100 kgs each and all the batches are having same GR date and same material document number and for this we got batch no like 11000000040---11000000050, at the time of batch determination we have put strategy as FIFO here system is picking batch of 110000000049 instead of 11000000040, why is it so if all batches are of same GR date and material document number how sysytem picks batches during batch determination.
    Please advice
    regards
    venkat

    Dear all,
    Thanks for the immediate response, here what we have done is we have given sort rule as FIFO with charcteristic GR DATE in ascending order , moreover all batches are of same GR Date value.
    regards
    venkat

  • Batch Determination issue -reg

    hi friends,
    while doing order confirmation at header level , when i went to goods movement  , inside that  i have selected  the material to be issued to production which should undergo 261 movement which is batch managed -
    and clicked on
    batch determination  button -
    it is showing the error
    "no search strategy could be found "
    No search strategy could be found
    Message no. LB014
    but in SPRO i have maintained all the relevant settings
    where exactly i have missed the settings and what and all i have to check if some one can help it would be appreciated
    the requirement is urgent please
    regards,
    madhu Kiran

    dear friend ,
    as i decided to do batch determination during confirmation , as adviced by you , i
    went to MBC1 -
    used strategy type ME01used key combination "movement type /plant/material"given inside movement type 261 , materail "child part of header "(raw material ) and in no.of splits 999.--saved
    then went to batch search procedure  definition -selected ME0001inside the control data given condition type ME01
    then went to allocate IM procedure and activate check
    against the movement typw 261 --given search procedure ME0001 and put tick mark in the check box "check batch "
    now tried for batch determination during confirmation
    it has thrown the error
    "STRATEGY CONTAINS NO SELECTION SPECIFICATIONS"
    Message no. LB007
    if i see the log it is displaying the third one in red ,remaining in blue
    1.Batch stocks are being read...                    
    2.Search according to selection criteria...         
    3.Strategy contains no selection specifications     
    4.Availability of batches...                        
    5. Batches are being sorted...   
             am i missing any thing ? any area i missed in class and characteristics ? that i ahve defined and the class is attached to material through CL20N
    please guide me to break this issue
    all your efforts are appreciated with gratitude
    madhu kiran

  • Sorting rule for generating voucher number ina payment batch.

    Hi All,
    How does system generate the voucher number in a payment batch?
    In my system, some voucher number in a payment batch seem sorted by supplier name, some are not.
    I want to know is there any sorting rule for generating voucher number in a payment batch?
    Thanks in advance,
    Best Regards.
    Edited by: user631092 on Jul 16, 2009 3:07 PM

    Hi John,
    Thanks for your information. Maybe I did not explain clearly.My problem is...
    If my setup for payment doucument sequence is starting with 200900000001.
    The user create a payment batch for 10 payments, 200900000001~200900000010.
    I am wondering how does the system decide which payment is 200900000001, which one is 200900000002?
    My users used to file the physical document sorting by supplier name for one batch.
    Most of time, the payment document numbers are also sorted.For expamples,
    200900000001 Supplier A
    200900000002 Supplier B
    200900000003 Supplier C
    Sometimes the sequence become like this,
    200900000001 Supplier B
    200900000002 Supplier A
    200900000003 Supplier C
    Thank you.
    Best Regards,
    Edited by: user631092 on Jul 16, 2009 3:23 PM

  • Sort sequence changes for batch determination

    Dear pankaj
    my client already using the "batch number" acending order sort method.
    now i have to change to the FEFO concept.
    i have to create new sort sequence in CU70..........?
    because i deleted the existing one in CU71 and enter the FEFO .but it is not working.
    PLEASE GIVE THE HIGH PRIORITY
    regards

    hi pankaj again i am distrubting you
    1)The character and class are already existing for shelf life expiry so i think no need to create again.
    2)my client using class type 22 (MCH1) for FIFO method.now i am using the same class type.
    3) In CU70 i created one new sort sequence by coping the existing one and change the name.
    4) Sort rule is maintaining the plant level.already the are maintain the "0" value in the selection type in MSC1.
    5)In IMG side ,i maintained the strategy type for production and inventory.
    still i have problem.
    for normal goods issue MB1A-261 (based on the manual reservation) .If i put * in batch no column,then it will take the sort sequence.but it is not giving.if i gothough the WITH OUT BATCH view it is giving the all batches by order.
    If i check the batch details of the received batch,it has "INCOMPLETE" status.
    what i have to do?
    please reply me

  • Batch sorting problem in SD delivery Batch determination

    HI All,
    In Batch determination of outbound delivery item, all characteristics values in classification have the same value for multiple batches and sort sequence enetred is having two characteristics as Expiry date and Batch status.
    The above mentioned criteria including sort criteria  is matching for morethan one Batch in this case system use to list Batches according to Batch number in ascending order meaning batch with smallest batch number will appear first.
    But for One of the product, the batches are being sorted in descending order.
    Any help or guidance to explore possible cause will be greatly appreciated.
    with regards
    Bhaskar

    Entered Batch number as a charcteristic for sort criteria

  • Reg Batch determination using Process messages

    Dear all,
    Please suggest which BAPI to used so that we can carryout batch determination using process messages
    what we need is batch should be picked using FEFO during process message processing
    Thanks in advance
    Regards
    venkat

    Dear,
    In process order you can't find out the date on which batch determination is carried out
    only possible way is activate Order Change management
    So that changes will be recorded, if the batch determination is carried out IN CO02,
    You can see the changes in table PCDHDR, PCDPOS
    or by program RSSCD200,RSSCD150 &RSSCD100
    or through AUT10
    If Batch determination is carried out No change log means, at that time of creation batch is determined

  • Reg batch determination for nagative qty with backflush

    Dear all,
    In a process order for a component with batch management if quantity is given in negative and backflush activated,how to carryout batch determination.( I am getting error as batch cannot be determined for - ve quantities)
    Thanks in advance
    madhav

    Hi,
    In BOM if the qty is negative, that means its a By Product from the process. That means you are receiving a new batch of the product. here you need to assign (create) a new number for the batch.
    Dilip Kumar

  • Batch determination reg.

    Hi dudes,
    1.if we want batch determination for components for prod/process order, whether we need inventory management settings for batch determination or for production/process order.
    2. if we maintain settings for production/process order, then we will assign batch search procedure to order type in dependent parameters, if we maintain inventory mangament settings where we need to assign batch search proceure.
    thanks in advance
    Robert

    Hy Robert,
    1) Batch determination for Prodution / Process order is work only for as name suggest production and process orders only(and u have to do determiation in production / Process order itself) it dosn't work in phase / order confirmation (COR6N)
    It also doesn't works for other ways of goods issue like GI agaisnt Cost center etc.
    So it is on to you or your requirements.
    2)Now if you want to use Batch Determination for Inventory purpose then you have to assign batch Serch Procedure to differemt Movement types for this  use T.Code  OMCG.
    Regards,
    Dhaval

  • Reg unit of measure at the time of batch determination

    Dear all,
    In the  material master for the components base unit of measure is Kg and we have maintained L as unit of isuue and in material BOM and process order we have given component UOM as L, but at the time of batch determination we are getting qty in kGS,
    Since in process order we have given  UOM as L we should get it as L,
    What is to be done to get it in L, please advice step by step
    regards
    venkat

    Hi,
    At the time batch determination system will prapose qty in base unit of measure only. Yo ucan not change their as KG.
    Only by time of issue you can use your alternate UOM i.e.L
    Regards
    SANIL

Maybe you are looking for