Report query with multiple selects

On some of my Report Queries (that have multiple selects) it sometimes changes the rowset when I edit the specific SQL.
For example, I have 2 selects in my Report Query andnd when I download the XML my first select’s data goes into <ROWSET1> and my second select’s data goes into <ROWSET2>. I then make my template and everything is good.
But, sometimes when I edit the SQL in the report it changes the ROWSET number of the data so now my first select’s data in ROWSET2. This blows up the report. Is this a bug? Why is it switching the rowsets back and forth?

I'm referring to the Report queries under shared components.
My first query is like this:
select A.emp_id
from tab1 AC4, tab2 AC3, tab3 AC2, tab4 AC1, tab5 A
where A.year = :page_year
and C.FK_SCHOOL IN (SELECT c001
FROM apex_collections AC1
WHERE AC1.collection_name = 'SIS_REPORTS_SCHOOLS')
and nvl(C.ACTIVE,'NONE') IN (SELECT decode(c001,'NONE',nvl(C.ACTIVE,'NONE'),C001)
FROM apex_collections AC2
WHERE AC2.collection_name = 'SIS_REPORTS_ACTIVES')
and nvl(C5.CALENDAR_NO,'NONE') IN (SELECT decode(c001,'NONE',nvl(C5.CALENDAR_NO,'NONE'),C001)
FROM apex_collections AC3
WHERE AC3.collection_name = 'SIS_REPORTS_SCHOOL_CALENDAR_NOS')
and nvl(C10.CLUSTER_CODE,'NONE') IN (SELECT decode(c001,'NONE',nvl(C10.CLUSTER_CODE,'NONE'),C001)
FROM apex_collections AC4
WHERE AC4.collection_name = 'SIS_REPORTS_CLUSTER_CODES')
My second query needs to select the detail info from other tables, but I only want to do it for the (master) records that were returned in the first query.

