Refer to a Form Field in a Crystal Report

Hello!
For a customer I need to set up a Layout in Crystal Reports for Asset History Sheet in Fixes Assets.
Depending on the Depreceation Area (IFRS, HGB) the (printed) report contains different data, I need to filter the data in the Asset History Form that is shown on the screen in different ways.
I have to make sure that no HGB report can be printed with IFRS numbers (and vice versa).
The information about the Depreceation Area is written in a field in the Asset History Form on the screen, it is not stored in any table.
Is it possible to check the content of this field in my Report?
Thanks and best regards
Peter Ganserer

Hi Peter,
If the Form Field is a direct field from table, you can add the field from table. However, if it is a calculated field, you may not have option to put it into Crystal Report.
Thanks,
Gordon

Similar Messages

  • Hiding a data field in SAP Crystal Reports 2011

    Hello,
    I am new to SAP Crystal Reports 2011 (Crystal Reports).
    Does any one know how to hide a Special Field in a Crystal Report?
    Specifically, I am trying to hide the Special Field, 'Record Number'  from displaying on my report.
    I need the Special Field, 'Record Number' to know how many records was printed on my report
    in order to limit the amount of records printed while I am testing this new report.
    Thanks for the help!
    Tony

    Hi Tony,
    Yes to hide specific field, follow abhilash suggestion..
    1. Limit the number of records displayed on your report like that:
    section expert -> particular your report section -> click on suppress -> write below formula
    RecordNumber > Limited number of records count..
    2. limit the number of records  per page on your report follow below link:
    How to limit the no of records per page in crystal reports 2008
    Thanks,
    DJ

  • How to use the distinct key in formula field in SAP Crystal Reports

    I want to use the distinct key in formula field in SAP Crystal reports.
    When i'm using it shows an error.
    Please suggest me....

    Hi,
    Use DistinctCount keyword directly for your calculation instead of count(distinct(....
    Alternatively, if you want to avoid duplicate records, under "File" > "Report Options" make the 'Select Distinct Records' as True.
    Thanks,
    Raghavendra

  • Hiding the Selected field in the Crystal reports 2011

    Hi Experts,
              I am new to the Crystal reports. How to hide the Selected Field in the Crystal report 2011.
    Thanks,
    Kavya.C

    Hi Kavya,
    You can right click on the field, go to Format Field -> Common Tab. Select/Check the option "Suppress". Or if you want to hide/ Suppress the entire section in a Crystal Report, for e.g. Detail section, right click on Details Section and select Section expert. You can select Hide/Supress accordinly.
    That should hide the filed/Section when you run the report.
    - Kuldeep

  • Refer to Tabular Form field in Condition of Dynamic Action

    I tried to filter on this topic but didn't come up with anything.
    Is there a way to refer to a field in a tabular form as a condition of a dynamic action?
    For example, I want to pop up a message (javascript 'alert') when the value of one field in a tabular form is changed, but only if another field for that same row meets a certain condition.  So let's say the field in the condition is XYZ.  So in the condition section, i would have PL/SQL Expression - XYZ IS NULL.  Something like that.  How would I refer to that XYZ field from my tabular form in the condition section of a dynamic action?
    Thanks in advance.
    John

    Thanks for your help on this.  I think going with the action being an 'execute javascript code' is a good approach.  So here is my situation - I have a tabular form.  I have 2 fields (among others) - SPECIES and WEIGHT.  The SPECIES is a select list in the tabular form.  The WEIGHT is a text box in the tabular form.
    To make this simple, let's say this is for only one species - SNSG.  If the person changes the select list to SNSG and the associated WEIGHT field is NULL, I need to pop up a message that says 'Fill in weight field if selecting SNSG'.
    So here is what I have:
    Event: Change
    Selection Type: jQuery Selector
    jQuery Selector: :.speciesClass
    Condition: In List
    Value: SNSG
    True Action: Execute JavaScript Code
    ** Here is where I am stuck: In the JavaScript code I need to this:
    If WEIGHT is null THEN:
    confirm('Warning: Enter weight if entering SNSG species.');
    I am not sure how to write that "If WEIGHT is null THEN" part in javaScript and be able to refer to the WEIGHT field associated with the SPECIES value I just changed in the tabular form.
    I hope that makes sense!
    I appreciate your help!!
    Thanks,
    John

  • Field width in Crystal Reports 10 Standard Edition

    I have a text field in an Access table of 50 chars. When I place that field on a report the default width in design view is less than 50, showing a given number of "X"s. I widen the field beyond the "X"s but still the full content of the field is not displayed in preview mode. For instance I have loaded the field with 50 chars and the 50 chars are not displayed in preview. Is there a way to tell Crystal Reports to default the width of the field in design view to the length of the field in Access? I am a former DOS programmer, where we would specify in the code the width of the display in a form or report. I have always been bothered by the GUI interface because the design interface does not default to the field width and therefore data can be hidden. Professionally, I missed the switch from the DOS interface to the GUI interface. This issue with field layout has always troubled me.  Also in the Dummies book (and in CR Help) there is a statement to the effect that CR 10 "automatically adjusts the fields displayed to match the field sizes you chose, and spaces them out proportionally". I see no indication of this. Thanks.

    Just to clarify, if I widen the field quite a bit, way beyond the "X"s I do eventually see the 50 chars in preview mode. But for some reason CR puts down 40 "X"s for a field of length 50. And then I have to just play around with the width until I can see the 50 chars on the report. Am I doing something wrong or is there a setting that needs to be adjusted? I guess I am hoping to see the number of "X"s be equal to the length of the text string.
    I did learn about "can grow". When I connect to Excel CR puts down 40 "X"s and I have to fudge with the width until I see the full 50 chars.
    With the GUI interface is the developer thinking more in terms of inches vs. number of characters? Like I said I am a dinosaur and I struggle with detail.

  • Field Explorer in Crystal Reports does not show the same names as Bex Query

    Hi
    I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
    In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
    It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
    I would like it to display the field explorer as shown in this blog.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Thanks in advance

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
    Ingo

  • Control checkbox form field in word with report generation toolkit for Microsoft office

    Hi all,
    Happy New Year!
    I insert in the word template the check box form field. It has a bookmark name "Check1".
    Now I'm trying to checked or unchecked this field using the report generation toolkit for Microsoft office and I couldn't. If anyone now how to do it? I'm using LabView 8.0
    Thanks in advance,
    Boris
    Solved!
    Go to Solution.

    Boris,
    The Microsoft Office Toolkit does not have support for checking/unchecking check box forum field. You would have to research the activex functionality that enables this to be checked or unchecked and then do the activex calls yourself. I did hear of one csutomer who used a special font to write a blank box or a checkbox into a word document and changed it that way as well.
    Maybe http://www.ozgrid.com/forum/showthread.php?t=53715 gives a hint to an activex reference
    Rob K
    Measurements Mechanical Engineer (C-Series, USB X-Series)
    National Instruments
    CompactRIO Developers Guide
    CompactRIO Out of the Box Video

  • Get the parameter fields defined in crystal report

    I am porting my application from crystal 8.5 written in C++ to crystal 2008 in .net.
    Here I am not making use of crystal report viewer neither I am creating .rpt in .net code.
    I have a set of already created .rpt files.
    I have written a function in .net to export the crystal report.
    Its a generic function and will be called for multiple crystal reports.
    I am passing the parameter values to the report by making use of the following function :
         ReportDocument repDoc;
         repDoc.SetParameterValue(APPTYPE, strNextToken[0]);
         repDoc.SetParameterValue(COMPORROLETYPE, strNextToken[1]);
    Similarly I are setting other parameter values.
    The problem here is that, all the reports do not have parameter fields defined that I am trying to set.
    They may be present for one report and absent for another. In this case , if the report does not have a particular parameter
    field, then it gives error on setting parameters and subsequently fails.
    Now I want to find out through code what all parameter fields are defined in the report. Then I will only set those
    parameter fields?
    Please guide how can this be done.
    Thanks
    Sonam

    Not as trivial as you might think. You will have to loop through all the sections of the report looking for the objects you need. I don't have a code specific to parameters, but looping through al the sections would be something like the code below. But... this will only show you parameters in a section. It will not show you parameters used in a formula, record selection formula, group selection formula, text field or a conditional formula. In order to get those parameters, you's have to parse out each of those objects looking for parameters. And this is probably not an exhaustive list of places to look for a parameter in the report.  I get a headache just thinking about this...
    Dim crSections As Sections
    Dim crSection As Section
    Dim crSubreportObject As SubreportObject
    'set the crSections object to the current report's sections
    crSections = crReportDocument.ReportDefinition.Sections
    'loop through all the sections to find all the report objects
    For Each crSection In crSections
    crReportObjects = crSection.ReportObjects
    'loop through all the report objects to find all the subreports
    For Each crReportObject In crReportObjects
    If crReportObject.Kind = ReportObjectKind.SubreportObject Then
    'you will need to typecast the reportobject to a subreport
    'object once you find it (***you'd go to setting the parameter here - or not...)
    crSubreportObject = CType(crReportObject, SubreportObject)
    'open the subreport object
    crSubreportDocument = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
    'set the database and tables objects to work with the subreport
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Opening HyperLinked Files contained in a database field Automatically alongwith Crystal Report

    Hi
    I am using Crystal Report 2008. We have a database table which has Bill of Material for all the parts, the table also has additional field which contains LINK to PDF File (i.e. c:\PDFFiles\XPart.PDF) which is containing Part specifications. Now i am able to create a Hyperlink from this field and user is able to click on the field to open the file.
    Is there a way, that all the associated linked files open automatically whenever a user previews this report.Any help would be highly appreciated.
    Thanks
    Shekhar    

    You can achieve the desired behavior by adding a UFL (User unction library) that includes a function for triggering and passing parameters ot a different process.
    At least one of the 3rd-party UFLs listed at Crystal Reports viewer comparison, Crystal Reports scheduler comparison and other utilities ( viewer and scheduler compa… provides such a function.
    You would then be able to add Crystal formulas that result in opening linked documents as a byproduct of previewing the report.

  • Passing value to paramater field in the crystal report

    Hai,
    I have done the following thing.
    1. Created SBO screen using screen painter.
    2. Added one text box, button in the screen painter.
    3. Created one Windows screen and attached Crystal report viewer.
    4. As soon as the button clicked in the SBO screen i am able to open the crystal report.
    But now i need values which i have typed in the text box should be passed to the crystal report. how this can be done . I have attached the code please let me know where is the error. I have also created paramater filed in the crystal report name "From_dt".
    As soon as the screen opened from SBO. It is asking for discreate value. But i have already passed the value from the SBO. I need to pass the value dyanamical from SBO screen.
              Dim oRpt As New Myreport
                            Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
                            Dim oLI As New CrystalDecisions.Shared.TableLogOnInfo
                            For Each myTable In oRpt.Database.Tables
                                oLI = myTable.LogOnInfo
                                oLI.ConnectionInfo.Password = "sapb1@sql"
                                oLI.ConnectionInfo.UserID = "sa"
                                myTable.ApplyLogOnInfo(oLI)
                            Next
                            Dim Crviewer As New Frm_rptwaste
                            Crviewer.CrystalReportViewer1.ReportSource = oRpt
                            Dim ParameterField1 As New CrystalDecisions.Shared.ParameterField
                            Dim ParamterFields As New CrystalDecisions.Shared.ParameterFields
                            Dim ParamterDescreteValue1 As New CrystalDecisions.Shared.ParameterDiscreteValue
                            ParameterField1.ParameterFieldName = "From_dt"
                            ParamterDescreteValue1.Value = txtcode.Value
                            ParameterField1.CurrentValues.Add(ParamterDescreteValue1)
                            ParamterFields.Add(ParameterField1)
                            Crviewer.CrystalReportViewer1.ParameterFieldInfo = ParamterFields
                            Crviewer.CrystalReportViewer1.RefreshReport()
                            Crviewer.ShowDialog()

    Hi Suresh,
        Instead of Parameter, you try Formula field and assign desired value to formula.
    HTH
    B Ravi Shankar

  • How to get the coloumns (fields) width in crystal report

    hi,
    how to get the coloumns width, date(get and set) and page size in crystal report using ras sdk .
    thanks

    Thanks

  • Unable to refer a OAF form field value and pass it as a parameter

    Hi,
    I have a requirement to call a custom Oracle form from a OAF Page (Purchase Agreements form).
    Using personalization I have created a button on the OAF page and have set its Destination function to
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE=5307
    BA_TYPE and BA_VALUE are two parameters defined on the Oracle form.
    I am able to see th Button on the OAF page and when i click on it, it opens up the custom form.
    The issue is that I am currenctly passing a hard coded value (5307) to the form parameter.
    I actually would like to use the field name on the OAF page and pass the value in it to the form parameter.
    I tried doing it the following few ways, but i get an error messageas
    FRM-47023: No such parameter named G_QUERY_FIND exists in form <Form Name>
    FRM-40105: Unable to resolve reference to item PARAMETER.G_QUERY_FIND.
    FRM-47024: Parameter BA_VALUE type does not match definition in form <Form Name>
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE=poHeaderId
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE=&poHeaderId
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE=pageContext.getParameter("poHeaderId")
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE="{@poHeaderId}"
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE=pageContext.getParameter("PoHeadersSummaryVO.poHeaderId")
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE=pageContext.getParameter("oracle.apps.po.document.server.PoHeadersSummaryVO.poHeaderId")
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE=PoHeadersSummaryVO.poHeaderId
    form:PO:XXOX_PO_SU_OCM_FG:STANDARD:XXOX_QTY_ADJ:BA_TYPE=BPA BA_VALUE=oracle.apps.po.document.server.PoHeadersSummaryVO.poHeaderId
    Any help on this will be great
    Thanks
    Srinivas Reddy

    Hi,
    I have a similar issue.
    The data type of the form parameter is Number
    where that of the page paramenter is oracle.jbo.domain.Number
    I hav converted the datatype using to_number via form personalization. There is no error but value is not getting passed.
    pls let me know if anyone has a workaround/solution for this.
    Thanks,
    Pragati

  • Adding a field to a crystal report in sap b1

    All I am trying to do is to add the field for credit limited to the standard item invoice in SAP 8.8,
    I have added the BP table OCRD and draged the creditline field to the layout, but when you view all the fields are empty.
    I obviously need to link somthing - I have excepted the links that are automatically completed by SAP.
    Can anyone point me in the right direction.
    Thanks
    Jo

    do a test report with just the table BP and see if the data is there.  
    If you see the data in the test report, than add the table you originally tried to link to. remove all the links that crystal has created and link it manually from the new table to the table BP. and run again. Once you get the link right, go back to your original report and fix the link.
    Autolinking in Crystal is not reliable  in fields linked and in the direction of the link.

  • Using Keyboard keys in Fields setting in Crystal Report Design ?

    Hi Experts
    I want to know that how can I change text object or a field size or position by keyboard. sometimes it works and sometimes not. What is the setting for using keyboard.
    Thanks
    Regards
    Gorge

    Keyboard keys will only work under certain modes in CR.  You have to check the mode constantly to see in which ways they work.  There are too many conditions may cause them not work.  That list could be too long to find them all.  You would have a good grasp on the rule after you familiar with them.
    Thanks,
    Gordon

Maybe you are looking for