Multiple Select List does not Refresh with Dynamic Action

All,
Scenario:
Using APEX 4.2.2, I have a Select List page item (P4_SPONSOR) set to allow multiple values which has a dynamic LOV to populate the list.  What I would like to do is highlight the display values based on another page item's value (P4_DRIVER_ID).  When I set the source of P4_SPONSOR to static text, such as a delimited string of 1:2:3:4, any display values where the return values are equal to the static text are highlighted when the page loads.
Problem:
The problem lies in trying to use a query as a source for P4_SPONSOR which is filtered based on the other page item, P4_DRIVER_ID.  For instance, my SQL Query (returning colon separated values) returns the same as the static text noted above.  In the query's WHERE clause, I specify that the driver's ID is equal to P4_DRIVER_ID:
SELECT sponsor_id
FROM sponsors_drivers_xref
WHERE driver_id = :P4_DRIVER_ID;
This, as I understand it, would necessitate a refresh of P4_SPONSOR whenever the value of P4_DRIVER_ID changes.  So, I have a Dynamic Action that does just that.  When executed on the page, I can see the P4_SPONSOR multiple select list actually refresh, but none of the display values become highlighted.
Thoughts?
Thanks,
-Seth.

Seth,
A dynamic action refresh of your select list will refresh the list of values (this is what you are seeing), it will not refresh the value of the item itself.  In fact, it will remove any values that you had already selected.  To refresh the value you will need to add additional dynamic actions.
Create another dynamic action with:
Event: After Refresh
Selection Type: Item(s)
Item(s): P4_SPONSOR
If this was a normal select list you could just create a Set Value action and use your query to set the value of the select list.  Since this is a multiple select list your will need to get your colon delimited value first and then use some javascript to set the values of your select list.
Create an hidden page item name P4_SPONSOR_TEMP.
Add a true action to your new dynamic action:
Action: Set Value
Set Type: SQL Statement
SQL Statement:
SELECT sponsor_id
FROM sponsors_drivers_xref
WHERE driver_id = :P4_DRIVER_ID;
Page Items to Submit: P4_DRIVER_ID
Selection Type: Item(s)
Item(s): P4_SPONSOR_TEMP
Add another true action to your new dynamic action:
Action: Set Value
Set Type: JavaScript Expression
JavaScript Expression:
$("#P4_SPONSOR_TEMP").val().split(":")
Selection Type: Item(s)
Item(s): P4_SPONSOR
--Jeff

