Data template multiple selection problem

Hi all,
I have a problem with the Multiple Selection on the BI Publisher using data templates. One of my parameters is called p_application, this parameter is a integer/number and its values come from a list of values.
I'm getting the error "....invalid number". I think the data template is not understanding that this parameter have multiple selection.
Can you help me?
here is my data template
<dataTemplate name="user_reg" dataSourceRef="Thomson_Live_ EDC_Environment">
<properties>
<property name="include_parameters" value="false"/>
<property name="include_null_Element" value="false"/>
<property name="include_rowsettag" value="false"/>
<property name="scalable_mode" value="on"/>
<property name="db_fetch_size" value="20"/>
<property name="scalable_mode" value="on"/>
</properties>
<parameters>
<parameter name="p_customer" dataType="string" include_in_output="false"/>
<parameter name="p_application" dataType="integer" include_in_output="false"/>
<parameter name="p_start_date" dataType="date" include_in_output="false"/>
<parameter name="p_final_date" dataType="date" include_in_output="false"/>
<parameter name="p_staff_account" dataType="string" include_in_output="false"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[
select COUNT(DISTINCT TRUNC(a.TIMESTAMP)) days_logged
,COUNT(a.USER_ID) logins
,max(a.TIMESTAMP) last_access
,a.application_id application_id
,a.user_id user_id
from user_history_log a,
idweb_user b,
idweb_customer c
where to_date(to_char(a.timestamp,'dd-mm-rrrr'),'dd-mm-rrrr') between to_date(:p_start_date,'dd-mm-rrrr') and to_date(:p_final_date,'dd-mm-rrrr')
and a.user_id = b.user_id
and b.customer_key = c.customer_key
and c.staff_account = :p_staff_account
and ('0' in (:p_customer) or b.customer_key in (:p_customer))
and (0 in (:p_application) or a.application_id in (:p_application))
group by a.application_id, a.user_id ]]>
</sqlStatement>
<sqlStatement name="Q2">
<![CDATA[
SELECT IDCU.CUSTOMER_NAME "Customer name"
,PCAP.APPLICATION_NAME "Application name"
,IDUS.FIRST_NAME "First name"
,IDUS.LAST_NAME "Last name"
,IDUS.USER_NAME "Username"
,IDUS.EMAIL_ADDRESS "Email address"
,IDUS.ROLE "Job Role"
,IDUS.AREA "Job Area"
,IDUS.DEPARTMENT "Specific Job Area"
,IDUS.CITY "City"
,IDUS.US_STATE "State"
,IDUS.COUNTRY "Country"
,SALE.TERRITORY_NAME "Territory/GAM"
,BUUN.BUSINESS_UNIT_NAME "SBU"
,to_char(IDUS.REGISTRATION_DATE,'dd-mm-yyyy') "Registration date"
,to_char(PCCA.EXPIRY_DATE,'dd-mm-yyyy') "Expiry date"
,DECODE(PCUA.DISABLED,'Y','Disabled','Enabled') "Status"
,pcua.application_id application_id
,pcua.user_id user_id
FROM PC_USER_APPLICATION PCUA
,PC_CUSTOMER_APPLICATION PCCA
,IDWEB_USER IDUS
,IDWEB_CUSTOMER IDCU
,sales_territory SALE
,business_unit BUUN
,PC_APPLICATION PCAP
WHERE BUUN.BUSINESS_UNIT_ID(+) = IDCU.SBU_ID
AND SALE.TERRITORY_ID(+) = IDCU.TERRITORY_ID
AND IDCU.CUSTOMER_KEY = IDUS.CUSTOMER_KEY
AND IDUS.USER_ID = PCUA.USER_ID
AND PCCA.CUSTOMER_KEY = IDCU.CUSTOMER_KEY
AND PCCA.APPLICATION_ID = PCAP.APPLICATION_ID
AND PCAP.APPLICATION_ID = PCUA.APPLICATION_ID
AND NVL(IDUS.DISABLED,'N') = 'N'
AND IDCU.STAFF_ACCOUNT = :p_staff_account
AND ('0' in (:p_customer) or IDCU.CUSTOMER_KEY in (:p_customer))
AND (0 in (:p_application) or pcap.application_id in (:p_application))
ORDER BY IDCU.CUSTOMER_NAME, PCAP.APPLICATION_NAME, IDUS.USER_NAME ]]>
</sqlStatement>
<sqlStatement name="Q3">
<![CDATA[
select COUNT(a.TIMESTAMP) "Number of Turnaways Kickout",
MAX(a.timestamp) "Last Turnaway Kickout",
a.application_id,
a.user_id
from tpharma_user.user_refused a,
idweb_user i
where to_date(to_char(a.timestamp,'dd-mm-rrrr'),'dd-mm-rrrr') between to_date(:p_start_date,'dd-mm-rrrr') and to_date(:p_final_date,'dd-mm-rrrr')
and (0 in (:p_application) or a.application_id in (:p_application))
and a.user_id = i.user_id
and ('0' in (:p_customer) or i.customer_key in (:p_customer))
group by a.application_id, a.user_id ]]>
</sqlStatement>
<link name="ruser3" parentQuery="Q1" parentColumn="user_id" childQuery="Q3" childColumn="user_id(+)" condition="="/>
<link name="rapp3" parentQuery="Q1" parentColumn="application_id" childQuery="Q3" childColumn="application_id(+)" condition="="/>
<link name="ruser1" parentQuery="Q1" parentColumn="user_id" childQuery="Q2" childColumn="user_id" condition="="/>
<link name="rapp1" parentQuery="Q1" parentColumn="application_id" childQuery="Q2" childColumn="application_id" condition="="/>
</dataQuery>
<dataStructure>
<group name="G_totals1" source="Q1">
<element name="days_logged" value="days_logged"/>
<element name="logins" value="logins"/>
<element name="last_access" value="last_access"/>
<element name="application_id" value="application_id"/>
<element name="user_id" value="user_id"/>
</group>
<group name="G_main" source="Q2">
<element name="Customer name" value="Customer name">
<element name="Application name" value="Application name">
<element name="First name" value="First name">
<element name="Last name" value="Last name">
<element name="Username" value="Username">
<element name="Email address" value="Email address">
<element name="Job Role" value="Job Role">
<element name="Job Area" value="Job Area">
<element name="Specific Job Area" value="Specific Job Area">
<element name="City" value="City">
<element name="State" value="State">
<element name="Country" value="Country">
<element name="Territory/GAM" value="Territory/GAM">
<element name="SBU" value="SBU">
<element name="Registration date" value="Registration date">
<element name="Expiry date" value="Expiry date">
<element name="Status" value="Status">
<element name="application_id" value="application_id"/>
<element name="user_id" value="user_id"/>
</group>
<group name="G_main" source="Q3">
<element name="Number of Turnaways Kickout" value="Number of Turnaways Kickout"/>
<element name="Last Turnaway Kickout" value="Last Turnaway Kickout"/>
<element name="application_id" value="application_id"/>
<element name="user_id" value="user_id"/>
</group>
</dataStructure>
</dataTemplate>
on the XDO file, the parameters are:
<parameters>
<parameter id="p_customer" defaultValue="8c3ff6ad5eh5c8" dataType="xsd:string">
<select label="Customer: " valueSet="lv_customer" multiple="true" all="false" allValue="lov"/>
</parameter>
<parameter id="p_application" defaultValue="1" dataType="xsd:integer">
<select label="Application: " valueSet="LV_application" multiple="true" all="false" allValue="lov"/>
</parameter>
<parameter id="p_start_date" defaultValue="{$SYSDATE()$}" dataType="xsd:date">
<date label="Usage occurs on or after (dd-mm-yyyy):" size="11" format="dd-MM-yyyy" minValue="01-06-1950" maxValue="01-06-2100"/>
</parameter>
<parameter id="p_final_date" defaultValue="{$SYSDATE()$}" dataType="xsd:date">
<date label="Usage occurs on or before (dd-mm-yyyy):" size="11" format="dd-MM-yyyy" minValue="01-06-1950" maxValue="01-06-2100"/>
</parameter>
<parameter id="p_staff_account" defaultValue="Y">
<select label="Staff Accout: " valueSet="lv_staff_account" multiple="false" all="false" allValue="null"/>
</parameter>
</parameters>
Thank you,
Marcelo Cure
Oracle Developer
[email protected]
www.ilegra.com
Edited by: user11307652 on 09/03/2010 05:21
Edited by: user11307652 on 09/03/2010 06:15

