Hierarchy variable names in report

I'm would like to be able to display the user selection for a hierarchy variable in a Crystal Report but when I do I get a message that says you can't add this to a report as a field. Is there any way to get access to this so it can be put in the report header? I know how to get the technical name from the parameter, but we need the description.

Hi Ingo and the others,
so, that unfortunately a very hard constraint.
We have for example the following scenario:
A sales Crystal Report which is built on a SAP BW Query. The query contains a country variable, to select the country. Now we want to create Country Sales report. In Crystal the variable is converted into a parameter. The country selection works fine and the report is able to show the correct data. But all this does not make sense with the country name in the report title. Is there no way to achieve this?
Would rebuilding the parameter with Crystal means and deleting it from the BW query an option, or would this have a bad effect on performance issues?
Best regards,
Sebastian

Similar Messages

  • Hierarchy variable in Webi report

    Dear all ,
    I'm expirence some problems in the Olap Universe , my question is :
    I can't see data in Webi report .
    Step 1 Create the webi report
    Step 2 Run the query
    Step 3 Select the Hierarchy variables in prompt parameter
    Step 4 Get the msg "No data to retreive "
    I can see the data in  BW with this Hierarchy variable so i don't understand what it's missing .
    Thanks a lot
    Bst Rgds
    Simon

    Dear Sanket ,
    Thanks for your response  , We are using the dimension it's a member of one hierarchy in the query panel without any filter .
    BOE release 3.1 Sp3
    BW 7.01 SP6 .
    Hope this helps , any further question please let me know .
    Bst Rgds
    Simon

  • How to get Variable name in output (Report Writer/Painter)

    Hello Experts,
    We have maintained one Repot by using Report Writer, this is the report for Cost center (periodic report), input fields are Fiscal year, Period and Cost Center. In out put system will display the selected cost center balances for individual cost element.
    Output: Excel format: in first sheet it will display balance of the total cost centers selected and from second sheet it will display individual cost center balances.
    My requirement is in the output system is displaying sheet name as CC1,CC2,CC3.......CC50, but my user want to display this as Cost Center 1, Cost Center 2, Cost Center 3...... like this. we have maintained variable name as Cost center 1, cost center 2....., but why system is displaying as CC1,CC2,.... .
    Please help me how to get the full description as sheet name in excel.
    Thanks ......Sudheer

    Hello Everybody,
    Please help me how to get variable name in Report Painter outout ( Excel format ).
    Thanks

  • BW hierarchy variable not working in Crystal Report 2008

    Hi,
    I have created BEx 7.0 report which has hierarchy on 0customer object, the report is working fine whith hierarchy variable. I have created Crystal Report by using this query as source. I have followed below link to create grouping to get data through hierarchy variable.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BWHierarchiesinCrystalReports
    But report does not work for hierarchy variable and report is blank. When I give filter of child node which has actual data then I get report output. For ex.
    Below hierarchy for 0customer
    11396
         - 737007
         - 123456
    When I run report for 11396 then no data display but when I run 737007 child node I get report output but with blank group name.
    Can anyone came accross this issue. Please guide me . Thanks in advance.

    Thanks Ingo for your reply..
    The word filter means, I have hierarchy node variable in the BEx report that has become Parameter in CR. When I give hierarchy node variable value of parent node then there is not data display but for the child node I get the data.
    For ex. In the info cube there is data for 730707 customer but in the customer hierarchy the parent node of 73707 is 11396. I am giving 11396 in the variable pop screen for hierarchy variable. I do not see any data but for 73707 I get data.
    User does not know 73707, he always enter 11396 customer no. and he gets data in BEx query that is source of CR. but crystal report is not showing data for 11396.
    One more point I want to tell here, I am saving CR at my local system not to SAP BW server.
    Hope this clear my issue.
    Harish Swami
    Edited by: hswami27 on Jan 31, 2011 8:17 PM

  • XML Report displays Parameters instead of variable name

    I would like the actual variable name to be displayed in the XML report instead of "Parameters".  I have tried many things to make this happen with no success.  Any ideas?
    Solved!
    Go to Solution.

    Hello kwkengineer,
    What type of step are you utilizing, and which version of TestStand are you using?  I tried reproducing this behavior in TestStand 2012 with LabVIEW 2012 using a LabVIEW action step, passing a cluster of boolean arrays, and the result was the following:
    The parameters were set up as follows:
    Please let me know more details about your particular step, and I will try to reproduce the problem on my side.
    Warm Regards,
    Daniel D.
    National Instruments
    Automated Test Software R&D

  • Report failed to parse SQL query:ORA-01745: invalid host/bind variable name

    Hi,
    We are currently upgrading from v2.2.0.00.32 to v4.0.0.00.46.
    I have copied the applications onto our test server along with the various database objects and data etc.
    When I am running a report in v4, it is failing with the following error: "failed to parse SQL query: ORA-01745: invalid host/bind variable name".
    When I copy the SQL that builds the report into TOAD (on out test server) it runs OK so really cant see why it would fail in APEX. It works fine when I run the query in our APEX v2 and in TOAD in our live server.
    The query is as follows:
    SELECT
    aea.ALTERATION_ID
    ,aea.ALTERATION_ID "ALTERATION_ID_DISPLAY"
    ,aea.assembly_name "Revised BOM"
    ,assembly.description "Revised BOM Description"
    ,assembly.INVENTORY_ITEM_STATUS_CODE "Revised BOM Status"
    ,aea.BEFORE_CHANGE_QTY
    ,flv.MEANING "Alteration Type"
    ,aea.component_name "Part No"
    ,component.description "Part No Description"
    ,component.INVENTORY_ITEM_STATUS_CODE "Part No Status"
    ,aea.AFTER_CHANGE_QTY
    ,TO_CHAR(aea.last_update_date,'DD-MM-YYYY HH24:MI:SS')"Last Update Date"
    ,aea.LAST_UPDATE_BY
    ,aea.COMMENTS
    ,aea.ORACLE_CHANGE_NOTICE
    ,AEA.SELECTION_CRITERIA
    FROM XXMEL_APEX_ECO_ALTERATIONS aea
    , fnd_lookup_values flv
    , (SELECT INVENTORY_ITEM_STATUS_CODE
    ,segment1
    ,description
    FROM mtl_system_items_b
    WHERE 1=1
    AND organization_id = 26) component
    , (SELECT INVENTORY_ITEM_STATUS_CODE
    ,segment1
    ,description
    FROM mtl_system_items_b
    WHERE 1=1
    AND organization_id = 26) assembly
    WHERE 1=1
    AND aea.COMPONENT_NAME = component.segment1 (+)
    AND aea.assembly_NAME = assembly.segment1 (+)
    AND flv.lookup_code = aea.acd_type
    AND aea.eco = :P13_ECO
    AND flv.lookup_type = 'ECG_ACTION'
    AND modify_flag = 'Y'
    ANy help would be great,
    Thanks
    Chris
    Edited by: Cashy on 22-Nov-2010 04:13
    Edited by: Cashy on 22-Nov-2010 04:14

    For some reason, the updatable fields (this is a updateable report) where not connecting to the database properly. Whn I changed them to a report columns and removed the database field reference, the report rendered

  • Crystal Reports - Problem with too long BEx Query technical variable names?

    Hello!
    I have Crystal Reports 2008 SP3 and the SAP BO Integration Kit XI 3.1 SP3 installed and want to access a BEx query on a BW system within my Crystal Report.
    The problem is that the name of the BEx variable is not displayed correctly (just "[]" is displayed for the variable name) as a parameter within Crystal Reports when I import the query. Furthermore I can't navigate through the fields of the query within Crystal Reports.
    The technical names of the BEx query-variables have a length of 12 characters.
    The interessting thing is that if I change the technical names of the BEx query variables to a maximum length of 8 characters everything works fine.
    I use the SAP toolbar within Crystal Reports 2008 to create the report and have the "MDX-driver"-setting selected.
    Has anyone ever had the same problem? Any suggestions?
    I don't want to change the technical names of the variables of my queries...
    thanks,
    Dominik

    Hi!
    Just fixed the problem: The "Transports" for the Integration Kit had to be imported at the BW-System
    regards

  • Bug Report: PLSQL variable names

    Hello,
    I am using Oracle 10g Release 2 and have come across an issue that I think maybe a bug.
    I don't seem to be able to declare a PL/SQL variable using the %TYPE attribute where the variable name is the same as the table name.
    For example:
    CREATE TABLE week_day
    ( week_day_id NUMBER NOT NULL
    , week_day VARCHAR2(3) NOT NULL );
    DECLARE
    week_day week_day.week_day_id%TYPE;
    BEGIN
    NULL;
    END;
    Executing this block of PL/SQL gives the following error:
    ERROR at line 2:
    ORA-06550: line 2, column 12:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 2, column 12:
    PL/SQL: Item ignored
    Normally I would prefix my variables in PL/SQL with l_ (or whatever depending on scope), but I discovered this "feature" when declaring a field in a PLSQL record.
    Is this a known restriction? I looked in the PL/SQL User Guide & Reference and could not find any reference to this restriction.
    Kind Regards
    Andy

    You shouldn't call variables the same as table names.Just to plus one BluShadow...
    SQL> CREATE TABLE week_day
      2  ( week_day_id NUMBER NOT NULL
      3  , week_day VARCHAR2(3) NOT NULL );
    Table created.
    SQL> DECLARE
      2  week_day week_day.week_day_id%TYPE;
      3  BEGIN
      4  NULL;
      5  END;
      6  /
    week_day week_day.week_day_id%TYPE;
    ERROR at line 2:
    ORA-06550: line 2, column 10:
    PLS-00320: the declaration of the type of this expression is incomplete or
    malformed
    ORA-06550: line 2, column 10:
    PL/SQL: Item ignored
    SQL> drop  TABLE week_day;
    Table dropped.
    SQL> CREATE TABLE week_day
      2  ( w_day_id NUMBER NOT NULL
      3  , w_day VARCHAR2(3) NOT NULL );
    Table created.
    SQL> DECLARE
      2  week_day week_day.w_day_id%TYPE;
      3  BEGIN
      4  NULL;
      5  END;
      6  /
    week_day week_day.w_day_id%TYPE;
    ERROR at line 2:
    ORA-06550: line 2, column 10:
    PLS-00320: the declaration of the type of this expression is incomplete or
    malformed
    ORA-06550: line 2, column 10:
    PL/SQL: Item ignored
    SQL> drop  TABLE week_day;
    Table dropped.
    SQL> CREATE TABLE week_days
      2  ( week_day_id NUMBER NOT NULL
      3  , week_day VARCHAR2(3) NOT NULL );
    Table created.
    SQL> DECLARE
      2  week_day week_days.week_day_id%TYPE;
      3  BEGIN
      4  NULL;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • URGENT::Hierarchy Variable creating Problem in WAD

    Hi,
    I am using Profit Center as Hierarchy variable in my Queries, when i run the report in WAD portal, and select the profit center on the selection screen, after clicking the check button it appears with compounding Characteristic Controlling Area as prefix.
    In the back end for the Profit Center Hierarchy data each node has Controlling Area attached with profit center(value), whereas in master data for profit center we don't have controlling area attached with profit center(value).
    For eg: if the Profit center has value P0001 has the controlling area is CA01 then the master data of profit center shows the value as P0001 whereas when we look at Hierarchal nodes it displays as CA01P0001 along with its description.
    So when we run the Query we dont get any data because it shows that profit center CA01P0001 node does not exist in Hierarchy.
    But in Analyser Query is working fine.
    Please suggest some solution.
    Thanks in Advance.
    Regards,
    Ankur

    Hi,
    This issue is resolved with note:
    1558066    WAD Metadata corrupt due to invalid entries in RSZWMDITEM
    There are some incorrect entries in the table which is causing an issue.
    Could you please follow the below to delete the entries manually:
    1> Go to Transaction: SE16
    2> Enter the table name = RSZWMDITEM and press enter
    3> Enter the value for MDITEMNAME = TARTITLE and execute.
    4> You will find 3 entries for the value TARTITLE. Could you please
    delete all these 3 entries from this table.
    After doing the above steps, please refresh the metadata by doing the
    below steps:
    1> Open Web Application Designer.
    2> Go to Tools->Settings - > Refresh Metadata and press OK
    now close and restart the web application designer. It should work fine
    Regards,
    Venkat

  • Creation of Hierarchy Variable in BI7

    Hi all,
    anyone can explain how can create Hierarchy variable in reporting in BI7 .can u give the steps.
    Regards,
    Srinivas Reddy

    Hi,
    A hierarchy becomes variable if at least one of its elements (name, version, key date) is variable.
           1.      Select a hierarchy from the list of available hierarchies.
           2.      Choose the Variables radio button from the field on the right (name, version, key date) according to which you want to select for the hierarchy. The selection list now displays the available variables.
           3.      Select the variable you want to use.
           4.      Choose OK.
    Note that it is possible to fill the fields for version and key date, only if the characteristic has version-dependent or time-dependent hierarchies.
    You may go through this link.......
    [http://help.sap.com/saphelp_nw04/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm]
    Hope it helps..

  • HIerarchy Variable in Selection Screen not taken into account.

    Hi,
    Our users choose a cost center hierarchy in the selection screen and run the report. As we have suppressed Unassigned Nodes, they do not appear. However when users then deactivate the hierarchy, unassigned nodes are shown. Their argument is that the unassigned nodes should still not be displayed because a hierarchy was entered on the selection screen. Is there a way of stopping this?
    Thanks

    Hi Shawn,
    I think I get what you did in your query, though it took me some time...
    Did you select the cost center in your query and set the display hierarchy using settings, hierarchy tab, select hierarchy, hierarchy variable (or something like that)? That would explain why the query isn't filtered on that hierarchy, only the display of cost elements is affected. You should also have the same hierarchy variable in your filter settings in the query designer. That way, the user filters on a hierarchy and the unassigned nodes will never be in the result.
    Hope it helps, tell me if I got it wrong,
    Kind regards,
    Alex

  • Problem while incrementing a variable in Jasper Reports

    Hi
    I am using Jasper Reports for designing reports. These reports will be used by my Java application.
    But there is problem while I am trying to increment a variable depending on some condition.
    Requirement: I have to display information about all the residents in a hospital in a single report. Resident information will be fetched from the XML file. When a resident ID is found in the XML, then the variable(resno) shoud be incremented. I have set the initial value to 1.
    Problem: Only for the first resident, resno is showing as 1. For all the remaining residents, its showing as 0 (zero).The variable 'resno' is not incrementing for each resident.
    Even the ResidentID is not null. All the ResidentID's exists in the XML file.
    Please find the code below.
    <variable name="resno" class="java.lang.Integer" incrementType="Group" incrementGroup="residentbrk" calculation="Count">
    <initialValueExpression><![CDATA[new Integer(1)]]></initialValueExpression>
    </variable>
    <group name="residentbrk" isStartNewPage="true">
    <groupExpression><![CDATA[$F{ResidentID}]]></groupExpression>
    <groupHeader>
    <band height="16">
    <textField hyperlinkType="None">
    <reportElement positionType="Float" x="0" y="-1" width="96" height="17"/>
    <textElement>
    <font isBold="true"/>
    </textElement>
    <textFieldExpression class="java.lang.String"><![CDATA[$R{residentno}]]></textFieldExpression>
    </textField>
    <textField hyperlinkType="None">
    <reportElement positionType="Float" x="96" y="-2" width="64" height="18"/>
    <textElement/>
    <textFieldExpression class="java.lang.Integer"><![CDATA[$V{resno}]]></textFieldExpression>
    </textField>
    </band>
    </groupHeader>
    </group>
    Could you please provide a solution for this.

    Not clear at all. May be like this
    declare
    v_temp varchar2(100);
    v_final number;
    begin
    --loop
    v_temp:='sun';
    v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
    dbms_output.put_line('Temp:'||v_temp);
    v_temp := v_temp || 'Mon5.1';
    v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
    dbms_output.put_line('Temp:'||v_temp);
    v_temp:= v_temp || 'Tue';
    v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
    dbms_output.put_line('Temp:'||v_temp);
    v_final:=to_number(v_temp);
    dbms_output.put_line('v_final'||v_final);
    --coalesce
    --end loop;
    end;
    /

  • Can I pass parameters from a dashboard via a dashboard prompt and presentation variable to publisher report based on a data model with select statements in OBIEE 11g ?

    I have a publisher 11g (v 11.1.1.7)  report with a single parameter. The report is based on a data model not a subject area.  I created a dashboard put a dashboard prompt and link to the report in separate section on the same page.  The dashboard prompt sets a presentation variable named the same as the parameter in the report. 
    The problem was when I created the dashboard prompt, it forced me to select a subject area which I did (though did not want to) and then I created both a column and variable prompts. But clicking on the
    report link completely ignored the value that I thought would be passed in the presentation variable to the report.
    Side note :  My report uses a pdf template for its layout where I have mapped the columns names from my data model to the form fields on the pdf form.  I noticed that if I create a publisher report based on a subject area, then I do not have the choice to choose a PDF as a template type for my layout.  (I only see BI Publisher Template as a choice). 
    I see some documentation online that suggest it could be done in 10g.
    Thanks
    M. Jamal

    Ok,
    I just tried that and it still doesn't pass anything to the prompt.
    I changed the prompt to an edit field and I made the following weblink but when i click the link from an account it doesn't put anything in the prompt and all data for all accounts is shown.
    This is the URL maybe I messed something up...
    https://secure-ausomx###.crmondemand.com/OnDemand/user/Dashboard?OMTHD=ShowDashboard&OMTGT=ReportIFrame&SelDashboardFrm.Dashboard Type=%2fshared%2fCompany_########_Shared_Folder%2f_portal%2f360+Report&Option=rfd&Action=Navigate&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Name%%%
    thanks

  • How do you reference a created global variable in a report text field?

    I have created a parameter using the Globaldim statement in a script file. when I reference this parameter in any other script file during the current DIAdem session the value is passed without any issue.  Call the variable parmxyz where I assign it a value of 25.3 
    The help section under Globaldim mentions that global variables can be referenced in all panels, scripts, and dialogue boxes.  When I try to insert a text box on a report page using the @@parmxyz@@ it returns NOVALUE where I expect to see 25.3 (for example).
    When I substitute @@CurrDate@@ I do get the date, so I know the text box is valid.  What am I doing wrong?
    Steve    M 

    Hello Steve!
    It should work the way you did it. But their are some circumstances wich might prevent it:
    You have reseted the global script engine. All variables will be lost.
    You have a Sub with the same name in a command extension script. There is no warning ;-)
    One Test you can make is to put in '@@TypeName(paramxy)@@' as the expression to see the variable type. You can also try a realy unique variable name. The last option is to use ItemInfoGet to get detailed infos about your variable.
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • Presentation Variable name being passed as value

    I have a requirement where value needs to be checked against two separate fields for filtering (as OR statement). But there should be ability to filter on these fields separately as well.
    Dashboard prompt:
    Province [Multi search]
    State [Multi search]
    Combined search (Province OR State Fields) [Edit Box] --- used to pass presentation variable
    Report filter:
    Province is prompted
    AND State is prompted
    AND Province is @{presentation_variable} (no default)
    OR State is @{presentation_variable} (no default)
    But if the text field with presentation variable in not used to filter, then the report shows no result because the presentation variable name itself is taken as a value. Any solution how this can be done making sure that if province only is searched for then the presentation variable is not passed as value and the query returns no results?
    Thanks everyone.

    Thanks Rachit, that helps. For the scenario mentioned initially, even this works:
    Province is @{presentation_variable} (no default)
    OR State is @{presentation_variable} (no default)
    But the challenge is if I want to add another filter (like country) also as a filter. When users filter only on country, then the report shows no results because no value has been passed to the presentation variable and the query generated uses presentation variable name as the value!

Maybe you are looking for

  • How to populate data from table to form in popup

    Hi I am using jdev 11.1.2.1.0 I created a table by dragging and doping a view object data control. I take a pop up which invoke on click of a button I drop a dailog box in popup and in dialog box i drop the same view object data control. Now I am sel

  • Minimize and Maximize are missing

    I now have 2 users who have been using Acrobat version 7.1 for at least a year each and for some reason the minimize and maximize buttons have disappeared.  They are visible on the main program window but they are not visible on the file window.  I h

  • Hi   lsmw

    hi 2 questions 1.  when is lsmw is preferred, when BDC is preferred to migrate data. 2.  could any one pl send me steps to migrate data using LSMW-bapi method, i know direct method, but i do not know bapi method through lsmw. thanx rocky

  • PowerPoint  Publishing Issue

    When I publish a PowerPoint presentation as a pdf, the slides are blank.

  • Supported process?

    Hi, I need some help to configure a MM process. we have 3 plants; 11, 12, 13 Plant 11 purchase screws for a subcontractor to build hardware bags (no physical  inventory of screw in plant 11 is required), The subcontracting process for the bags is fin