Similar Messages

  • Scheduled Report - Bug with Multiple Selection LOV parameter

    Problem:
    I have a scheduled report with a parameter that has it's "Multiple Selection" checkbox checked. I schedule the report with multiple values selected. When I receive the report via email, the report ran as if I only selected one LOV value instead of multiple values.
    Facts:
    1) Enterprise version 10.1.3.2.1
    2) When you run the report manually with multiple values selected in the LOV, it runs great with the correct dataset.
    3) This scheduled report does not have a Data Template.
    James
    P.S. - I searched this forum for other treads on this issue. I didn't find any. Sorry if this is a duplicate.

    I have this same problem, too.
    When I select multiple parameters on the "View" screen for a given report, everything works fine.
    When I schedule it, however, only the last parameter I clicked on (regardless of whether a select a range or multiple individual values) is passed to the query. The other selections I make are ignored.
    What gives? Am I doing something wrong? Is this a bug? Is there a workaround?

  • How to create parameter with multiple selection in a query (SQ02) ?

    Hi Exports
    Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
    thanks.

    Hi
    i know how to create user parameter at SQ02,
    the question is how to create multiple selection parameter?

  • Doubt in Firing Query with multiple opportunities UUID/IDs

    HI Folks!
    I might have simple doubt but please help me on this!
    1. I have a custom BO with association to opportunities.
    [DeploymentUnit(CustomerRelationshipManagement)] businessobject Sy_Trade {
    [AlternativeKey] [Label("Trade Id")] element tradeid : BusinessTransactionDocumentID;
    node RelatedOpportunities [0,n]{
                                  element BusinessTransactionDocumentReference : BusinessTransactionDocumentReference;
                                  element BusinessTransactionDocumentRelationshipRoleCode : BusinessTransactionDocumentRelationshipRoleCode;
                                   association RelatedOpportunity[0,1] to Opportunity;
    2. I have success fully used association and i am able to view create all the opportunities related to my custom Bo.
    ISSUE : I want a facet where i just want DISPLAY the activities and sales document assigned in the RELATED OPPORTUNITIES ( N opportunities )
    How do i query with Multiple opportunities ID and fetch the activities against it?
    Btw I want to use query in UI Designer... I have created an  advanced list pane and there i want the result list
    I hope i am clear!
    Thanks in adavance...
    Regards
    Dhruvin

    Hi Ludger,
    I have successfully displayed Related Opportunities associated with trade.( i am able to create , delete also )
    Issue : I am not able to "Display" ( i don't need to edit or create ) all the activities created against all the opportunities in a different tab.
    I tried to approaches :
    1: Query : Created a Query on Activity BO and tried to pass multiple related opportunities ( but seems not possible , please tell me any possibility to pass range of opportunity via transformation or anything? )
    2 : binding : I have a Node Related Opportunity so just tried to bind it with BO model but problem is it is displaying all the activities of first opportunity of the list...
    i think why because :
    In Data model I have created a table bind with Related Opportunities...
    now that node is 1 to N , association to opportunity 0 to 1 , hence i think it fetches only 1 opportunities activity
    should i create like below ( Or is it possible)
    Node Reltdoppts[0,1]
    association [0,N] to opportunity BO ?
    Although i strongly feel SAP should provied us two things :
    1. We need to pass range of opportunities in a query.
    2. We need to just write some absl code where i can fill the table and display it
    and also is there any possibility to create a report or something to display activities as we just want to display the activities!
    P.S : I have been getting a lot of bashing from client because some of the product restriction in cloud! i hope and wish SAP give developers free hand to develop right now its like our hands are tied to many things

  • Oracle hangs on query with multiple joins

    To test the sotftware from the LMS-vendor that are out partners we use virtual machines where we install Windows 2003 servers and Oracle XE
    While we were testing the software I've found that a particular query with multiple unions causes the CPU of the virtual machine totally claimed by oracle
    The query causes oracle to hang.
    I've found that the subcomponents of the query all return 0 rows (and response all immediately) combined into a query with at least 2 unions the query hangs the system
    I'm not familiar with with Database Management at all
    I've read something about SGA and PGA that could be the issue and tried to increase the target for both but it doesn't seem to do anything
    Some characterics
    Target Current
    Maximum System Global Area (SGA) Size: 380 MB 380 MB
    Program Global Area (PGA) Aggregate Target: 360 MB 38 MB
    Current Configuration: (SGA + PGA): 740 MB 418 MB
    Tablespaces Percent Used Allocated (MB) Used (MB) Datafiles
    SYSAUX 98.21% 460.00 451.75 1
    SYSTEM 73.09% 510.00 372.75 1
    DATA 99.13% 440.00 436.19 1
    UNDO 6.48% 160.00 10.38 1
    USERS 1.63% 100.00 1.63 1
    sort_area_size 65536
    shared_pool_reserved_size 5452595 TRUE size in bytes of reserved area of shared pool
    shared_pool_size 0 TRUE size in bytes of shared pool
    What other parameters are important? How could I get a good picture to see what's really going on?
    Some pointers, help would be appreciated.
    Regards,
    Remco

    Below is the base-query that is causing the problems
    SELECT /* Public - Internal learner */ r.id reg_id, i.id order_item_id, o.id order_id, o.order_no order_number, e.id person_id, format_name(e.fname , e.lname , @@005) learner_name , c.id company_id, c.name2 , ent.id entid, ctype.id ctypeid, ctype.name , i.status , items.description item_desc, substr ( i.flags , 1 , 1 ) is_conf , r.status status1, rs.description description1 , r.wlist_priority , r.reg_no , r.flags , o.status status2, o.split, null learnerViewOnly, null statusViewOnly, i.approved_status, decode(substr(r.flags,2,1),'1','true','false') isWalkIn, oa.id offering_action_id, oa.status profile_status ,c.name2 org_name ,ctype.name audience_sub_type ,items.description description ,o.order_no order_no ,orderList.description order_status ,approvalList.description approval_status ,e.fname learner_first_name ,e.lname learner_last_name FROM tpt_registration r INNER JOIN tpt_oe_order_items i ON i.reg_id = r.id INNER JOIN tpt_oe_order o ON i.order_id = o.id INNER JOIN cmt_person e ON r.student_id = e.id INNER JOIN tpt_company c ON e.company_id = c.id INNER JOIN tpt_offering_action oa on r.offering_action_id = oa.id LEFT OUTER JOIN tpt_roster_template_entry ent ON r.ros_temp_ent_id = ent.id LEFT OUTER JOIN tpt_customer_type ctype ON ent.customer_type_id = ctype.id INNER JOIN fgt_ext_sys_list_of_val rs ON to_char ( r.status ) = rs.name INNER JOIN fgt_ext_sys_list_of_val items ON to_char ( i.status ) = items.name INNER JOIN fgt_ext_sys_list_of_val orderList ON to_char ( o.status ) = orderList.name INNER JOIN fgt_ext_sys_list_of_val approvalList ON to_char(i.approved_status) = approvalList.name WHERE e.type = 100 AND r.class_id = @@001 AND r.status = nvl ( to_number(@@002) , r.status ) AND rs.locale_id = @@005 AND rs.list_id = 'sysli000000000000100' AND items.locale_id = @@005 AND items.list_id = 'sysli000000000000131' AND orderList.list_id = 'sysli000000000000129' AND orderList.locale_id = @@005 AND approvalList.list_id = 'sysli000000000000165' AND approvalList.locale_id = @@005 AND ((@@003 is null) or (@@003 is not null and r.student_id = @@003))
    UNION
    SELECT /* Public - External learner */ r.id reg_id, i.id order_item_id, o.id order_id, o.order_no , e.id person_id, format_name(e.fname , e.lname , @@005) , c.id company_id, c.name2 , ent.id entid, ctype.id ctypeid, ctype.name , i.status , items.description , substr ( i.flags , 1 , 1 ) is_conf , r.status status1, rs.description description1, r.wlist_priority , r.reg_no , r.flags , o.status status2, o.split, null learnerViewOnly, null statusViewOnly, i.approved_status, decode(substr(r.flags,2,1),'1','true','false') isWalkIn, oa.id offering_action_id, oa.status profile_status ,c.name2 org_name ,ctype.name audience_sub_type ,items.description description ,o.order_no order_no ,orderList.description order_status ,approvalList.description approval_status ,e.fname learner_first_name ,e.lname learner_last_name FROM tpt_registration r INNER JOIN tpt_oe_order_items i ON i.reg_id = r.id INNER JOIN tpt_oe_order o ON i.order_id = o.id INNER JOIN cmt_person e ON r.student_id = e.id INNER JOIN tpt_offering_action oa on r.offering_action_id = oa.id LEFT OUTER JOIN tpt_company c ON e.company_id = c.id LEFT OUTER JOIN tpt_roster_template_entry ent ON r.ros_temp_ent_id = ent.id LEFT OUTER JOIN tpt_customer_type ctype ON ent.customer_type_id = ctype.id INNER JOIN fgt_ext_sys_list_of_val rs ON to_char ( r.status ) = rs.name INNER JOIN fgt_ext_sys_list_of_val items ON to_char ( i.status ) = items.name INNER JOIN fgt_ext_sys_list_of_val orderList ON to_char ( o.status ) = orderList.name INNER JOIN fgt_ext_sys_list_of_val approvalList ON to_char(i.approved_status) = approvalList.name WHERE e.type = 200 AND r.class_id = @@001 AND r.status = nvl ( to_number(@@002) , r.status ) AND rs.locale_id = @@005 AND rs.list_id = 'sysli000000000000100' AND items.locale_id = @@005 AND items.list_id = 'sysli000000000000131' AND orderList.list_id = 'sysli000000000000129' AND orderList.locale_id = @@005 AND approvalList.list_id = 'sysli000000000000165' AND approvalList.locale_id = @@005 AND ((@@003 is null) or (@@003 is not null and r.student_id = @@003))
    UNION
    SELECT /* Public - Unassigned learner */ r.id reg_id, i.id order_item_id, o.id order_id, o.order_no , null person_id, null , null company_id, null , ent.id entidd, ctype.id ctypeid, ctype.name , i.status , items.description , substr ( i.flags , 1 , 1 ) is_conf , r.status status1, rs.description description1, r.wlist_priority , r.reg_no , r.flags , o.status status2, o.split, null learnerViewOnly, null statusViewOnly, i.approved_status, decode(substr(r.flags,2,1),'1','true','false') isWalkIn, oa.id offering_action_id, oa.status profile_status ,'' org_name ,ctype.name audience_sub_type ,items.description description ,o.order_no order_no ,orderList.description order_status ,approvalList.description approval_status ,'' learner_first_name ,'' learner_last_name FROM tpt_registration r INNER JOIN tpt_oe_order_items i ON i.reg_id = r.id INNER JOIN tpt_oe_order o ON i.order_id = o.id INNER JOIN tpt_offering_action oa on oa.id = r.offering_action_id LEFT OUTER JOIN tpt_roster_template_entry ent ON r.ros_temp_ent_id = ent.id LEFT OUTER JOIN tpt_customer_type ctype ON ent.customer_type_id = ctype.id INNER JOIN fgt_ext_sys_list_of_val rs ON to_char ( r.status ) = rs.name INNER JOIN fgt_ext_sys_list_of_val items ON to_char ( i.status ) = items.name INNER JOIN fgt_ext_sys_list_of_val orderList ON to_char ( o.status ) = orderList.name INNER JOIN fgt_ext_sys_list_of_val approvalList ON to_char(i.approved_status) = approvalList.name WHERE r.class_id = @@001 AND r.status = nvl ( to_number(@@002) , r.status ) AND r.student_id is null AND rs.locale_id = @@005 AND rs.list_id = 'sysli000000000000100' AND items.locale_id = @@005 AND items.list_id = 'sysli000000000000131' AND orderList.list_id = 'sysli000000000000129' AND orderList.locale_id = @@005 AND approvalList.list_id = 'sysli000000000000165' AND approvalList.locale_id = @@005 AND @@003 is null
    UNION
    SELECT /* Private - Internal learner */ r.id reg_id, i.id order_item_id, o.id order_id, o.order_no , e.id person_id, format_name(e.fname , e.lname , @@005) , c.id company_id, c.name2 , ent.id entid, ctype.id ctypeid, ctype.name , i.status , items.description , substr ( i.flags , 1 , 1 ) is_conf , r.status status1, rs.description description1 , r.wlist_priority , r.reg_no , r.flags , o.status status2, o.split, null learnerViewOnly, null statusViewOnly, i.approved_status, decode(substr(r.flags,2,1),'1','true','false') isWalkIn, oa.id offering_action_id, oa.status profile_status ,c.name2 org_name ,ctype.name audience_sub_type ,items.description description ,o.order_no order_no ,orderList.description order_status ,approvalList.description approval_status ,e.fname learner_first_name ,e.lname learner_last_name FROM tpt_registration r INNER JOIN let_pvt_offering_request pvt_offreq ON pvt_offreq.class_id = r.class_id INNER JOIN tpt_offering_action oa on oa.id = r.offering_action_id LEFT OUTER JOIN tpt_oe_order_items i ON i.part_id = pvt_offreq.id LEFT OUTER JOIN tpt_oe_order o ON i.order_id = o.id INNER JOIN cmt_person e ON r.student_id = e.id LEFT OUTER JOIN tpt_company c ON e.company_id = c.id LEFT OUTER JOIN tpt_roster_template_entry ent ON r.ros_temp_ent_id = ent.id LEFT OUTER JOIN tpt_customer_type ctype ON ent.customer_type_id = ctype.id INNER JOIN fgt_ext_sys_list_of_val rs ON to_char ( r.status ) = rs.name LEFT OUTER JOIN fgt_ext_sys_list_of_val items ON to_char ( i.status ) = items.name AND items.locale_id = @@005 AND items.list_id = 'sysli000000000000131' LEFT OUTER JOIN fgt_ext_sys_list_of_val orderList ON to_char ( o.status ) = orderList.name AND orderList.list_id = 'sysli000000000000129' AND orderList.locale_id = @@005 LEFT OUTER JOIN fgt_ext_sys_list_of_val approvalList ON to_char(i.approved_status) = approvalList.name AND approvalList.list_id = 'sysli000000000000165' AND approvalList.locale_id = @@005 WHERE e.type = 100 AND r.class_id = @@001 AND r.status = nvl ( to_number(@@002) , r.status ) AND rs.locale_id = @@005 AND rs.list_id = 'sysli000000000000100' AND ((@@003 is null) or (@@003 is not null and r.student_id = @@003))
    UNION
    SELECT /* Private - External learner */ r.id reg_id, i.id order_item_id, o.id order_id, o.order_no , e.id person_id, format_name(e.fname , e.lname , @@005) , c.id company_id, c.name2 , ent.id entid, ctype.id ctypeid, ctype.name , i.status , items.description , substr ( i.flags , 1 , 1 ) is_conf , r.status status1, rs.description description1 , r.wlist_priority , r.reg_no , r.flags , o.status status2, o.split, null learnerViewOnly, null statusViewOnly, i.approved_status, decode(substr(r.flags,2,1),'1','true','false') isWalkIn, oa.id offering_action_id, oa.status profile_status ,c.name2 org_name ,ctype.name audience_sub_type ,items.description description ,o.order_no order_no ,orderList.description order_status ,approvalList.description approval_status ,e.fname learner_first_name ,e.lname learner_last_name FROM tpt_registration r INNER JOIN let_pvt_offering_request pvt_offreq ON pvt_offreq.class_id = r.class_id INNER JOIN tpt_offering_action oa on r.offering_action_id = oa.id LEFT OUTER JOIN tpt_oe_order_items i ON i.part_id = pvt_offreq.id LEFT OUTER JOIN tpt_oe_order o ON i.order_id = o.id INNER JOIN cmt_person e ON r.student_id = e.id LEFT OUTER JOIN tpt_company c ON e.company_id = c.id LEFT OUTER JOIN tpt_roster_template_entry ent ON r.ros_temp_ent_id = ent.id LEFT OUTER JOIN tpt_customer_type ctype ON ent.customer_type_id = ctype.id INNER JOIN fgt_ext_sys_list_of_val rs ON to_char ( r.status ) = rs.name LEFT OUTER JOIN fgt_ext_sys_list_of_val items ON to_char ( i.status ) = items.name AND items.locale_id = @@005 AND items.list_id = 'sysli000000000000131' LEFT OUTER JOIN fgt_ext_sys_list_of_val orderList ON to_char ( o.status ) = orderList.name AND orderList.locale_id = @@005 AND orderList.list_id = 'sysli000000000000129' LEFT OUTER JOIN fgt_ext_sys_list_of_val approvalList ON to_char(i.approved_status) = approvalList.name AND approvalList.locale_id = @@005 AND approvalList.list_id = 'sysli000000000000165' WHERE e.type = 200 AND r.class_id = @@001 AND r.status = nvl ( to_number(@@002) , r.status ) AND rs.locale_id = @@005 AND rs.list_id = 'sysli000000000000100' AND ((@@003 is null) or (@@003 is not null and r.student_id = @@003)) ORDER BY 34,35,28,29,31,30,33,32

  • APD using Query with multiple structures as a data source

    All,
    I want to set up an automatic process which executes a query and exports it to a shared drive as a csv file. I have tried various options , when I try to use APD to set up the extract, I get an error and this is because the query that I am trying to use has Strucutres in both rows and columns. Hence, I am unable to use this option. I tried RSCRM_BAPI, It works well, but there is an issue with scheduling this in Process chain. I created an event and scheduled this as a job to trigger after "event" as per SAP instructions, but the job does not exist and it is not possible to trigger it through the Process chain unless the variables are hard coded in the query which I do not want to do.
    Can any one tell me if there is a way to deal with APD using Query with multiple structures?
    Would really appreciate if some one can give me the right solution...
    Thanks

    Hi Tanu ,
    APD is an option but its not very good with large amount of data or hiearachies or if you have attributes in you query structure .
    One more option for this requirement is use of report program using function module RRW3_GET_QUERY_VIEW_DATA .
    This will work fine with multiple structure etc .
    There are some overheads with this FM  ex: if amount of data is too much then program will give dump .Solution for that is we call the FM in LOOP by diving amount of data need to be fetched .ex:  we can read data quarter wise.
    For using this function module what you can do is write an ABAP program (At SE38 ) .which will call this FM and then write the output into a flat file which you can save at application server (AL11) .From there other system can read it .
    To automate this whole process you can further add all the report programs into a process chain (RSPC) which can be schedule as per requirement .
    To pass input parameters you can use variants that will pass the values to the report .
    Check thi link for sample code :
    [http://www.tricktresor.de/content/index.php?navID=696&aID=496]
    Hope this will be helpful .
    Regards,
    Jaya Tiwari

  • How do i take one layer with multiple selections...

    how do i take one layer with multiple selections and make those selections their own layer?

    Yes sir. It w was really hard to explain. It is discontiguous segments that are separated by transparent areas. And I want those non transparent areas to be on their own layer. I have a photo shop file that has a bunch of buttons on them and they are on a transparent background. It is one layer. I want to select all the buttons and put them on their own layers. I can do this manually by selecting a button and cmd Just to a new layer, but when I have 200 buttons it is a daunting task.
    Sent by MailWise<http://www.mail-wise.com/installation/4> – Your emails, with style.

  • How to create a table with multiple select on???

    Hi all,
            I am  new to webdynpro and my requirement is to create a  table with multiple selection on.I have to add abt 10 rows in the table but only 5 rows should be visible and moreover a verticalscroll should be available to view other rows.Can anybody explain me in detail how to do that.Please reply as if you are explaining  to a newcomer.Reply ASAP as i have to do it today.
                                                                           Thanxs

    Hi,
    1. Create a value node in your context name Table and set its cardinality to 0:n
    2. Create 2 value attributes within the Table node name value1 and value2
    3. Goto Outline view> Right click on TransparentUIContainer>Apply Template> Select Table>mark the node Table and it's attributes.
    you have created a table and binded its value to context
    Table UI properties
    4.Set Selection Mode to Multi
    5.Set Visible Row Count to 5
    6.ScrollableColCount to 5
    In your implemetaion, you can add values to table as follow:
    IPrivate<viewname>.ITableElement ele = wdContext.nodeTable().createTableElement();
    ele.setValue1(<value>);
    ele.setValue2(<value>);
    wdContext.nodeTable().addElement(ele);
    The above code will allow you to add elements to your table node.
    Regards,
    Murtuza

  • How to select value from list with multiple selections ?

    HI,
    i have a list with multiple selections where i show email address retrieved from database.
    what i want to do is to send the selected email address to the invoiceedit.jsp.
    please look at the following code which gives you the better idea.
    <td class='smalltext'><select name="email" size="3" multiple="multiple">
       <% 
       Connection conn = null;
       Statement stmt = null;
       Statement stmt_contactperson = null;
       Statement stmt_address = null;
       try{
          conn = getREConnection();
           stmt = conn.createStatement();
       ResultSet rs = null;
       rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
       int numofrows = 0;
       while(rs.next())
               %>
       <option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE")  %> </option>
        <%
           }//end of while
          %>
         </select>
        <a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
         <a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanks

    Use a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
    That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead.

  • BaseTableName blank when calling GetSchema on a query with multiple tables

    I am using ODP.NET 11.2.0.3.0 and when calling GetSchemaTable on a DataReader that contains a join the returned SchemaTable has the BaseTableName and BaseColumnName fields blank - this is different than what I see with the Oracle OLE DB Provider and with how SQL Server's native provider works. I can't find any discussion of this - is this on purpose or is it a bug? why does the available schema information vary so drastically between a single table query and a query with multiple tables joined?
    Thanks,
    Bryan Hinton

    Hi Bryan,
    I am also facing the same issue. Did u find any work around or any suggestions will be well appreciated.
    Thanks,
    Naresh.

  • [svn:fx-trunk] 10943: Fix to dragging from List with multiple-selection

    Revision: 10943
    Author:   [email protected]
    Date:     2009-10-08 15:46:27 -0700 (Thu, 08 Oct 2009)
    Log Message:
    Fix to dragging from List with multiple-selection
    - The fix is to postpone the selection commit until we make sure the user has not started a drag gesture.
    - Exclude the dragEnabled, dropEnabled, dragMoveEnabled properties for DropDownList
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: Deepa
    Tests run: checkintests, mustella List, DropDownList
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as

  • Applescript list with multiple selections

    Hello guys, i have h big problem...
    i was trying the multiple selections part by the command list, but if i select 2- and more it does nothing (i'm using if x is y then *linebreake* else if ...)
    so i tried another way script:
    tell application "Finder"
      --get folders of me--
              set a to get name of folders of folder "Contents:Resources:Versionen" of (path to me) --in this folder i got folders named  {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"}--
              set b to choose from list a with prompt "Choose your Minecraft Version!" with multiple selections allowed
      --next step--
      count b
              set c to result
              repeat c times        --with this part i wanted to handle every selected folder as an individual to duplicate it somewere else
                        set ab to b * -1
      duplicate folder ab to folder (choose folder)
              end repeat
    end tell
    thanks for helping me

    The following script (tested under OS X 10.8.2) should do what you are asking for:
    tell application "Finder"
        set theSourceFolder to folder "Contents:Resources:Versionen" of (path to me)
        set theFolderNames to get name of folders of theSourceFolder
        set theChosenNames to choose from list theFolderNames with prompt "Choose your Minecraft Version!" with multiple selections allowed
        if result is false then return
        set theDestinationFolder to choose folder
        repeat with thisName in theChosenNames
            duplicate folder thisName of theSourceFolder to theDestinationFolder with replacing
        end repeat
    end tell
    Message was edited by: Pierre L.

  • List with multiple selection

    Hello;
    I seek a code to implement a list with multiple selection for a browser Web (HTML is imited).
    I have a list containing of the years, the user can select one or several years and I created dynamically a array : for each year a column.
    Thank you;

    Look at JList.
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JList.html
    � {�                                                                                                                                                                           

  • SQL Report query with condition (multiple parameters) in apex item?

    Hello all,
    I have a little problem and can't find a solution.
    I need to create reports based on a SQL query or I.R. Nothing hard there.
    Then I need to add the WHERE clause dynamically with javascript from an Apex item.
    Again not very hard. I defined an Apex item, set my query like this "SELECT * FROM MYTAB WHERE COL1 = :P1_SEARCH" and then I call the page setting the P1_SEARCH value. For instance COL1 is rowid. It works fine.
    But here is my problem. Let's consider that P1_SEARCH will contain several rowids and that I don't know the number of those values,
    (no I won't create a lot of items and build a query with so many OR!), I would like sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (:P1_SEARCH) with something like : ROWID1,ROWID2 in P1_SEARCH.
    I also tried : 'ROWID1,ROWID2' and 'ROWID1','ROWID2'
    but I can't get anything else than filter error. It works with IN with one value but as soon as there are two values or more, it seems than Apex can't read the string.
    How could I do that, please?
    Thanks for your help.
    Max

    mnoscars wrote:
    But here is my problem. Let's consider that P1_SEARCH will contain several rowids and that I don't know the number of those values,
    (no I won't create a lot of items and build a query with so many OR!), I would like sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (:P1_SEARCH) with something like : ROWID1,ROWID2 in P1_SEARCH.
    I also tried : 'ROWID1,ROWID2' and 'ROWID1','ROWID2'
    but I can't get anything else than filter error. It works with IN with one value but as soon as there are two values or more, it seems than Apex can't read the string.For a standard report, see +{message:id=9609120}+
    For an IR&mdash;and improved security avoiding the risk of SQL Injection&mdash;use a <a href="http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_collection.htm#CACFAICJ">collection</a> containing the values in a column instead of a CSV list:
    {code}
    SELECT * FROM MYTAB WHERE ROWID IN (SELECT c001 FROM apex_collections WHERE collection_name = 'P1_SEARCH')
    {code}
    (Please close duplicate threads spawned by your original question.)

  • Help With Multiple Selection

    I have a data template with several parameters. For one of the parameters I want to be able to select one, multiple or ALL values. At this time I can select one value and it runs fine. If I select more then one value, then I get an error that says: INVALID NUMBER
    I am not sure what I am doing wrong.
    Here is my data template:
    <dataTemplate name="ld_status" dataSourceRef="xmlpdemo">
         <parameters>
              <parameter name="p_ke" dataType="number"/>          <parameter name="p_beg_twn" dataType="number"/>
              <parameter name="p_td" dataType="character"/>
              <parameter name="p_beg_rng" dataType="number"/>
              <parameter name="p_rd" dataType="character"/>
              <parameter name="p_beg_section" dataType="number"/>
              <parameter name="p_end_twn" dataType="number"/>
              <parameter name="p_td2" dataType="character"/>
              <parameter name="p_end_rng" dataType="number"/>
              <parameter name="p_rd2" dataType="character"/>
              <parameter name="p_end_section" dataType="number"/>
              <parameter name="p_beg_parcel" dataType="number"/>
              <parameter name="p_end_parcel" dataType="number"/>
              <parameter name="p_beg_active" dataType="character"/>
              <parameter name="p_end_active" dataType="character"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[select distinct
         l.quad o_quad
    ,     l.twp o_twp
    ,     l.rng o_rng
    ,     l.section o_section
    ,     l.county o_county
    ,     l.fund o_fund
    ,     l.parcel o_parcel
    ,     get_land#_display(l.quad,l.twp,l.rng,l.section,l.county,l.fund,l.parcel)
         o_display_land
    ,     get_cnty_desc(l.county) o_county_display
    ,     get_fund_desc(l.fund) o_fund_display
    ,     decode(l.active, 'A','Active', 'I','Inactive', ' ') o_active
    ,     l.surface o_surface
    ,     l.oil_gas o_oil_gas
    ,     l.mineral o_mineral
    ,     l.surface_open o_surface_open
    ,     l.oil_gas_open o_oil_gas_open
    ,     l.mineral_open o_mineral_open
    ,     t018.description o_class_description
    ,     t002.description o_ownership_description
    ,     l.leased o_leased
    ,     l.surface_text o_surface_text
    ,     l.oil_gas_text o_oil_gas_text
    ,     l.mineral_text o_mineral_text
    ,     l.comments o_comments
    ,     l.last_maint o_last_maint
    ,     l.surface_maint o_surface_maint
    ,     l.oil_gas_maint o_oil_gas_maint
    ,     l.mineral_maint o_mineral_maint
    ,     l.comment_maint o_comment_maint
    from     land_legal l
    ,     t018_land_classification t018
    ,     t002_ownership t002
    ,     statmast s
    ,       quad q
    where l.class = t018.code (+)
    and  l.ownership = t002.code (+)
    and l.parcel = 1
    and l.quad = s.quad
    and l.twp = s.twp
    and l.rng = s.rng
    and l.section = s.section
    and l.county = s.county
    and l.fund = s.fund
    and l.quad = q.quad
    and (to_char(l.twp,'000')||'-'||to_char(q.td)||'-'||to_char(l.rng,'000')
    ||'-'||to_char(q.rd)||'-'||to_char(l.section,'00')) >=
    (to_char(:p_beg_twn,'000')||'-'||to_char(:p_td)||'-'||to_char(:p_beg_rng,'000')||'-'||to_char(:p_rd)||'-'||to_char(:p_beg_section,'00'))
    and
    (to_char(l.twp,'000')||'-'||to_char(q.td)||'-'||to_char(l.rng,'000')
    ||'-'||to_char(q.rd)||'-'||to_char(l.section,'00')) <=
    (to_char(:p_end_twn,'000')||'-'||to_char(:p_td2)||'-'||to_char(:p_end_rng,'000')||'-'||to_char(:p_rd2)||'-'||to_char(:p_end_section,'00'))
    ]]>
              </sqlStatement>
              <sqlStatement name="Q2">
                   <![CDATA[select     l.quad d_quad
    ,     l.twp d_twp
    ,     l.rng d_rng
    ,     l.section d_section
    ,     l.county d_county
    ,     l.fund d_fund
    ,     l.parcel d_parcel
    ,     get_land#_display(l.quad,l.twp,l.rng,l.section,l.county,l.fund,l.parcel)
         d_display_land
    ,     get_cnty_desc(l.county) d_county_display
    ,     get_fund_desc(l.fund) d_fund_display
    ,     decode(l.active, 'A','Active', 'I','Inactive', ' ') d_active
    ,     l.surface d_surface
    ,     l.oil_gas d_oil_gas
    ,     l.mineral d_mineral
    ,     decode(l.active, 'A', l.surface, 0) d_act_surface
    ,     decode(l.active, 'A', l.oil_gas, 0) d_act_oil_gas
    ,     decode(l.active, 'A', l.mineral, 0) d_act_mineral
    ,     decode(l.active, 'I', l.surface, 0) d_ina_surface
    ,     decode(l.active, 'I', l.oil_gas, 0) d_ina_oil_gas
    ,     decode(l.active, 'I', l.mineral, 0) d_ina_mineral
    ,     decode(l.active, 'A', 1, 0) d_act_count
    ,     decode(l.active,'I',1, 0) d_ina_count
    ,     l.surface_open d_surface_open
    ,     l.oil_gas_open d_oil_gas_open
    ,     l.mineral_open d_mineral_open
    ,     t018.description d_class_description
    ,     t002.description d_ownership_description
    ,     l.leased d_leased
    ,     l.surface_text d_surface_text
    ,     l.oil_gas_text d_oil_gas_text
    ,     l.mineral_text d_mineral_text
    ,     l.comments d_comments
    ,     l.last_maint d_last_maint
    ,     l.surface_maint d_surface_maint
    ,     l.oil_gas_maint d_oil_gas_maint
    ,     l.mineral_maint d_mineral_maint
    ,     l.comment_maint d_comment_maint
    ,     s.ke d_test_ke
    ,     decode(s.stat_code, 5,'LEASE', 21,'APPLICATION', null) d_stat_desc
    ,     s.evtdate d_evtdate
    ,     ltrim(to_char(s.ke,'000')) || '-'
    ||     ltrim(to_char(s.lease#,'000000')) || '-'
    ||     ltrim(to_char(s.lse_code,'000')) || '-'
    ||     ltrim(to_char(s.lse_seq,'000')) d_kelease
    ,     s.rolodex# d_rolodex
    ,     s.appdate d_app_date
    ,     s.effdate d_effdate
    ,     decode(s.perpetual, 'Y','PERPETUAL', to_char(s.expdate,'yyyy-MM-dd')) d_expdate
    ,     s.aus aus
    ,     decode( s.stat_code, 5,get_t005_lease_desc(s.stat_code)
                   , 21,get_t005_lease_desc(s.stat_code), null) d_desc_5_21
    ,     s.amend# amend
    ,     get_rolodex_lname(s.rolodex#) d_lname
    from     land_legal l
    ,     statmast s
    ,     t018_land_classification t018
    ,     t002_ownership t002
    where     [b]s.ke = :p_ke
    and     l.parcel >= :p_beg_parcel
    and     l.parcel <= :p_end_parcel
    and     l.active >= :p_beg_active
    and l.active <= :p_end_active
    and     14 <> s.stat_code (+)
    and     l.class = t018.code (+)
    and     l.ownership = t002.code (+)
    and     l.parcel <> 1
    and     l.quad = s.quad (+)
    and     l.twp = s.twp (+)
    and     l.rng = s.rng (+)
    and     l.section = s.section (+)
    and     l.county = s.county (+)
    and     l.fund = s.fund (+)
    and     l.parcel = s.parcel (+)
    and     l.active = s.active (+)
    and l.quad = :o_quad
    and     l.twp = :o_twp
    and     l.rng = :o_rng
    and     l.section = :o_section
    and     l.county = :o_county
    and     l.fund = :o_fund]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_OWNERSHIP" source="Q1">
                   <element name="O_QUAD" value="O_QUAD"/>
                   <element name="O_TWP" value="O_TWP"/>
                   <element name="O_RNG" value="O_RNG"/>
                   <element name="O_SECTION" value="O_SECTION"/>
                   <element name="O_COUNTY" value="O_COUNTY"/>
                   <element name="O_FUND" value="O_FUND"/>
                   <element name="O_PARCEL" value="O_PARCEL"/>
                   <element name="O_DISPLAY_LAND" value="O_DISPLAY_LAND"/>
                   <element name="O_COUNTY_DISPLAY" value="O_COUNTY_DISPLAY"/>
                   <element name="O_FUND_DISPLAY" value="O_FUND_DISPLAY"/>
                   <element name="O_ACTIVE" value="O_ACTIVE"/>
                   <element name="O_SURFACE" value="O_SURFACE"/>
                   <element name="O_OIL_GAS" value="O_OIL_GAS"/>
                   <element name="O_MINERAL" value="O_MINERAL"/>
                   <element name="O_SURFACE_OPEN" value="O_SURFACE_OPEN"/>
                   <element name="O_OIL_GAS_OPEN" value="O_OIL_GAS_OPEN"/>
                   <element name="O_MINERAL_OPEN" value="O_MINERAL_OPEN"/>
                   <element name="O_CLASS_DESCRIPTION" value="O_CLASS_DESCRIPTION"/>
                   <element name="O_OWNERSHIP_DESCRIPTION" value="O_OWNERSHIP_DESCRIPTION"/>
                   <element name="O_LEASED" value="O_LEASED"/>
                   <element name="O_SURFACE_TEXT" value="O_SURFACE_TEXT"/>
                   <element name="O_OIL_GAS_TEXT" value="O_OIL_GAS_TEXT"/>
                   <element name="O_MINERAL_TEXT" value="O_MINERAL_TEXT"/>
                   <element name="O_COMMENTS" value="O_COMMENTS"/>
                   <element name="O_LAST_MAINT" value="O_LAST_MAINT"/>
                   <element name="O_SURFACE_MAINT" value="O_SURFACE_MAINT"/>
                   <element name="O_OIL_GAS_MAINT" value="O_OIL_GAS_MAINT"/>
                   <element name="O_MINERAL_MAINT" value="O_MINERAL_MAINT"/>
                   <element name="O_COMMENT_MAINT" value="O_COMMENT_MAINT"/>
                   <group name="G_DETAIL" source="Q2">
                        <element name="D_QUAD" value="D_QUAD"/>
                        <element name="D_TWP" value="D_TWP"/>
                        <element name="D_RNG" value="D_RNG"/>
                        <element name="D_SECTION" value="D_SECTION"/>
                        <element name="D_COUNTY" value="D_COUNTY"/>
                        <element name="D_FUND" value="D_FUND"/>
                        <element name="D_PARCEL" value="D_PARCEL"/>
                        <element name="D_DISPLAY_LAND" value="D_DISPLAY_LAND"/>
                        <element name="D_COUNTY_DISPLAY" value="D_COUNTY_DISPLAY"/>
                        <element name="D_FUND_DISPLAY" value="D_FUND_DISPLAY"/>
                        <element name="D_ACTIVE" value="D_ACTIVE"/>
                        <element name="D_SURFACE" value="D_SURFACE"/>
                        <element name="D_OIL_GAS" value="D_OIL_GAS"/>
                        <element name="D_MINERAL" value="D_MINERAL"/>
                        <element name="D_ACT_SURFACE" value="D_ACT_SURFACE"/>
                        <element name="D_ACT_OIL_GAS" value="D_ACT_OIL_GAS"/>
                        <element name="D_ACT_MINERAL" value="D_ACT_MINERAL"/>
                        <element name="D_INA_SURFACE" value="D_INA_SURFACE"/>
                        <element name="D_INA_OIL_GAS" value="D_INA_OIL_GAS"/>
                        <element name="D_INA_MINERAL" value="D_INA_MINERAL"/>
                        <element name="D_ACT_COUNT" value="D_ACT_COUNT"/>
                        <element name="D_INA_COUNT" value="D_INA_COUNT"/>
                        <element name="D_SURFACE_OPEN" value="D_SURFACE_OPEN"/>
                        <element name="D_OIL_GAS_OPEN" value="D_OIL_GAS_OPEN"/>
                        <element name="D_MINERAL_OPEN" value="D_MINERAL_OPEN"/>
                        <element name="D_CLASS_DESCRIPTION" value="D_CLASS_DESCRIPTION"/>
                        <element name="D_OWNERSHIP_DESCRIPTION" value="D_OWNERSHIP_DESCRIPTION"/>
                        <element name="D_LEASED" value="D_LEASED"/>
                        <element name="D_SURFACE_TEXT" value="D_SURFACE_TEXT"/>
                        <element name="D_OIL_GAS_TEXT" value="D_OIL_GAS_TEXT"/>
                        <element name="D_MINERAL_TEXT" value="D_MINERAL_TEXT"/>
                        <element name="D_COMMENTS" value="D_COMMENTS"/>
                        <element name="D_LAST_MAINT" value="D_LAST_MAINT"/>
                        <element name="D_SURFACE_MAINT" value="D_SURFACE_MAINT"/>
                        <element name="D_OIL_GAS_MAINT" value="D_OIL_GAS_MAINT"/>
                        <element name="D_MINERAL_MAINT" value="D_MINERAL_MAINT"/>
                        <element name="D_COMMENT_MAINT" value="D_COMMENT_MAINT"/>
                        <element name="D_TEST_KE" value="D_TEST_KE"/>
                        <element name="D_STAT_DESC" value="D_STAT_DESC"/>
                        <element name="D_EVTDATE" value="D_EVTDATE"/>
                        <element name="D_KELEASE" value="D_KELEASE"/>
                        <element name="D_ROLODEX" value="D_ROLODEX"/>
                        <element name="D_APP_DATE" value="D_APP_DATE"/>
                        <element name="D_EFFDATE" value="D_EFFDATE"/>
                        <element name="D_EXPDATE" value="D_EXPDATE"/>
                        <element name="AUS" value="AUS"/>
                        <element name="D_DESC_5_21" value="D_DESC_5_21"/>
                        <element name="AMEND" value="AMEND"/>
                        <element name="D_LNAME" value="D_LNAME"/>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>
    I want the parameter :p_ke to multiple select.
    Here is my List of Values for the parameter :p_ke:
    select     CODE KE
    from     T052_KE_EXPLOSION
    where CODE > 0
    ORDER BY CODE
    I have the option: MULTIPLE SELECTION....check for :p_ke
    Does anyone know what I am doing wrong?
    I appreciate any help I can get!
    Susie

    Susie,
    use in the Query inside the Data Template a lexical parameter like
    select * from emp &p_mylexical
    This lexical parameter could be filled in a BeforeReport Trigger. In this Package-Call you will have something like
    p_mylexcial := 'where deptno in ('||p_deptno||')';
    where p_deptno is your multi-select parameter.
    This should run if p_deptno is empty, has one value ore more.
    If you want to see every row when no value is choosen ('all') then use something like
    if p_deptno is not null then
    p_mylexical := 'where DEPTNO in ('||p_deptno||')';
    else
    p_mylexical := null;
    end if;
    So for your example that means
    - create a new lexical parameter (p_lexical)
    - replace in your query in the data template s.ke = :p_ke with &p_lexical
    - call a before report trigger in which is something like:
    p_mylexcial := 's.ke in ('||p_ke||')';
    Regards
    Rainer

Maybe you are looking for

  • Blocked plug ins... how to unblock?

    I just updated software on my MacBook and now I can't seem to get video ... I get a message/icon that says 'blocked plug ins' and link to down load Flash, which I have done. Doesn't seem to make it work. Any guidance is appreciated.

  • BDC for AR Posting (Tcode - FB01)

    Dear All, I am unable to post multiple line items while postnig AR Invoice using BDC recording of FB01. Can anyone provide me the BDC program code to post multiple line items. Thanks in Advance, Harish

  • Guest portal using ACS to authenticate against AD

    Running ACS 5.3, I have a Wireless Access policy that authenticates wireless users either by mac address, AD user name or computer name, depending on what AD groups the accounts belong to.  My Network Authorization policy has rules because only certa

  • Roles not getting Syncing in UCM11g for OID accounts

    Hi, I have configured SSO using OAM 11.1.1.6 for UCM 11.1.1.5, when i login to content server using a OID account. I am not able see all the links in content server like 'Content management' and 'Administration' . When i clicked on the account which

  • Writing into a file in clients' machine from a jsp application

    is it possible to write some data fetched from database into a .CSV file on the clients machine from an JSP application? signed applets is one possibility , any other possibilities are there? thanks Mohammed Rafeeq([email protected])