I have a similar problem where i cannot use the parameter with comma separated values in the parameter.
my report definition is as below.
<dataTemplate name="COMLTRDATA" description="Data for the COMLTR letters" dataSourceRef="PRISM">
                    <parameters>
                         <parameter name="secondary_sequence" dataType="number" include_in_output="false"/>
                    </parameters>
                    <dataQuery>
                         <sqlStatement name="Q1">
                              <![CDATA[select     PR_LETTER_MASTER.LETTER_ID as LETTER_ID,
     to_char(PR_LETTER_MASTER.LETTER_DATE,'FMMonth DD, RRRR') as LETTER_DATE,
     PR_LETTER_MASTER.LETTER_NAME as LETTER_NAME,
     PR_LETTER_MASTER.ADDRESS_TYPE as ADDRESS_TYPE,
     PR_LETTER_MASTER.REVIEWED_FIRM_NUMBER as REVIEWED_FIRM_NUMBER,
     PR_LETTER_MASTER.REVIEWED_FIRM_NAME as REVIEWED_FIRM_NAME,
     PR_LETTER_MASTER.REVIEWED_FIRM_TYPE as REVIEWED_FIRM_TYPE,
     PR_LETTER_MASTER.REVIEWING_FIRM_NUMBER as REVIEWING_FIRM_NUMBER,
     PR_LETTER_MASTER.REVIEW_NUMBER as REVIEW_NUMBER,
         PR_LETTER_MASTER.SALUTATION as SALUTATION,
         PR_LETTER_MASTER.SIGNATURE_EMAIL_ID as SIGNATURE_EMAIL_ID,
         PR_LETTER_MASTER.SIGNATURE_TITLE as SIGNATURE_TITLE,
     PR_LETTER_MASTER.REVIEW_STATUS as REVIEW_STATUS,
     to_char(PR_LETTER_MASTER.REVIEW_COMMENCEMENT_DATE,'FMMonth DD, RRRR') as REVIEW_COMMENCEMENT_DATE,
     to_char(PR_LETTER_MASTER.REVIEW_DUE_DATE,'FMMonth DD, RRRR') as REVIEW_DUE_DATE,
     PR_LETTER_MASTER.REVIEW_YEAR as REVIEW_YEAR,
     PR_LETTER_MASTER.REVIEW_PROGRAM as REVIEW_PROGRAM,
         PR_LETTER_MASTER.REVIEW_TYPE as REVIEW_TYPE,
         PR_LETTER_MASTER.TEAM_CAPT_FIRM_NAME as TEAM_CAPT_FIRM_NAME,
     PR_LETTER_MASTER.PRIOR_REVIEW_NUMBER as PRIOR_REVIEW_NUMBER,
     PR_LETTER_MASTER.MNGPTR_MEMBER_NUMBER as MNGPTR_MEMBER_NUMBER,
     PR_LETTER_MASTER.FIRST_NAME as FIRST_NAME,
     PR_LETTER_MASTER.MIDDLE_INITIAL as MIDDLE_INITIAL,
     PR_LETTER_MASTER.LAST_NAME as LAST_NAME,
     PR_LETTER_MASTER.ADDRESS_LINE1 as ADDRESS_LINE1,
     PR_LETTER_MASTER.ADDRESS_LINE2 as ADDRESS_LINE2,
     PR_LETTER_MASTER.ADDRESS_LINE3 as ADDRESS_LINE3,
     PR_LETTER_MASTER.CITY as CITY,
     PR_LETTER_MASTER.STATE as STATE,
     PR_LETTER_MASTER.ZIP as ZIP,
     PR_LETTER_MASTER.ZIP_PLUS as ZIP_PLUS,
     PR_LETTER_MASTER.DELIVERY_EMAIL_ID as DELIVERY_EMAIL_ID,
     PR_LETTER_MASTER.SIGNATURE_TYPE as SIGNATURE_TYPE,
     PR_LETTER_MASTER.SIGNATURE_NAME as SIGNATURE_NAME,
     PR_LETTER_MASTER.TEAM_CAPT_MEMBER_NUMBER as TEAM_CAPT_MEMBER_NUMBER,
     PR_LETTER_MASTER.SIGNATURE_PHONE_NUMBER as SIGNATURE_PHONE_NUMBER,
     PR_LETTER_MASTER.LAST_LETTER_SENT_DATE1 as LAST_LETTER_SENT_DATE1,
     PR_LETTER_MASTER.LAST_LETTER_SENT_DATE2 as LAST_LETTER_SENT_DATE2,
     PR_LETTER_MASTER.LAST_LETTER_SENT_DATE3 as LAST_LETTER_SENT_DATE3,
    to_char(PR_LETTER_MASTER.EXIT_CONFERENCE_DATE,'FMMonth DD, RRRR') as EXIT_CONFERENCE_DATE,
     PR_LETTER_MASTER.REVIEW_TAX_SEASON as REVIEW_TAX_SEASON,
         PR_LETTER_MASTER.STATE_SOCIETY_NUM as STATE_SOCIETY_NUM,
         PR_LETTER_MASTER.STATE_SOCIETY_NAME as STATE_SOCIETY_NAME,
     PR_LETTER_MASTER.SECONDARY_LETTER_SEQUENCE as SECONDARY_LETTER_SEQUENCE,
     PR_LETTER_MASTER.CREATION_DATE as CREATION_DATE,
     PR_LETTER_MASTER.STATE_CODE as STATE_CODE ,
         PR_LETTER_MASTER.DELIVERY_EMAIL_ID as DELIVERY_EMAIL_ID,
         PR_LETTER_MASTER.TEAM_CAPT_FIRST_NAME as TEAM_CAPT_FIRST_NAME,
         PR_LETTER_MASTER.TEAM_CAPT_LAST_NAME as TEAM_CAPT_LAST_NAME,
         to_char(PR_LETTER_MASTER.DT_RAB_PRESENTATION,'FMMonth DD, RRRR') as DT_RAB_PRESENTATION,
         PR_LETTER_MASTER.RAB_DESCRIPTION as RAB_DESCRIPTION ,
         PR_LETTER_MASTER.TEAM_CAPT_MIDDLE_INITIAL as TEAM_CAPT_MIDDLE_INITIAL,
pr_letter_master.salutation as Salutation
from      PRISM.PR_LETTER_MASTER PR_LETTER_MASTER
where secondary_letter_sequence in (:secondary_sequence)]]>
                         </sqlStatement>
                         <sqlStatement name="Q2">
                              <![CDATA[select followup_description from pr_letter_details where secondary_letter_sequence = :SECONDARY_LETTER_SEQUENCE]]>
                         </sqlStatement>
                    </dataQuery>
                    <dataStructure>
                         <group name="letter1" source="Q1">
                              <element name="LETTER_DATE" value="LETTER_DATE"/>
                              <element name="FIRST_NAME" value="FIRST_NAME"/>
                              <element name="MIDDLE_INITIAL" value="MIDDLE_INITIAL"/>
                              <element name="LAST_NAME" value="LAST_NAME"/>
                              <element name="ADDRESS_LINE1" value="ADDRESS_LINE1"/>
                              <element name="ADDRESS_LINE2" value="ADDRESS_LINE2"/>
                              <element name="ADDRESS_LINE3" value="ADDRESS_LINE3"/>
                              <element name="CITY" value="CITY"/>
                              <element name="STATE" value="STATE"/>
                              <element name="ZIP" value="ZIP"/>
                              <element name="ZIP_PLUS" value="ZIP_PLUS"/>
                              <element name="SALUTATION" value="SALUTATION"/>
                              <element name="REVIEW_TYPE" value="REVIEW_TYPE"/>
                              <element name="DT_RAB_PRESENTATION" value="DT_RAB_PRESENTATION"/>
                              <element name="RAB_DESCRIPTION" value="RAB_DESCRIPTION"/>
                              <element name="SIGNATURE_NAME" value="SIGNATURE_NAME"/>
                              <element name="SIGNATURE_PHONE_NUMBER" value="SIGNATURE_PHONE_NUMBER"/>
                              <element name="SIGNATURE_TITLE" value="SIGNATURE_TITLE"/>
                              <element name="SIGNATURE_EMAIL_ID" value="SIGNATURE_EMAIL_ID"/>
                              <element name="TEAM_CAPT_MIDDLE_INITIAL" value="TEAM_CAPT_MIDDLE_INITIAL"/>
                              <element name="TEAM_CAPT_FIRST_NAME" value="TEAM_CAPT_FIRST_NAME"/>
                              <element name="TEAM_CAPT_LAST_NAME" value="TEAM_CAPT_LAST_NAME"/>
                              <element name="REVIEWED_FIRM_NUMBER" value="REVIEWED_FIRM_NUMBER"/>
                              <element name="REVIEWED_FIRM_NAME" value="REVIEWED_FIRM_NAME"/>
                              <element name="REVIEW_NUMBER" value="REVIEW_NUMBER"/>
                              <element name="LETTER_ID" value="LETTER_ID"/>
                              <group name="Detail" source="Q2">
                                   <element name="followup_description" value="followup_description"/>
                              </group>
                         </group>
                    </dataStructure>
               </dataTemplate>

