Need to show all BP in Crystal report CFL

Dear All,
I add a parameter of customer. However, only the BP that has transactions in SAP can be displayed in CFL. If I open BP screen, the cardcode field is not gray out, I cannot see it in CFL. How can I have the CFL show me the whole list? Thanks in advance.
Regards,
Yuka

Hi Yuka,
1. Created new report and paste below query in command whatever you paste above same without where condition.
SELECT T1.CardCode, T1.CardName, T0.ClgCode, T0.Recontact, T2.Name, T0.Tel, T2.E_MailL, T0.Details, T0.Notes, Case T0.Closed When 'Y' Then 'Closed' Else '' End 'Status' FROM OCLG T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode INNER JOIN OCPR T2 ON T0.CntctCode = T2.CntctCode
2. GoTo "Field Explorer" in Crystal Report and create one parameter as following
Customer @Select * From OCRD Where CardType='C'
and properties for parameter as follows
Type=String
List of values = Static
Value Field = None
If you want From to give From to To customer then in Value Options set True for "Allow Multiple Values" Rest keep as it is.
3. Goto Report Menu->Selection Formulas->Record then you can find in "Field Tree" your command name and all the fields once you double clicked on "cardcode" field it will come downside in details window after that just you have to paste below string next to your cardcode field and save it.
={?Customer From @Select * From OCRD Where CardType='C'}
And one more thing there is no need to set order by for CFL.
Regards,
Sachin

