Table relations lost in Crystal Reports when connecting directly to SAP R/3

Currently, we are trying to create reports in CR2008 directly on SAP R/3 tables. We encounter the following problems:
- 1 it is quite difficult to find out which tables you need
- 2 if you import the tables into CR you have to define the relations between the tables again
This takes too much time and is way too complex.
So the question is: should I define infosets and load these into CR? what is the general "working method"/procedure  to deal with these issues?

Hi,
in case you not familiar with the tables from your ERP system I would recommend using an InfoSet or ABAP Functions as a source.
ingo

Similar Messages

  • Crystal Reports when connecting to SAP ERP gives Logon Failed error

    Hello Friends,
    We are trying to implement the SAP Best Practices Crystal Reports and Xcleisus Dashboards for ERP. We are using BI 4.0 SP2, Crystal Reports 2011 SP2 and SAP ECC 6.0 FP 5.
    We have done all configurations at the SAP end and successfully adpated a couple of Crystal Reports and they work fine.
    My client machine crashed and I had to reinstall my Windows and all Client Tools. After the installation, when I tried to adapt a few more reports, I face the below problem:
    After opeing the Crystal Report, when trying to Set the DataSource location, I select Create New Connection and select SAP Infosets. The SAP logon popup comes and I select the ECC system and enter the logon credentials for SAP ECC, I get an error message saying
    Logon Failed.
    Details: some square boxes.
    The error doesnt really make any sense. Unfortunately, I am not able to test this scenario in any other machine as I am the only developer here. I am almost sure this is because of some configuration set up in my client machine,
    Can some please help?
    Thanks in advance!

    Hello,
    I recommend looking at a couple of things:
    1) Do you have the latest Crystal transports installed with ECC?  SP 2 has new transports.  Check this subdirectory
    Crystal Reports 2011\DATA_UNITS\CrystalReports\Collaterals\Add-Ons\SAP\Transports\unicode_compatible\cofiles
    Use STMS to see if transports are installed
    2) Are you using 3.1 ?  Do you have the Integration Kit installed on ECC and client side?
    Tammy

  • How to build Table of Content in Crystal Reports

    Hi,
    Initially, I am looking for an article about how to build Table of Content in Crystal Reports in table-based approach----including how to write to DB table from report:
    http://support.businessobjects.com/library/kbase/articles/c2011950.asp
    However, the link above is invalid. I also searched through SDN articles, but no luck.
    Can someone please forward me the link if you happend to know?---does not have to link to this specific article, any working solution is just fine.
    I am aware of another approach which put the TOC to the end of the report(http://www.ml-consult.co.uk/cryst-05.htm), which probably does not satisfy the requirement.
    If you have other solutions, your share is greatly appreciated.
    Thanks a ton!

    [Is it possible to create a table of contents in Crystal Reports?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333133303330%7D.do]

  • How to create a Crystal Report to connect to Oracle

    Hi,
    When I create a Crystal report to connect to SQL Server, I create a stored procedure to get all data I need and connect to it from Crystal Report.(In the stored procedure, I created temp tables, used cusor etc to run data.) But now I need to use a Oracle database. I heard I need to create a package and put this stored procedure in this package. Questions:
    1. if I need to create a package, how can I call the stored procedure from it?
    2. Can I create temp table in this procedure too? I need to create some temp tables to join together to get complex data.
    3. if I want the return data from stored procedure, do I still "select ... from ..." or there is another other ways?
    I am so desperated. Please help. I know this are very silly questions. But please.

    Hi Jenny,
    We are also using Crystal Reports for our Oracle Database, we normally just select the tables we want to use or create our own SQL query.
    However, if you really want to use Oracle stored-procedure (which performs faster than a SQL query because the stored procedure is compiled in advance), you can look at this document:
    http://support.businessobjects.com/communityCS/TechnicalPapers/scr_oracle_stored_procedures.pdf
    Hope this will answer your questions.

  • Not able to Access R/3 Tables, Function Modules through Crystal Reports

    Hi Gurus,
    I am working on Crystal Reports 2008 - V12.2.0,  When I am trying to connect SAP R/3 system through the Data  connectivity SAP Table,Cluster or FM, 
    I could see only the very few tables ,  and cannot see all Tables and not any Info sets or Function Modules, 
    But, I can access BW system,  problem facing only with SAP R/3 system,
    Suggest me on this,
    Thanks
    Siva

    Hey here..,,
    There is a limitation to show all Tables, Function Modules in Crystal reports for R/3. To see them,
    In Options:
    You will see Table_Name Like%: Text box, go there and give the starting or ending characters of FM's.
    Eg: Z% or %Z
    Then Click on Ok.
    Now try to connect to R/3 again or Refresh the Connection, it will list out as you opted.
    Hope it should help you.
    Thank You!!

  • No table names appear (only Stored Procs) when connected to SQLServer w/dbo

    Greetings,
    I'm using Crystal Reports 11, connecting to a databse on SQL Server 2005.
    I am on Windows 7. I also have the problem on Windows Server 2003
    Starting from a blank database, I create my connection through ODBC, and when I expand my database, all I get is a list of stored procedures, no tables.
    I have isolated this to whether I have dbo authority on this particular database or not.
    i.e. I have a user with dbo authority, and they see nothing but stored procedure names, I take dbo authority away, and they see tables, views, stored procs, all as would be expected.
    I have several other SQL Server databases that do not share this issue. Users with dbo authority can see tables as expected.
    I have compared the settings on the databases, and nothing appears to be different (the database with the issue is considerably larger, but I can't see where that would be an issue)
    I will probably also open this issue with Microsoft, to see what they say from their end
    If anyone has seen this before, or would have any suggestions they would be greatly appreciated. Seems very strange that giving MORE authority would be affecting what the user can see.

    Don
    Below are the results from the SQLCON program you suggested. It is returning Table info... (truncated most of it, as I assume it's not all that pertinent)
    SQLConnect Successful
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'eas'.
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english.
    ODBC Version is : 03
    SQL Driver Name is : SQLSRV32
    SQL Driver Version is : 06.01.7600
    SQL Driver Supported ODBC Version is : 03
    SQL DBMS Name is : Microsoft SQL Server
    SQL DBMS Version is : 09.00.4035
    SQLTables Successful
    [Row, Database, Owner, Name, Type]
    1  eas,  dbo,  ABC_ACCOUNT,  TABLE,
    2  eas,  dbo,  ABC_BUSINESS_UNIT,  TABLE,
    3  eas,  dbo,  ABC_COMPANY,  TABLE,
    Here is the listing from the TS server (also seeing the issue):
    SQLConnect Successful
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'eas'.
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english.
    ODBC Version is : 03
    SQL Driver Name is : SQLSRV32
    SQL Driver Version is : 03.86.3959
    SQL Driver Supported ODBC Version is : 03
    SQL DBMS Name is : Microsoft SQL Server
    SQL DBMS Version is : 09.00.4035
    SQLTables Successful
    [Row, Database, Owner, Name, Type]
    1  eas,  dbo,  ABC_ACCOUNT,  TABLE,
    2  eas,  dbo,  ABC_BUSINESS_UNIT,  TABLE,
    3  eas,  dbo,  ABC_COMPANY,  TABLE,
    I apologize for not answering your previous question, I think the SQL Driver Name will answer that? If not, let me know and I'll get you the information you're looking for. Thank you again for your time on this.

  • Rowlevel secuirty in Crystal reports when integrated in Enterprise portal

    I have a very simple crystal report which is developed against ECC data using the Open Sql Driver.
    Do I have to included some kind of code/logic in the report design for the SAP row-level security that already exists on SAP server to pass to the Crystal reports when report is run from the portal.
    Please suggest me the possible solution for this.?

    Ingo,
    Your input previously was very helpful.
    I do have one more question for you.
    If a Crystal report is designed using Open Sql Driver against ECC tables and this report is published on to BO Enterprise and both the BO and the SAP Enterprise Portal are both integrated, row level security is also implemented on SAP server.
    Now, when SAP user logs into the SAP Enterprise Portal and try to run this crystal report will then the user receive a database logon pop window to enter the client#, SAP login ID and Pwd like we receive it in the Crystal Designer?
    If Yes, I believe there is nothing to be taken care of at the Crystal designer level to include some kind of Special fields like CurrentCEUserID and so. In this case the data fetched on to the report already includes Users row level security.
    If No, how to configure crystal reports to pull data based on the user and user's role....what kind of special fields have to be included in the record selection or in the data base pop window of the report...?
    Please provide your inputs...
    Madhu

  • How to create a clickable Table of contents using Crystal Reports 8.5

    How to create a clickable Table of contents using Crystal Reports 8.5. I was able to create the table of contents using subreport and temporary table. but not able to link to the pages.
    how to make it clickable ?
    -Vivek

    Hi Vivek,
    To you may create on demand sub report.
    In main report only the link will be shown when you click on the link the sub report will be opened in a new tab.
    It can be placed in a Group header and to show the data for that particular group only.
    Click on the Help menu in the crystal Reports Designer and open the Crystal Reports Help
    Go to Index tab and type in subreport
    Select Creating On demand you will get lot of information on that.
    Please let us know if that is enough to solve your problem
    Regards,
    Aditya Joshi

  • Error Crystal report When viewed through SAP B1

    Dear Experts
    SAP B1 8.8 PL 16,SQL 2008
    I am facing error (Unable to retrive data from database)(Vendor code-156) while accessing Crystal report from client machine throgh SAP B1.I have imported Crystal report through manage layout.The crystal reported is in shared in SAP server B1 SHR folder.I am able to access data from crystal report when viewed otherwise.When accessed crsytal report through SAP b1 on SAP Server crystal report is working fine.
    Thanks & Regrds
    Saurabh Lamba

    Hi Saurabh Lamba,
    Go To Administration / System Initialisation / Authorisation / General Authorisation & Set Authorisation for user.
    If you have to Set Authorisation for user allready then follow this steps.
    1.Restore Database as Test Company.
    2.Export Report From Live Company.
    3.Import this Report in Test Company as different name.
    4.Export Report from Test Company have you Imported as deifferent name.
    5.Again Import this Report in Live company as different name
    I don't know what's the logic behind it.
    Thanks,
    Srujal Patel

  • Crystal Report requests Database logon if SAP BW is datasource

    Hi all
    I experience the following:
    1. SSO from SAP Portal to BOE works: I can view Sample Crystal Reports based on the BO-iView-template without additional login
    2. SSO from SAP Portal to SAP BW works: a) I can view custom BW Web queries without additional login and b) the connection tests on the system object in SAP Portal run fine
    3. I assume SSO between BOE and BW works because I can view Xcelsius dashboards based on BW queries within SAP Portal without additional login
    Nevertheless I am presented a login screen ("The report you requested requires further information. -
    Database Logon") if I try to view a crystal report based on a BW query, no matter if I start the report from InfoView, SAPGUI or SAP Portal. If I enter my SAP credentials in "Databse logon"-window I can see the report runs fine.
    SAP Authentication in BOE seems to work (I can import users & roles). In all 3 systems I have at least Admin or equivalent permissions. If I change the Database Configuration for this report within InfoView ("Use SSO") it does make any change (I also read somewhere a reply from I. Hilgefort that this is not necessary if BW publisher service is installed correctly).
    We use SAP BW 701.06, BOE XI31FP3.4 and SAP Portal 701SP6
    I publish the report from Crystal Reports 2008 SP2 with the SAP-Menu -> Save Report.
    I logon to InfoView-App with my SAP-BW credentials.
    Any help appreciated!
    BR
    Kanan

    Real solution is different, my other post is only a workaround:
    1. SNC settings in CMC were not correct (Certificate path, path to sapcrypto.dll)
    2. Relevant Serices have to run under local username
    3. Username has to be added to PSE
    See here: https://websmp130.sap-ag.de/sap/support/notes/1364536

  • Crystal report can't find any SAP infosets

    Hi all,
    I am using Crystal Report which connect to SAP info sets.
    I can logon the backend system, but I can't find any info sets.
    Do you have any idea? Shall I config anything in R/3 system?

    Hi Ingo,
    you saved my day. I assigned in SAP ERP in SQ03 Transaction my Crystal User to the usergroup which owns the InfoSets, and now i can see them in Crystal !!!
    Thanks a lot, greetings from Munich
    Sebastian

  • How to avoid syslog messages when connecting via Perl SAP::RFC ?

    Everything works fine with Perl SAP::RFC calls to our ERP 6.0 thanks to Piers Harding except numerous entrys in the SAP-syslog (SM21) which make that a little bit unclearly.
    Tracing is set to "0" when connecting via new SAP::Rfc( ASHOST .. , TRACE    => "0" ) from Perl.
    The syslog - entries look something like this:
    07:46:10 DIA 000                          R1  M Trace vom Remote Client übernommen.       
    07:46:18 UP2 062 011 MYRFCUSER              R1  L Trace für Benutzer MYRFCUSER deaktiviert.
    Even when tracing is set to "0" there is also a *.trc-File in the directory where the perl script resides on RFC client side.
    In this trace file one can see the followig excert:
    >>> RfcOpenEx ...
    Got following connect_param string:
       TRFC=0 LCHECK=0 UNICODE=0 PASSWD=******* USER=MYRFCUSER LANG=DE *TRACE=CLIENT=011* ASHOST=myhost SYSNR=00
    Send RFCHEADER: 01/LIT/IEEE/SPACE/1100
    Send UNICODE-RFCHEADER: cp:1100/ce:IGNORE/et:5/cs:1/rc:0x00000023
    Could someone please give me a hint what is going wrong here.
    Thank you.
    Martin

    May be set TRACE->'1' and got tracing messages ?

  • Using Connect:Direct with SAP

    Folks,
    Client is using Connect:Direct to transfer the files from one location to another location.There are two table maintained namely T9AOA and T9AOB with Interface id and Unix scripting w.r.t Processing types respectively.
    1.I don't think these are SAP standard tables then why they are not named starting with Z or Y
    2.How to use Connect:Direct with SAP.
    Searched in SDN and google but didn't get any clear information on the above.From google I came to know this is a Product of Sterling Commerce(AT&T).
    Hope someone here who used Connect:Direct with SAP can share the info.
    Thanks,
    Kiran.

    Paky,
    The existing Design,had some tables which were maintained with required Unix Scripts.In the program we are just fetching that script from the table and building a Unix Command to move the files.There is also a URL using which we can check the status of the files.As I was just using the already existing design,don't have much info on how C:D connectivity can be designed from scratch.
    By Googling,I was able to get some info.May be it will give you some lead.
    https://www.google.co.in/?gws_rd=cr&ei=F5apUsrYCYWNrQf1y4GoDQ#q=connect+direct+in+unix
    K.Kiran.

  • Altering schema of tables/objects inside a crystal report through API

    hi all,
            We run crystal reports through a Java application (using CR4E API) connecting to Oracle database. All the tables/views within the report do not use fully qualified names (i.e. schemaName.objectName) instead they use the object name alone. Earlier we would run all the reports logging in as the schema owner and hence all the objects would be accessible without issue. Per a new requirement we now log in as a non-schema owner ID and the objects are now not accessible to this user id unless a fully qualified object is not provided as the default context schema will now be different.
           We tried altering the schema through the API like so,
            ITable origTable = null;
            ITable newTable = null;
            String DB_USER_NAME = username;
            String DB_PASSWORD = password;
            String TRUSTED_CONNECTION = "true";
            String SERVER_TYPE = "JDBC (JNDI)";
            String USE_JDBC = "true";
            String DATABASE_DLL = "crdb_jdbc.dll";
            String JNDI_DATASOURCE_NAME = jndiName;
            String CONNECTION_URL = connectionURL;
            String DATABASE_CLASS_NAME = driverName;
    Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
                for(int i = 0;i < tables.size();i++){
                    origTable = tables.getTable(i);
                    if (tableName == null || origTable.getName().equals(tableName)) {
                        newTable = (ITable)origTable.clone(true);
                    newTable.setQualifiedName("TestSchema." + origTable.getAlias());    <--- Set actual schema here but it still takes the alias as "command"
    Are we doing anything wrong here? It appears that the table name is always "command", internally I think CR uses the name command for its table and we are not allowed to change it. The table name, alias and qualifier name are be default set to "command" by CR. If I append schema name to the table name I get schemaName.command as against schemaName.objectName.
    Synyonyms are not an option for us for various reasons. We will not be able to go down that road no matter what. However we are looking at an API related solution here so if anyone could advise in this regard it would be very helpful.

    Lindell - your response was very helpful.  I was able to create a SQL Command on the subreport and change the subreport links on the main report to use the paramters in the SQL Command.  The report is now very fast - even when there are lots of detail records on the main report.  It is properly executing the query and not reading all 2M records into memory for each subreport.
    I'm still totally confused as to why Crystal was misbehaving so poorly and changing how the subreport queried the database when the only change was the fields used for record selection on the main report.  It really looks like a bug to me, but maybe someone can still enlighten me.
    thanks again so much.  We are in Parallel testing for a production rollout - and the users are MUCH happier now!  (which of course makes me much happier!)
    Susan
    PS I was not aware of the SQL Command - had never used it before.  Took me a little while to figure it out and how to do the linking - but it is very powerful.  Thanks again.

  • Crystal report subreport connect DB Problem

    I have rpt file was set the connect DB(AAAA). This file have two reproject (main report and subreport)
    The subreport parameter is linked to main report.
    These two report will get the data from DB by the parameter.
    Server Name:AAAA, Database Name: AAAA, UserID: AAAA, Password:AAAA
    for testing and save it.
    I am trying to build a MFC project with crystal report 13
    My project call this rpt file and pass a parameter to main
    The crystal report main report and subreport can get correct infomation where connect to the DB(AAAA)
    but when I connect to the other DB.
    My project only the crystal report main report can get the correct infomation, the subreport cannot get correct infomation.
    it show a diolog to ask me "enter the parameter".After passing a corrent parameter, the result also not corrent.
    The program code:
    CrystalDecisions::Windows::Forms::CrystalReportViewer^  crystalReportViewer1;
    ReportDocument boReportDocument = gcnew ReportDocument();
    boReportDocument->Load(strFilePath);
    String^ strUser = gcnew String (ReportPara->strUser);
    String^ strPassword = gcnew String (ReportPara->strPassword);
    String^ strServer = gcnew String (ReportPara->strServer);
    String^ strDatabase = gcnew String (ReportPara->strDatabase);
    boReportDocument->DataSourceConnections[0]->SetConnection(strServer,strDatabase,strUser,strPassword);
    ParameterValues^ pv = gcnew ParameterValues();
    ParameterDiscreteValue^ pdv = gcnew ParameterDiscreteValue();
    pdv->Value =ReportPara->varDate;
    pv->Add(pdv);
    boReportDocument->DataDefinition->ParameterFields[0]->ApplyCurrentValues(pv);
    crystalReportViewer1->ReportSource = boReportDocument;
    I have try to change the subreport DataSourceConnections:
    for (int j; j <boReportDocument->DataSourceConnections->Count;j++)
          boReportDocument->Subreports[0]->DataSourceConnections[j]->SetConnection(strServer,strDatabase,strUser,strPassword);
    but the result is also not corrent
    I have try to pass parameter to the subreport:
    pv->Add(pdv);
    boReportDocument->DataDefinition->ParameterFields[1]->ApplyCurrentValues(pv);
    for (int i; i <boReportDocument->DataDefinition->ParameterFields->Count;i++)
         pdv->Value =ReportPara->varDate;
         pv->Add(pdv)
         boReportDocument->Subreports[0]->DataDefinition->ParameterFields[0]->ApplyCurrentValues(pv);
    but the result is also not corrent
    I have try to set the ReportViewer LogOnInfo
    TableLogOnInfo^ loi;
    loi = boReportDocument->Database->Tables[0]->LogOnInfo;
    oTblLogOnInfos->Add(loi);
    for (int j=0; j<boReportDocument->Subreports[0]->Database->Tables->Count;j++)
          loi = boReportDocument->Subreports[0]->Database->Tables[j]->LogOnInfo;
          oTblLogOnInfos->Add(loi);
    crystalReportViewer1->LogOnInfo = oTblLogOnInfos;
    but the result is also not corrent

    Hi Edwin,
    I assume you are using the runtime for Cr for Visual Studio which is available from the download page correct?
    You don't want to use the .Add method, this actually adds a NEW parameter, you simply want to modify the current parameter value.
    Sorry I don't have and C++ samples.
    Don

Maybe you are looking for

  • Can you have 2 iCloud accounts on one device, i would like to share photo stream with my wife but not calendar, contacts

    How do you setup 2 icloud accounts on one phone.  I would like to do that to separate contacts/calendars from photo stream.  I have a shared photo library that i would like to be able to access from each phone.  How do you do it? Thanks.

  • Payment check amount field

    Hi; I've already made a Z for payment check and works fine, but we have notice something when preview the checks in the spool, some checks in the amount (in numbers) field "*****999,999.99" sometimes it´s moves like this: 1) example                  

  • Doubt in Workflows using Programming Exits on OO ABAP

    I have a doubt on workflows:- Let me brief you about my requirement: I am trying to update some Master data using ABAP Methods through Programming Exits in a Workflow. I managed to find an OO method that can fetch the workflow container values direct

  • I can't get GoLive CS2 to work

    I have had CS2 for years now, and am reasonably proficient in InDesign, Photoshop, Illustrator, and I have for many years coded my own html pages from scratch using BBedit.  Over the years I have made small attempts to learn to use GoLive to no avail

  • Some cs4 projects hang when opening in cs5 versions

    Greetings, I upgraded from CS4 Master to CS5. I am able to open some of my CS4 authored projects in the CS5 versions and others do not. Specifically I am in after effects right now trying to open a project created in AE CS4. It said, "gotta convert"