Batch selection during picking (VL02N)

Dear SD Members,
We have recently implemented ECC 6.0 Batch management is active.
We have an issue in picking.
During picking (VL02N) when we have to select batch, system shows all the
batches that are for that specific plant material combination.
Since it is showing all the batches (even though there is no qty
availalbe for picking [unrestricted qty is ZERO]. This gives us very
huge and long selection.
What we want is, it should display only those batches that has some qty
in unrestricted stock. This functionality is not present in ECC6.0, so is there
any Userxit or enhancement program by which we can control this issue.
Plz look into this and provide your view & solution quickly.
Regards
Subrat

Hi,
Use the BADI VB_BD_SELECTION (SAP Note 585576).
Here you can limit the batches available.
Regards,
Finbarr

Similar Messages

  • Auto Batch selection during GI for Process order

    Hi Gurus
    My requirement is that the system should select available batches of raw materials automatically during goods movement for Process order using COR6 and Goods issue for order MB1A . Could any body plz let me know the procedure in detail

    Dear,
    You need to define the batch search procedure MBC1 with serach strategy as ME01 for your material plant and movement type assign selection condition and sort rule and save the condition record.
    Please refer this thread for details,
    BATCH SELECTION DURING ISSUE
    Please come back if any problem.
    Regards,
    R.Brahmankar

  • No batches selected during batch search

    Hi Experts,
    I was trying to do a TO against a delivery for a batch controlled item.
    During TO creation, I am getting the message 'No batches were selected during batch search'.
    I have set up the WM batch search procedure . But I guess it is not sufficient.
    Can anybody please help.
    Thanks,
    Mono

    Hi,irwansk :
    Batch determination could be assigned to warehouse  number or warehouose number+ storage type.
    In addition,did you maintain the selection creteria in condition table, once you maintain if, system will pick the batch to satisfy that selection condition.
    Please check and feedback.
    BR
    Dick Hua

  • Batch selection during delivery

    Dear All,
    In Sales and distribution, while doing delivery, I want to pick the batches from the oldest batches. The batches are available from October 2008 to till date. But the system picks the batches from February 2009. Please guide me to solve this issue.
    Regards,
    K.Bharathi

    Hi
    Please try the following
    Use t.code : CU71
    (SPRO > Logistics - General >Batch Management >Batch Determination and Batch Check >Define Sort Rules>Change sort rules  )
    Enter your sort sequence name  & click CHARACTERISTIC icon
    Here you can change Decending which is currently Ascending
    Further doubleclick your characterics to change/review more relevant settings
    Regards
    Tejpal Singh

  • BATCH SELECTION DURING ISSUE

    Hi...i have to issue raw material which is in batch in my storage location with charachterstics of expiration date.
    NoW i have to issue against prodcutionorder. How and where i can see the all batch depends on date at the time of issue.
    How can i make use of BATCH DETERMINATION.
    Reply get rewarded
    Thnaks

    I hope you have batch with production date and expairy date maintained in batch classification view so that system will determin which batch has to be taken first,
    full Procedure is as below\
    customising settings
    Implementation Guide for R/3 Customizing (IMG) Logistics u2013 General Batch Management Batch Determination and Batch Check -->Batch Search Procedure Allocation and Check ActivationAllocate IM Search Procedure/Activate Check
    Assign for 261 mov type - ME0001.
    Master data settingsa as below
    Create a class in transaction CL01 and assign the SAP std  characteristics  for expiry date - LOBM_VFDAT
    Create Raw material
    Maintain Classification view and batch management tick
    Create Sort Rule in CU70 and enter the characteristic what you entered in above class and select ascending or descending depending on yr requirement
    Crate batch determination rule in MBC1 depending in which transaction you want to determine the batch based on shelf expiry date
    Now the settings for MBC1 is given below
    Stg type u2013 ME01
    select/ plant/material/mov type option
    Mov type 261/262
    Plant u2013
    Give the selection criteria class and sort sequence created above as below
    selection with selection defined
    Sort sequence as defined above.
    no of split = say 999
    Changes aloowed
    Overdelivery allowed
    qty proposal = 1
    Display UOM = B
    Pl check yoiur settings and do the necssary adjustments
    then when you issue the material yoiu can see a batch determination icon by whcih system will give you the screen where in the batch data with sort rule -expairty date) will be present where you can change the batch qty and click on copy option. so that system wiull select the batch requiured

  • Batch selection as per expiry date

    Hi,
    Please have alook at my requirement and suggest the possible solution.
    We have raw material which is handles in batches. Let's say a raw material has three batch in the stock M1, M2 and M3.
    M1 expiry date is on march10,  M1 expiry date is on april10,  M1 expiry date is on June 10.
    So when i create a process order system should always pick a batch for which expiry date is close. That is it should select batch M1.
    Please let me know if it is possible.
    Thanks,
    Dutta

    Hi Debasish,
    Please follow the given below link. I hope this will serve your purpose.
    Re: BATCH SELECTION DURING ISSUE
    Regards,Kundan

  • Batch selection strategy not working properly

    Hi ,
    I have an issue with automtaic batch determination
    The header item contains 10 component items, out of 10 components I am facing issue with only one component so that I can consider this is not a configuration issue and might be a master data issue
    Scenario :
    process order created , released and after material staging saved , then the transfer order created automaticallyfor component items . the particular one component having 3 batches .. In the material master the total sheif life time maintained as 1095 days.  for the first batch mfg date 01/01/2010 the system calculates the SLED 31/12/2010 , and the remaining 2 batches expires during 08/09/2013  .logically the system should pick the first batch which one expires first ( FEFO ). but it picking the others
    If i change the date of mfg and save it , after that if i create a process order it picks the batch correctly
    but if i put back the earlier dates in mfg date after that it picking the correct batch only
    My question is why the batch sreach strategy is picking the differnt batches for same dates , whether the batch number get stored if we change manually
    pls suggest and give some hints what are the points I need to check

    Dear
    Some of the check points may be :
    1.Investigate the Batch management -SLED/FIFO : Batch management - FEFO
    2.Please check whther any Batch search strategy is maintined for th  component in MBC2 or in COB2 and check the sort rule of the batch determination   : Re: Error In Batch Determination
    3.Create a batch search strategy using selection criteria and include characteristics LOBM_RLZ (Remaining shelf life) in the class. Check the oss note 33396 to calculate this characteristics automatically.You can enter selection criteria in something like >= 0, for example.
    4.Check the Period Indicator for SLED and Rounding values in Plant Data 1/Storage Loaction 1 in MMR for the particual compoenets .
    5.Check the settings for SLED in  Material master material/sto loc data1 and  Log-batch management-exparation date check SLED settings & there is a user exit through we can configure the date check. Check in OMJ5 here you have to define check with plant and move tpe wise
    Regards
    JH

  • Batch Selection config. in Excise Invoice Creation (J1IJ) at Depot in CIN

    Hi,
    In the business scenario that I have to map in SAP system stock transfer occurs from Plant to Depot. Then the batch is split at the Depot and minor changes are made to characteristic. These individual small batches and then sold to the end customer from depot.
    <b>Problem:</b> If the batch number is kept the same at depot as the incoming batch number, system is able to find the incoming invoice in J1IJ. If the batch number is changed (to mark individual characteristic) then the system in not able to idetify the incoming batch.
    Please help...
    In SAP help link http://help.sap.com/erp2005_ehp_02/helpdata/en/09/ebf138cdd78a4be10000000a114084/frameset.htm I could find mention that "You can also automate this procedure, using the batch selection program (J_1IJCHK), by making the appropriate Customizing settings in the Country Version India (CIN) Implementation Guide (IMG)." Can anyone help by elobarinting what specific configuration is to be made for batch selection?
    Thanks
    Rajat

    Hi,
    SAP has released a SAP note 1001446 which can be implemented for your requirement. There is an user exit J_1I7_USEREXIT_BATCH_CHK_FLAG which has the parameter NO_BATCH_CHK_FLAG. If you pass the value ' X' to the parameter NO_BATCH_CHK_FLAG then the batches will not be  checked during J1ij. you can implement this user exit through SE37.
    Regards,
    Murali

  • Automatic Batch Determination during Goods issue of Production Order

    Hi,
    Iam trying to set up automatic batch determination during Goods Issue against a production order. My requirement is system should automatically run the batch determination similar to the case in production order.
    I have set up all the required configs for batch determination. But to get the batch I need to click on the batch determination button. What I need is without clicking on anything. How can I do this. Whats the config needed
    Thanks and Regards
    Enrico

    Dear Enrico
    It is required lot of set up both in production order parameters and Batch Managemnet .I am providing you a summery of it .
    Configuration Required for your above issue are as follows :
    1.Activated Batch Management in the Material Master-MRP2 view and Work Scheduling view of the FG
    2.check material master MM02, tab MRP2 and set field "Batch Entry" to value 3 here
    4.You maintain a Search Procedure in OPL8 - Order Type Dependent parameters .Before that you should have Batch serach strategy :The sequence of steps are as follows -
    Create Condition Tables
    Create Access Sequences
    Create Strategy Types
    Batch Search procedure definition
    Batch Search procedure allocation and check activation
    Define Selection classes
    Define sort rules
    Maintain Batch Allocation Strategy Number Ranges
    All the above are available in the Path - SPRO --->Logistics-General ---> Batch Management ---> Batch Determination and Batch Check
    5.Maintain the setting in T.code OPKP (production scheduling profile). Select automatic batch creation on order creation.
    6.If u want to execute the batch determination for components in the component overview of production order , then u have to create batch search strategy at COB1
    7.If u want to execute during order confirmation u have to create batch search strategy at MBC1.
    Refer the below link for your farther reference :
    http://help.sap.com/saphelp_47x200/helpdata/en/25/28428b4f7811d18a150000e816ae6e/frameset.htm
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Jun 22, 2010 11:28 PM

  • 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

  • Same batch selected in two different Deliveries

    Dear all
    I have a problem in Outbound delivery creation..
    I have created 2 different outbound deliveries. While creating & Batch determination of first outbound delivery  Batch number X with qty 100 is selected. Then it is saved with out PGI.
    when i create the second outbound delivery also the same batch number X with qty 100 is selected. Actually it should not happen. Because i have total stock of Batch no X is only 100.
    Please guide me how to solve this issue.
    Regards
    Bala

    you might have selected bacth but not completed picking thats why system allowed another batch selection with same quantity. pIcking reserves the quantity. Hope this will help you.
    Thanks & Regards
    Amit

  • I need a FM to update batch no. & picking qty. of delivery  also to do PGI.

    I need a FM to update batch no.& picking qty of delivery items as well as to do PGI (Post goods issue) for the same delivery.I am using 'WS_DELIVERY_UPDATE' but it doesn't update the batch no. and gives error saying no bactches are deifned for delivery no XXXXX and item XXXX.Can any one suggest the suitable function module to do this? It will be better if you can give details about input parameters with example.
    Thanks & Regards,
    Nimish Dongare.

    Hi,
    I used the following code for both picking & PGI...I think it shud also work for updating the batch details.
    Picking:
    *get header data
    WA_VBKOK-VBELN_VL = <DEL_NBR>
    WA_VBKOK-VBELN = VBFA-VBELV
    get line data
    LOOP AT TAB_VBPOK.
    TAB_VBPOK-VBELN_VL = WA_VBKOK-VBELN_VL.
    tab_vbpok-posnr_vl = <line number> '900001'
    tab_vbpok-matnr= <material nbr>
    tab_vbpok-charg= <batch nbr>
    tab_vbpok-pikmg =<pick qty>
    tab_vbpok-meins= <uom>
       TAB_VBPOK-VBELN = SY-DATUM.
          TAB_VBPOK-POSNN = SY-UZEIT.
          TAB_VBPOK-VBTYP_N = VBFA-VBTYP_N.
          SELECT * INTO TABLE TVBFA FROM VBFA
                              WHERE VBELV = WA_VBKOK-VBELN_VL.
          SORT TVBFA DESCENDING.
          CLEAR TVBFA.
          READ TABLE TVBFA WITH KEY VBELV = TAB_VBPOK-VBELN_VL
                                    POSNV = TAB_VBPOK-POSNR_VL
                                    VBTYP_N = 'Q'
                                    TAQUI = ' '.
          IF SY-SUBRC EQ 0.
            V_PIKMG = TAB_VBPOK-PIKMG + TVBFA-RFMNG.        " Picking quantity
            CLEAR TVBFA.
            READ TABLE TVBFA WITH KEY VBELV = TAB_VBPOK-VBELN_VL
                                  POSNV = TAB_VBPOK-POSNR_VL
                                  VBTYP_N = 'Q'
                                  TAQUI = 'X'.
            IF SY-SUBRC EQ 0.
              V_PIKMG = V_PIKMG + TVBFA-RFMNG.               " Total Picking quantity
    *****Error Message: Picked quantity is larger than the quantity to be delivered.
              IF LIPS-LFIMG LT V_PIKMG.
                PERFORM GET_RETURN  USING 'E' 'VL' '019' SPACE SPACE SPACE SPACE
                          RETURN.
                V_EXIT = 'Y'.
                EXIT.             " EXIT THE RFC.
              ENDIF.
            ENDIF.
          ENDIF.
          MODIFY TAB_VBPOK.
    CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
          EXPORTING
            VBKOK_WA             = WA_VBKOK
            SYNCHRON             = 'X'
            DELIVERY             = WA_VBKOK-VBELN_VL
            UPDATE_PICKING       = 'X'
            COMMIT               = 'X'
            IF_DATABASE_UPDATE_1 = '1'
         TABLES
            VBPOK_TAB            = TAB_VBPOK
            PROT                 = I_PROTT.
        IF NOT I_PROTT IS INITIAL.
          RETURN-TYPE = 'E'.
          RETURN-MESSAGE = 'Picking Failed!'.
          EXIT.                                  "EXIT THE RFC
        ELSE.
          COMMIT WORK AND WAIT.
        ENDIF.
    PGI
    *get header data
    WA_VBKOK-VBELN_VL = <DEL_NBR>
    WA_VBKOK-VBELN = VBFA-VBELV
    CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
        EXPORTING
          VBKOK_WA               = WA_VBKOK
          SYNCHRON               = 'X'
          DELIVERY               = WA_VBKOK-VBELN_VL
          NICHT_SPERREN_1        = 'X'
          IF_ERROR_MESSAGES_SEND = 'X'
         TABLES
          PROT                   = I_PROTT.
      IF NOT I_PROTT IS INITIAL.
        RETURN-TYPE = 'E'.
        RETURN-MESSAGE = 'Goods Issue Failed!'.
        EXIT.                                  "EXIT THE RFC
      ELSE.
        COMMIT WORK AND WAIT.
    endif.
    thanks

  • Batch Determination during MIGO Movement 543 O

    Dear All SAP Gurus,
    I want to know about batch determination during MIGO transaction for subcontracting cycle , movemnt type 543 O -consumption for parts provided to vendor.
    In Brief: Suppose clients executing subcontracting cycle and send the RM/PM against subcontracting PO to vendor. At the time of MIGO we have to enter the batch number of RM/PM which we had sent to vendor. But when we serach the batches available at the vendor it shows number of batches. My client want batch determination process so that system will take the batch number accordingle po as we sent material with reference to po.
    Please suggest in this matter or if any one has solution please tell.
    Thanks in advance
    Mahesh

    Hi Mahesh,
    Go to SPRO > Logistics - General > Batch Management > Batch Determination and Batch Check > Batch Search Procedure Allocation and Check Activation > Allocate IM Search Procedure/Activate Check > Here assign Batch Search Procedure "ME0001" to Movement Type 543 O
    Then go to MBC1 and maintain condition record for Strategy Type ME02 i.e. Plant and here keep selection method as "O"
    In MIGO, click on "Stock Determination" button for automatic batch determination.
    Hope it helps!
    Preethi.
    Edited by: preethi R on Nov 24, 2008 2:10 PM

  • Batch determination during MIGO

    Dear all,
    This is question regarding the Sort rule used during Batch determination during MIGO (GI).
    Below are what i've done:
    1. Maintain Batch search strategy via SPRO
    2. Maintain Batch search condition records via MBC1. Here I maintain the sort rule = ZSORT.
    FYI, sort rule contains characteristic fields: (1)BATCH_CREATION_DATE, (2)BATCH_NUMBER.
    3. Performing GI via MIGO, in Batch determination screen there is a column showing "Characteristic sort." From here, i can view how the characteristic fields and its value being sorted.
    Problem arise, in above screen, i can only see (1)BATCH_CREATION_DATE only display in column "Characteristic sort.". Missing of characteristic field (2)BATCH_NUMBER.
    Could you please comment on what went wrong? Please comment
    This is the setting used for BATCH_NUMBER (TCode CT04):
    Basic data    
    Chars group = BATCH
    Status = Released
    Format  = Char
    Number of Char = 10
    Value Assignment = Single value
    Values
    No maintenance
    Addnl data
    Table name  = MCHA
    Field name = CHARG
    Procedure for value assignment = Not Ready for input
    Restriction
    No maintenance

    Dear all,
    I've got my issue solved. There are 2 areas i applied fixes:
    1. Sort rule's characteristic field should come from the same class as Selection criteria (MBC1)
    2. Sort rule's characteristic field's setting in CT04, it should coming from table field that declared in tab "Addnl data".

  • MPN Manufacturer batch determination during goods issue

    I am from pharma industry and my business runs with batch management, MPN features.
    Scenario:
    I have 3 different finished product P1, P2 and P3. All three finished products use raw material R1.
    But, I have restrcition like, when I am manufacturing P1 product I can only use R1 of batch from manufacturer M1.
    For P2 material we can use R1 batch from manufacturer M2 only.
    For P3 material we can use R1 batch from manufacturer M1 and M2.
    Now, I have maintained the BOM CS02 batch classification for three differ FGs P1, P2 and P3 with relation P1-R1-M1, P2-R1-M2, P3-R1-M1+M2.
    In COB2 T-code I am mainmtaining strategy type CO02 - Order type/Plant/Parent material with child relation ship. Here also, I am maintaining relation P1-R1-M1, P2-R1-M2, P3-R1-M1+M2.
    Now, when I am creating process order in COR1, I am getting in case of P1 order R1 material batch determination only batches from M1 manufacturer.
    Same as for P2 material process order R1 material only batches for detrmination from M2 manufacturer.
    Same as for P3 material process order R1 material batch determination option from M1 and M2 only.
    Now, if I don't go for batch determination through Process order and in stead of that if I want the batch determination during goods issue MIGO 261 movement against order, the above manufacturer level control we can't put.
    As in MBC2 T-code, we have standard batch determination and search strategy for material, plant and movement type.
    But, here we can't maintain any parent child relationship.
    Now, can you please suggest how I can control manufactuer batch detrmination as per above strategy during Migo goods issue.
    Through any standard settings we can do or, any exits required?
    Gurus please suggest!

    Dear
    You can do this by using FM CO_WB_BATCH_DETERMINATION or VB_BATCH_DETERMINATION function module.
    here you can sort the batches and compare the Batch results with the batch search strategy.
    Regards,
    R.Brahmankar

Maybe you are looking for