Similar Messages

  • How to show all view tab (Main Report and all Sub Report) in Visual FoxPro 9

    I use ActiveX from Crystal Report Developer XI for viewer in Visual FoxPro 9 and I already know how to show Main Report by using command:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the MyReport.rpt there is two subreport name :
    1. MySubReport1
    2. MySubReport2
    My Question is :
    How to show all view tab (Main Report and all Sub Report) at the 1st time we call ViewReport?
    I try to using command :
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub=oRptOpen.OpenSubreport("MySubReport1")
    oRptSub=oRptOpen.OpenSubreport("MySubReport2")
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    but only show Main Report (view tab name : Preview)?
    Did I miss any command before I call oRptView.ViewReport?

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • Bex Query not passing all rows to Crystal reports

    hello experts,
    i have created a bex query that shows all employees from the master data table and links to the cats table to show absence hours...
    in bex, all employees are showing and some of the employees have hours showing for sick time. this is known as a left outer join.
    i have created a report in crystal with this bex query and it does not show rows from the master data that do not have a link to the cats table. only the rows that have a link to the cats table are showing up. (this is compared to a inner join)
    the reason i need the master data from the employee table is that the users want to divide the total hours off(sick time) per department by the total employees in that department.
    here is the sql query from crystal that was created automatically when i used the bex query to created the crystal report.
    SELECT {Measures.4J8L2TQJ3P517ISQ1R4Y8UZ36, Measures.4J9PY3UANRIW2HW15YSOED92A, Measures.4J9TLIO0NDQROSA2YONCW6HB6}
    ON COLUMNS,
    NON EMPTY
    CROSSJOIN(0EMPLOYEE.LEVEL01.MEMBERS, 0EMPLOYEE__0COMP_CODE.LEVEL01.MEMBERS)
    DIMENSION PROPERTIES 0EMPLOYEE.50COMP_CODE, 0EMPLOYEE.50MAST_CCTR ON ROWS
    FROM ZCATS_MC1/ZZCATS_MC1_Q001C
    SAP VARIABLES 0I_DAYS INCLUDING 0CALDAY.20100502 : 0CALDAY.20100903
    i am using the mdx driver, and the integration kit is 2.8.
    any thoughts?
    thanks,
    erik

    Thanks Ingo for the quick response.
    this sounds like a limitation in the integration between bex and crystal because the query shows the correct data and the crystal reports does not. i have tried to add a calculated key figure to all the rows and put a number in it but it still does not show the rows in crystal.
    my issue is that they(the business users) want to know all the employees in the employee master data along with all the sick / illness data.
    do you have a suggestion for this issue?
    do you think that the mdx driver should be updated to allow master data to flow to crystal?
    thx,
    Erik

  • Need help in creating table in crystal report for visual studio 2010

    Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010?
    I have a datatable and I need to show that in crystal report in table structure.
    I have tried using lines and boxes to generate the table but it is not working perfectly.
    How can I export the report in excel format in read/write mode saving all the formatting in the report

    Hi,
    Check sample codes from following:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    You can download the [Developer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] & [API Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    Thanks,
    Saurabh

  • Need help showing multiple parameters in a report header

    Post Author: Annette
    CA Forum: Formula
    hi-- i am new to this and i have created a report where the person picks one or more items (they are different hospital suites) and i need for them to print on the report header all of the selections that they chose. right now it only prints the name of the first one they choose..
    any help would be good..
    i do know it's a string value....
    thank-you for anything you can help me with....
    basically if 1 is picked then it needs to state that name, if 2 or more are picked id like it to say Name, name, name, etx...

    Post Author: Annette
    CA Forum: Formula
    the actual parameter is a number, but what im trying to populate on the heading is the name of the number..
    for example... when you choose the resource unit of 31 when you refresh i want it to show the name of it which is ORA Surgery.... but if they choose 31 & 53 then id like it to show ORA Surgery, ORD Surgery.... right now it just pulls the first name choosen.. does that make sense..
    so the parameter is a number, but the name(the one i want populated)  is a string
    and oh gosh,, thanks for your quick responses..

  • Is there a way to Extract all formulas from Crystal Reports files?

    Hi:
    I have about 40 Crystal Reports (.rpt files).  I need to go through each one and look at formulas if a certain variable/value is used since it has currently changed.  It is taking way too long and not to mention inefficent to open each file, look through any place where there could be custom formulas such as when to suppress - etc.  Is there are way to easily exact all custom formulas from all those report into say a Text file so I can do a Search for it?  That would be the easiest way to find what I'm looking for.
    I have Crystal Reports XI.
    Thanks in advance for your help.

    One option is to use a tool such as rptInspector.  See: [http://www.softwareforces.com/Product/ri/pro/3/rptInspector.htm|http://www.softwareforces.com/Product/ri/pro/3/rptInspector.htm]

  • SAP System Logon selection shows up blank in Crystal Reports

    Hi there,
    I've done the following so many times, in the following order, without running into any issues:
    1. Install SAP Front End
    2. Install Business Objects Enterprise 3.1
    3. Install Business Objects Explorer 3.1 SP1 (Polestar 3.1)
    4. Install Crystal Reports 2008 SP1
    5. Crystal Reports Viewer 2008
    6. Install Xcelsius Enterprise 2008 SP2
    7. Install Live Office 3.1
    8. Install SAP Integration Kit 3.1 (Custom-->Complete installation)
    However, this time around  I've run into an issue which I'm trying to resolve, but it has been a nightmare. When I try to access "SAP Table, Cluster, or Function" from File menu>New>Standard Report>Create New Connection>SAP Table, Cluster, or Function, I see the "Available SAP Systems" section blank on the "SAP System Logon" dialog box.
    However, this dialog box shows all the connections strings when I access it via the SAP menu or toolbar in Crystal Reports.
    To fix this issue I've uninstalled SAP IK, CR Viewer and Crystal Report and reinstalled it, but the problem persists. I am wondering if you have ever come across this before and if you could please give me some tips to resolve this.
    Thanks a lot,
    Gaurav

    Hi
    please do the following:
    1. Define an environment variable (user or system) with the name SAPLOGON_INI_FILE . This variable should contain the path to your saplogon.ini file including the file name eg. if the saplogon.ini resides in the folder  c:\windows the variable should contain the following value c:\windows\saplogon.ini
    2. Open your saplogon.ini file using Notepad and go to File->Save as. Choose All Files in the field Save as type and DO NOT change the name of the file. In the field Encoding make sure that UTF-8 is selected.
    Regards,
    Stratos

  • Migrating all configuration  from Crystal Reports Server XI R2 to Crystal Server 2013

    Hi,
    We're running an old Crystal Reports Server XI R2 SP version (boe 11.5)  and we're planning to start using Crystal Server 2013
    As far as I know no upgrade is possible and that's not needed either.
    Instead I'm interested in the migrate possibilities. I saw this thread but it doesn't answer all the questions https://scn.sap.com/thread/3462417
    So first I will install Crystal Server 2013 on a new server and then I use some migrate tool.
    Questions:
    - does the migrate tool support migrating from my version CR server XI R2 SP1  to  Crystal Server 2013 ?
    - does the migrate tool copy all report schduling information (recurring schedule, destination etc)? We have ~1000 scheduled reports so doing manually is not an option
    - does the migrate tool copy Business views/Business view connections ?
    (- odbc data sources are probably not copied but that's ok)
    -Mikael

    Hi Mikael,
    Since you're already on CR Server XI R2, you can use the Upgrade Management Tool to migrate all the content to CR Server 2013.
    Anwers to your questions:
    1) Yes, the Upgrade Management Tool does support this kind of migration
    2) It does seem that the UMT allows you to move all report instances as well as the scheduled jobs over to the new server
    3) I've always had issues with Business Views when using Import Wizard however I'm not sure whether they work well with the new UMT. In any case, I always prefer to export the LOVs and BVs from within the Business View Manager to a .xml file and then import them in the higher version of the Server, again, from within the Business View Manager.
    -Abhilash

  • Need to show Previous months data in report

    Hi All,
    I have a crystal report 2011 which shows monthly Cash data. It has 3 other columns like Previous 3 months cash data, previous 6 months cash data, Previous 12 months cash data in report.
    My report also has two parameters- start date and end date. If I give Start date as 1/1/2012 and end date as 12/31/2013 (two years date range) then correct data comes in all columns and for 2013 year, correct data is coming for Previous 12 months column. But if I give only one month date range like start date as 1/1/2013 and end date as 01/31/2013, then it is not showing correct data for these 3 columns - Previous 3 months cash data, previous 6 months cash data, Previous 12 months cash data. Ideally as per requirement, it should calculate previous months data regardless of parameter values and put data in respective columns.
    Any help/suggestion? Any trick which can help me to show correct data in all columns no matter what date range or months I am taking in parameters.
    Is it mandatory to have previous 12 Months data in report to calculate column-Previous 12 months Cash data?
    Thanks,
    Remi

    Hi Remi,
    You can try like this:
    I have given a some suggestions i.e You just take one parameter only because u can imagine 3 columns previous data display correctly i.e From Date
    Month parameter is also a alternate option.
    For Ex: Column1: From Date - 90 Days/3 Months  - we get the three months previous data correctly etc.
    Finally, create a stored procedure that returns the required columns and does all the calculations on the database side.
    Follow abhilash suggestion as well.
    Useful threads: Crystal Report Parameter Issue
    Pull Last 6 months of data
    Month to date data for Previous month
    How to find current month, previous month Net Sales by means of formula?
    Thanks,
    DJ

  • Need some help & suggestions in designing Crystal Report

    I need to arrange my data in the following manner:
    I need to group my data by a field and need to show multiple information for that record at the same row level and then include some crosstab information. I realized that I cannot have multiple information at the same row level for a group.
    As an example, please consider that the group field is Name and A and B are two records returned based on the grouping field. I also need to show 'Description' and a color coded box for that record.
    And then I need to show the cross tab data for that group.
    I need a table something like what is shown below:
                                                              X  Y  Z
    A.Name A.Desc A.ColorCodeBox    Var1    0  1  2
                                                      Var2    2  3  4
                                                      Var3    2  4  4
    B.Name B.Desc B.ColorCodeBox     Var1    0  1  2
                                                      Var2    2  3  4
                                                      Var3    2  4  4
    Where the numbers are some values and X,Y,Z are the column headings and the numbers are some values.
    Could you please provide some suggestions as to how this can be achieved? I am using the default Crystal Reports that ships with Visual Studio 2008 Prof. But if there is some other feature available with any other version, we can consider switching to it.
    Thanks in advance.

    Here is how my table is laid out.
    col-1    col-2     col-3              col-4  col-5  col-6
    field-a   field-b   field-c        r1 11111  22222  33333
                                       r2 44444  55555  66666
                                       r3 77777  88888  99999
    As you had mentioned, I am creating two group headers in my group section where the first group header contains the following and overlays the second group header.
    col-1    col-2     col-3    
    field-a   field-b   field-c                                                                        
    And the second group header contains  the cross tab information.
              col-4  col-5  col-6
        r1 11111  22222  33333
        r2 44444  55555  66666
        r3 77777  88888  99999
    And I suppressed the column headings (col-X)  from both the groups using the formula that you mentioned. But here is how my table is being laid out
    col-1    col-2     col-3              col-1  col-2  col-3
    field-a   field-b   field-c        r1 11111  22222  33333
                                       r2 44444  55555  66666
                                       r3 77777  88888  99999
                                                                               <- blank line
    field-a   field-b   field-c        r1 11111  22222  33333
                                       r2 44444  55555  66666
                                       r3 77777  88888  99999
    I have already done a fit section and made sure there is no space. Also my crosstab table contains string fields and I am suppressing the row and column totals in the crosstab as I do not need them.
    Do let me know if you have any ideas on this.

  • Dynamic Parameter only showing 1000 records when Crystal report is run.

    I have created a crystal report using ODBC access to a table that has 3000 records.  I created a dynamic parameter to pull a list of all the Customer ID's in a customer table and the parameter will only show the 1st 1000 records.  In addition I cannot type in the customer ID that I would like.  Version of Crystal - Crystal 11.

    Oh, darn. So sorry. Looks like I hyperlinked the wrong URL (You'd think I got that down by now...). Anyhow here is the correct link:
    1218588 - How to increase the number of values in a dynamic parameter list in Crystal Reports?
    And in case the link does not work, or I goofed again, here is a copy of the resolution:
    Resolution
    CAUTION
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe). It is strongly recommended that you make a backup copy of the registry files before you edit the registry.
    To increase the maximum number of values available in a dynamic parameter list of values, set the registry key: MaxRowsetRecords, to a value greater than 1,000.
    Open the Microsoft Registry Editor, and navigate to the path corresponding to the version of Crystal Reports used:
    Crystal Reports XI:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports XI R2:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2008:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2011:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2013:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports for Visual Studio 2010:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV
    NOTES:
    -  Add the key: LOV, if it is not present.
    -  For 64 bit version of Microsoft Windows, the registry path will be slightly different, it will start with:
          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\...
       But the rest of the registry path is the same.
    Add the String value: MaxRowsetRecords
    Set the value of: MaxRowsetRecords to the maximum number of values to display in the List of Values.
    For example, a value of 2000 will return up to 2000 values in the lowest level of a dynamic cascading parameter.
    IMPRTANT NOTES:
    - The higher the number of values is, the longer it will take the see the dynamic parameter prompt screen. In brief, it impact the performance.
    - The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    After making changes to the registry, close and reopen Crystal Reports, or restart the Crystal Reports services for the BusinessObjects platforms.
    - Ludek

  • Help needed in reading data from a Crystal Report

    I am trying to read data values from a saved crystal report. (groovy code snippet below)
    I open a new ReportClientDocument and set the RAS using the inprocConnectionString property.
    Then I get the rowsetController and set defaultNumOfBrowsingRecords, rowsetBatchSize and maxNumOfRecords all to 1000000
    Using the browseFieldValues method after that returns only 100 records. I want to get all.
               ReportClientDocument clientDocSaved;
           def pathout=rc.pathToSavedReports+rr.path;
         //****** BEGIN OPEN SAVED SNAPSHOT ************
         clientDocSaved = new ReportClientDocument();
         clientDocSaved.setReportAppServer(ReportClientDocument.inprocConnectionString);       
            // Open report
         println("Reading file in.")
         clientDocSaved.open(pathout, OpenReportOptions._openAsReadOnly);
           def rowsetController = clientDocSaved.getRowsetController()
         rowsetController.setDefaultNumOfBrowsingRecords(1000000)
         rowsetController.setRowsetBatchSize(1000000)
         rowsetController.setMaxNumOfRecords(1000000)
         //setup metadata
         IRowsetMetaData rowsetMetaData = new RowsetMetaData()
         Fields fields =  clientDocSaved.getDataDefController().getDataDefinition().getResultFields()
         rowsetMetaData.setDataFields(fields)
         def values = rowsetController.browseFieldValues(fields.get(0), 1000000)
         values.each{value->
            println(value.displayText(new Locale("ENGLISH")))
    Before using the browseFieldValues method I was trying to use a rowsetCursor
                //get the rowset cursor to navigate through the results
                RowsetCursor rowsetCursor = clientDoc.getRowsetController().createCursor(null, rowsetMetaData)
                //navigate through the rowset and log the name and value
                rowsetCursor.moveTo(0)
                while(!rowsetCursor.isEOF()){
                     Record currentRecord = rowsetCursor.getCurrentRecord()
                     //println("current record number: " + rowsetCursor.getCurrentRecordNumber())
                     for(int i=0;i<fields.size();i++){
                          //println("Column - "+fields.get(i).getName())
                          if (currentRecord.size()>0){
                              println(currentRecord.getValue(i))
                     rowsetCursor.moveNext()
    the currentRecord was always an empty list and I did not get any data values at all.
    Am I missing something in using these approaches?
    I'm fairly new to using the Java SDK for CR. Any help will be greatly appreciated.
    Thanks

    hi, I am trying this second method to read the values from report. but all the records comming as null. Kindly help me to resolve this issue.

  • How to enable show SQL Query in Crystal report tool

    Hi,
    How can we enable the show SQL Query under Database tab in crystal report...
    We have a requirement to modify the SQL query in Crystal reports.
    Thanks,
    Gana

    Gana,
    CR has an "Add Command" feature that will allow you to use hand-coded SQL as your data source.
    Look at Defining an SQL Command in CR's online help (F1).
    If a command was used in the original report creation, it's a simple matter to go in and edit that SQL.
    If the report was not originally built w/ a Command you may find it difficult to switch over. In most cases it easier to start over from scratch, creating a new, blank report, that uses the command.
    Jason

  • Show all rows in interacive report

    Hi there,
    I built an interactive report, when I run the report it shows just 15 rows with the ability to see the next 15 rows -
    Iam asking how to show all rows as a default whenever the user runs the report.
    Regards,
    Abdul

    I saw in another thread that the trick is to log out as the developer and close the browser. I tried that and now it appears that my change to 100 rows as the default report rows seems to hold when I log in just to the application in another browser. When I tried it without logging out, it did not seem that the default became active--even when going in through another browser. Seems like a bug that should be fixed??
    Pat

  • Need help connect Access Database to Crystal Report Viewer in java

    Need example for passing parameters to PropertyBag Class and IConnectionInfo Class.
    We use CR_JRC_11.8
    Thanks

    A sample that demonstrates how to change the database that a report uses at runtime in the JRC can be found at the following link on the SAP Portal:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ad3d3d-be66-2b10-2181-f46c6e05a420
    To help determine what connection properties need to be changed at runtime through code, create a copy of your original report and use the Crystal Reports designer to change this report to new datasource manually.  You can then use the  jrc_display_connection_info helper sample to examine what the parameters should be in the property bag before setting the IConnection information.  The jrc_display_connection_info helper sample can be found at the following link on the SAP Portal:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/706202a4-bd66-2b10-4e8b-92f4a8024ea1
    Hope these samples help.
    Regards.
    - Robert

Maybe you are looking for