Operation illegal on linked parameter

I have a VS2003 Crystal 2008 app that reads a rpt file, assigns the parameter values and exports it to pdf. It works fine, except with subreports with linked parameters. The failure is thrown in the export to PDF "Operation illegal on linked parameter"
How do we set the parameter value of subreport? I've read on previous posts in the forum not to set any value at all (check if the parameter is linked and do not assign any value). I wonder then how does Crystal sets the subreport linked parameter value.
Many thanks,
ILopez

Linked parameters don't need their values "set" because they are linked to a field in the main report.

Similar Messages

  • Error: Operation illegal on linked parameter.

    Hi,
    I am running a reports from c# application after updating datasource to a dataset. But I get the following error when running reports with sub-reports.
    Error in File RptGroup {37DC74F5-5A6A-4517-AA4C-D5D9C5991968}.rpt:
    Operation illegal on linked parameter.
    I am updating all stored procedure parameters for the report, but not doing anything for other parameter types. What should I do to get rid of this error?
    Thanks
    Ajith

    Well,.I thought I was not setting values for parameter types other than stored procedure, but I was.
    rptParam.ApplyCurrentValues(rptParamValues);  was outside the code that loops through parameter values.
    I have fixed this and the code is working fine.
    Thanks.

  • Why linked parameter disappears from report in newer versions?

    We are migrating some applications from Crystal Reports 9 and VB6 to C# and Crystal Reports 13.0. We are using same old .rpt without modifications. Some of them contain sub reports with linked parameters pointing to formula fields, and when we try to print or export the reports they are returning an error like this.
    Error in formula  Record_Selection: '{TRN_FILE.TRN_POST_DT} <= {?Pm-@MonthOf}  ' This field is not known.
    Opening the .rpt file with older version (CR9) and taking a look to Change subreport links presents the ?Pm-@MonthOf parameter but when we use newer version of crystal reports (SAP CR 2013)  to open the same file the linked parameter disappears from sub report links.
    Any idea of why this could be happening? , the only way we have found to make reports work in newer version is adding linked parameters again in design mode, but having a lot of reports with this same problem we want this to be our last option.
    Thanks for your comments.

    Hi Jorge
    You don't mention the database so it is difficult to provide useful info. Couple of things I can suggest:
    Enable the option "Verify on first refresh"
    Download CR 2013 (v. 14.1.x) from here:
    SME Free Trials | SME Software | SAP
    and see if the report will run there.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • How to remove %20 from the link parameter value of a vertical sprymenubar?

    I have a Vertical menubar but I want to link the menu's to a new page where I sent a parameter value acros.
    The url displays:
    http://localhost/Category.php?Category=Digital%20Piano
    I want it to display the following:
    http://localhost/Category.php?Category=Digital-Piano
    This is what the menu looks like
    <ul id="MenuBar2" class="MenuBarVertical">
            <li><a class="MenuBarItemSubmenu" href="Category.php?Category=Digital Piano">Digital Pianos</a>
              <ul>
                <li><a href="#">All digital pianos</a></li>
    I have tried to use str_replace, however that didn't work
    Also I want to echo out the url without the "-" on the main page
    Like so <?php echo $_GET['Category']; ?> where it diplays Digital piano rather than Digital-Piano
    I presume I have to encode the Category=Digital Piano, however I have no idea where to start

    Thanks for your quick response.
    I actually tried that, but when I do it won't search my database as in there the Digital Piano is without a space.
    The menubar is as follows:
    <ul id="MenuBar2" class="MenuBarVertical">
            <li><a class="MenuBarItemSubmenu" href="Category.php?Category=Digital Piano">Digital Pianos</a>
              <ul>
                <li><a href="#">All digital pianos</a></li>
                <li><a href="#">Casio Digital Pianos</a></li>
                <li><a href="#">Kawai Digital Piano</a></li>
                <li><a href="#">Korg Digital Pianos</a></li>
                <li><a href="#">Roland Digital Pianos</a></li>
                <li><a href="#" class="MenuBarItemSubmenu">Yamaha Digital Pianos</a>
                  <ul>
                    <li><a href="#">Yamaha Clavinova</a></li>
                    <li><a href="#">Yamaha Digital Pianos</a></li>
                  </ul>
                </li>
                <li><a href="#">Pre-Owned Digital Pianos</a></li>
                <li><a href="#">Other Digital Pianos</a></li>
              </ul>
            </li>
            <li><a href="#">Pre-Owned Digital Pianos</a></li>
            <li><a href="#" class="MenuBarItemSubmenu">Keyboards</a>
              <ul>
                <li><a href="#">All Keyboards</a></li>
                <li><a href="#">Casio Keyboards</a></li>
                <li><a href="#">Ketron Keyboards</a></li>
                <li><a href="#">Korg Keyboards</a></li>
                <li><a href="#">Roland Keyboards</a></li>
                <li><a href="#">Yamaha Keyboards</a></li>
                <li><a href="#">Pre-Owned Keyboards</a></li>
                <li><a href="#">Other Keyboards</a></li>
              </ul>
            </li>
            <li><a href="#">Pre-Owned Keyboards</a></li>
            <li><a href="#">Recording</a>        </li>
            <li><a href="#">Amplilication</a></li>
            <li><a href="#">Accessories</a></li>
            <li><a href="#">Modules & Add-On's</a></li>
          </ul>
        </div>
    All the other Piano and keyboards will get a link as well, but what I was hoping to do was not make a seperate page for each category
    But just use the link
    the recieving page looks as follows:
      $maxRows_getResults = 7;
    $pageNum_getResults = 0;
    if (isset($_GET['pageNum_getResults'])) {
      $pageNum_getResults = $_GET['pageNum_getResults'];
    $startRow_getResults = $pageNum_getResults * $maxRows_getResults;
    $varCategory_getResults = "-1";
    if (isset($_GET['Category'])) {
      $varCategory_getResults = $_GET['Category'];
    mysql_select_db($database_dBconn, $dBconn);
    $query_getResults = sprintf("SELECT * FROM products WHERE Category LIKE %s", GetSQLValueString("%" . $varCategory_getResults . "%", "text"));
    switch( $_GET['Sort'] ){
        case 'Low to High':
            $query_getResults .= 'ORDER BY Keysound_price ASC';
            break;
        case 'High to Low':
            $query_getResults .= 'ORDER BY Keysound_price DESC';
            break;
        case 'Color':
            $query_getResults .= 'ORDER BY Color ASC';
            break;
        case '0-500':
            $query_getResults .= ' AND products.Keysound_price BETWEEN 0 AND 500 ORDER BY Keysound_price ASC';
            break;
              case '500-1000':
            $query_getResults .= ' AND products.Keysound_price BETWEEN 500 AND 1000 ORDER BY Keysound_price ASC';
            break;
                        case '1000-2000':
            $query_getResults .= ' AND products.Keysound_price BETWEEN 1000 AND 2000 ORDER BY Keysound_price ASC';
            break;
              case '2000':
            $query_getResults .= ' AND products.Keysound_price BETWEEN 2000 AND 10000 ORDER BY Keysound_price ASC';
            break;
    $query_limit_getResults = sprintf("%s LIMIT %d, %d", $query_getResults, $startRow_getResults, $maxRows_getResults);
    $getResults = mysql_query($query_limit_getResults, $dBconn) or die(mysql_error());
    $row_getResults = mysql_fetch_assoc($getResults);
    if (isset($_GET['totalRows_getResults'])) {
      $totalRows_getResults = $_GET['totalRows_getResults'];
    } else {
      $all_getResults = mysql_query($query_getResults);
      $totalRows_getResults = mysql_num_rows($all_getResults);
    $totalPages_getResults = ceil($totalRows_getResults/$maxRows_getResults)-1;
    $queryString_getResults = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_getResults") == false &&
            stristr($param, "totalRows_getResults") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_getResults = "&" . htmlentities(implode("&", $newParams));
    $queryString_getResults = sprintf("&totalRows_getResults=%d%s", $totalRows_getResults, $queryString_getResults);
    On the main page I use the <?php echo $_GET['Category']; ?> to echo out the category name
    Hope this helps

  • Default an operation/phase in COR6 - Parameter ID VGN doesn't work

    Dear experts,
    We are running ECC 6.0 and we need to have the field 'Operation-phase' filled out with certain value by default, right after the user calls the transaction COR6.
    We have been trying to use the Parameter ID VGN, by adding it, along with the operation number, to the 'Parameters' tab in the userID. However, this doesn't work.
    I would appreciate any input you can provide to have this requirement fulfilled as soon as possible.
    Thank you!
    Cesar C.

    Hi,
    Many thanks for the hint, but unfortunately we can't set that field as mandatory because there are some users who like to select the operation from the pop-up window that appears after you hit enter.
    There are some others (the lazy ones ) who want to have the value defaulted from their "own data".
    I hope this help to clarify the requirement.
    Thank you!
    Cesar C.

  • JSF Link PArameter get null

    I have a page with link http://localhost:8080/Test/Page.faces?id=asdasdasd
    The page got 2 text field and one button, after user key in the details and click submit, it works well when you first time click the submit button, the id will return me the exact value, but if the user never enter the value and click submit the validation will be invoked and next click the button again the id return null? How to solve this problem anyone can help?
    Edited by: NewbieH on Jul 15, 2009 7:34 PM

    Provide the code in detail that would be ease to trace the defect.

  • Must command link parameter variable SESSION Scope??

    I add a EJB Session Bean Method to my page which returns an array:
    public Province[] getProvinces();
    When you place the Session Bean to the page, it automatically creates a REQUEST SCOPE VARIABLE called "provinceRemoteGetProvincesResultBean" in the type of Province array. And it automatically creates a Data Table to display the results.
    Up to this point every thing's cool!! I can call the method properly, get the results and display without any problem.
    However when I try to create a COMMAND LINK to one of the columns of the TABLE (e.g. Province has a NAME column) I have a problem:
    <h:commandLink styleClass="commandLink" id="lnkName" action="#{pc_ProvinceManagement.doLnkNameAction}">
    <h:outputText id="otxName" value="#{varprovinceRemoteGetProvincesResultBean.name}" styleClass="outputText">
    </h:outputText>
    <f:param name="provinceId" value="#varprovinceRemoteGetProvincesResultBean.id}"></f:param>
    </h:commandLink>
    The problem is that this "provinceRemoteGetProvincesResultBean" is REQUEST scope and Command Link does not work with REQUEST Scope variables!!!
    I had similar examples before, when I used the command link with a REQUEST SCOPE variable, it didn't work. When I use it with a SESSION Scope variable it works.
    In this particular case, I cannot make the Province[] a SESSION SCOPE variable, because it's not a class!!! Therefore I need to create a new class containing a Province[] and make that class a SESSION SCOPE variable, which makes things quite complicated!!
    IS IT TRUE THAT COMMAND LINK PARAMETERS MUST BE SESSION SCOPE?????

    Line 4: <f:param name="provinceId" value="#varprovinceRemoteGetProvincesResultBean.id}"></f:param>
    value="#varpro... >>> value="#{varpro...                                                                                                                                                                                                                                                                                       

  • Web link parameter encription

    Hi all, I would like to know if you can encript the parameters that go on the URL of a web link to an external application and... if you know where can I find documentation or information about it.
    Thanks guys

    Hi Messer,
    I have put in the syntax as below :-
    https://secure-ausomxega.crmondemand.com/OnDemand/user/AssocAccountPopup?mapBC=Service+Request&OACTRL=Account&ophi=PopupNewForm.Account+Id&pfid=PopupNewForm&OMTHD=AssocPopup&OMTGT=PopupSearchList&assocInit=Y&opht=4&OAOBJ=Service+Request&mapField=Account&ophd=PopupNewForm.Account&ophpd=3&disableclear=Y&ophr=AssocAccountPopup&assocval=&ParentType=Edit
    This pop up screen wil let the user to select the account then i will pass the account and the SR to external web app to update back the CRMOD. I am not too sure the above syntax is correct or maybe can you give some example.
    I am new in CRMOD, hope that you can advice on this.
    Thank you,
    SK

  • Parameter.islinked always evaluated to false

    <p>There is an earlier thread (<a href="/node/492">http://diamond.businessobjects.com/node/492</a>) which mentions a bug where Parameter.IsLinked always returns false. Is there any update to this? When trying to create a viewer, I get a "Operation illegal on linked parameter" since values end up being set on a linked parameter.</p><p>I would&#39;ve replied to the original thread, but the page is only viewable when not logged in (?), and thus can&#39;t login and reply.</p>

    I initiated a support incident with BO and their initial response was that there would not be a fix for this in the current version.  They acknowledged the issue and we able to reporduce it. I am in the process of writing a business case to help support the escalation of this issue in hopes it will be fixed as I have around 200 report with multiple sub reports in the application I am trying to upgrade to CR XIR2.Â

  • Connecting the Sequence Operator to the Mapping Output Parameter?

    my OWB Client: 10.2.0.2.8
    my OWB Repository: 10.2.0.2.0
    I need to obtain a sequence number (from the Sequence Operator), then output it
    using the Mapping Output Parameter, if possible.
    I have tried two things:
    1. Connect Sequence Operator nextval variable to the Mapping Output Parameter.
    This generates error:
    "Table,View Or Sequence reference 'xx_SEQ.NEXTVAL' not allowed in this
    context"
    2. Join the Sequence Operator nextval variable with a source table, then
    connect a port from the dataflow to Mapping Output Parameter.
    This generates error:
    "Mapping Input Parameter and Mapping Output Parameter are intended to be
    executed before and after the data flow of the mapping and cannot accept
    inputs from any part of the data flow."
    From what I have seen so far, it appears it may not be possible to use the
    Sequence Operator along with the Mapping Output Parameter. If Im wrong, please
    let me know of an example of how the Sequence Operator and Mapping Output
    Parameter can be connected.
    Thanks

    User -
    Look at adding a Post-Mapping Process to your mapping, there you have a choice of built in functions or custom ones that could return a sequence value for you. You may have to create the sequence outside of OWB ...
    TXB

  • Having problems passing more than one parameter with html:link tag

    Hi guys,
    for my web application I�m using Struts. I�ve got a database with user details. I would like to get users list and link to the details of each user. I wrote the code and everything is working fine only the users list is repeating as many times as users in the list.
    For ex: I have in the database User1, User2 and User3. I would like to have a result like:
    User1
    User2
    User3
    Instead of it I have the result like:
    User1
    User2
    User3
    User1
    User2
    User3
    User1
    User2
    User3
    What I�m doing wrong? Could somebody help me please?
    Thank you in advance
    There is a snippet of the code, which I�m using in jsp:
    <code>
    <logic:iterate id="root" name="user">               
                   <%
                        java.util.HashMap users = new java.util.HashMap();
                        params.put("user",root);
                        pageContext.setAttribute("usersName", users);
                   %>
                   <html:link name=" usersName " scope="page" page="/name.do">
                        <logic:iterate id="folder" name="user">
                             <bean:write name="folder" /><br>
                        </logic:iterate>
                   </html:link><br>
                   </logic:iterate>
    </code>

    Suggestion: next time you post code use the "CODE" button to put code tags around it. It formats much nicer that way :-)
    You have a nested loop structure here.
    <logic:iterate id="root" name="user">
      <%
        java.util.HashMap users = new java.util.HashMap();
        params.put("user",root);
        pageContext.setAttribute("usersName", users);
      %>
      <html:link name=" usersName " scope="page" page="/name.do">
        <logic:iterate id="folder" name="user">
          <bean:write name="folder" /><br>
        </logic:iterate>
      </html:link><br>
    </logic:iterate>Both loops iterate over your "user".
    Your first loop loops over each user.
    Then your second loop also loops over each user - hence you get number of users * number of users = 3 groups of 3.
    If you have 4 users, you would have 4 groups of 4.
    I only see you setting one parameter: "usersName" What other parameters do you need to pass?
    At a guess, the inner loop is unnecessary, and you want to write the users name as the text for the link, and also use it as a link parameter.
    <logic:iterate id="root" name="user">
      <%
        java.util.HashMap users = new java.util.HashMap();
        params.put("user",root);
        pageContext.setAttribute("usersName", users);
      %>
      <html:link name="usersName" scope="page" page="/name.do">
          <bean:write name="user" /><br>
      </html:link><br>
    </logic:iterate>

  • Link between Oder number, Operations and PRT ?

    Hello,
    I am trying to find the link between Ordeer number (T-code IW32) , its Operations and PRT linked to Operations.
    Can someone shed some light on the links for these in PM tables ?
    Thanks.
    Regards,
    Rajesh.

    Hi,
    Not sure of the table links..
    Use the BAPI BAPI_ALM_ORDER_GET_DETAIL..to get the operations, PRT other details for the service order..
    Thanks
    Naren

  • Bind Operator to Function with optional parameter

    Hi,
    as mentioned in the subject, I would like to create an operator which is bind to an function with an optional parameter:
    CREATE OR REPLACE FUNCTION
              TS_Base_Func(iobject IN CIBase, format IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2 IS
    BEGIN
         RETURN interval_object.IntervalToString(format);
    END TS_Base_Func;
    I can bind the operator with a VARCHAR2 as second parameter, but how can I bind an operator without the second parameter to this function?
    Thanks!

    What about using a "wrapper" function to implement what you would like to do? Here is a small sample:
    SQL> CREATE OR REPLACE FUNCTION TEST
      2  (
      3          A       IN VARCHAR2
      4  ,       B       IN VARCHAR2     DEFAULT NULL
      5  )
      6  RETURN NUMBER
      7  AS
      8  BEGIN
      9          IF A = B THEN
    10                  RETURN 1;
    11          ELSE
    12                  RETURN 0;
    13          END IF;
    14  END;
    15  /
    Function created.
    SQL> CREATE OR REPLACE FUNCTION TEST_WRAPPER
      2  (
      3          A       IN VARCHAR2
      4  )
      5  RETURN NUMBER
      6  AS
      7  BEGIN
      8          RETURN TEST(A);
      9  END;
    10  /
    Function created.
    SQL> CREATE OR REPLACE OPERATOR TestOperator
      2  BINDING (VARCHAR2)              RETURN NUMBER USING TEST_WRAPPER
      3  ,       (VARCHAR2, VARCHAR2)    RETURN NUMBER USING TEST;
    Operator created.
    SQL> SELECT  TestOperator(1) FROM DUAL;
    TESTOPERATOR(1)
                  0
    SQL> SELECT  TestOperator(1,2) FROM DUAL;
    TESTOPERATOR(1,2)
                    0
    SQL> SELECT  TestOperator(1,1) FROM DUAL;
    TESTOPERATOR(1,1)
                    1
    SQL>The TEST_WRAPPER function has the signature you need for a one variable parameter. However, under the hood it calls the TEST function.

  • How can I access/identify the linked subreport parameter fields?

    In my report, I have subreports, which have linked SQL parameters.  How can I identify these linked parameters, and what they are linked to in code?
    Thanks.

    reportClientDoc.SubreportController.GetSubreportLinks("<subreport name>").GetSubreportLinks()<i>.MainReportFieldName and
    reportClientDoc.SubreportController.GetSubreportLinks("<subreport name>").GetSubreportLinks()<i>.SubreportFieldName
    Where i is the ith linked parameter and is indexed from 1.
    Hope this helps.
    Thanks
    Aasavari
    Edited by: Aasavari Bhave on Feb 15, 2011 11:05 AM

  • 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;

Maybe you are looking for

  • Why can't I open a lot of documents since yosemite. They are in grey

    Since I installed the last version of OS X on my Ipad, I could not open a lot of documents on my Mac. I thought this problem would be solved when I would install Yosemite on my mac but this is not the case. Why are so many documents in grey and why c

  • Creating a VPN from my remote powerbook to a stand-alone network Hard drive

    I would like to set up a VPN or V secure access from my powerbook to a Network Hard drive so when I travel I can securely access my data over the internet on my hard drive at home, when I have my powerbook with me. I dont want to have to buy another

  • Global BW

    Hi I have question in BW . hope you can guide me. We have 2 R3 systems for North America, Europe. NAd one Global BW environment. ( We also have individual BW systems). Plan is to extract data from R3 systems in to one BI 7.0. Currently we are using o

  • L_TO_CONFIRM

    Hi Guyz, what are all the parameters needs to pass to confirm TO into the function module(L_TO_CONFIRM)...im passing warehouse number and transfer order number ..Iam getting the exception 'NOTHING TO DO' (NO ITEM FOR CONFIRMATION(CHECK YOUR ENTRY)..

  • My Iphone couldn't be restored.

    Hi, I'm not so sure either my iPhone has been restored or not because when I pressed the button on the top of my iPhone and it was shutted down and when I tried to switch on it turned to blank. I tried to restore my iPhone but after i did it, it appe