Batch Number "Auto Select" Option?

Hi All,
I've got an issue in batch number selection form, where when i'm selecting the batch number using auto select it is selecting the batch number starting with the smallest alphanumeric value, But it is supposed to select the oldest batch number first. as the client with whom we r dealing with is a pharmacetical trader, where he has to sale the products according to FIFO priority.
Is there any configaration settings regarding this option?
else i've got a thought like can we disable the auto select button?
so kindly help me out
Thanks In Advance

hi,
It is standard system behaviour when you click auto select ,
it will pick up batches in sequential order.
So avoid clicking auto select.
Enter reqd. quantity in selected batch and use > move it to right side.
Jeyakanthan

Similar Messages

  • Batch handle with 'Auto Select' option

    Hello Everyone!
    We are trying to find out how the 'Auto Select' button works with batch handle.
    Our customer wants to handle batches by FIFO.
    We need to try if it is possible to 'Auto Select' batches by 'Admission Date'. Even when we found out that it is possible SBO does not do it rightly, because not always get well organized by 'Admission Date'.
    Somebody knows which logic uses the 'Auto Select' option to select batches?
    There is some configuration at SBO to handle batches by 'Admission Date'?
    Thanks a lot!

    The batch auto selection selects the batches according to the ascending alphanumeric order. To issue based on FIFO method, user has to identify the admission date/ manufacturing date of the batch and issue.
    There is No configuration at SBO to handle batches by 'Admission Date'.
    As a workaround you can use the batches to startwith  'Admission Date'.

  • Batch number auto generation nedded

    hi all,
                  i have a query that when i make a GRPO of 10 items with different qty, these items are set to batch on every transaction, then it will ask to enter the batch number of all item with the number of their quantity, is there any process to create these batch number automatically, is there any formatted search query for auto generation of batch number.
    even they are making GRPO by taking 100 items, it is very difficult to for them to to enter manually all the batch code.
    is there any provision to do the task by formatted search.
    revert back soon
    its very urgent
    regards
    sandip

    Sandip, 
    I have answered a few posts on this Forum about the different options.  Formatted searches can be considered but you will need to maintain a temp table.
    What is the real usage of the batch numbers in this business case?
    Suda

  • Batch Input and Select Option

    Hello,
    Please, i have one issue.
    I want to do one Batch Input for one standard transaction. In this transaction, exist one select-option and i fill more values.
    I generate the SDHB but i have problema with the select-option. How i can simulate enter value in the Select option by code?
    Thank you.

    Hi SALHI AMAL,
    We can do this. But its a lengthy process.
    You have to record by giving multiple selection values and do some changes in that code.
    The number of rows in that 'Multiple Selection' dialog is 8 and it is constant, i.e. it won't vary with monitor or screen size.
    In my testing,
      perform bdc_dynpro      using 'SAPLALDB' '3000'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=ACPT'.
    This is the code to just to fill values in 'SELECT SINGLE VALUES' tab.
    If i want to fill more than 8 values, the following code will do that,
          perform bdc_dynpro      using 'SAPLALDB' '3000'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '=P+'.
    In this, you have to determine, how many times, we have to press 'PAGE DOWN'.
    This all regards one tab in that dialog. Still there are 3 dialogs.
    Regards,
    R.Nagarajan.

  • Where is auto-select option in options bar?

    where is the option-select option in Options bar

    With the Move Tool selected, it's called Auto-Select Layer in photoshop elements 10.

  • Validating the number of selected options in html:select multiple

    Hi i am trying to validate the maximum number that can be selected from:
    <html:select property="supportingWorkerIds" multiple="true" size="4"
                             tabindex="4">
    <html:optionsCollection property="workerList" label="workerName"
                                  value="userId" />
    </html:select>
    I want the user to not select more that 10 options for this. If its greater than 10 i want to display an error message.
    I have tried adding the following in validation.xml:
    <field property="supportingWorkerIds"
                        indexedListProperty="supportingWorkerIds" depends="validwhen">
    <arg0 key="bookSeminarSessionForm.maxSupportWorkers" />
                        <var>
                             <var-name>test</var-name>
                             <var-value>( supportingWorkerIds.length > 10 )</var-value>
                        </var>
    </field>
    But it doesnt work .
    Any suggestions?
    Thanks in advance

    Hi i am trying to validate the maximum number that can be selected from:
    <html:select property="supportingWorkerIds" multiple="true" size="4"
                             tabindex="4">
    <html:optionsCollection property="workerList" label="workerName"
                                  value="userId" />
    </html:select>
    I want the user to not select more that 10 options for this. If its greater than 10 i want to display an error message.
    I have tried adding the following in validation.xml:
    <field property="supportingWorkerIds"
                        indexedListProperty="supportingWorkerIds" depends="validwhen">
    <arg0 key="bookSeminarSessionForm.maxSupportWorkers" />
                        <var>
                             <var-name>test</var-name>
                             <var-value>( supportingWorkerIds.length > 10 )</var-value>
                        </var>
    </field>
    But it doesnt work .
    Any suggestions?
    Thanks in advance

  • No batch number appears while saving delivery

    hi all,
    While creating delivery,system is throwing a message
    "cannot add row without selection of batch number" and
    there is no batch no in the available batch for auto selection.
    Our client is unable to create delivery and subsequently
    do AR invoice.
    Additional Info:-
    Items in the delivery is already batch activated- Batch ,On Release only.
    Batch was also activated in general settings of Administration module.
    System was not asking us to enter  batch number anywhere in the production cycle.
    Expecting your esteemed reply.
    Jeyakanthan

    Jeyakanthan,
    I believe you have Batch management set in the Item Master but it is on Realase only.
    You can create Batch numbers for already received items. See help file extract below
    In addition, you can enter batches for the received items if you did not do so while generating marketing and stock entry documents. However, this is only possible if your company allows the receipt of items to stock without a batch number.
    To use this function, choose Inventory > Item Management > Batches > Batch Management.
    In Operation..Select Complete – to create batches for the received items
    Enter a range of item codes, for which you want to create or update batches.
    Click Ok and create the necessary batches
    Let me know
    Suda

  • How do you turn off the auto select behavior when working with shape layers?

    How do you turn off the auto select behavior when working with shape layers?
    I am using either of the path selection tools to select only some of the paths on the layer. I have the proper layer targeted. I have the selection too auto select option turned off.
    If another layer has a path in that area, that layer becomes auto targeted and I get the wrong path. Turning off the layer is the only way to avoid this but then I have to  turn on the layer back on between making my selection and transforming to use the other layer as guide. Is there any way to stop this auto select? Locking the other layer does not stop the auto select, just prevents editing.

    As far as i know the move tool options don't have any effect on the path selection tools.
    You might try clicking on one of the path points or on the path itself with one of path selection tools and if you want to select multiple points
    you can shift click with the Direct Selection Tool or Alt click to select the entire path.
    more path shortcuts:
    http://help.adobe.com/en_US/photoshop/cs/using/WSDA7A5830-33A2-4fde-AD86-AD9873DF9FB7a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7391a.h tml

  • Select statement for generic select options

    Hello,
    I have a problem implementing a SELECT-Statement. I have a generic number of select options on my selection screen and I have a range table for each select option. How can a generate a database select for these generic number of range tables?
    Thank you very much in advance & regards,
    Alexander

    the answer I gave you will work if you have a ranges table for every possible select-options and refer to every ranges table in your where clause.... that way, you don't have to know which are populated and which are not at the time of SELECT.
    You could also choose to create a dynamic where clause, based upon what you had select-options for and use with
    WHERE ( whereclause ).
    Edited by: BreakPoint on Mar 2, 2011 4:31 PM

  • How to pass value to select-option parameter using SET PARAMETER Command

    Hi,
        Am passing values to selection-screen fields in report RV13A004 ( used in VK11, VK12 and VK13). using below statement but material number is select-option in this report. am able to pass  MATERIAL FROM using SET PARAMETER ID, can i know how to pass values MATERIAL TO range in select-options fields using SET PARAMETER Command ??
    Passing values to parameter id
    set parameter id 'VKS' field kschl.
    set parameter id 'VKO' field vkorg.
    set parameter id 'VTW' field vtweg.
    set parameter id 'KDA' field erdat.
    set parameter id 'MAT' field matnr_from.
    Change condition price.
    call transaction 'VK12' and skip first screen.
    Thanks in advance.
    Regards,
    Balamurugan.

    Hi,
    instead of using set parameters and dden call transaction use this..........
    submit RV13A004  WITH SELECTION-TABLE rspar
    Effect
    If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
    SELNAME (length 8),
    KIND (length 1),
    SIGN (length 1),
    OPTION (length 2),
    LOW (length 45),
    HIGH (length 45).
    To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
    SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
    KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
    SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
    If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
    The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
    Notes
    In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
    When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display.
    Cheers
    Will.

  • Move Tool Auto-Select Group/Layer Toggle?

    Hi:
    I regularly use the Move Tool's Options palette Auto-Select Group functionality. I've not been able to find any reference to a keyboard shortcut for being able to temporarily toggle from auto-selecting Group to Layer. It seems to me that it would be a useful shortcut.
    As it is, the user must select "Layer" in the drop-down menu in the Options palette. It would be much quicker if a keyboard shortcut enabled this toggling.
    I've noticed thatwhile the Auto-Select option is set to Groupyou can hold the command key and right-click a layer (with the Move cursor) within a group and it will be selected in the Layer panel. At this point, you can move the selected layer using the arrow keys, but not with the Move cursor. It would be really slick if the Move tool cooperated and allowed moving the selected layer.
    Is there some shortcut or technique I'm missing that would approximate this functionality?
    -john

    You f#*kers have to take into consideration all use cases! A lot of people work with auto-select. How can you just change certain functionalities like this!
    This wasn't a problem in older CS4/ 5. This has a direct impact on my productivity! 
    Please fix this **** ASAP! I paid a butt load of money to get CC license so it can help me improve & work more efficiently not to deal with such ****** issues.

  • Dynamic Selection Options

    Hi Guru's,
    The requirement is something like this:
      1. The user enters the technical name of the table.
      2. The users enter a number of selection options to
         fetch the data from the table user enters. The
         number of selections options need to be dynamic.
    Can you please let me know, which way I need to go in order to get this report done.
    Any suggestions greatly appreciated.
    Regards,
    GPK.

    Hi Praveen,
    check this code , this program display the output in ALV for the entered table name (any), also fetchs the records based on the entered number of rows on the selection screen. you can give where condition also, based on where condition it will bring the rows from the table.
    REPORT y_test LINE-SIZE 250 .
    TYPE-POOLS: slis. " ALV Global Types
    DATA: BEGIN OF ty_work ,
    buffer(30000),
    END OF ty_work.
    DATA : work LIKE ty_work OCCURS 0 WITH HEADER LINE,
    ws_rec LIKE sy-tabix,
    ws_repname LIKE tbprogref-progname,
    ws_tabname LIKE dd03l-tabname,
    i_fields LIKE dd03l OCCURS 0 WITH HEADER LINE,
    ws_flag(1) TYPE c.
    FIELD-SYMBOLS <d>.
    ASSIGN COMPONENT 0 OF STRUCTURE work TO <d>.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS : p_mandt LIKE t000-mandt,
    p_rows LIKE rseumod-tbmaxsel DEFAULT 100.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN: FUNCTION KEY 1.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS : p_tab LIKE dd03l-tabname OBLIGATORY MEMORY ID dtb,
    p_opt LIKE rfc_db_opt-text.
    SELECTION-SCREEN END OF BLOCK b1.
    FIELD-SYMBOLS :
    <lt_data> TYPE table. " Data to display
    DATA:
    lp_table TYPE REF TO data,
    ls_layout TYPE slis_layout_alv.
    FIELD-SYMBOLS: <wa> TYPE ANY, <comp> TYPE ANY.
    ASSIGN work TO <wa> CASTING TYPE (p_tab).
    Create internal table
    CREATE DATA lp_table TYPE STANDARD TABLE OF (p_tab)
    WITH NON-UNIQUE DEFAULT KEY.
    ASSIGN lp_table->* TO <lt_data>.
    START-OF-SELECTION.
    TRANSLATE p_opt TO UPPER CASE. "#EC SYNTCHAR
    Read data
    SELECT * FROM (p_tab)
    CLIENT SPECIFIED
    INTO CORRESPONDING FIELDS OF TABLE <lt_data>
    UP TO p_rows ROWS
    WHERE mandt = p_mandt
    AND (p_opt)
    ORDER BY PRIMARY KEY.
    DESCRIBE TABLE <lt_data> LINES ws_rec.
    ls_layout-zebra = 'X'.
    ls_layout-colwidth_optimize = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_structure_name = p_tab
    is_layout = ls_layout
    TABLES
    t_outtab = <lt_data>.
    Regards
    Appana
    *reward points for useful answers

  • How to automatically assign a batch number

    Hello experts,
    Our customer have the "Manage Item by" settings on "Batches" and the "Management Method" settings on "On Release Only".
    He don't want to manually generates the batch numbers in Delivery Entry because he would like to have an automatic assignment of batch number like a progressive number for year.
    How can I achieve it using DI API ?
    I have tried to create a Delivery Document using the BatchNumbers object but I got the following error message "the batch number you selected doesn't exists".
    So I created a Goods Receipt for the batch number above and finally the delivery document has been created successfully.
    The issue came out is about the stock quantity for the itemcode because the Goods Receipt have increased it and as result I have the same stock quantity as before the delivery and of course it's not correct !
    I noticed that SAP B1 after the manually generation of batch number it creates a record on the OIBT table using an existing Good Receipt.
    How can I add a batch number in the OIBT table using DI API  without the need to create a Good Receipt ?
    Can someone help me ?
    It would be very appreciated.
    Many thanks for your time in advance.
    Best regards
    Andrea

    Hi,
    Try this code, May be it will help you
    Dim v_StockEntry As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
                Dim v_StockExit As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenExit)
                Dim str_ProEntryNo As String = oDBDSHeader.GetValue("DocNum", 0)
                'Dim str_DocDate As String = CDate(frmProductionEntry.Items.Item("t_DocDate").Specific.Value).ToString("yyyyMMdd")
                Dim str_DocDate As String = Date.Now
                Dim intStockRowCount As Integer = 0
                Dim FGCost As Double = 0
                Dim RMCost As Double = 0
                Dim RMQty As Double = CDbl(oDBDSHeader.GetValue("U_TotRW", 0))
                '---  RM Exist
                v_StockExit.Comments = "Stock Exit For Production Entry(RM) Production-Entry No: " & str_ProEntryNo
                v_StockExit.DocDueDate = str_DocDate
                v_StockExit.Reference2 = str_ProEntryNo
                intStockRowCount = 0
                For i As Integer = 1 To oMatrix1.VisualRowCount - 1
                    intStockRowCount += 1
                    If intStockRowCount > 1 Then v_StockExit.Lines.Add()
                    v_StockExit.Lines.ItemCode = oMatrix1.GetCellSpecific("ItemCode", i).Value
                    v_StockExit.Lines.Quantity = oMatrix1.GetCellSpecific("Qty", i).Value
                    v_StockExit.Lines.WarehouseCode = oMatrix1.GetCellSpecific("WarCode", i).Value
                    'v_StockExit.Lines.AccountCode = AccCode
                    Dim qty = oMatrix1.GetCellSpecific("Qty", i).Value
                    qty = IIf(qty.ToString.Trim = "", 0, qty)
                    Dim cost = oMatrix1.GetCellSpecific("Cost", i).Value
                    cost = IIf(cost.ToString.Trim = "", 0, cost)
                    Dim PerQtycost = CDbl(cost) / CDbl(qty)
                    v_StockExit.Lines.Price = PerQtycost 'GetItemPrice(oMatrix1.GetCellSpecific("ItemCode", i).Value)
                    Dim ManBtchNum = getSingleValue("Select ManBtchNum  from OITM Where ItemCode='" & oMatrix1.GetCellSpecific("ItemCode", i).Value & "'")
                    If ManBtchNum.Trim <> "N" Then
                        Dim rs As SAPbobsCOM.Recordset = GFun.DoQuery("select * from OBTQ where ItemCode ='" & _
                                                                      oMatrix1.GetCellSpecific("ItemCode", i).Value & _
                                                                      "' and WhsCode ='" & oMatrix1.GetCellSpecific("WarCode", i).Value & _
                                                                      "' And Quantity > 0 order by SysNumber")
                        Dim count As Double = oMatrix1.GetCellSpecific("Qty", i).Value
                        For k As Integer = 0 To rs.RecordCount - 1
                            If CDbl(rs.Fields.Item("Quantity").Value) >= count Then
                                Dim ss = rs.Fields.Item("SysNumber").Value
                                v_StockExit.Lines.BatchNumbers.BatchNumber = _
                                getSingleValue("select DistNumber from OBTN where ItemCode ='" & _
                                               oMatrix1.GetCellSpecific("ItemCode", i).Value & _
                                               "' and SysNumber ='" & rs.Fields.Item("SysNumber").Value & "'")
                                v_StockExit.Lines.BatchNumbers.Quantity = count
                                v_StockExit.Lines.BatchNumbers.Add()
                                Exit For
                            Else
                                v_StockExit.Lines.BatchNumbers.BatchNumber = _
                                getSingleValue("select DistNumber from OBTN where ItemCode ='" & _
                                               oMatrix1.GetCellSpecific("ItemCode", i).Value & _
                                               "' and SysNumber ='" & rs.Fields.Item("SysNumber").Value & "'")
                                v_StockExit.Lines.BatchNumbers.Quantity = rs.Fields.Item("Quantity").Value
                                v_StockExit.Lines.BatchNumbers.Add()
                                count = count - CDbl(rs.Fields.Item("Quantity").Value)
                            End If
                            rs.MoveNext()
                        Next
                    End If
                Next
                If oMatrix1.VisualRowCount > 1 Then
                    If v_StockExit.Add() <> 0 Then
                        StatusBarWarningMsg("Unable To RM Post Stock Document.......   " & oCompany.GetLastErrorDescription)
                        Return False
                    End If
                End If

  • MIGO field selection - vendor batch number

    I created a new movement type by copying from the standard SAP movement type 501 (GR w/o purchase order).
    When posting a GR with this movement type and a batch-managed material, the Batch field is open for entry but the Vendor Batch field (GOITEM-LICHA) is suppressed. I suppose this is because SAP does not expect you to enter any vendor-related information if you do not have a PO. And similarly if you have vendor-related information (like a vendor's batch number) you should be using a PO.
    However the business requires a Vendor Batch number to be entered in this scenario.
    Does anyone know how to make the Vendor Batch field open for input when using a specific movement type?
    I'm thinking maybe a BADI like MB_MIGO_ITEM_BADI is my only option. I've tried the MIGO field selection (OMJX) but couldn't make this work. Any input would be appreciated.
    Thanks!

    I am afraid I must confirm that, as you have already seen, it is not possible to enter a Vendor Batch (LICHA) in a goods receipt without reference to the purchase order with the movemement types 501, 511 or 561.
    There is no standard system setting or program code available which can set this entry as required or optional. This kind of requirement can only be achieved through a software modification,
    Also, please notice that although you can enter a Vendor Batch when posting a goods movement with reference to a purchase order, you cannot display it later with transaction MIGO:
    Please, kindly check the information contained under the attached note regarding this matter:
    330585 - MIGO: Vendor batch in material document display.
    As stated in this note, under the 'System response after the note is implemented' section:
    "After the attached correction instructions are implemented, the field
      can no longer be seen in the display of the material document for the
      vendor batch using Transaction MIGO. Displaying the vendor batch does
      not make much sense since it might have changed since the posting of
      the material document. The material document itself does not have the
      information of the vendor batch that was entered at that time. In the
      system, only the information of the current vendor batch exists for
      the batch."
    Sorry not having a positive answer ! =/
    Plauto

  • Auto Select Batch No by Expiry Date

    Hi Expert,
    Is there any place we can configure so that when user clicks Auto Select button at Batch Number Selection screen, the Batch No with earlier Expiration Date can be selected?
    By default, Auto Select button will choose Batch No by Admission Date.
    Thanks,
    Regards,
    Lay Chin
    Edited by: Paul Finneran on Oct 15, 2009 12:37 PM

    Ok, I guess only program customization can help me.

Maybe you are looking for

  • HP ScanJet 6200C with Windows Vista

    Hey All, I have an old HP6200C ScanJet scanner and unfortunately it is too old to adapt to my WindowsVista OS.  Can anyone help me with a "workaround" so I can scan some old slides and digitize them? Thanks, This question was solved. View Solution.

  • Exit code 6 installing CS6 Design and Web Premium on Win7 Ent 32-bit

    Hi all, I got the following error during setup. Any hint? Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ... WARNING: DW024, DW066 ... -------------------------------------- Summary --------

  • 3d graph write mpeg

    Hi is there a general way to convert a 3d graph into a mpeg video? i already have a vi that can convert a polar plot image into a video i was just wondering if it was possible for 3d plots? so in other words: can you convert directly or can you conve

  • SIM related issue

    Hi, I have created some workflows and forms which i have already imported using the admin user. But when i login as a user and try to access the workflow from a link, I get the following error message Message: 'View access denied to AAA001 on process

  • Slow moving Macpro.  Is memory the issue?

    So I 4GBs of memory and cannot understand why the MacPro is running so slow. Especially opening programs, Apple Mail, or Safari. I went into activity monitor and here is what was listed under memory: FREE: 2.32 GB WIRED: 606.60 MB ACTIVE: 662.61 MB I