Similar Messages

  • Help with POST data if  multiple selections are chosen

    I've created a form with a menu (list) that includes all 50
    states. I'm using the POST option, along with PHP, to process the
    form data, which will be emailed to me. The list-menu looks like
    this:
    http://askdave.info/help/states_menu.gif
    and I have "Allow Multiple Selections" checked in the Property
    Inspector.
    If the user chooses multiple states, I want
    EACH of those states to be listed in the email that I
    receive. Right now, if I check multiple states, I only get
    the very last state that's selected. For example, here's the
    email I get after I check 5 different states.
    http://askdave.info/help/formdata.gif
    Problem--> In this email, only one state is listed
    (Hawaii) even though I selected 5 different states. How do I get
    the form data to list ALL states that are checked?
    Here is what I have:
    <form name="form1" method="post" action="process.php">
    <input type="hidden" name="required"
    value="name,phone,email,states,capital" />
    And then for the menu that lists the states, I have:
    <label>
    <select name="states" size="7" multiple id="states">
    <option>All States</option>
    <option>Alabama</option>
    <option>Alaska</option>
    <option>Arizona</option>
    <option>Arkansas</option>
    and so on...
    What am I missing? How do I get the PHP script to send
    multiple values, if multiple values are chosen? (I'm new to PHP, so
    go easy on me. I can post my code, if necessary.) Is this a PHP
    issue, or do I need to add something to the HTML form?

    Hi,
    >>
    I think DynaForm stands for Dynamic Form
    >>
    this makes some sense ;-) I was just wondering because there
    is a pre-made script called DynaForm
    here, but
    it has a different "logistics" than yours.
    However, both "DynaForm" versions are pretty basic, as they
    just deal with non-multiple values - form fields like single line
    input fields, texareas and non-multiple select´s. Your script
    e.g. just loops through all existing form fields using the
    "foreach" method:
    //Pulls form fields & values.
    foreach ($this->post as $field => $value) { // looping
    through all form fields
    if ( $field == 'required' ) continue;
    $this->_addLine($field, $value); // here´s where the
    field´s name/value consolidation happens
    ...and simply consolidates a field´s "value" with its
    associated "name". The problem is : this method just works for
    fields having just 1 value -- but any "multiple value" form fields
    (e.g. your "states" select or checkbox groups which can pass
    multiple values as well) actually require a separate "foreach"
    treatment within the script, and this hasn´t been incorporated
    here.
    That said, I suggest using an other pre-made solution like
    PHP
    Form Mail script that´s capable to handle your multiple
    values - scenario innately.

  • Multiple selection problem in adf

    hi all,
    i have table with multiple selection. i use above code but i read only one record. moreover, i read different record in each selection.
    CoreTable table = this.getTable1();
    Set rowSet = table.getSelectionState().getKeySet();
    Iterator rowSetIter = rowSet.iterator();
    bindings = getBindings();
    DCIteratorBinding pr_dcib = (DCIteratorBinding)bindings.get ("arizagozlemview1Iterator");
    while (rowSetIter.hasNext){
    Key key = (Key) rowSetIter.next();
    String ad=key.toStringFormat(true);
    System.out.println(ad);
    pr_dcib.setCurrentRowWithKey(ad);//
    ViewRowImpl rowImpl = (ViewRowImpl)pr_dcib.getCurrentRow();
    Number a = (Number)rowImpl.getAttribute("ArizaNo");
    System.out.println(a);
    }

    The problem is the position of the command button, the button must be out of the table tags
    <af:commandButton text="commandButton 1"
    binding="#{mybacking.commandButton1}"
    id="commandButton1"
    action="#{mybaking.Button_action}"/>
    <af:table value=...

  • JSP/JBO multiple Selection problem

    I am user the BC4J JBO InputSelectGroup object to insert what I was hoping multiple selection values into a field. It will only insert one value. What am I doing wrong?

    Hi,
    I am not sure if this is similar to the problem i faced, where I was not able to close the variable selection screen after making use of the variant button.
    I solved this by applying the latest BI 7.0 addon patch.
    Hope this helps you solve your problem.
    Regards,
    Gaurav
    Edited by: Gaurav Kothari on Aug 21, 2009 3:10 PM

  • Multiple Selection problem

    Hello experts,
    I´ve got a query with a variable with a multiple selection. I want to add a list of numbers to that multiple selection. I copy that list into the windows clipboard and then add it to the multiple selection. After that the window doesn´t close when I click on "ok".
    If you want to test it: You´ll always get that failure when you add a list into a multiple selection, then delete everything (click recycle bin) and add it again. After that, you can´t close the window of the multiple selection and strange things happen.
    Can anybode help me, I can´t find any OSS-Note for that problem...
    Thanks in advance

    Hi,
    I am not sure if this is similar to the problem i faced, where I was not able to close the variable selection screen after making use of the variant button.
    I solved this by applying the latest BI 7.0 addon patch.
    Hope this helps you solve your problem.
    Regards,
    Gaurav
    Edited by: Gaurav Kothari on Aug 21, 2009 3:10 PM

  • Data list multiple selection not working?

    I set up a data list and checked the 'allow multiple selection' option in the component properties. However, the list still only allowed one selection at a time (clicking on a different item would deselect the other one). Am I missing something or is this just a bug? I'm using Beta 2. In general, I'm really enjoying playing with it and I'm looking forward to the full version.
    Thanks!
    Alicia

    Oh, of course. Thanks. I guess I'm really trying to use the data list in a non-traditional way. I want a series of items that can individually (and independently) be toggled on and off. I actually tried to do this by making a data list with a toggle button as the repeating item. It generally worked, but I got some weird behavior with items outside the clipping area.

  • RE: HR ABAP Multiple selection problem on input selection-screen

    hi friends,
    I AM Facing one problem in HR abap report  selection-screen , in my report  employee details data getting based on payroll area
    of selection-screen. Here iam  SELECTION-SCREEN  declarations made in program level NOT created REPORT CATEGORY FOR
    PNP LDB.
    ACTUAL MY PROBLEM IS IF I SELECT SINGLE PAYROLL AREA IN SELECTION-SCREEN IT GETTING DATA PERFECTLY FOR THAT
    PAYROLL AREA  
    EX. ZA - PAYROLL AREA IF I SELECT IN SELECTION SCREEN IT FETCHING THAT PAYROLL  AREA DATA PERFECTLY, PROBLEM
    IS IF I SELECT MULTIPLE PAYROLL AREAS IN SELECTION-SCREEN PAYROLL AREA FIELD  ZA AND ZB PAYROLLS IT FETCHING
    ONLY ZA -PAYROLL DATA ONLY IT IS NOT FETCHING DATA FROM ZB PAYROLL AREA.MY REQUIREMENT IS IT SHOULD FETCH
    BOTH PAYROLL DATA  AND SHOWING  .
    HERE  IAM GIVING MY SELECTION SCREEN DECLARATION SYNTAX.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
                    S_ABKRS FOR P0001-ABKRS NO INTERVALS," NO-EXTENSION,     " PAY ROLL AREA
                    S_PERSA FOR P0001-WERKS NO INTERVALS," NO-EXTENSION,     " PERS.AREA
    SELECTION-SCREEN END OF BLOCK B2 .
    PLEASE Any body knows solution for this selection give me reply.
    regards,
    gopal

    If you are using Logical DB PNP why are you coding Selection Fields for ABKRS and WERKS?   Both of these fields are defined in the PNP Selection Screen and if you use those fields then SAP will handle filtering the data.

  • Flash CS4 multiple selection probleme, Scale/position

    Hello.
    i noticed that if you have a flash cs4 AS2 where you need to make a zoom and unzoom effect on multiple element, you will have a painfull time building that scale+position effect. Let me explain.
    Everything need to be scaled from 0 to 100 % and then from 100 % to 0. Some of those need to be scale in the exact position where they are, but other need to also move to fit the zoom effect for a result of a central effect for everything ). For some unknow reason the Tween is not working for those item. So i had to do it manually using 50 keyframe of 1 frame ( ho joy... dont forget to times that by 19)
    We all know that when you use the free transform tools, you have the transform box + the little circle that define the effect "center" location of the item. Whatever the location of that little circle, when you zoom it will go away in the opposite direction and the reverse is also true. So far it work perfectly.
    however if you take the time to set that little circle for all your element perfectly and test it with all element, you should be able to select ALL of your element at the same time and execute the same move as if you were doing it on a single element right ?. Well no.
    If you do it with a single element and play with the scale ( with constraint) it does what you want. But if you select them all, you discover quickly enough that it is no longer working. You also discover that it is adding a NEW little circle ( "center" position) that is offset. Fair enough, i move that circle at the exact location of the zoom effect then try to make the zoom, and TADAM.. it is not working, it is still messing with the direction of the scale/position.
    Ctrl Z. unselect everything, and try again with only 1 random element ? work perfectly. Try with all of them at the same time ? dont work.
    REmember all those element zoom at the same location, so you shouldn't have any probleme with the new little circle as long you move it at the same spot than the other. But no. even if it is there, it will still scale/position South of where it suposed to be. Doing it all at the same time while setting that circle should save you time, but right now it is the exact opposite, an effect that could take 1 hour to make will take me the full day, if not more.
    any clue ?
    I do hope i'm clear enough
    Thx.

    Yes Kglad, that the little circle thing i was speaking about.
    It is set manually to fit the design and if i select my item 1 by 1 and zoom them manually, it is working.
    The bug is when you select them all ( AFTER setting all the registration point ) you will get another one that is not set, so even if you set it manually at that time ( when all is selected ) and THEN apply the zoom, it will no longer work.
    thats the bug.

  • Multiple selection of parameter values (BIP 10.1.3.2)

    Hi there,
    I'm working with BI Publisher 10.1.3.2 and I'd like to use parameters allowing multiple selection. I've tried it with both data templates and SQL queries ... but I'm not getting it work ...
    I've established a simple "Show me department name and id"-example according to my parameter selection (you can select multiple values e.g. Administration, Marketing, Sales ... and the "All"-option is activated as well), based on the HR/OE schema.
    Here's just a quick note, where I tested the way the Publisher Engine copes with parameter selection in general
    5.6.2
    single selection => e.g. Administration
    multiple selection => e.g. Administration,Marketing
    All => *
    10.1.3.2
    single selection => e.g. Administration
    multiple selection => e.g. 'Administration','Marketing'
    All => null
    So, in 10.1.3.2 there's been an improvement concerning single quotes - in the case of multiple selection only. I do not know why there are no single quotes for a single selection, but it seems like that's the way it is ...
    Well, I've created a simple SQL query as follows:
    CASE 1 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (:myParameter)
    => All does not work
    => Single Selection is working
    => Multiple Selection is working
    sample output in the case of selecting "Marketing" (single selection):
    <TESTINGIN>
    <myParameter>Marketing</myParameter>
    <LIST_DEPTS>
    <DEPTS>
    <_MYPARAMETER>Marketing</_MYPARAMETER>
    <ID>20</ID>
    <NAME>Marketing</NAME>
    </DEPTS>
    </LIST_DEPTS>
    </TESTINGIN>
    ... and I've tried the same select statement using a data template instead, and then I got another result: both, All and Multiple Selection, do not work (I'm getting back an empty element)
    sample (error) output in the case of selecting both "Marketing" and "Administration" (multiple selection):
    <TESTINGIN>
    <myParameter>'Administration','Marketing'</myParameter>
    <LIST_DEPTS></LIST_DEPTS>
    </TESTINGIN>
    In order to cover the "All"-case ... I manipulated my select statement as follows and used it as SQL query:
    CASE 2 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (nvl(:myParameter, DEPARTMENT_NAME))
    => All is working now
    => Singe selection is working
    => Multiple selection is not working any more (ORA-00909: Ungültige Anzahl von Argumenten / illegal amount of arguments)
    ... using the same select statement within a data template, Multiple Selection is still not working (empty element)
    Last, I've tried another select statement, based on an entry of the xml publisher forum:
    CASE 3 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (:myParameter) or :myParameter IS NULL
    => All is working
    => Singe selection is working
    => Multiple selection is not working (ORA-00920: Ungültiger relationaler Operator / illegal relational operator)
    So, I couldn't find a way that all three possibilities are working ... and using data templates, multiple selection never worked. If I hardcoded the where clause in the data template,
    e.g. where DEPARTMENT_NAME IN ('Administration','Marketing'), it worked fine (no matter, whether I place the sql statement within an CDATA section, or not).
    Can anyone tell me, what I'm doing wrong here?
    While testing my problem, I figured out that there's a difference of generated parameter output ... I just put the parameter in the select list, and depending on whether you use SQL query or data template, you'll get different results:
    SQL statement
    => for each parameter value an own parameter
    <_MYPARAMETER>Administration</_MYPARAMETER> in the case of single selection
    <_MYPARAMETER8093>Administration</_MYPARAMETER8093>
    <_MYPARAMETER8094>Marketing</_MYPARAMETER8094> in the case of multiple selection
    data Template
    => list of parameter values
    <_MYPARAMETER>Administration</_MYPARAMETER> in the case of single selection
    <_MYPARAMETER>'Administration','Marketing'</_MYPARAMETER> in the case of multiple selection
    Maybe that's the problem? I don't know, this difference how the Publisher Engine copes with parameters just attracted attention to me ...
    Alright, I hope it was not too confusing. I would appreciate any help, since here @ the customer's site we need to use data templates inclduing multiple selection in order to establish a context for VPD.
    The problems in summary:
    - how to write a select statement to include all three possibilites of parameter selection (single selection, multiple selection, All option)
    - multiple selection never worked using data templates
    Can someone help me here?

    hi,
    i think you have to use lexical parameters and a package, like this:
    <dataTemplate name="departments" dataSourceRef="hr@demo" defaultPackage="bip_departments">
    <parameters>
    <parameter name="p_location_id" include_in_output="false" datatype="float"/>
    </parameters>
    <dataTrigger name="beforeReport" source="bip_departments.beforeReportTrigger"/>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[ select d.department_id, d.department_name, d.location_id
                      from departments d
                     &p_where_clause
                order by location_id, department_id]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="LOC" source="Q1">
    <element name="location_id" value="location_id"/>
    <group name="DEPT" source="Q1">
    <element name="department_id" value="department_id"/>
    <element name="department_name" value="department_name"/>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    with package:
    create or replace package bip_departments
    as
    p_location_id long;
    p_where_clause long;
    function beforereporttrigger
    return boolean;
    end bip_departments;
    create or replace package body bip_departments
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    if (p_location_id is not null)
    then
    p_where_clause := 'where (d.location_id in (' || replace (p_location_id, '''') || '))';
    else
    p_where_clause := 'where 1=1';
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments;

  • Active mode multiple selection in dialog screen

    in my dialog screen i had multiple selection option button by using the below function module.
    CALL FUNCTION 'K_CMPERS_MULTIPLE_SELECTION'
      EXPORTING
        P_FIELDTYPE         = 'R'
        P_FIELDNAME         = 'MATNR'
        P_TABLENAME         = 'MARA'
      TABLES
        PT_PARM             = HMAT.
    its working fine.
    but when i enter data into multiple selection it does not changes to active mode ( green color).
    can u pls tell me how to change it into active mode when data is there

    Hi Banu,
    The icon will not change automatically. You need to write code in PBO and change the icon of your push button accordingly.
    Please refer to the document below for how to change icon of push button in module pool:
    [http://wiki.sdn.sap.com/wiki/display/sandbox/ChangeanIconofaButtonDynamicallyInModulePool|http://wiki.sdn.sap.com/wiki/display/sandbox/ChangeanIconofaButtonDynamicallyInModulePool]
    Cheers,

  • Multiple Selection List Box-- Data Reporting Problem...

    I want to build a form which reports all of the multiple selections made by users from a list box. When I test the form, only the first selection is reported in the dataset. How do I configure the form so that when data is compiled, each of the selections from the list box is reported in sequence?

    Here is the solution for the requirement.
    Add another 2 columns in the resource list: test1 (set default value to 1), test2 (no default value).
    Set test1 to 1 for all existing items in the resource list.
    Set test2 to 2 for the 10 special items.
    Custom form from InfoPath Designer, modify the data connection and also include the test1 and test2.
    Go to drop down control properties and make sure its value is 1 and 2.
     Go add the filter to multiple selection box control like this.
    Note: field1 is the field used by my drop down control in Main data connection.
        7.    Done. Now when we select test1 in drop down, we can see all list items in multiple selection box. And when we select test2 in drop down, we can see the 10 list items that with test2 column filled with 2.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • How to use multiple selection parameters in the data model

    Hi, after have looked all the previous threads about how to use multiple selection parameters , I still have a problem;
    I'm using Oracle BI Publisher 10.1.3.3.2 and I'm tried to define more than one multiple selection parameters inside the data template;
    Inside a simple SQL queries they work perfectly....but inside the data template I have errors.
    My data template is the following (it's very simple...I am just testing how the parameters work):
    <dataTemplate name="Test" defaultPackage="bip_departments_2_parameters">
    <parameters>
    <parameter name="p_dep_2_param" include_in_output="false" datatype="character"/>
    <parameter name="p_loc_1_param" include_in_output="false" datatype="character"/>
    </parameters>
    <dataTrigger name="beforeReport" source="bip_departments_2_parameters.beforeReportTrigger"/>
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    select deptno, dname,loc
    from dept
    &p_where_clause
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_DEPT" source="Q2">
    <element name="deptno" value="deptno"/>
    <element name="dname" value="dname"/>
    <element name="loc" value="loc"/>
    </group>
    </dataStructure>
    </dataTemplate>
    The 2 parameters are based on these LOV:
    1) select distinct dname from dept (p_dep_2_param)
    2) select distinct loc from dept (p_loc_1_param)
    and both of them have checked the "Multiple selection" and "Can select all" boxes
    The package I created, in order to use the lexical refence is:
    CREATE OR REPLACE package SCOTT.bip_departments_2_parameters
    as
    p_dep_2_param varchar2(14);
    p_loc_1_param varchar2(20);
    p_where_clause varchar2(100);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    CREATE OR REPLACE package body SCOTT.bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    if (p_dep_2_param is not null) --and (p_loc_1_param is not null)
    then
    p_where_clause := 'where (dname in (' || replace (p_dep_1_param, '''') || ') and loc in (' || replace (p_loc_1_param, '''') || '))';
    else
    p_where_clause := 'where 1=1';
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    As you see, I tried to have only one p_where_clause (with more than one parameter inside)....but it doesn't work...
    Using only the first parameter (based on deptno (which is number), the p_where_clause is: p_where_clause := 'where (deptno in (' || replace (p_dep_2_param, '''') || '))';
    it works perfectly....
    Now I don't know if the problem is the datatype, but I noticed that with a single parameter (deptno is number), the lexical refence (inside the data template) works.....with a varchar parameter it doesn't work....
    So my questions are these:
    1) how can I define the p_where_clause (inside the package) with a single varchar parameter (for example, the department location name)
    2) how can I define the p_where_clause using more than one parameter (for example, the department location name and the department name) not number.
    Thanks in advance for any suggestion
    Alex

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

  • Passing menu selections as parameters to Data Template

    Hi,
    Following is my data template where i am passing 3 parameters - product_names(drop down menu, with option of multiple select with All), balance_date and trailing_days:
    <dataTemplate name="ProductTrendDataTemplate" description="Product Trend Report" dataSourceRef="PI reporting DS">
         <properties>
              <property name="include_parameters" value="false"/>
              <property name="include_null_Element" value="false"/>
              <property name="include_rowsettag" value="false"/>
              <property name="scalable_mode" value="off"/>
         </properties>
         <parameters>
              <parameter name="product_names"/>
              <parameter name="balance_date" dataType="date"/>
              <parameter name="trailing_days" dataType="number" defaultValue="30"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="settlementlvl">
                   <![CDATA[     
              select
                to_char(eff_d , 'MM/DD/YYYY') as settlement_date,
                prdt_nm as product_name,
                sum(tt_now_mmda_bal_a) as balance,
                sum(acc_cnt) as account_count,
                to_char(latest_settlement_date, 'MM/DD/YYYY') as latest_run_date
               from
                <tables>
               where
                prdt_nm in (:product_names)
                and eff_d <= nvl(cast(:balance_date as date), (select max(eff_d) from t_frdba_daily_bal_f))
                and eff_d >= nvl(cast(:balance_date as date), (select max(eff_d) from t_frdba_daily_bal_f)) - :trailing_days       
                group by eff_d, prdt_nm, latest_settlement_date
                order by eff_d, prdt_nm
                   ]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="SETTLE_INFO" source="settlementlvl">
                   <element name="SETTLE_DATE" value="settlement_date"/>
                   <element name="PRODUCT_NAME" value="product_name"/>
                   <element name="BAL" value="balance"/>
                   <element name="ACCNTS" value="account_count"/>
                   <element name="LATEST_SETTLEMENT_DATE" value="latest_run_date"/>
              </group>
         </dataStructure>
    </dataTemplate>
    The parameter definition in the xdo document is as follows:
    <parameters>
    <parameter id="balance_date" dataType="xsd:date">
    <date label="Latest Settlement Date" format="dd-MMM-yy"/>
    </parameter>
    <parameter id="trailing_days" defaultValue="90" dataType="xsd:integer">
    <input label="Trailing Days" size="4"/>
    </parameter>
    <parameter id="product_names" defaultValue="*">
    <select label="Products" valueSet="product_list" multiple="true" all="true" allValue="lov"/>
    </parameter>
    </parameters>
    My problem pertains to the parameter product_names. When I select either All or multiple product_names (that is when I select product X,Y and Z from the front end), the product names are passed in as a single string into the query. As a result of this the query prdt_nm in (:product_names) fails as it trys to find all the product_names with value "'X','Y','Z'" instead of selecting on values 'X', 'Y', 'Z' separately. Thus the query is failing for multiple select. Can anyone suggest as how to handle this condition?
    Please let me know if you need more information on this....
    Thanks,
    Ashwin

    Tim,
    The output from my OC4J terminal with debugger turned on is
    The sql query at run time looked as: prdt_nm in (:product_names)
    Parameter value substituted as:
    [101609_022156559][][STATEMENT] 1: product_names:'X','Y','Z'.
    So I assume that the data template recvd this parameter as an string " 'X','Y','Z' ".
    Just out of curiosity, I tried the same without using data template , just using plain SQL query, the output from the OC4J terminal is as follows:
    In the query the parameter product_names is replace as prdt_nm in (:product_names2905,:product_names2906,:product_names2907) and the values are substituted as
    [101609_022637635][][STATEMENT] 1:X
    [101609_022637635][][STATEMENT] 2:Y
    [101609_022637635][][STATEMENT] 3:Z
    So from this you can see that BI publisher is some how handling the data template's parameter parsing differently from plain sql query.
    Tim, I am not familiar with pre-fetch triggers as I am new to PL/Sql. Is there someway to handle this at the query level instead of writing a PL/SQL function.
    Appreciate your help.
    Ashwin

  • No Data when doing multiple selection of sub-brand in the cube

    Hey everyone.
    I am having a very strange situation.
    No Data when doing multiple selection cube.
    The thing is that the situation is created only in the transition between the servers, who have a different Build but both of them are SQL 2008R2 servers.
    The Build of one of them is 10.50.2789.0 and the other one is 10.50.4000.0 (SP2).
    The other properties of the cube are the same, it's Not possible to retrieve data from the cube on the server with the "SP2 when we  the slicing is at the level of sub-brand and removed even one item  mean we passed a multiple selection ,
    This is possible only if we connect the cube as Admin .
    While the server with the older "Build" the problem to perform the above operation when connected as a user not exist.
    What can cause this problem,and how can we fix it?
    thank's a lot.

    Hi Doron2Bull,
    According to your description, there are two servers in your scenario, and you cannot retrieve data from one of the cube, right? Are there any differences between the two cubes on different? You can import the database on the server into BIDS and explore
    Data on the fact table on the Data Source View to check if there are any data. If we can see the data when we do Explore Data on the fact table on the Data Source View (DSV), but when we browse the cube here is no data. Then there are many possibilities for
    this issue.
    On the cube's Dimension Usage, the relationship between this measure group and the dimension is not correctly defined.
    On the relational database, the dimensional key column on the fact table does not correspond to the key column on dimension table.
    There is a Default Member on another dimension, and there is no fact table row that satisfy this condition.
    If I have anything misunderstood, please point it out.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Use a multiple selection parameter in the data model

    Hi
    i have created a parameter with the property multiple selection.
    This parameter i use in the Data Model where area,
    if i just mark one value the report works well if i mark more the one
    the report run into a error.
    WHERE PSNR IN :ma
    the xdo looks like
    <?xml version = '1.0' encoding = 'utf-8'?>
    <report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="tisoware">
    <title>BDE Nettozeit</title>
    <properties>
    <property name="showControls" value="true"/>
    <property name="online" value="true"/>
    <property name="parameterColumns" value="2"/>
    <property name="openLinkInNewWindow" value="true"/>
    </properties>
    <dataModel defaultDataSet="BDERUECK">
    <dataSet id="BDERUECK">
    <sql dataSourceRef="tisoware">
    <![CDATA[SELECT (SUBSTR(DATUM,1,6)) AS DATUM, SUM(NTTOZEIT) AS ZEIT,
    TRUNC(SUM(NTTOZEIT)/60) AS STUNDE
    FROM BDERUECK
    WHERE (DATUM  >= :datev) AND (DATUM <= :dateb) AND (KZDELETE = 'N') AND FIRMA = '1' AND ((PSNR IN :ma))
    GROUP BY (SUBSTR(DATUM,1,6))]]>
    </sql>
    <input id="datev" value="${datev}" dataType="xsd:string"/>
    <input id="dateb" value="${dateb}" dataType="xsd:string"/>
    <input id="ma" value="${ma}" dataType="xsd:string"/>
    </dataSet>
    </dataModel>
    <valueSets>
    <valueSet id="date">
    <sql dataSourceRef="tisoware">
    <![CDATA[SELECT DISTINCT DATUM
    FROM BDERUECK]]>
    </sql>
    </valueSet>
    <valueSet id="employee">
    <sql dataSourceRef="tisoware">
    <![CDATA[select      PERSTAMM.PSPERSNR as PSPERSNR,
          PERSTAMM.PSNR as PSNR
    from      TISOWARE.PERSTAMM PERSTAMM
    where    PERSTAMM.FIRMA = '1'
    order by PERSTAMM.PSPERSNR]]>
    </sql>
    </valueSet>
    </valueSets>
    <parameters>
    <parameter id="datev" defaultValue="20050103">
    <select label="Datum von : " valueSet="date" multiple="false" all="false" refreshParameters="false"/>
    </parameter>
    <parameter id="dateb" defaultValue="20060930">
    <select label="Datum bis : " valueSet="date" multiple="false" all="false"/>
    </parameter>
    <parameter id="ma" defaultValue="152">
    <select label="Mitarbeiter : " valueSet="employee" multiple="true" all="false"/>
    </parameter>
    </parameters>
    <templates default="BDE Nettozeit">
    <template label="BDE Nettozeit" type="rtf" url="BDE Nettozeit.rtf"/>
    </templates>
    </report>

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

Maybe you are looking for

  • Files converted from m4a to mp3 are not displaying correctly in feed

    hi; i recently produced my first show in garageband (after using a bunch of other audio apps in the past), exported to an m4a file, and converted to mp3 in itunes, but it is not showing up as an audio file in my feed. the feed is http://feeds.feedbur

  • Imported, now all songs in Broadcast mode??

    Hello. I imported my iTunes library from a PC to Mac, then did a reset on my iPod since it was in Windows mode (so it would be Mac mode). The songs are all in my iTunes library on my mac, but now they're all in Broadcast mode. Thus, they won't sync t

  • HT1518 How to write a document with a mac

    How to set up a mac to write a letter

  • Communication API for Linux

    I want to develop an application in Java for Linux that uses serial port . But java.sun.com provides communications API for Windows, Solaris but not Linux ! ! ! Where can I find free java api to drive a serial port easily ??? Thanks a lot

  • JFrame without icon in taskbar

    Hi to you all. I'm writing an application that needs to open many(from 1 to as many the user opens) distinct JFrame on the desktop. I would like to eliminate the icon in the taskbar[I don't know if the name "taskbar" is correct 'cause I'm not angloph