URGENT : How to save multiple entries in a T list at one go

If I have a T list that contains the colours availiable at a paint shop (just an example), e.g. white, green, red. I want to save the multiple entries in the t-list at any moment to the database column at one go. how can i do it.
Also the table doesn't contain a column for the colour_code, but instead it has the shop_id and the colour_id corresponding to that shop_id. So i need to insert into the database the colour_id for a particular colour_code as the t-list is just a control item in the data block.
Please help.
Abhishek.

if you use multi-selection Tlist item or create your own Tlist looking form, then you may loop thru these multi-selections and add your logic into this loop.

Similar Messages

  • How to populate multiple entries to Bapi Table

    Hi all,
      How to populate multiple entries to Bapi Table.....
    Here is the code(in component controller)
      Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);
           int  size = wdContext.nodeApplicants().size();
                for(int i = 0 ; i < size ; i++)
                    String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");
                     if(isselected == "true")
                               com.models.veteranpoint.Zrecr_Aplno appid = new
                                    com.models.veteranpoint.Zrecr_Aplno();                                        
                                    appid.setAppl_Number(wdContext.nodeApplicants().
                                        getApplicantsElementAt(i).getAppl_Number());
                               request.addApplicants(appid);
    I want to pass the selected input field to bapi..
    Please tel me where i pass the input field...
    Please correct my code...
    Thanks & regards
    Mathi s

    Hi,
    Steps to insert multiple entries to BAPI table.
    1.Create an instance for BAPI input
    2.Bind the instance to the Node of the BAPI input
    3.Create instance of the Structure(BAPI table) to which input has to be added.
    4.Set the input values to the Structure instance.
    5.Add the instance to the BAPI input.
    6.Execute
    From the given example,I assume Z_Recr_Apply_Point_Input  is the BAPI Input and com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno as Structure
    Step 1:
    Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);
    Step 2:
    <b>wdContext.nodeZ_Recr_Apply_Point_Input.bind(request);</b>
    Steps 3 & 4:
    int size = wdContext.nodeApplicants().size();
    for(int i = 0 ; i < size ; i++)
    String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");
    if(isselected == "true")
    com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno appid = new
    com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno();
    appid.setAppl_Number(wdContext.nodeApplicants().
    getApplicantsElementAt(i).getAppl_Number());
    <b>wdContext.currentZ_Recr_Apply_Point_InputElement().modelObject().addRecr_Aplno(appid);</b>
    Step 5:
    <b>wdContext.currentZ_Recr_Apply_Point_InputElement().modelObject().execute();</b>
    Regards,
    Viji Priya

  • How to Add multiple entry to the group policy security filtering

    How to Add multiple entry to the group policy security filtering
    Is there any way we can add multiple entry to the Domain group policy Security filtering tab.Currently its not allowing to add more then one entry at a time.
    Getting Error like "only one name can be entered,and the name cannot contain a semicolon.Enter a valid name"

    Hi
    Are you trying to add more users or groups through Group Policy Management Security Filtering tab?
    Try right clicking on the policy and then edit
    Then in Editor Right click on the name of the policy and Properties
    Security tab and add user or group from this tab. Just make sure if you are adding user or groups "Select this object type" has
    the correct option also "From this Location" is set to your entire directory not the local server.
    Update us with the above.
    Thanks

  • Does anyone know how to save multiple webpages in safari using automator?

    Does anyone know how to save multiple webpages in safari using automator?

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How to Save Multiple Records In Data Block

    Hi All,
    I Have Two Blocks --> Control Block,Database Block
    Please Any Idea How to Save Multiple Records In Data Block when User changed Data in Control Block.
    Thanks For Your Help
    Sa

    Now i have to use each record of control block(ctl_blk) as where condition in data base block(dat_blk)and display 10 records from database table.>
    Do you want this coordination to be automatic/synchronized or only when the user clicks a button or something else to signal the coordination? Your answer here will dicate which trigger to put your code in.
    As to the coordination part, as the user selects a record in the Control Block (CB), you will need to take the Key information and modify the Data Block's (DB) "DEFAULT_WHER E" block property. The logical place to put this code is the CB When-New-Record-Instance (WNRI) trigger. You code will look something like the following:
    /* Sample WNRI trigger */
    /* This sample assumes you do not have a default value in the BLOCK WHER E property */
    DECLARE
       v_tmp_dw    VARCHAR2(250);
    BEGIN
       v_tmp_dw := ' DB_Key_Column1 = '||:CONTROL.Key_Column1||' AND DB_Key_Column2 = '||:CONTROL.Key_Column_2;
       Set_Block_Property('DATA_BLOCK', DEFAULT_WHER E, v_tmp_df);
       /* If you want auto coordination to occur, do the following */
       Go_Block('DATA_BLOCK');
       Execute_Query;
       /* Now, return to the Control Block */
       Go_Block('CONTROL_BLOCK');
    END;
    The Control block items are assigned with values in Form level (Key_exeqry).If your CD is populated from a single table, it would be better to create a Master - Detail relationship (as Abdetu) describes.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to save multiple attachments in Lion Mail?

    In Snow Leopard Mail, I can save multiple attachments to my Downloads folder with one click. In Lion Mail, I see no way to save attachments except by right-clicking on them one at a time. I must be missing something. Information appreciated.

    I believe you are missing something. I'm not on my Mac right now but there should be a setting where to save attachments and also muiltiples at one time.

  • How to submit a multiple-selection list box in an Infopath Sharepoint form as multiple entries on a Sharepoint list?

    I would like to be able to submit an Infopath form with a multiple selection list box in Sharepoint as multiple entries on a Sharepoint list.
    For example, a user has to complete the following fields:
    First Name:
    Last Name:
    Favorite Color (can select more than one):
    [] Blue
    [] Red
    [] Yellow
    [] Green
    If the user picks blue AND red and submits the form, the Sharepoint list would feature TWO entries, both with their first and last names, but with different colors in the "Favorite Color" column.
    Please let me know if there is a way to do this. Any guidance would be helpful!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to select multiple addresses from the contacts list to send an email?

    How do I select multiple addresses from the contacts list at one time to send an email. Each time I select one, the address book closes and I have to touch the "+" key to open it back to select another address. Is there a way to select all of them at one time instead of making a group? Thanks.

    Yes, once you select a person from your Contacts app, you either need to select more from the '+' button or you can tap in the 'to:' field and type in the first few letters of a contact and select from the list. Kinda bummer but gotta make do.

  • How to handle multiple selection in the Spark List control with checkbox as itemrenderer?

    Hi All,
    I am using checkbox as an ItemRenderer in spark list.
    I have a query.
    how to handle multiple selection in the Spark List control with checkbox as itemrenderer?
    how to retrieve the selected item label?
    Thank you in advance.

    Hi there, I'll tweak your code a little bit to something like this:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="vertical">
        <mx:Script>
            <![CDATA[
                 import mx.events.ListEvent;
                 import mx.controls.CheckBox;
               [Bindable]
               private var mySelectedIndexes:ArrayCollection=new ArrayCollection();
                private function onChange(e:ListEvent):void
                   if(CheckBox(e.itemRenderer).selected){
                             mySelectedIndexes.addItem(e.rowIndex);
                   }else{
                                  mySelectedIndexes.removeItemAt(mySelectedIndexes.getItemIndex(e.rowIndex));     
                   chkList.selectedIndices=mySelectedIndexes.toArray();
            ]]>
        </mx:Script>
    <mx:ArrayCollection id="collection">
            <mx:Object label="Test A"/>
            <mx:Object label="Test B"/>
            <mx:Object label="Test C"/>
            <mx:Object label="Test D"/>
            <mx:Object label="Test E"/>
            <mx:Object label="Test F"/>
            <mx:Object label="Test G"/>
        </mx:ArrayCollection>
    <mx:List id="chkList" dataProvider="{collection}" itemRenderer="mx.controls.CheckBox"  itemClick="onChange(event);" allowMultipleSelection="true"/>
    </mx:Application>

  • HT1451 how to eliminate multiple album covers and consolidate back to one album

    how to eliminate multiple album covers and consolidate back to one album cover

    Duplicate the tracks, then edit the properties of the duplicates. Or make a playlist, but then you don't get to add different artwork. You cannot make one physical audio file part of two different albums.
    tt2

  • How to save multiple new entries in one shot?

    Hi,
    I am working on a pretty complex Create form. So apart from the standard form fields to allow user to enter the data, one of the sections in this form is a table which allows user to create multiple entries for this entity. And when hitting the "Save" button in this form, it will save all the data plus the multiple entries defined in this table.
    Is it possible to create multiple new entries in a table, and then save all of the new entries at the end? My experience so far is only create and save one new entry at a time.
    Any sample?
    Please advise.
    Thanks.
    -Mina

    Yes, I am using ADF BC.
    Let me explain more in details of the scenario:
    I have a table with "Create New" and "Save" button. The "Create New" button's ActionListener is set to "#{bindings.CreateInsert.execute}", and the "Save" button's ActionListener is set to "#{bindings.Commit.execute}".
    When the "Create New" button is hit, a new row shows up in the table to allow entering data inline. When the "Save" button is hit, it got committed. I would like to allow user to create multiple rows before committing. But currently, after I hit "Create New" button, then enter data, then hit "Create New" button again without committing, it gives error.
    Since this table is part of a form with other fields, I would like to save/commit it until everything in the form are completed, including creating multiple rows in the table.
    Any ideas how to achieve this?
    Any comments are appreciated.
    Thanks.
    -Mina

  • How to pass Multiple entries of select-options to FM

    Hi friends,
            i need to pass values date_from and date_to of FM BAPI_AR_ACC_GETSTATEMENT in my report. i have select-option in the selection screen for the posting date i.e, s_pstgdate-low = date_from and  s_pstgdate-high = date_to.
        My question is how to pass values if the user enters multiple entries in s_pstgdate (selection-screen).
        Hope i'm clear with my question.
        Thanks in anticipation.
    Regards
    Poorna

    Hi,
    This is not possible.
    You may wish to call it multiple times with each row of your select-option, and consolidate the returned records.
    Better is to restrict the select-option with no-extension.
    cheers,

  • How to save routing entries permanently after route add

    Hi guys,
    I have added routing entries through route add command. I know i can add routing entries permanently thru -p option in route add command but didin't use that option. How to save those routing entries now?
    Thanks...

    The filename you are looking for is /etc/inet/static_routes which is available only on Solaris 10 update 3 or later:
    root_sol10u3# route -p add -net 192.168.138.0/24 192.168.136.1
    root_sol10u3# cat /etc/inet/static_routes
    # File generated by route(1M) - do not edit.
    -net 192.168.128.0/22 192.168.136.1
    -net 192.168.138.0/24 192.168.136.1
    -net 172.31.68.0/24 192.168.149.253
    -net 172.31.69.0/24 192.168.149.253
    root_sol10u3#For Solaris 10 update 2 or earlier, persistent static routes are not implemented. Additionally, the old RC script method suggested above also will not work for Solaris 10 given the host isn't always guaranteed to reach the "multiuser" milestone and subsequently run the legacy /etc/rc*/S* scripts (say if a filesystem fails to mount). For those releases, you should create a new manifest file as follows:
    root_sol10u2# cat /var/svc/manifest/network/RKstatic-routes.xml
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    <!--
            Static Route SMF Manefest
            To be replaced by official Sun mechanism in next solaris release
    -->
    <service_bundle type='manifest' name='RKstatic-routes'>
    <service
      name='network/RKstatic-routes'
      type='service'
      version='1'>
        <create_default_instance enabled='true' />
        <single_instance/>
        <dependency name='network'
            grouping='require_any'
            restart_on='error'
            type='service'>
                <service_fmri value='svc:/network/service' />
        </dependency>
      <exec_method
        type='method'
        name='start'
        exec='/lib/svc/method/RKstatic-routes start'
        timeout_seconds='60' />
      <exec_method
        type='method'
        name='stop'
        exec='/lib/svc/method/RKstatic-routes stop'
        timeout_seconds='60' />
      <property_group name='startd' type='framework'>
        <propval name='duration' type='astring' value='transient' />
      </property_group>
      <stability value='Unstable' />
    </service>
    </service_bundle>
    root_sol10u2#Then create the method script:
    root_sol10u2# cat /lib/svc/method/RKstatic-routes
    #!/bin/sh
    # RKstatic-routes
    # To be called by the network/RKstatic-route SMF service
    ACTION=${ACTION:-add}
    setup_routes () {
    #Route to networks.
    /usr/sbin/route $ACTION net 172.1.0.0 -netmask 255.255.0.0 10.1.0.0
    /usr/sbin/route $ACTION net 172.2.0.0 -netmask 255.255.0.0 10.2.0.0
    case "$1" in
        start)
            echo "${ACTION}ing static routes"
            setup_routes
        stop)
            ACTION=delete
            echo "${ACTION}ing static routes"
            setup_routes
            echo "Usage: $0 {start|stop}"
            exit 1
    esac
    root_sol10u2#Then, import and enable/start the service:
    root_sol10u2# svccfg -v import /var/svc/manifest/network/RKstatic-routes.xml
    root_sol10u2# svcadm enable network/RKstatic-routes
    root_sol10u2# To stop:
    root_sol10u2# svcadm disable network/RKstatic-routes
    root_sol10u2# For posterity, here is a pre-Solaris 10 version:
    root_sol9# cat /etc/init.d/staticRoutes.sh
    #!/bin/sh
    case "$1" in
            start)
                    test -f /etc/routes.conf || exit 0
                    while read type route gateway
                    do
                            /usr/sbin/route add $type $route $gateway
                    done < /etc/routes.conf
            stop)
                    test -f /etc/routes.conf || exit 0
                    while read type route gateway
                    do
                            /usr/sbin/route delete $type $route $gateway
                    done < /etc/routes.conf
                    echo "Usage: /etc/init.d/routes { start | stop }"
    esac
    root_sol9# cat /etc/routes.conf
    172.1.2.0/24 172.1.2.4
    172.1.3.0/24 172.1.3.4
    root_sol9# ln -s /etc/rc2.d/S70staticRoutes /etc/init.d/staticRoutes.sh
    root_sol9#Best Regards,
    Bryan Wood

  • How to find multiple entries in the Directory

    Hi,
    my directory contains lot of multiple entires and I want to find out is there a easier method by a script or command to find out all the mutiple entries in the directory.
    Thanks!!
    Message was edited by:
    Sun_One@TCS
    Message was edited by:
    Sun_One@TCS

    Are you talking about entries that have been renamed because of a Replication Naming conflict (like the entry was added on 2 masters at the same time) ?
    If so, please check the Administration Guide, Replication section.
    <http://docs.sun.com/app/docs/doc/819-0995/6n3cq3av8?a=view#gdquf>
    If you were talking about something else, please be more explicit. Directory Server does not allow you to create multiple entries with the same name. DNs are unique.
    Regards,
    Ludovic

  • How to save multiple vendors at row level.

    hi.
    I need a small information.
    One of my client is having one requirement.
    ie.in purchase Requst each item at item details they want to add vendor details nothing but vendor code
    all ready default one vendor column  is there at row level , but each itme may haing 1.......10
    if it is 1 i requirement is over all ready b1 has given but i want to save more than one
    i dont want to use any customization is there any way to add multiple vendors at row level..
    Any information plz udpate me..
    i dont want to run any customizaion...

    Hi,
    Please explain your requirement with an example. Why do want save multiple vendor code at row level?
    In SAP, we have an option to create purchase quotation for multiple vendors at time. For this, you have to add preferred vendor in item mater data.
    Not sure, same way you can apply for this to purchase request.
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • Error Reading from a File

    Right now i am coding a game and i need to read from a text file to load the map. The only problem is that i cant do this in internet exploerer because i get an error saying that access is denied. I've been researchign the problem nonstop and the onl

  • Premiere Pro CC 64bit not utilizing GPU

    Hello all, first time poster here.  I recently built a new budget PC with photo/video editing in mind.    I'm running an AMD FX8350 with a ASUS GTX780-DC20C-3GD5 video card.   Windows 8.1 pro 64bit.   16GB HyperX Fury DDR3 1866mhz Memory.    Premiere

  • Ipod not "identified" by iTunes.

    My itunes message reads "I recognize the IPod but cannot identify it" What do I do? I can't restore to factory settings because my Ipod isn't recognized by iTunes. The Ipod still plays music, but I can't download anything more.

  • My iphone  4S is not  completing IOS 7 update. Its been 4 hours.

    What do I do if my iphone 4 S is still not completed the IOS 7 update after 4.5 hours?

  • No sound is coming from speakers

    there is sound when I plug in headphones. this problem started after I updated to ios 6.1.6. I tried cleaning the headphone jack and reseting the phone.