Similar Messages

  • Error  " Selected numbers does not agree with transferred"

    Hi,
    While in production support I got a issue saying
    Error  " Selected numbers does not agree with transferred"
    How to solve this.
    Regards
    San Reddy

    Hi,
    This doesnt mean that its a failure.
    I will suggest you to check a few places where you can see the status
    1) SM37 job log (In source system if load is from R/3 or in BW if its a datamart load) (give request name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
    Also see if there is any 'sysfail' for any datapacket in SM37.
    2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. (In source system if load is from R/3 or in BW if its a datamart load). See if its accessing/updating some tables or is not doing anything at all.
    3) RSMO see what is available in details tab. It may be in update rules.
    4) ST22 check if any short dump has occured.(In source system if load is from R/3 or in BW if its a datamart load)
    5) SM58 and BD87 for pending tRFCs.
    Once you identify you can rectify the error.
    If all the records are in PSA you can pull it from the PSA to target. Else you may have to pull it again from source infoprovider.
    If its running and if you are able to see it active in SM66 you can wait for some time to let it finish. You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
    If you feel its active and running you can verify by checking if the number of records has increased in the data tables.
    SM21 - Job log can also be helpful.
    In your case its probably because of tRFC issue.
    Check SM58 / BD87 for pending tRFCs.
    Thanks,
    JituK

  • BW:  Data Packages Selected number does not agree with transferred

    Hi,
    I am running into an issue with an existing master data text load process chain in Production.  The extractor is from ERP and there are only 159 records.  What is happening is the chain is stuck on yellow but there is an issue with the data packages.  The status error message is 'Missing data packages for PSA table'.  Clicking into the Details tab the message then states Data Package 1:  arrived in BW; Processing:  Selected number does not agree with transferred.
    The version is BI 7.0.  I have done the following steps and still no luck.  Looking for any suggestions.  Thanks.
    ERP
        SM37 (Job always finishes)
        SM58 (No IDOCS stuck)
        ST22 (No short dumps)
    BW
        SM58 (No IDOCS stuck)
        SM37 (Job always finishes)
        ST22 (No short dumps)
    Reactivated Datasource:  RSDS_DATASOURCE_ACTIVATE_ALL
    Reactivated Transformation:  RSDG_TRFN_ACTIVATE

    Hi
    Just check whether source system connection is ok in RSA1.
    if it is fine then have a loo at the below thread(last post)
    Data Load from R/3 to BW-'Selected number does not agree with transferred'
    Regards,
    Venkatesh

  • Ical To Do list does not sync with my iPhone4 and Notes too.

    1) I am surprised Why my iphone 4 does not sync ical to do list with my iphone 4's calendar.
    I want to write my to do list things on my iphone and macbook pro whichever is accessible at that point of time and later on they sync with each other.
    i was using a Nokia communicator and it used to sync with "ical" as if they were made for each other. i used to update the nokia or my macbook pro and they use to sync with each other PERFECTLY later on.
    I bought an iphone thinking it was an apple product and would sync "PERFECTLY" with my macbook pro.
    2) the notes i put up on my iphone also "DO NOT" show up on my macbook pro. So basically i have ended up buying a smartphone which is not so smart.
    what i want to do is write my notes on my macbook pro and my iphone whichever is accessible at that point of time and later on they sync with each other.

    ensure that your mail set up is checked for syncing note; your comment on the todo list is valid and i have been asking the same question for a while. ToDo also syncs on blackberry? I guess it shows that third party software is the kick that come corp's need to pick up their act.

  • Report does not refresh with SAP_BW_URL CMD='PROCESS_VARIABLES' ...

    Hello.
    We have web templates with custom button to change the selection criteria. Our HTML code has the following code:
    <input type=button name="refreshbutton"  value="Refresh"    onClick="RefreshView();">
    and
    function RefreshView(){
    url="<SAP_BW_URL CMD='PROCESS_VARIABLES' SUBCMD='VARIABLE_SCREEN'>";
    SAPBWOpenURL(url);
    When I execute the report for the first time with some selections, I get the correct result. Then I click on the button and get the selection screen where I change the values and click to execute the report with these new values. HOWEVER, the result is not updated, the table still holds the values from the first run BUT the values in the Selection Block show the newly entered values. Does anybody know what the problem might be?
    Thanks to all in advance.
    Irina

    Hi Irina,
    Instead of the "Process_Variables" command & "Variable_Screen" subcommand try just calling the same web template again with this:
    CMD=LDOC&TEMPLATE_ID=yourTemplate&VARIABLE_SCREEN=X

  • Multiple select list in Safari 8.1 is broken again

    Multiple select list is broken again in iOS 8.0.* and 8.1 Safari.
    Few temp solutions can be found here until apple fixes this issue again.
    Multiple Select box does not retain selected choice
    Multiple Select on Safari - iPhone iOS 7

    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Also see:
    Reinstall OS X Without Erasing the Drive
    OS X Yosemite- Reinstall OS X
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • 2 Select lists do not change the value

    Hi all,
    I am having a situation. I have 2 select lists . The second one is dependent of the first one. Data are retrieved perfectly.
    These select lists are done in page 0 and they are used in the referenced page. Apexlib is used in the page 0
    When I change the item of the second list, the returned value used in a report, is ok. It takes the correct one.
    If I change the item of the fist select list, the returned value of the second select list does not change(the displayed value are correct). the report is run (after changing the first select list) but the wrong returned value of the second list is taken.
    The correct value of the second one is taken only if page is submited or we change the option.
    it seems that it keeps the last value of the second list according to the previous selection.
    Both select list is without submit.
    How can I make a "refresh" of the returned values of the second select list (the records are ok) after changing the first one?
    Thanks in advance
    Raf

    Hi Rafael,
    is ApexLib integrated correct? Did you check against http://apexlib.oracleapex.info/howto_integrate_manual_steps.html ?
    Or did you try and install the ApexLib Feature Demonstration Application and see if it works there?
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • Data Package 1 : arrived in BW ; Processing : Selected number does not agre

    Hi experts,
    When loading data into PSA via UD Connect, getting the following error:
    Overall status: Errors occurred: or: missing messages   -
    (red light)
    Requests (messages): Everything OK  -
    (green light)
       Data request arranged -
    (green light)
       Confirmed with: 确定  -
    (green light)
    Extraction (messages): Errors occurred  -
    (red light)
       Data request received -
    (green light)
       Data selection scheduled -
    (green light)
       Error occurred in the data selection -
    (red light)
    Transfer (IDocs and TRFC): Missing messages or warnings -
    (yellow light)
      Data Package 1 : arrived in BW ; Processing : Selected number does not agree with transferred n -
    (yellow light)
    Processing (data packet): Everything OK -
    (green light)
      Data Package 1 ( 20000 Records ) : Everything OK -
    (green light)
    Please help me to resolve this problem, thanks in advance.
    Gavin

    Hi,
    You must have the following profiles to BWREMOTE or ALEREMOTE users.So add it. Bcoz either of these two users will use in background to get extract teh data from ECC, so add tehse profiels in BW.
    S_BI-WHM_RFC, S_BI-WHM_SPC, S_BI-WX_RFC
    And also check the following things.
    1.Connections from BW to ECC and ECC to BW in SM59
    2.Check Port,Partner Profiles,and Message Types in WE20 in ECC & BW.
    3.Check Dumps in ST22, and SM21.
    4.If Idocs are stuck i.e see the OLTP Idoc numbers in RSMO Screen in (BW) detials tab see in bottom, you can see OLTP Idoc number and take the Idoc numbers and then goto to ECC see the status in WE05 or WE02, if error then check the log else goto to BD87 in ECC and give the Idoc numbers and execute manually and see in RSMO and refresh.
    5.Check the LUWs struck in SM58,User Name = * (star) and run it and see Strucked LUWs and select our LUW and execute manually and see in RSMO in BW.
    See in SDN
    Re: Loading error in the production  system
    Thanks
    Reddy

  • Multiple-Selection List Box Values in Multiple Columns

    I am using InfoPath 2010 with SharePoint 2013. I have a form with a multiple-selection list box which has A LOT of choices. Instead of displaying all the choices in one column, is it possible to display the values of my list box in several
    columns? 

    Hi Andrea,
    I agree with Brij, one multiple-selection list box is associated with one list field, we cannot use the one multiple selection list box value for other multiple selection list boxes, we need to create multiple choices for each multiple-selection list box
    control in InfoPath form.
    Thanks
    Daniel Yang
    TechNet Community Support

  • InfoPath 2010 - Multiple Selection List Box - Rule Does Not Run When Unchecking Value

    I have a multiple selection list box on a form. I have a rule that sets the value of another field. There is not condition. Just any time item is checked or unchecked the value of the other field should
    change. This works when checking an item in the list box but not when unchecking the item in the list box. My question is - do rules not fire for a multiple selection list box when unchecking an item?

    Hi,
    I have tested in my lab environment, the rules seemed only fire for the latest checking action, and it did not fire when uncheck multiple-selection list box. Here is a workaround for your reference:
    http://www.infopathdev.com/forums/p/17850/62269.aspx
    However, I’d recommend you use check box instead, since it is much easier to set rule according to value of it. We can set it as true when we check the box, and set it as false when we uncheck it as below:
    Then it is simple and clear to make rule according to the value of check box.
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety,
    or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Filter report on multiple select lists dynamically

    Hello
    Can somebody tell me how to filter/refresh a interactive report based on multiple select lists?
    The select lists are created with apex_item.select_list_from_query, because I need to create them dynamically.

    do not post duplicate questions/posts when you already have {message:id=10453848}
    It doesn't make any sense

  • ApEx2: Many-to-many with checkboxes or multiple select list?

    Hello all together
    I have the following specification:
    * a table for tool users: tool_users(tu_id, tu_name)
    * a table for groups: groups(gr_id, gr_name)
    * a table for the many to many relationship of tool users and groups: tool_users_to_groups(tu2gr_id, tu2gr_tu_id, tu2gr_gr_id)
    I'd like to have some checkboxes or a multiple select list in my "add/edit group" form where I can select which users belong to this group. The same vice versa for users to specify which groups they belong to.
    edit user
    (general details)
    Has to the following groups:
    [X] Group 1
    [ ] Group 2
    [ ] Group 3
    [X] Group 4
    [ ] Group 5
    After submitting the checked values should be insert into the many-to-many relationship table.
    How can I do that?
    Thanks a lot for any help,
    Josh

    Thanks for your kind help.
    I'll have to learn PL/SQL if I want to go on with my work in ApEx in future, I see this too.
    But at the moment there are just a few problems I got and I should get a small application up and running as soon as possible, so I'd be really thankful for some newbie help.
    My problem is now:
    I have created the process for my form page with the following code:
    declare
    v_list varchar2(200);
    begin
    for r in (select tu2gr_gr_id id
    from tool_users_to_groups
    where tu2gr_tu_id = :P3_TU_ID)
    loop
    v_list := v_list ||r.id|| ':';
    end loop;
    :P3_GROUPS := v_list;
    end;
    Sadly the code does not seem to be executed. I have changed the name from :P3_GROUPS to :P3_GROUPS2 (which doesn't exist and I'd expect the application to crash when loading the page). I have set the process to a Before Header process. What could I have done wrong?

  • Multiple Select List not returning multiple values

    I have created a Multiple Select List, and the manual says that when multiple values are selected and the page is submmitted (I'm using a GO button), the multiple values are put into the ITEM field, separated with a colon . However, whenever I select multiple entries in my list, it only ever returns a value for the first item (like a single select list).
    Does anybody know what I may have missed ? I'm still fairly new to this stuff, so I'm hoping it's fairly simple!
    thanks.
    p.s I'm using a dynamic list of values.

    Andy / Scott,
    Sorry, please bear with me ... still new to this.
    I have a multi select list item in page 2, called P2_MULTI_LIST. When the page is submitted, I no longer physically pass it to page 3, but how would page 3 pick up the value ? Do I need to set up a P3_MULTI_LIST item in page3 and set that item to the P2_MULTI_LIST value, or do I reference P2_MULTI_LIST directly in my Page3 SQL query ?
    Also, if I then want to propogate the value in P2_MULTI_LIST down to another page from page3, via a link in a report, is this possible ?
    thanks
    Tim

  • I've a new account on iMac.  When composing an email the contact list does not show up on the bar.  WWhen I start keying in a name, it comes up with the address.  How do I engage the  contact list from the email?

    I've a new account on iMac.  When composing an email the contact list does not show up on the bar, which would allow me to select the persons I want to include on the distribution of the email.  When I start keying in a name in the email, it comes up with the person's address, which shows it is synced.  How do I engage the contact list from the email like I do on my old account (where a contact list icon shows up, along with the "attach" and other icons) ?

    With the New Message window open, go to the View menu and select "Customize Toolbar...".
    In the screen that opens, drag the item labelled "Address" into the Toolbar area of the New Message window, then click the "Done" button.
    That item should be then added to the Toolbar for the New Message window.
    Note that the main Mail window and the New Message window (as well as the separate message window if you open a message that way) use different toolbars - the settings/inclusions for one do not carry over to another.

  • SP2013: List does not exist / The page you selected contains a list that does not exist. It may have been deleted by another user

    There are dozens of entries regarding "
    List does not exist / The page you selected
    contains a list that does not exist. It may have been deleted by another user" and none of them are really SP 2013 so i thought I would create this entry. 
    I am getting the error above after creating a simple list with 4 columns.  the list is created during a new site definition activation but when I click on my list, I get the error above.  the list works if I deactivate the feature and re-activate
    it.  but has the error whenever the new site definition is created.  
    Has anybody encountered this issue on SP 2013?

    Hi,
    For your issue, there are plenty of possible reasons offered when we search this issue online.
    Here are similar issue posts, check whether they are helpful:
    http://sharepoint.stackexchange.com/questions/98239/list-does-not-exist-error-when-opening-the-views
    http://sharepoint2u.com/?p=56https://shareyourpoint.wordpress.com/2012/04/12/list-does-not-exist-the-page-you-selected-contains-a-list-that-does-not-exist-it-may-have-been-deleted-by-another-user-sharepoint-2010-error/
    http://spnovice.blogspot.com/2012/10/list-does-not-exist-or-does-it.html
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

Maybe you are looking for