Updating table from right side of shuttle

I have a situation where I have a many to many relationship with 2 tables and an intermediate table. I am trying to create a shuttle item to be able to bring the two tables together. I have been reading the posts regarding populating the right side of the shuttle. That works now, but I have no idea how to take that and update the intermediate table with the values from the right side of the shuttle.
I tried using APEX_APPLICATION.G_F02, but that only seems to work, if the values in the right side are highlighted.
I can't seem to figure out what the name of the right hand of the shuttle is.
Any help would be very welcome.
Thanks, Greg

Greg,
Are you processing on submit? If so then the values would be avaialble by simply referencing the item. Each return value would be separated by a colon as in:
1:2:3
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur
You can reward this reply by marking it as either Helpful or Correct ;-)

Similar Messages

  • How to populate right side of Shuttle with display/return values?

    Hello,
    I know, that the proper way to populate the right side of shuttle is that:
    declare
         v_list     apex_application_global.vc_arr2;
    begin
         select profile_name return_value
           bulk     collect
           into     v_list
           from     user_profiles
          where     user_id = :p61_user_id;
         return (apex_util.table_to_string (v_list));
    end;It is comfortable for the user to see the name of the profile.
    However, I need a profile_id as a return value, like I have it on the left side of the shuttle.
    The left side of the shuttle is populated with a select list with display/return values, as you know.
    I need both sides of the shuttle to return profile_id in order to create a merge.
    How is it possible to populate the right side of the Shuttle with display/return values?

    All you have to do is to use the subset of shuttle query to assign value to the right side shuttle.
    http://apex.oracle.com/pls/apex/f?p=50942:95
    I have created a dummy page with shuttle query
    SELECT ename, empno FROM emp ORDER by 1then I have defined a pl-sql before header process to assign values to shuttle variable
    using the code
    begin
    :P95_SHUTTLE := '7566:219:7900:7782:90';
    end;since 90 is not one the result set of the shuttle query it is getting displayed as number, and for others it is displaying the text. Thanks.
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to View Tables from java side from NWDS/NWDI?

    HI All,
    I want to view the following tables from java side
    CRM_ISA_ADDRESS
    CRM_ISA_BASKETS
    CRM_ISA_BUSPARTNER
    CRM_ISA_EXTCONFIG
    CRM_ISA_EXTDATHEAD
    CRM_ISA_EXTDATITEM
    CRM_ISA_ITEMS
    CRM_ISA_OBJECTID
    CRM_ISA_SHIPTOS
    CRM_ISA_TEXTS
    How can I view them using NWDS/NWDI?
    Which DC has this tables?
    Could you please help me with the procedure to view them?
    Thanks and Regards,
    Gauri

    Hi All,
    crm/isa/isacoreddic and crm/isa/shopddic in SAP-CRMDIC are having these tables.
    Thanks and Regards,
    Gauri

  • Hi from few days onwards i found one abnormality in my iphone4s .That is if i observe my phone settings screen from right side of the device top navigation appearing rightside height is more than the left side. In reverse manner from the left side.

    Hi from few days onwards i found one abnormality in my iphone4s .That is if i observe my phone settings screen from right side of the device top navigation bar appearing rightside height is more than the left side. In reverse manner from the left side. I dnt know whether it is default feature of iphone or not but i am really disappointed due to this. So please anyone help me in this issue and let me clear my doubt and make me happy. Thanks in advance.

    I believe what you are seeing is an optical illusion when viewing the screen from the side. Try to align one of the one of the options in Settings, like General, with the navigation bar you'll see it does the same thing.
    Hope that helps

  • Move dynpro field text from right side on yhe left.

    Hi experts. I have a DDic field (char1 as chebox) on screen. I need to move the DDic text for this field from right side to the left side of the checkbox. How can I do it? Is it neccesary to split this one object into two? To create a new text field and handle it in program?
    Thanks for your answer.

    hi Mark,
    in the Graphical Screen Painter you have to right click on the field and you'll have some helpful options...
    ec

  • Updating table from stored procedure in TimesTen

    Hi experts,
    I am unable to update table from procedure; here is what I did -
    Created and populated table -
    Command> create table test_table(key integer,value integer);
    Command> insert into test_table values(1,10);
    1 row inserted.
    Command> insert into test_table values(2,20);
    1 row inserted.
    Command> insert into test_table values(3,30);
    1 row inserted.
    Command> select * from test_table
    > ;
    < 1, 10 >
    < 2, 20 >
    < 3, 30 >
    created procedure -
    Command> create or replace procedure testtable_update(key integer,value integer) as
    > begin
    > update test_table set test_table.value = value where test_table.key = key;
    > end;
    > /
    Procedure created.
    Executed procedure -
    Command> begin
    > testtable_update(3,60);
    > end;
    > /
    PL/SQL procedure successfully completed.
    Command> select * from test_table
    > ;
    < 1, 10 >
    < 2, 20 >
    < 3, 30 >
    I am not seeing update, in underlying table. What could be the reason for this?
    If I do following it works -
    Command> update test_table set test_table.value = 60 where test_table.key = 3;
    1 row updated.
    Command> select * from test_table;
    < 1, 10 >
    < 2, 20 >
    < 3, 60 >
    3 rows found.
    Am I missing something?
    Any pointers or help will be greatly appreciated.
    Thanks

    The problem is that the parameter names in your procedure are the same as the column names, hence the columns are being updated with the same values. You have two options:
    1. Change the names of the parameters by adding a prefix. For example:
    create or replace procedure testtable_update( p_ key integer,*p_* value integer)
    begin
    update test_table set test_table.value = p_ value where test_table.key = p_ key;
    end;
    2. Qualiflying the parameters with the procedure name.
    create or replace procedure testtable_update(key integer,value integer)
    begin
    update test_table set test_table.value = testtable_update. value where test_table.key = testtable_update. key;
    end;
    Simon

  • Update table from SM30 with automatic Time Stamp

    Hi,
    I have created a table maintenance generator for updating table from SM30.
    Now there are fields in my table which are CRETING TIME and CHANGING TIME. Both being TIMESTAMP field (datatype: RSDDTZNTSTMPS).
    Is it possible while user updates records/create new record in the table from SM30, these time stamp field to automatically get populated.
    Also is there any F4 help available for TIMESTAMP field?
    ags.

    Hi,
    You need to do two things inorder to get the desired results.
    1) Go to Screen Layout of the Screen created by table maintenance generator and make the date/time columns to DISPLAY ONLY. This will ensure that user is not able to modify the values at runtime
    2) Write the code in PAI of the Module pool program to populate the values at runtime using Sy-datum/sy-uzeit. (Hint : Search for INSERT/MODIFY statements which will show the location before which you need to write your logic)
    Regards,
    Kshitija

  • Unable to change Axis y location from right side to left

    Hi All,
    I am working with OBIEE 11.1.1.1.7.
    I am tring to change the location of AXIS Y (in chart) from right side to left.
    please help :-)

    Hi Tyson,
    I did exactly what you have mentioned and it worked fine.
    But when I am putting the same thing in my custom.css file as mentioned below, IT's NOT WORKING.
    uploaded custom.css at
    Application XXX>Shared Components>Cascading Style Sheets
    custom.css
    .TabHolder,.TabHolderC {text-align:left;}calling custom.css in the Page Template (one level tab)
    <head>
    <title>#TITLE#</title>
    <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_16/theme_3_1.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_16/ie.css" type="text/css" /><![endif]-->
    <!-- added custom css file -->
    <link rel="stylesheet" href="#WORKSPACE_IMAGES#custom.css" type="text/css"/>
    #HEAD#
    </head>Any idea why it is not picking up???...
    Thanks,
    Deepak

  • Two noise from right side when open the mbp

    Every time when I open the laptop, there are two sound like zi zi from right side of it, before the opening music, it sounds like reading the disc, is there something wrong with the computer?

    No.  The OS, when the MBP is started does a diagnostics check, testing the optical drive as a part of same.  That is the sound and it is normal.
    Ciao.

  • Remove zeros from right side

    Hi all,
    I want to remove zeros from right side.
    like : if value is '0.055500000000E+04'.
    then the output should be '0.0555'.
    How can i get such output.
    Plz help me....

    Hi,
    the problem here is u are dealing with a datatype of format F (i.e floating point ) and the output u desire is in packed format .
    You cannot delete the zeros of such data typesas type F instead u can move them to the packed datatype and get the result.
    do one thing declare a variable of type p and move the value of type f which u have right now to the variable u have declared as type p.
    data : v_val type p decimals 4.
    v_val  =  "               <------ assign the type f to type p over here .
    hope this helps .
    regards,
    vijay.

  • How to populate/persist right-side of Shuttle in apex 3.1.2 after submit

    In the new Shuttle I can only specify one LOV (select empname, empid from emp where empid not in (1,3,4)) but I also want to populate the right-side of the shuttle to show values which the non-members (select empname, empid from emp where empid in (2,5)) so that the user can make selections which persist after submit.

    Rashid,
    The method that worked for me was to:
    1) Create the LOV to populate the Left side of the shuttle (unselected).
    2) Define the Source property to populate the Right side (selected). In my case, I used a PL/SQL Function Body type, but any would work.
    I set the Source Used to Always, so that my user always started with the same default selection, but if you set it to "Only set when session value is null", that should do what you're asking for.
    Good luck (and thanks for the points by marking my answer helpful or correct),
    Stew

  • How do you populate right side of Shuttle control

    Hi,
    I am trying to use shuttle control. I am not sure how to populate the right side of the shuttle control from database. I am using the following code. But, it is not populating the right side. In this code, P35_COUNTRIES is my shuttle. P35_X is a text field just to test the output. I can see an output 5:8:9 in the text field. But, my shuttle right side is empty. Am I doing something wrong here ? I would really appreciate any suggestions.
    DECLARE
    vCountries VARCHAR2(100);
    vSEP VARCHAR2(1);
    BEGIN
    :P35_X := 'Inside test';
    vCountries := '';
    FOR C IN (SELECT country_id FROM countries WHERE territory_id = 1)
    LOOP
    vCountries := vCountries || vSEP || c.country_id;
    :P35_X := vCountries;
    vSEP := ':';
    END LOOP;
    :P35_COUNTRIES := vCountries;
    :P35_X := vCountries;
    END;
    Thanks

    Hi,
    Yes, it is getting populated: [http://apex.oracle.com/pls/otn/f?p=30879:5]
    My Source settings for the shuttle ("P5_SHUTTLE") are:
    Source Used: Only...
    Source Type: Static Assignment...
    Source Value: (Blank)
    Post Calc Computation: (Blank)
    Default Value: (Blank)
    List of Values Definition: SELECT DNAME d, DEPTNO r FROM DEPT ORDER BY 1
    Settings for my Computation for this item:
    Item Name: P5_SHUTTLE
    Type: PL/SQL Function Body
    Computation Point: Before Header
    Computation:
    DECLARE
    vDEPT APEX_APPLICATION_GLOBAL.VC_ARR2;
    i NUMBER := 1;
    BEGIN
    FOR c IN (SELECT DISTINCT DEPTNO FROM EMP WHERE ENAME LIKE 'A%')
    LOOP
      vDEPT(i) := c.DEPTNO;
      i := i + 1;
    END LOOP;
    RETURN APEX_UTIL.TABLE_TO_STRING(vDEPT);
    END;This computation is unconditional, so runs everytime the page is loaded.
    Andy

  • Subtle knocking sound coming from right side of MacBook

    Since a few weeks my MacBook makes a very subtle but hearable knocking noise coming in irregular intervals from the right side (I put my ear on the MacBopk and waited). Coincidentally I did two things around the time the noise started: I bought a new hard drive (Western Digital Scorpio, 2.5", 8MB Cache, 250GB) and installed Leopard. Since the sound definitely comes from the right side it can't be hard drive related. According to Disk Utility the hard drive seems to be okay too.
    Since the only component with moving parts is the optical drive I suspect that this might be the source of the noise. The problem is, that it's not reproducable and only occours irregularly. Plus every disk I insert plays fine (there was one incident with a DVD of "Lost" which went to pause every minute or so without pressing any button though).
    Any suggestions? Thanks!

    Thanks for your answer, impulse_telecom. Unfortunately I really can't tell these operations apart (especially since this noise comes and goes without any special action ...) so I don't really know what the drive is doing when it's making the noise. The (relatively) good news is that it's been making this noise for about a month now and I haven't noticed any data loss or read/write errors. But it could also be that since my hard drive is 250GB it might take a while for these errors to pop up. Since Leopard my boot caches had to be updated twice (never saw that under Tiger) when rebooting and I don't really know if that's a good thing and/or related to this.
    I'll try and record the noise today and post it.
    (I wanted to mark your comment as helpful too but there seems to be a limit per thread/day ... sorry).

  • Insert and update tables from SQL server to oracle database tables

    Hi,
    I am having problem while update data from sql server to oracle database tables.
    I am doing one way insert +updates that is from SQL Server tables ==> Oracle database tables
    I am using tools Sql server Integration service. I can insert data from sql server to oracle but update can't. Please help me how can I update + insert from sql server to oracle database tables easily.
    Thanks in advance.

    Hi,
    What about using Oracle SQL Developer for migration
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
    HTH

  • Need a Query to update table from another table.

    I have two tables Table A and Table B , till now in table “A”. I have a column which consist of IDs and duplicate IDs( which are basically formed by Original Ids) , I have another table i.e. table “B” , which gives a mapping between original ids and duplicate Ids
    TABLE A:
    ID/DUPLICATEID      NAME
    1     Rahul
    1_CAD     Pawan
    2     Nikhil
    3     TOM
    3_CAD     Ravi
    3_MQ     Puneet
    TABLE B:
    ORIGINALID     DUPLICATEID
    1     1_CAD
    3     3_CAD
    3     3_MQ
    Now I want to have another column in Table “A” , which will give me the mapping between the original Id and duplicate Id as shown in updated table “A”.
    UPDATED TABLE A:
    ID/DUPLICATEID     NAME     ORIGINAL_ID
    1     Rahul     
    1_CAD     Pawan     
    2     Nikhil     
    3     TOM     
    3_CAD      Ravi     
    3_MQ     Puneet     
    Now I want to write a Query in which I can update this column (ORIGINAL_ID) of Table “A”, from the table B(basically want to update mulitple rows using single query), because table B already has this mapping. Can any one help me in this. I am basically a Java guy , so I don’t know much about it. I hope to get a positive response from you people, Thanks in advance!

    Here you go...
    <pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%">
    <code>
    SQL&gt; CREATE TABLE A (ID VARCHAR2(10), NAME VARCHAR2(10), NEW_ID VARCHAR2(10));
    Table created.
    SQL&gt; INSERT INTO A VALUES ('1', 'Rahul', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('1_CAD', 'Pawan', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('2', 'Nikhil', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('3', 'TOM', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('3_CAD', 'Ravi', '');
    1 row created.
    SQL&gt; INSERT INTO A VALUES ('3_MQ', 'Puneet', '');
    1 row created.
    SQL&gt; CREATE TABLE B (ID VARCHAR2(10), NAME VARCHAR2(10));
    Table created.
    SQL&gt; INSERT INTO B VALUES ('1', '1_CAD');
    1 row created.
    SQL&gt; INSERT INTO B VALUES ('3', '3_CAD');
    1 row created.
    SQL&gt; INSERT INTO B VALUES ('3', '3_MQ');
    1 row created.
    SQL&gt; COMMIT;
    Commit complete.
    SQL&gt; UPDATE A
    2 SET NEW_ID = NVL((SELECT B.ID FROM B WHERE A.ID = B.NAME),A.ID)
    3 /
    6 rows updated.
    SQL&gt; COMMIT;
    Commit complete.
    SQL&gt; SELECT * FROM A;
    ID NAME NEW_ID
    1 Rahul 1
    1_CAD Pawan 1
    2 Nikhil 2
    3 TOM 3
    3_CAD Ravi 3
    3_MQ Puneet 3
    6 rows selected.
    </code></pre>
    Note: While asking question do give us DML/DDL script. It will make peoples life better.
    Karthick.
    http://www.karthickarp.blogspot.com/

Maybe you are looking for

  • Output types are different in VF02 than in VF03 (A particular output type Z*** does not appear in VF03)

    Hi Experts, When I check the billing document (Go to>Header>Output) there are 3 output types. After executing VF02, an output type is added (EDI). Why does this particular output type (Z***) not appear in VF03? - What are the related configurations f

  • Can't import an Image into flash

    When I tyr to import an Image onto Adobe Flash CS5, the image is balnk with grey outlines. Same thing happens when I try and copy and paste a image onto flash.

  • New IPhone Update

    I connectd to Wifi to download the new update and when I hit the update button the phone asked me to connect to Itunes. I connected to Itunes but the computer won't even read my phone. I have hard reset and everything and cannot figure out how to fix

  • Using precompiled JSPs on Sun ONE 6.1 SP5

    I"m using precompiled JSPs on Sun ONE 6.1 SP5. I have created a virtual server which has one web application deployed as the default web application located at <server-instance>/webapps/myapp. So in the server.xml it appears as : <webapp uri="/" path

  • How do I export my images from iPhoto 9.4, to an external drive?

    How do I export my images from iPhoto 9.4, to an external drive? mainly to back them up without using time machine. Thanks