Query Field names in Crystal

In Crytal I see parameters but the database field names are the long name ie (0CCA_C11_ZNN_0CCA_C11_Q004.M[Measures].[8WEVD1XARY9RST55SBE42RTJD3VA0MBXNGQL9Y0JC76EALK4XU]C
Can someone explain how to the user friendly name ?

Hi,
I assume that this field is pointing back to a keyfigure in the SAP BW Query.
The Query Designer is offering you an option in the context menu to create a technical name for the keyfigure.
As soon as you did that and after a "verify database" in Crystal Reports you will see these defined technical names in Crystal Reports
Ingo Hilgefort
Business Objects

Similar Messages

  • Query field names renamed to Expr1

    I recently had things quit working in a newer Access database that has been stable for several months.  I tracked it down to field names in the queries changed from a name to "Expr1".
    Behaved like this topic:
    https://social.msdn.microsoft.com/Forums/office/en-US/b92d559b-2ce3-4b37-9939-a2a519b3429b/upgrade-from-2003-to-2010-causing-query-column-name-problems?forum=accessdev
    It's in Access 2010 and I did not upgrade, and I did not change any linked tables.
    I'm wondering if it had anything to do when I did a Compact and Repair on the database.
    Per other articles I have unchecked ALL boxes under Access/Options/Current Database/Name AutoCorrect Options
    Thanks for any help you can provide!

    I had a backup copy so this morning I went through all the queries and found the Expr1 and changed them back.  I had no calculated fields, and I didn't change anything in the queries.  (I added a new and different query, but that was it. 
    Didn't touch any other queries, and this happened in all the other queries.)
    My main concern is not knowing what caused it, and preventing it from happening again.  I'm hoping removing the Name AutoCorrect prevents that.
    I appreciate the reply.  Thanks!

  • SQ01 Query Field Name Lengths

    Hi all,
    I am trying to translate the Query below.
    My issue is that the field in yellow is only allowing 25 characters? Can we extend this?
    Regards
    Jim

    Let us know if you want to explore this further.  Also consider that just because I think something, doesn't make it the last word.
    Neal

  • Hash Marks in Field Names

    Forgive me but I have forgotten how to do this.
    I'm trying to pass the query field name: "Pat #" , which
    can't be changed.
    <cfset pat_no = '#Pat ##'>
    Problem is the hash mark in the field name.
    I've tried:
    <cfset pat_no = '#Pat #'#''>
    but it errors out.

    aliceinthemirror wrote:
    > I've tried:
    > <cfset pat_no = '#Pat #'#''>
    > but it errors out.
    >
    You escape ColdFusion control characters by doubling them. So
    your line
    should probably be <cfset pat_no = '#Pat ###'>
    HTH
    Ian

  • How to display the field name in the tabulated view for a content query web part

    I have added a content query web part changed the web part file to include custom columns imported and reffered itemstyle.xsl
    to include the tabulated view for the content query.
    However the way it is displayed is such that only the content is displayed.
    As i am using a tabular view wto display the data, i want to display their field names as well.

    Hi  ,
    According to your description, my understanding is that you need to display the field in the tabulated view for a content query web part.
    For your issue, please refer to the code as below:
    <xsl:template name="VendorCustomStyle" match="Row[@Style='VendorCustomStyle']" mode="itemstyle">
    <html>
    <table width="100%">
    <xsl:if test="count(preceding-sibling::*)=0">
    <tr>
    <td width="8%" valign="top"><div class="item"><b>Vendor ID</b></div></td>
    <td width="12%" valign="top"><div class="item"><b>Vendor Name</b></div></td>
    <td width="50%" valign="top"><div class="item"><b>Vendor Description</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Vendor Country</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Vendor Date</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Created By</b></div></td>
    </tr>
    </xsl:if>
    <tr>
    <td width="8%" valign="top"><div class="item"><xsl:value-of select="@VendorID" /></div></td>
    <td width="12%" valign="top"><div class="item"><xsl:value-of select="@Title" /></div></td>
    <td width="50%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Description" disable-output-escaping="yes" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Country" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Date" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Author" /></div></td>
    </tr>
    </table>
    </html>
    </xsl:template>
    For more information, please have a look at the blog:
    http://www.codeproject.com/Articles/756834/Customizing-the-Content-Query-Web-Part-and-Item-St
    http://msdn.microsoft.com/en-us/library/ms497457.aspx
    http://clarksteveb.hubpages.com/hub/Customized-Content-Query-Web-Part-CQWP-in-SharePoint-2007-with-results-Tabbed-Grouped-and-in-an-HTML-Table
    http://blog.sharepointexperience.com/customitemstyle/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Problem using alias field names in a sql query

    Hello,
    I have a question regarding a simple Oracle database SQL query writeup:
    In the following (badly written but properly working) SQL query:
    Query 1:
    select
    soe.field1,
    (soe.field2 + soe.field3) as field4,
    (soe.field5 - (soe.field2 + soe.field3)) as field6,
    (select comp.parValue*soe.field7
    from
    CompTable comp) as parValue,
    (select soe.field8 - (comp.parValue*soe.field7+ soe.field9)
    from
    CompTable comp) as field10
    from
    SomeTable soe
    PROBLEM 1:
    I am re writing the code (soe.field2 + soe.field3) to get the alias field4 or column name field4 that I have created on the fly in the previously for use with the following fields. Can't I rewrite the query as follows. There is something simple missing!
    Query 2:
    select
    soe.field1,
    (soe.field2 + soe.field3) as field4,
    soe.field5 - field4 as field6, <<< field4 does not work here
    (select
    comp.parValue*soe.field7
    from
    CompTable comp) as parValue,
    (select
    soe.field8 - (comp.parValue*soe.field7+ soe.field9)
    from
    CompTable comp) as field10
    from
    SomeTable soe
    PROBLEM 2:
    Similar to the above problem, I was thinking to get a field parValue out of the CompTable table and re-use many times rather than the code shown in Query 1:
    Query 3:
    select
    soe.field1,
    (soe.field2 + soe.field3) as field4,
    soe.field5 - field4 as field6,
    soe.field7* (select comp.parValue from CompTable comp) as parValue1,
    soe.field8 - (parValue1*soe.field7+ soe.field9) as field10      <<<< parvalue1 does not work here
    parValue1*soe.field9 as TaxCondition               <<<< parvalue1 does not work here
    from
    SomeTable soe
    See that the query becomes so simple, but the above query does not work. There is something fundamentally wrong in my usage of the alias field names in creating other fields. The Query1 seems to be the only working option but its very slow as I am redoing and re-writing the whole code again and again to get the parValue field out of the CompTable table for use to create many other fields.
    I will appreciate if you can guide me in the right direction on this issue.
    Thanks and Regards
    Rama

    SELECT tmp.contract_no, tmp.Actual, tmp.Actual - tmp.NbHours
    FROM ( SELECT t.contract_no, sum(l.hrs) AS Actual, (c.labour_hours * c.labour_progress_per) / 100 AS NbHours
    FROM TASK_DELEGATION t
    INNER JOIN COST_CODE c
    ON t.cost_code = c.cost_code AND t.contract_no = c.contract_no AND t.is_inactive=0
    INNER JOIN Labour.dbo.LABOURALLOT l
    ON l.contractNo = c.contract_no AND l.costcode = c.cost_code AND l.pm = 'N'
    GROUP BY t.contract_no, c.labour_hours, c.labour_progress_per
    ) tmp

  • Using field names stored in the database in a query

    Hi,
    I'm working on a database that has field names stored in tables. In order to construct a query using the field names stored in the table, normally I'd use dynamic SQL. 
    For example in table1 I have
    Field_Name Value
    Field1
    'Name'
    Field 2
           'Address'
    I want to build a select statement  "SELECT Name, Address, FROM tblCustTable" - if possible not using dynamic SQL.
    Is there a neat way to do this?
    Thanks very much.
    Sad old developer

    No, it is not possible to dynamically include ANY object names (Columns, Tables, Functions, Procedures, etc) in SQL without using Dynamic SQL.
    The closest you can get, if you are choosing from a known set of names, is to use CASE statements:
    SELECT CASE
    WHEN t1.Field1='Name' THEN ct.[Name]
    WHEN t1.Field1='Address' THEN ct.[Address]
    END AS Field1
    FROM tblCustTable ct
    CROSSJOIN table1 t1
    WHERE ...
    However there are several disadvantages to this approach, and the SQL will quickly get very convoluted and difficult to maintain.   Dynamic SQL is much cleaner.
    -Tab Alleman

  • Output Technical Field Names in the SAP query Output

    Hi Experts,
    I am new to SAP Query/ABAP Query or Quick Viewer. Just would like to know if there is a way whereby I can print the technical field names as opposed to the English field headers. For example I want to print BUKRS in the place of CoCode.
    I have a vague feeling this could be possible through custom coding in SQ02 but have no idea which code section to choose.Any inputs greatly appreciated.
    thanks in advance,

    Hi Sreegopalan,
    Open your infoset in SQ02, by default in the left hand side you'll be having the tables that you have selected, double click the field name which you want change the long text, it will open a attributes window below your field group. Change the header data text as you wish.
    Please find the query documentation in the below link.
    [http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf]
    Regards,
    Nandha

  • Alias a field name in a join query

    I have a database with spaces in the field names (not my fault).
    I am having a problem with the query because one of the fileds I am joining on has a space in its name. See bolded text.
    SELECT *
    FROM employee_passwords
    INNER JOIN employee_general_info
    ON employee_passwords.Employee_ID=employees.[Employee ID]
    WHERE username = '#username#' AND password = '#password#'  
    So I get this error message
    Error Executing Database Query.
    [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'employees.Employee ID'.
    Is there a way to alias the employees.[Employee ID] field?

    Should be
    ON employee_passwords.Employee_ID=employee_general_info.[Employee ID]

  • Crystal 8.5 - now 9 - report in VB6 gives "This field name is not known"

    Hi,
    I've got to do some maintenance on an old VB 6.0 project that had some Crystal 8.5 reports in it (DSR files).
    I only had Crystal 9.0 (developer edition) available, so am using that.
    Running one report I now get the error "This field name is not known".
    Q1. How can I find out what field - and where in the report it is?
    Q2. Is there anything special I should have done to "upgrade" the DSR/DCA and DSX files?
    Thanks,
    Details:
    The reports are not "visual", they are created within a DLL that saves them as PDF's and/or prints them directly.
    The reports are bound at run-time to recordsets; at design time they use field definition files (TTX). I believe I've made sure the field definitions match the recordsets that they represent.

    Hi,
    Thanks for your replies.
    Falk:
    Nothing in particular was done to upgrade the files, other than to upgrade the VB project to reference the Crystal 9 dll's and such instead of Crystal 8.5.
    The Crystal reports designer does not seem to want to open a DSR file. I did find some RPT files in the project; but while the Crystal reports designer will load them it does not seem to want to save as DSR files.
    The "Field name is not known" message is returned in the error raised when VB tries to run the report, and it stops the report from being built.
    Ludek:
    That's a good kbase article. I had actually guessed that was an issue and had fixed two of the three reports in this project, by dumping (to text files) the recordsets being bound to them and comparing real field names with the TTX files. (I also updated some of the custom formulas in the reports to match the proper names).
    ...but in the third report, I just couldn't find the mis-match; checking the recordsets, TTX files and any customisable formulas I could locate.
    As for the patch - after installing it the report designer no longer works at all in VB6 - not for the reports that I had got working, nor even for a new report!
    (added: actually I can't get any designer up, even the VB forms designer won't load, in a project with no Crystal in it...)
    At this point I "give up".
    VB Express 2008 was used to "upgrade" the VB project to .Net and then convert the DSR's to new format RPT's. They were then loaded into a fresh VS 2008 (C#) project.
    I'm now at the point of trying to figure out how to put in the report events that were in the old DSR files in the original VB project (there is code in them to assign the recordsets as sources, at run time, and calculate and make available information from the report).
    Thanks again,
    Edited by: pzkpfw on Aug 14, 2008 12:19 AM clarify
    Edited by: pzkpfw on Aug 14, 2008 12:21 AM
    Edited by: pzkpfw on Aug 14, 2008 5:16 AM

  • Crystal Report Windows Forms Viewer error: "The field name is not known"

    Hi,
    My report runs fine in the Crystal Reports viewer.  When we try to view the crystal report through a piece of 3rd party software, I start to get errors in a few of my formulas indicating that "the field name is not known".  I can clearly see that the field is in my crystal report.  Has anyone else had this problem?  Any ideas on what might be happening?
    Thank you.

    Just to provide some further clarification on my problem:
    The "field name is not known" error seems to be occurring only in a few formulas where I have a statement like this:
    if ISNULL({somefieldfromdatabase}) Then
    I've used this for many other formulas and not had an issue with them.  I've verified that the database and the stored procedure contain this field.

  • Crystal Viewer error "This field name is not known"

    I have MAS500 with crystal 10 that runs a report from a view in a SQL data base and it ran fine when only MAS500 and ABRA were installed on the terminal server. Then we installed a new product CribMaster that also uses Crystal 10.  After CribMaster was installed we got the error "This field name is not known" from Crystal viewer.  The report has a selection parametar .  I feel that there is a dll file that got over written, but do not know which one.  I can run the report from Crystal OK, but not from within the application.

    Since you can run the report from Crystal OK, but not from within the application, I'd recommend trying to figure out the dlls loading, or not in the app. Use a utility such as [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to determine the differences. Modules will compare the log results for you (Module menu, choose "Differences").
    You may also want to consider contacting the app creators to see if they can help...
    Ludek

  • Cfoutput query and form field names

    I have a form that have two field inputs. I would like to repeat the form fields as part of a cfoutput query. The first field of the form automatically populates the different person's name (via cfoutput query) and this form field is called "tenant". The next field of the form is called "sales". The sales field is left open for user imput. The entire form is in between the cfoutput query tags. When the cfoutput query is executed, Both form fields of the form is displayed with each tenant name listed in each of the first form fields of each row. The problem I'm running into is that even though the form elements appear to display correctly, I would like the name of each of my form elements in the cfoutput query, of each row to have a different form field name like, tenant2, sales2, tenant3, sales3 etc. is that possible?
    Here's what my code look like.
    <cfform action= "addsales.cfm" method="post">
    <cfoutput query="tenantsales"><Input name="tenant" type="text" value="#office.tenant#" size="32" />
    <select name="sales"><option>$5</option><option>$10</option><option>$12</option></br></cfoutput>
    <input name="submit" type="submit" />
    </cfform>

    I cannot imagine why you would want to show a list of pre-populated input fields. What makes sense to me is a select-box. If that is indeed what you want, then you could do something like this:
    <cfform action= "addsales.cfm" method="post">
    <cfselect name="tenant">
        <option value="">Tenant</option>
    <cfoutput query="tenantsales">
        <option value="#tenantsales.tenantID#">#tenantsales.tenantName#</option>
    </cfoutput>
    </cfselect></br>
    <cfselect name="sales">
    <option value="">Sales</option>
    <option value="5">$5</option>
    <option value="10">$10</option>
    <option value="12">$12</option>
    </cfselect></br>
    <cfinput name="submit" type="submit" value="Submit" />
    </cfform>
    Like Dan, I have assumed your database table has a column for tenant ID.

  • Write a query for which has its field name as input parameter

    Hi All,
    I need to write a query for SSRS report. StartDate, EndDate and ChangedField are the input parameters.
    Let's consider that we are taking employee details. The table contains lot of fields like emp name,add1,add2,city,state,country,designation,rank etc. We have almost 30 fields are there. These field name are coming as input parameter "ChangedField"
    . I need to show the records which belong to the start date and end date also data change for the field which is given in the input parameter "ChangedField".  That meand If I give ChangedField="city", we need to check for data which
    has been updated with new City name in the given time period.
    Please suggest.
    Regards,
    Julie

    Hi Julie,
    Per my understanding that you have many fields in the table to be displayed in the report, some of the fields will always show and others should be hide and show based on the selection of the parameters which include the columns names, right?
    By default, we can't display columns dynamically in the report automatically without insert this column in the report before. So, in your scenario, I will suggest you to add all the columns in the reports first and then add show/hide expression on
    the column visibility based on the selection of the parameter "ChangedField", when some of the fields selectted they will be display, otherwise they will be hidden. For the fields which you want to be always displayed will not need to add the expression
    in the column visibility.
    Details steps about how to acheive this, please referencet to the  article below:
    Displaying Dynamic Columns in SSRS Report
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How can I modify the display field names on the output port of my bi query

    Hello,
    I integrate my bi query in the visual composer storyboard.
    Then I click on my output port of the query and see the output fields.
    The display field names are very strange.
    For example:
    ABZCNQMDOPWJGHS1Q5Q27090
    I have never save such a field name while I create my query in the query designer.
    Have somebody an idea, where I can modify my displayed field names??
    Thanks.
    Thomas

    Hi Thomas,
    the cryptical names are the technical names of your query components. If there is no decription available (depends also on your portal language) then the technical names are displayed. Check your portal language in your user settings and then check if you have entered a description in the query designer for this language.
    Best Regards,
    Marcel

Maybe you are looking for

  • Error while creating change request via solman support desk message

    I have configured CHARM and my change req. is working for urgent correction, I have tested the entire workflow. however when i try to create a new change req. via support desk message --> create a change request open I get following error An action w

  • Problems with input for Threads

    Please help, I don't know how to do further inputs using the command line while threads are doing their work. Here's the code: import java.io.*; import javagently.*; class Museum {    Museum(int w) {        walkmen = w;        cash = 0;        people

  • Acrobat 9 Pro does not list MS Office files as supported files

    I've tried this on 4 different computers. All computers are running Windows 7 and Microsoft Office 2007. 2 of the computers are running Acrobat 9 Pro and 2 of the computers are running Acrobat 9 Standard. On two of the computers, one Pro and one Stan

  • How to drag and drop between portlets?

    Howdy! Could someone please be kind enough to show me how to drag and drop data between portlets. I want to select an icon, drag it to an application and launch the file associated with the icon in the application. I can do it within a portlet with s

  • N95 maps problem can anyone help.

    Hi I've got the n95 and have been trying for about two weeks to get the sat nav thingy working .. maybe i'm not doing something right but when pressing for maps it gives me bluetooth options for connection, eg headset, and close by bluetooth phones.