Multiple selection of Material in CS15

Hello Experts,
I have a requirement for the transaction CS15 which is used for single level where used list.
Currently, we can enter only single material on the first screen. Now the client needs to enter Multiple selection for material.
For this, I copied CS15 transaction to ZCS15 and the program to Zprogram. As this is a standard code and is a dnpro screen, I am not pretty sure how I can continue on this requirement. I have seen few other posts mentioning to use "CS_WHERE_USED_MAT" FM but not sure how the screen can be change with multiple selection.
Any inputs on the logic is highly appreciated and rewarded with points.
Thanks,
Sandy

Hello All,
I have found one way to get the requirement done and is working fine.
CS15 BOM calls a program RCS15001. When we execute this program, it does the same as CS15 screen. RCS15001 is a normal report program and hence we can modify the material to select options.
Copy the program RCS15001 to ZRCS15001 and modify the program accordingly.
Hope it may be useful to others in future.
Thanks!
Sandy

Similar Messages

  • Make a multiple selection of material in sale order

    In sale order, currently it supports only one line item selection of material in Approved product selection. How to make multiple line item selection from Approved product selection screen and add it it to sales order (order entry screen).

    Hi,
    For Item proposal you have to use sales doc type PV and it has to use in transaction VA51. Enter the materials you want and give some description at header and save it , After saving it will generate a number . Note the number and enter the number in customer master data ,sales area data in sales tab page for the field Item proposal. Then rise the sales order on the top of menu click the Icon item proposal , Here you have to select the items with or without quantities.
    Thank you,
    pranay

  • Where Used List with multiple/range of material

    Hi there Gurus!
    We have requirement to have multiple material on CS15(Where-used List Single-Level Material).
    IW13 won't work since there are spares/eqpmnt that has no PM Order yet.
    We are looking at developing SAP Query for this using but I am reluctant if this will work since it's from bottom going up.
    Has anyone tried this? Any tip/watchout?
    Your very valuable input is highly regarded and will be rewarded.
    Thanks a lot in advance!

    Hello Thyagarajan,
    Thanks for clarifying the requirement.
    Can only input one material in selection screen of CS15 and what we want is functionality to enable multiple material entry. Thanks!
    Hi Pete,
    Thanks for your input.
    When you copy CS15 and modify to enable multiple material entry, what other options did you consider before deciding on copying CS15? Does your other options include SAP Query? Do you think it will meet our reqmnt? Thanks!

  • SELECT-OPTIONS Multiple selection

    Hello
    I have the following line of code:
       SELECT-OPTIONS: p_matnr FOR mara-matnr.
    The users would like to use the multiple selection button to paste/upload from the clip board but unable until at least one entry is entered before the multiple selection will work.  Is there a way for the multiple selection to work without entering a material?
    THANKS

    Hi Gary, Clicking the button shown below bring up the multiple selection screen without requiring a value. Do not add the obligatory keyword on the select-options statement as pointed out by Ramon.
    see below:

  • ABAP routine in the infopackage for Multiple Selection

    Hi experts,
    I want to include a abap routine in the infopackage for Multiple Selection so that I can fetch only the required Material Numbers when the InfoPackage is schedule. As I have the constraints that I have to select certain Material Numbers only, that are not in series - so I cannot select"BT' fuction. Tell me what ABAP Code will work in this scenario.
    Kind regards,
    Rajesh Giribuwa

    Hi,
    The Routine will have to use 'EQ' operator and Append each selections to the Structure.
    ABAP Routine
    InfoPackage definition for Bespoke SIS Structure
    Infopackage routine !
    Regards
    Happy Tony

  • JDBC Sender MSSQL Stored Procedure - Multiple Select Statements

    Hello all,
    I will proceed to tell you my problem, for which solution I request your kind advice:
    Im working in a project for a retailer, which consists in sending the information from erp and sql server to pos thru XI interfaces.
    One of the interfaces is about sending items from sql server to a file so the pos can load it into the system. For doing so I have devloped an stored procedure which function is to return several select statements as many stores the retailer might have, so they can have a different file per store along with its corresponding items in it. 
    The thing is that XI just gets the first select statement and creates the corresponding file, but it seems to ignore the remaining responses as I'm neither getting any file nor an error afterwards.
    So, my question is: is XI capable of handling multiple select responses from an Stored Procedure in graphical mapping??? Or am I just wasting my time trying?
    Thanks in advice for your help.
    Regards.

    Hello Ramkumar,
    After 5 days trying, I finally made it work out applying your advice. Below the short explanation of what I did:
    My Source structure is: Main Node->Row->Records (Material Number, StoreNum, Price, Status)
    My Target structure is: Main Node->File Node->Record Node->Records ( Material Number, Price, Status)
    The key was to make all the occurrences happen against StoreNum node. So, based on what you adviced these two where the key mappings:
    1) The Mapping that will create a new file for each different store that comes in the query (In my case, query was already sort by store using an sql "order by" function, if not you can also use xi node function "sort" as Ramkumar suggested)
    StoreNum->RemoveContext->SplitbyValue (Value Changed)->Collapse Contexts->File Node
    2) The Mapping that will create each record in its corresponding store file:
    StoreNum->RemoveContext->SplitbyValue (Value Changed)->Record Node
    And Voilá !!! It worked.
    Thanks very much Ramkumar.
    Regards.

  • Multiple selection - VBA

    Hello All,
    first of all, I hope that my English will be understandable.
    Description:
    I must create a report for sales orders by planned deliver date. Most of info what I need are in VBAP, but there is no delivery date there, only in VBAK. I download VBAK by VDATU, result is a list with 500-3k pcs of orders. Next step shouId be I take these order numbers and "insert" them into VBAP-VBELN, but I'm not able to find out how can I do it in VBA (multiple selection, therefore I download that by ERDAT (large interval, because the orders can arrive to system more weeks before delivery date). Result is a code what is downloading VBAP ~ten minutes... It is not acceptable. I would like to choose a simplier example (where problem is the same): MARA.
    I have only 2-300 article number per list but I have to download 80k articles because I can filter only prefix and H% is not so exact filter...
    One-dimensional array is the only one solution what I tried for that but RFC call is false in that case.
    Sub MARA() '(user As String, password As String)
    Const TABLA As String = "MARA"
    Const UZI1 As String = "there is no connection to R/3"
    Const UZI2 As String = "something wrong"
    Const CLIENT As String = "300"
    Const LANGUAGE As String = "your logon language"
    Const SYSTEM As String = "your system"
    Const user As String = "your username"
    Const password As String = "your pw"
    Dim Tomb As Long
    Dim LTomb As Long
    ’store material numbers from A column of xls into matDatabank
        LTomb = Worksheets(1).Cells(Rows.Count, 1).End(xlUp).Row
        Tomb = 2
        If LTomb = 2 Then
    matDatabank = "'" & Worksheets(1).Cells(Rand, 1).Value & "'"
        Else
    Do While Worksheets(1).Cells(Tomb, 1).Value <> "" And Tomb < LTomb
    matDatabank = matDatabank + "'" & Worksheets(1).Cells(Tomb, 1).Value & "', "
    Tomb = Tomb + 1
    Loop
    matDatabank = matDatabank + "'" & Worksheets(1).Cells(Tomb, 1).Value & "'"
        End If
        matDatabank = Left(matDatabank, Len(matDatabank) - 1)
    Set conn = CreateObject("SAP.functions")
    conn.Connection.SYSTEM = SYSTEM
    conn.Connection.CLIENT = CLIENT
    conn.Connection.LANGUAGE = LANGUAGE
    conn.Connection.user = user
    conn.Connection.password = password
        retcd = conn.Connection.logon(0, True)
        If retcd <> True Then
         MsgBox UZI1, vbCritical
    Exit Sub
        End If
    Set RFC_READ_TABLE = conn.Add("RFC_READ_TABLE")
    Set equery_tab = RFC_READ_TABLE.Exports("QUERY_TABLE")
    Set toptions = RFC_READ_TABLE.Tables("OPTIONS")
    Set tdata = RFC_READ_TABLE.Tables("DATA")
    Set tfields = RFC_READ_TABLE.Tables("FIELDS")
    equery_tab.Value = TABLA
    toptions.AppendRow
    toptions(1, "TEXT") = "MATNR IN" & "(" & matDatabank & ")"
    ’HM* selection needs more minutes because of huge amount of materials
    'toptions.AppendRow
    'toptions(1, "TEXT") = "MATNR like 'HM%'"
    tfields.AppendRow
        tfields(1, "FIELDNAME") = "MATNR"
    tfields.AppendRow
        tfields(2, "FIELDNAME") = "MATKL"
        If RFC_READ_TABLE.Call = True Then
    MsgBox "success"
    Else: MsgBox (UZI2)
        End If
    conn.Connection.logoff
    End Sub
    Thank you for you help!
    Regards,
    Csaba

    I tried this too, unsuccessfully:
    x = Range("A65536").End(xlUp).Row
    ReDim matDatabank(x)
    For i = 2 To x
    matDatabank(i) = "'" & Cells(i, 1).Value & "'"
    Next i
    For i = 2 To x
    toptions.AppendRow
    toptions(i - 1, "TEXT") = "MATNR EQ " & matDatabank(i)
    Next i
    Please help how can I use one dimensional array as selection.
    Thanks,
    Csaba

  • Validation of materials entered in multiple selection in selection-screen

    Hi,
    How can I do the validation for all the materials entered in multiple selection in selection-screen?

    What kind of validation do you need to do?
    One of the easiest options is to select the materials to an internal table and then loop through it. Something like this:
    SELECT-OPTIONS: SO_MATNR FOR MARA-MATNR.
    AT SELECTION SCREEN.
      SELECT MATNR FROM MARA
      INTO TABLE I_MATNR
      WHERE MATNR IN SO_MATNR.
      LOOP AT I_MATNR.
    "   <do validations here>
      ENDLOOP.
    Here table I_MATNR has only one field MATNR.
    But please be careful with this, because you might end up going through thousands of material numbers. You might want to limit the user's choices by making the field required and removing some other options. Also you can check number of records in I_MATNR and allow only, say, not more than 50 materials, thusly forcing the users to limit their selection criteria.
    Naturally, other selection options may be added here.

  • Multiple selection to print subcontracting challan

    Hi Gurus,
    Is is possible to have multiple selection of subcontracting challan for printing it at once similar to what we do in T code MB90 for Material Document printout.
    Regards
    Mascot

    You do not have multiple option in J1IF11/12 as in MB90 to take multiple print out.You can take only one print at a time for sub con challan.
    But with any custom process you can try it.

  • Multiple Selection for Tables

    HI Team, When I try to select the multiple selection for field Material in table Mara, the To value is not displayed
    e.g in table mara if i select the material option from A* to Z*, all the materials are displayed from A until x but no of the materials are displayed starting with Z. I have found this as standard functionality in SAP and happens for all fields with multple selection in tables. can you guys advise if there is an OSS note for this?
    Thanks,
    Sunny

    Hai Sunny,
    Please check Do you have material staring with Z
    and check is there any
    Maximum No. of Hits restriction.
    Till you get SAP notes
    Create a query in SQVI for only ine table and
    MARA and tick mark the selection b fields and fields to be displayed in the report.
    Now in the report selection screen you will get TO option as well it will list all the Z materials.
    Regards,
    Mani

  • BAPI to create Purchase Requisition for selective BOM Material

    Dear Experts,
    I need ur help, Actually I am developing a module Pool prg to create Purchase Requisition for selective Bom Material .
    Actually, standard T.Code (ME21N) create PR for a multiple BOM Materia lwhich are used to create a prepared material. But my requirement is PR should be generate for selective BOM material .
    Multiple BOM Material is used to prepared a complete Material .
    I have checked a particular BOM Material, for this matrial Purchase Requisition should be genrate.
    Please suggest me the related code and Bapi which helps me .
    Thanks & Regards,
    Swapnika

    Hi
    you can Use BAPI   BAPI_REQUISITION_CREATE
    Hope Its  help You.
    Regards
    Ajit

  • An issue with multiple selection using Func mod COMPLEX_SELECTIONS_DIALOG

    Hi All,
    I am using COMPLEX_SELECTIONS_DIALOG function module to display mutliple selection pop up for materials.
    The problem that Iam facing is that if a material  is deleted in multiple selection pop up, it is not been returned in the returning table.Only the materials avalible in the pop-up are returned in the internal table.
    Is there any way by which the deleted values could be tracked.
    Pls find below the code
    *Display the value in Multpl Selection pop up.
    CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
    EXPORTING
       TITLE                   = 'Include/Exclude Materials'
       TEXT                    = 'Pls select the materials'
       SIGNED                  = 'X'
       LOWER_CASE              = ' '
       NO_INTERVAL_CHECK      = 'X'
       JUST_DISPLAY            = ' '
      JUST_INCL               = 'X'
      EXCLUDED_OPTIONS        =
      DESCRIPTION             =
      HELP_FIELD              =
       SEARCH_HELP              = 'MAT1'
      TAB_AND_FIELD           =
      TABLES
        RANGE                   = T_MAT_INCLU_EXCLU
    EXCEPTIONS
       NO_RANGE_TAB            = 1
       CANCELLED               = 2
       INTERNAL_ERROR          = 3
       INVALID_FIELDNAME       = 4
       OTHERS                  = 5.
    Any help in this regard is highly apprecited.
    Warm regards,
    Partha.

    Applogise for posting this thread under a wrong node - ERP HCM .
    Closing the thread from this node  .
    Regards
    Sarmistha
    Edited by: sarmistha das on Mar 9, 2012 9:52 AM

  • Multiple Select in same Query

    I'm building a report based on a single table in APEX. The report requires the following.
    select user, project, count(start date ), project, count(end date) where date between 01-jan-07 01-feb-07
    (simplified to show the idea)
    basicaly a count of projects that started between two dates and the ones that ended between the same two dates relating to the user.
    I have writen the selects to do both parts and they work BUT is it posible to glue them together in a single statement?
    I tried to searching the forum on "multiple selects" but never realy got anything close.
    Is it possible to do this type of select? If so does it have a special name (so I can try a search on that name)
    Thanks
    Bjorn

    First of all, '11-MAY-06' and '19-MAY-06' are not dates, they are strings. This has some important disadvantages:
    1) Oracle has to implicitly convert them to a date, when they are being compared to a date column
    2) Your application will be NLS (National Language Support) dependent, so they might break when you change a setting
    3) When compared to a varchar2 or other string column, the comparison will give incorrect results. For example: 12-MAY-06 will be between 06-JAN-06 and 18-JAN-06
    Bottom line: convert those dates to real dates using the to_date function, or the date 'yyyy-mm-dd' variant.
    Back to your question, apparently you don't want to count the number of occurences of CON_ACTUAL_START and CON_SIGN_OFF, but you only want to count them when this date is between the two boundary values. So use the following:
    select mli_clo
         , count(case when con_actual_start between date '2006-05-11' and date '2006-05-19' then 1 end)
         , count(case when con_sign_off between date '2006-05-11' and date '2006-05-19' then 1 end)
    ...Regards,
    Rob.

  • How to get multiple selections from jsp page in my servlet

    Hello Everyone,
    I've a list that allows users to make multiple selections.
    <select name=location multiple="multiple">
        <option>
             All
        </option>
        <option>
             Hyd
        </option>
        <option>
             Dub
        </option>
        <option>
             Mtv
        </option>
      </select>I want to get the selections made by user in jsp page from my servlet, selections can be multiple too.
    ArrayList locList = new ArrayList();
    locList = request.getParameter("location");when I do so, I get compilation error as the request returns string type. How do I then get multiple selections made by the user.
    Please let me know.

    For those kind of basic questions it would help a lot if you just gently consult the javadocs and tutorials.
    HttpServletRequest API: [http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpServletRequest.html]
    Java EE tutorial part II: [http://java.sun.com/javaee/5/docs/tutorial/doc/]
    Coreservlet tutorials: [http://courses.coreservlets.com/Course-Materials/]

  • Get all the values from a multiple select in a multipart form

    Hi there!
    I am using a form with enctype="multipart/form-data" in order to upload files from the form.
    I have read this page: http://commons.apache.org/fileupload/using.html and everything works well for my form.
    The only problem is that I can't get all the values from a "multiple select" html object. I get only one value.
    Using servlets I have used this method:
    public java.lang.String[] getParameterValues(java.lang.String name) But now I have enctype="multipart/form-data" in my form and I can't use this way...
    Is there a way to get all the values of a multi-valued parameter?
    Thanks a lot!
    Stefano

    Hi
    I have got solution for this problem so, I am listing here logic
    assume tag name of html
    <select name="moption" multiple="multiple">
    iterate it in as
    String moption="";
    boolean cnt=true;
    while(itr.hasNext())
    FileItem fi=(FileItem)itr.next();
    if(fi.isFormField())
    if(fi.getFieldName().equals("moption"))
    if(cnt==true)
    moption=fi.getString();
    cnt=false;
    else
    moption=moption+","+fi.getString();
    If wants more help then mail me your problem
    at [email protected]
    Thanks!
    Anand Shankar
    Edited by: AnandShankar on 6 Nov, 2009 12:54 PM

Maybe you are looking for

  • Can anyone help with 10g install problem?

    Hi there I have two problems: 1. When I try to install 10g on Windows 2003 Ent Server the installer fails with "installation failed" verify enough space, 45mb, in c:\..blah... I have 30gig free on c:\ yet the installer continues to fail. I have also

  • How to Upload photo which is existing in portal to R/3

    Hi All, Can someone tell me if i want to upload photo from Portal to R/3, how can we do? Already photo is uploaded in portal and now i want the same photo to be transfer/upload in R/3. Please advise me... Regards KN

  • Problem about InfoObject locked by conversion

    Hi Experts:    Now I am doing BW Upgrade Project and one task is to check all infoobjects consistency (RSUPGRCHECK). And one infoobject 0MATERIAL is inconsistent. 1. I have used RSD1 to repair it, but it failed 2. When I tried to activate manually, b

  • How would I...

    Achieve these two effects? The first ones are like stutters with pitch bend? How would I do that? And then second one, with the piece from Rihanna's Umbrella, there's a pitch bend and then the last song I assume has a pitch bend? How would I achieve

  • Having trouble with full frame image

    I want to make my image expand with the website and different screen sizes so it's always the full background. As you'll see on large screens it doesn't expand all the way and on the iPhone it doesn't as well. I've tried everything. I've stretched th