How to have report which use the odbc name of the database

First, sorry for my English... i have a BIG problem with Crystal 2008. I have a lot of report created with crystal report 8. In crystal report 8, when i create a report, i select the odbc and then add all the tables i need. then i go under "database", "setting position". here i find all the tables and if i select them, in the field "table" the name is "databasename.dbo.tablename". so i delete "databasename.dbo." and leave only "tablename". so in my app i can use the name i want for the database, i only need to create the odbc with the correct database name and it works.
now with crystal 2008 i can't do this!!!! if i change the name of the database and modify the odbc, when i print the report i have an error like "provider error" or similar. i try to use the expert database, the "change position  data source" but no results. this appends only if  i add a new table to an old report or if i create a new report.
what shall i do?? now i'm still using crystal 8 (i only need to use the runtime and the preview object in .net, but i don't need all the feature of the new crystal report), but i'd like to use the new one because it's a lot better for create reports....
thanks

Hello,
That's the general work around, basically fully qualifying the database.user info.
Have a look at these links, lots of great samples on how to use all of them:
Root Page
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsHome
Enterprise Samples (including managed and unmanaged ras)
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
Non-Enterprise Samples
http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
Exporting Samples (RAS)
http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
Thank you
Don

Similar Messages

  • How to writea   report which can send a mail to the user who is running

    Hello,
    how to write the program to send a mail

    have to get all the data in an text internal table and use the following fm in your pgm
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = w_doc_data
          put_in_outbox              = c_true
          sender_address             = ld_sender_address
          sender_address_type        = ld_sender_address_type
          commit_work                = c_true
        IMPORTING
          sent_to_all                = w_sent_all
        TABLES
          packing_list               = gt_packing_list
          contents_bin               = gt_attachment
          contents_txt               = gt_message
          receivers                  = gt_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
    * Populate zerror return code
      ld_error = sy-subrc.
      MESSAGE i000(zp) WITH 'Message succesfully sent'.

  • When I see the usage on my iPod touch 4 they have categories for how much space is being used where. What does the "other" category contain? Like what could I delete on my iPod to get rid of the "other" category?

    when I see the usage on my iPod touch 4 they have categories for how much space is being used where. What does the "other" category contain? Like what could I delete on my iPod to get rid of the "other" category?

    What is the Other on my iPhone and How to Remove It
    An "other" larger than about 1 1/2 GB usually indicates that the "other" includes corrupted files.
    First try:
    "First you go settings/general/usage/music/then left swipe over music and press delete and you would think it deletes your music but it doesn't instead it deletes your other but make sure your ipod is connected to a computer while doing this"
    as recommended by:
    How do I get rid of "other" storage: Apple Support Communities
    Next, usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Restoring iOS software

  • I have a second generation I Pod touch.  How do I know which games I can download from the Apple Store?

    I have a second generation I Pod touch.  How do I know which games I can download from the Apple Store?

    Hello, Suzanne. 
    Thank you for visiting Apple Support Communities. 
    Unfortunately there isn't a list available at this time for applications that are specific for your iOS/Software version.  However, once you know which iOS/Software version you have installed, you can browser various applications and look for ones that meet your system requirements.  I have included a screenshot below on how to look for this information. 
    iPhone, iPad, iPod: How to find the software version
    http://support.apple.com/kb/ht2188
    Cheers,
    Jason H. 

  • How can I get a report to use a DSN instead of a database name?

    DSNs are great things.  By using a DSN in a database connection string, you don't have to worry about what happens if you have to look at a different database, or if a database name changes.  All you have to do is change the database the DSN points to, and everything that was built using that DSN still works.
    Everything, that is, except Crystal Reports.
    I am using CR XI.  Our customer's database is named "Anneal", and it uses PostgreSQL.  I have several copies of that database, taken at different times and for different purposes, on my machine:  "Anneal", "AnnealTest", "Anneal_2_8_10", and on and on.  I also have a DSN named "WinCaps".  The reorts I have developed for this customer were set up to use an ODBC connection based on the WinCaps DSN.  But if WinCaps pointed to the "AnnealTest" database when it the report was created, and then I delete the AnnealTest database and change the WinCaps DSN to point to a database named "Anneal", and then try to open the report, I get a complaint that the AnnealTest database does not exist!  Yes, I know it doesn't exist.  I am expecting CR to use the DSN I told it to use, which should get me to the Anneal database.
    The fact that CR complains about the AnnealTest database tells me that internally, CR is retrieving the actual name of the database and storing that instead of storing the DSN name, completely defeating the purpose of the DSN.
    Is there any way I can set up my report to use whatever database the DSN happens to be pointing to, instead of the database the DSN pointed to at design time?
    Thanks very much!
    Rob Richardson

    Hi Rob,
    Crystal assumes you are setting location to the database and it stays that way when run. Yes we do keep the connection info in the RPT file.
    There's a few options that may help. First, can you upgrade to CR XI R2? It' still supported...
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Second, in the report itself check on the Verify on first refresh, save the report and then test it on another PC connecting another database.
    Next option to to try these registry key changes, usual warnign about altering the registry:
    HKEY_CURRENT_USERSoftwareBusiness ObjectsSuite 11.0Crystal ReportsDatabaseOptions - VerifyWhenDBDriverUpgraded = Yes
    And try changing this one also - DontAutoConvertODBC = Yes
    Close the Designer first or your changes won't stay.
    THey may have to simply verify the data manually and then save the report so the updated location info is saved in the Report.
    Crystal is very database dependant obviously so asumming changes made to the DSN are automatically updated can cause a lot of issues for the end user also but it depends on your point of view. We consider this working as expected.
    Thank you
    Don

  • How to find report values using report writer

    hi,
    Please help me.
    How to find report values using report writer
    Regards,
    RRK.
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 12:01 PM

    Thanks all for the reply.
    I am trying to solve a problem where report parameter value that is set at Management Console is wiped out after calling replaceConnection.
    databaseController.replaceConnection(oldConnectionInfo, newConnectionInfo,
    null,DBOptions._doNotVerifyDB);
    We have to support changing database connection from a java utility
    class. But once replaceConnection is called all existing static parameter values are lost. To fix this issue we thought of getting parameters and values before calling replaceConnection and setting it after replaceConnection.
    Version is CS2008 SP3 - version 12.3.0.601
    If there is any other option of fixing the original wipe out issue?
    ParameterValues.getValues() didn't return value. I will try ParameterValues.getCurrentCalues() but the document says ParameterValues.getValues() is  equivalent to the IParameterField.getCurrentValues() method  unless it is empty, in which case it is equivalent  to the IParameterField.getDefaultValues() method.
    So getCurrentValues() may not work.

  • How to get the specific name of the workset which is currently selected by the user in sap portal 7.0

    Dear Expert,
    I have one requirement like to read the selected workset name in portal by the current user.I have read two documents regarding how to retrieve the PCD contents (iViews, Pages, Worksets and Roles) and its properties like Created by, Changed by, Last changed by and others using PCD API.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508baf88-9335-2d10-efa6-c6ad61e5fc4b?quicklink=index&overridelayout=true
    But I am not able to understand how to get the specific name of the workset which is currently selected by the user.Can you please help me.
    I am using portal 7.0.
    Thanks & Regards,
    Patralekha

    Hi Expert,
    I found that we can use Interface INavigationHelperService to read Portal Role selected by user at runtime from http://scn.sap.com/thread/52194
    But this class is available in SAP NetWeaver 7.30 Enterprise Portal .
    But in SAP NetWeaver 7.0 Enterprise Portal that interface is not available.
    INavigationService is available there.
    But didn't get any proper discussion on this interface for the same requirement.
    Can you please help me.
    Thanks & Regards,
    Patralekha

  • Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper)

    Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
    thank you

    Pages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
    Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
    It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
    How will the script determine where the author's name begins and where it ends?
    How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
    How will the script recognize the year of publication?
    For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
    Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
    Best of luck.
    Regards,
    Barry

  • HT5517 How can have full picture using mirrored image from iPad

    How can have full picture using mirrored image from iPad on my Apple TV airplay

    Welcome to the Apple Community.
    Mirroring won't fill the TV screen. The iPad has an aspect ratio of 4:3 and the iPhone 4S or prior an aspect ratio of 3:2, neither of these will fit exactly into a TV screen which as an aspect ratio of 16:9. The Apple TV will not zoom the mirrored image, because it may well cut off information which is situated at the top or bottom of the screen.
    You may wish to try each of the settings in ‘Settings > Audio & Video > Adjust for AirPlay overscan’ for the best setting that suits you.

  • How to check what is the full name of the installer is used?

    Hi,
    how to check what is the full name of the installer is used?
    Thanks,

    Very nice, but assuming you did deliberately fire the installer, don't you remember the command? Apart from that your question has (as usual) no version and no platform and no context. If you are still in the installer and using any variant of Unix you can very easily run 'ps' to see the exact command.
    You would have needed to provide platform and version information when submitting the SR. Can you explain why you have this forum guess at it?
    Sybrand Bakker
    Senior Oracle DBA

  • How to get the owner name for the file in ftp using abap ?

    Hi folks ,
    How to get the owner name for the file in ftp using abap ? please help me very ugernt . I tried with all standard FTP commands
    but doest work out me . Helping in this regard highly appreciated ...
    Thanks and regards,
    Swarupa Vanarchi

    Hi
    dont you  have used the os user while calling the FTP_CONNECT FM?
    Hope you are not talking about the user executing the FTP program.
    Else If you are talking about the FTP file creator then its not related to abap as you can handle it by maintaining the user in file name itself.
    May be i am going too far with if and elses here as your question possesses no  clarity.
    Plz elaborate your requirement  before anybody can help.
    Regards
    sateesh

  • I have a MacBook Pro, how to change the computer name in the "Find Iphone"

    I have a MacBook Pro, how to change the computer name in the "Find Iphone"?

    Thank you for help! I was inattentive reading your answer. The thing which confused me was that I noted in blue. I had to just write in a red box and close the configuration window.

  • Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Not a lot of details here, but my guess is this isn't working for you because you are wiring in the task to the Active Channels Property and not the actual Channel Name. I have attatched a screenshot of what I believe you are trying to do. The Task has 2 channels in it, so I need to index off one of the channels and wire it into the active channels input of the Channel Property node. Then I can read information about that channel
    Attachments:
    channel_name.JPG ‏69 KB

  • Ok i get this error when hooking my dvd drive up and tring to use my windows 7 cdNo Bootable device. Insert boot disk and press any key. i have tried to use command key i see the cd icon and hit that and i get the error

    ok i get this error when hooking my dvd drive up and tring to use my windows 7 cdNo Bootable device. Insert boot disk and press any key. i have tried to use command key i see the cd icon and hit that and i get the error

    Wiley207 wrote:
    Believe it or not, it was the FireWire drive that was the problem! I managed to successfully install Windows 7 using an external USB DVD drive!
    Well I am truly staggered, I have tried this on two different MacBook Pros, with three different external USB optical drives. Don't know if you googled as I suggested but you would find hundreds of others who have found same thing. The exception is MacBook Air which works with the Apple writer, but I don't know much about this.
    Were you doing any of the special workarounds with refedit etc?
    What model USB DVD drive?

  • I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have had some that seem to go in but I can't find them.  Where should I look?

    I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have also had some that seem to go in but I can't find them.  If I try to add them again, I get a msg that they are already there.  Where should I look?

    It may be best to recreate the folder and the smart playlists from scratch.
    tt2

Maybe you are looking for