Can a report parameter set the Database server name

I know what my databases and tables are named, and that the connection will be an OLE DB connection to Microsoft SQL Server.  However, I don't know the names of the servers on which databases will be installed.  Would it be possbile to prompt for the server name and have Crystal create the connection based on that?
This is for Crystal Reports Developer XI.

Hi Levin,
We can select database from database expert.
While selecting database you have to find it out on which server your database exist.
I donu2019t think there is any option to  prompt for the server name and have Crystal create the connection based on that.
Regards,
Shweta

Similar Messages

  • Why does Reader 11 incorrectly set the DDE Server Name?

    It appears to me that the installer is setting the DDE Server name in the registry to 'AcroviewR10' instead of the 'AcroviewR11'.
    I confirmed by upgrading from Reader 9.5.x (DDE == Acroview) to Reader 11 (as of Oct 22, 2012) and the new value in the registry (XP and 7) was AcroviewR10.
    I know there was a similiar issue when Reader 10 was released. Is there any idea when an update might come out that will fix this? I hate having to give customer's .reg files to fix these issues.
    I understand that you are new to updating this variable every release, and so it isn't a part of your checklist yet, but it would be highly appreciated if you could remember that for version 12.

    I had this working using the registry lookup this week. During testing on various machines, I found a discrepancy between the registry dde name and the dde name that acrobat would respond to.  I finally just made an array of possible names and iterated through them.
    I'm harvesting the application name from HKEY_LOCAL_MACHINE \Software\Classes\acrobat\shell\open\ddeexec\application in the registry.
    Capitalization does not seem to matter but I'll include the exact caps from my tests.
    Today :
    Acrobat XI Pro (11.0.06) shows up in the registry as AcroViewA10 but it responds to acroviewa11.
    Acrobat XI Pro (11.0.0) shows up in the registry as AcroViewA10 but it responds to acroviewa11.
    Acrobat Reader XI (11.0.06) shows up in the registry as AcroView
    R10 but it responds to acroviewr11.
    Acrobat X Reader (10.1.9) shows up in registry as AcroViewR10 and responds to acroviewr10.
    Reader 9 (9.0.0) shows up in registry as AcroViewA10 and responds to acroview. (The registry may be skewed by having Acrobat XI Pro installed on this machine.)
    Reader 7 (7.1.0) shows up in registry as AcroView and responds to acroview.
    So, I'm just brute forcing through all 5 known combinations plus 2 for version 12 on the off chance that the naming doesn't break pattern again.
    #define maxnames 7
    DIMENSION acronames (maxnames )
    acronames(1) = "acroview"
    acronames(2) = "acroviewa11"
    acronames(3) = "acroviewr11"
    acronames(4) = "acroviewa10"
    acronames(5) = "acroviewr10"
    acronames(6) = "acroviewa12"
    acronames(7) = "acroviewr12"
    loop
         AcroChanNum = DDEINITIATE(acronames(namecounter ), "Control")
         namecounter = namecounter + 1
          blah blah
    until AcroChanNum >=0

  • Add report parameter to the export file name

    is it possible to pass a report parameter(s) as a file name when saving an export?
    eg if I have a list of cars AUDI,MAZDA,BMW,TATA  on a multi select drop down and I search for BMW,MAZDA so is it possible for me when i'm clicking on my export to have BMW,MAZDA as a filename without renaming it

    Hi waras,
    We can use report Viewer control that shipped with Visual Studio to achieve your requirement. For more details, please refer to the following blog:
    http://www.jimandkatrin.com/CodeBlog/post/Setting-export-file-name-in-SSRS-report-viewer.aspx
    If we are using SSRS in standalone way, Reporting Services does not supports automatically rename the filename with parameter name when export a report.
    Personally, I think the requirement is a good point. Additionally, if you have any concern about this, please submit a feedback at
    https://connect.microsoft.com/SQLServer/Feedback. Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software
    and services the best that they can be, and you can learn about and contribute to exciting projects.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Can Discoverer Reports Saved on the Database be Copied Across Instances

    We are using Discoverer 4i Plus Release - 4.1.48.08.00.
    When workbooks are saved to the database, is there a way of copying them across to another instance (rather than having to re-create them)?
    Thank you,
    Thalita

    Yes. From the file menu, select Export. This starts a wizard which will export the entire EUL, BAs, or individual objects. If you just want to move workbooks, choose Individual Objects, then Workbooks from the drop down.
    To import, fire up admin, connecting to the other database, select Import from tools menu, and the wizard will walk you through.
    A word of caution - if you just export workbooks, they may import without errors into another schema. If the BAs, folder, or items are different between the export schema and the import schema, you will get errors when you try to open the workbooks (you may get errors when you try to import them, too).

  • Can't connect to the database server from localhost

    Hi,
    I'm having a problem I hope you can help with please!
    I recently installed mysql and phpmyadmin... I can access mysql perfectly from the command line, and can access it partially through phpmyadmin although there are some restrictions that I haven't figured out how to change yet (despite editing php.ini, configure.inc.php and others), but on the whole inside phpmyadmin I can see all the databases I've uploaded with the command line and all the users are there and can be edited. Unfortunately whenever I try to connect to a mysql database using a username and password that was created in phpmyadmin (or anywhere!), I get a 'cannot connect to the database server error'. I've checked and rechecked the username, the passwords, the database names and the host names a thousand times but nothing I change is working.
    Is there a special prefix my mac could be adding to the database, usernames or host names?
    Thanks!

    Okay, don't worry!
    I finally figured it out...
    it needed to be 127.0.0.1 rather than localhost!

  • How a J2EE web application access CR reports stored on the CR Server XI?

    Hi,
    I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
    My questions are:
    1. How my J2EE web application access those reports?
    2. Do my web application uses some CR API for the connectivity and integration?
    3. What will happen to the database connectivity of the report template? since the report are created locally.
    4. Can the report template be edited/updated on the server?
    5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
    6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
    7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
    I hope you can provide some guidance on this journey to Crystal Report world
    Regards,
    Rulix Batistil
    Genesis Networks Pte Ltd
    www.gen-net.com.sg

    1) Your application connects via the Java SDK using the appropriate JAR files.
    2) It can.  You can set the database information at runtime or use the already populated information from Enterprise.
    3) Same as 2.   Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting.  You can change this via code to hit whatever equivalent database you want.
    4) Yes.  You would have to use RAS and the RCAPI to accomplish this via code.  You can also make changes in the designer and overwrite the existing report template.
    5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
    6) It can be deployed to the same machine as CR Server, though we recommend against that.  Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
    7) RAS can be used to run reports, as well as the page server.  The universe and business view manager are not directly used in code.  If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
    [BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
    Best Regards,
    Jason

  • MDM adapter : what is meant by the database server ?

    Hi all,
    we are testing MDM adapter on PI 7.1 (no eHp). The adapter config requires an MDM server but separately a database server entry as well.
    Does anybody have a working MDM adapter ? if so, what did you fill in in the "database server"
    parameter of the adapter ? is it a URL ? JDBC name ? JNDI name ? IP address ? and to which database ? Í'm assuming the database of the MDM server, but that one is installed on the MDM server
    (for which we configured an IP address in the "mdm server" field).
    additionally, can somebody explain the reason for that separate Database config parameter ?
    I have found no explanations in the documentation so far.
    Regards,
    Ronald van Aalst
    TNT Post

    Hi,
    MDM uses internally Data base Server, MDM is like one Data Base where we can store master Data.
      when you are trying to connect to MDM using MDM-PI Adapter, you have to Give all details like       port      number,server details,
    please read don about MDM Documetation about MDM-PI Adapter.
    http://help.sap.com/saphelp_nwmdm71/helpdata/en/48/956cd09521062de10000000a42189d/frameset.htm
    Regards,
    Raj

  • Dynamic Portlet: Setting the database connection

    With OmniPortlet, I can set the database connection I wish to use for that instance of the portlet in the configuration, but I can't seem to find a way to accomplish this with Dynamic Page portlets. How can I configure what server/user the portlet is using?
    Thanks,
    Rick

    Damn. That is exactly what I was afraid of. We'll have dblinks all over the place!
    Is there a way to create multiple instances of the Dynamic Page Portlet that use different database providers, or is that impossible? (I'm somewhat new to Portal, so forgive me if that is an ignorant question)
    Thanks for the help!

  • Conflict resolution manager having which spid at the database server.

    Folks,
    I've come across a situation where in one of the
    1.SID was generating high redo SID - 1098 .
    2.when i checked what this sid was doing - i figure out that it belongs to a report set, still having the sid at the database server.
    3.The client process id(12041) of thie SID(1098) is shown as the spid shown in the system column at system administrator --> concurrent manager --> Administer --> Highlight conflict resolution manager --> click processes.
    4. I understand that we need to grep for the osporcess "ps" using spid and not using "client process id" (process from v$session). Please clarify.
    5.when I grep for 10241 it is indeed pointing to CRM process. but when I query for spid (12055) associated with sid (1098) it points to a Reports set which completed error and generating some kind of redo ( which triggered all the above questions).
    6.Now the question is should we be checking for SPID (120550) associated with SID(1098) which says (LOCAL=NO) and safe to kill. as the status of the SID says inactive, though the last_call_et is just showing 1.
    Thanks in advance.

    Run the queries in these docs to determine the database session details of a running concurrent program.
    bde_request.sql - Process and Session info for one Concurrent Request (11.5) [ID 187504.1]
    How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running. [ID 735119.1]
    How to Retrieve SID Information For a Running Request [ID 280391.1]
    If the request has completed and you suspect the database sessions is still active, edit the query and correct the status of the request (from running to completed).
    Thanks,
    Hussein

  • I can not stop or start the Database logged with sidadm

    Hello !!
    I migrated ECC6 SAP / MaxDB 7.6.00.35 Windows 2003 Server to Windows 2008 Server. But now when I perform a login with sidadm, can not stop or start the database in dbmcli.
    Just with Administrator can stop or start the database.
    Error After  db_offline :
    Err -24994, ERR_RTE: Runtime enviroment error 1, could not create comm. Shared memory [5]
    sdbverify ok :
    SAP Utilities 7.6.00.35 64 bit in d:/sapdb/
    check files... ok
    check dependencies... ok
    package data is consistent
    DB Analyzer 7.6.00.35 64 bit in d:/sapdb/pr
    check files... ok
    check dependencies... ok
    package data is consistent
    db_enum
    OK
    P01     D:\sapdb\P01\db                         7.6.00.35       fast    running
    P01     D:\sapdb\P01\db                         7.6.00.35       quick   offline
    P01     D:\sapdb\P01\db                         7.6.00.35       slow    offline
    P01     D:\sapdb\P01\db                         7.6.00.35       test    offline
    Anyone have any ideas or know of any problem with windows 2008?
    tks

    Hello,
    -> Please check, if the solution of  SAP Note No. 688028 will help you with reported issue
    -> I also recommend to update the MAXDB, the version is quite old and there many fixes done in the new release patches of 7.6.
    Regards, Natalia Khlopina

  • How to send the report output to the application server in a excel file

    Hello,
    how to send the report output to the application server in a excel file.
    and the report runs in background.
    Thanks in advance.
    Sundeep

    Dear Sundeep.
    I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
    D A T A D E C L A R A T I O N *
    TYPES: BEGIN OF TY_EXCEL,
    CELL_01(80) TYPE C,
    CELL_02(80) TYPE C,
    CELL_03(80) TYPE C,
    CELL_04(80) TYPE C,
    CELL_05(80) TYPE C,
    CELL_06(80) TYPE C,
    CELL_07(80) TYPE C,
    CELL_08(80) TYPE C,
    CELL_09(80) TYPE C,
    CELL_10(80) TYPE C,
    END OF TY_EXCEL.
    DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
    WA_EXCEL TYPE TY_EXCEL..
    E V E N T : S T A R T - O F - S E L E C T I O N *
    START-OF-SELECTION.
    Here you populate the Internal Table.
    Display - Top of the Page.
    PERFORM DISPLAY_TOP_OF_PAGE.
    E V E N T : E N D - O F - S E L E C T I O N *
    END-OF-SELECTION.
    SET PF-STATUS 'GUI_STATUS'.
    E V E N T : A T U S E R - C O M M AN D *
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'EXPORT'.
    Exporting the report data to Excel.
    PERFORM EXPORT_TO_EXCEL.
    ENDCASE.
    *& Form DISPLAY_TOP_OF_PAGE
    text
    --> p1 text
    <-- p2 text
    FORM DISPLAY_TOP_OF_PAGE .
    SKIP.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'O R I C A'
    CENTERED COLOR 1,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
    CENTERED COLOR 4 INTENSIFIED OFF,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE.
    E X C E L O P E R A T I O N
    CLEAR: IT_EXCEL[],
    WA_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    WA_EXCEL-cell_02 = ' XYZ Ltd. '.
    APPEND WA_EXCEL TO IT_EXCEL.
    CLEAR: WA_EXCEL.
    WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
    APPEND WA_EXCEL TO IT_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    ENDFORM. " DISPLAY_TOP_OF_PAGE
    *& Form APPEND_BLANK_LINE
    text
    -->P_1 text
    FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
    DO P_LINE TIMES.
    CLEAR: WA_EXCEL.
    APPEND WA_EXCEL TO IT_EXCEL.
    enddo.
    ENDFORM.
    *& Form EXPORT_TO_EXCEL
    text
    --> p1 text
    <-- p2 text
    FORM EXPORT_TO_EXCEL .
    DATA: L_FILE_NAME(60) TYPE C.
    Create a file name
    CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
    '.' SY-DATUM+0(4) INTO L_FILE_NAME.
    Pass the internal table (it_excel which is already populated )
    to the function module for excel download.
    CALL FUNCTION 'WS_EXCEL'
    exporting
    filename = L_FILE_NAME
    tables
    data = IT_EXCEL
    exceptions
    unknown_error = 1
    others = 2.
    if sy-subrc <> 0.
    message e001(ymm) with 'Error in exporting to Excel.'.
    endif.
    ENDFORM. " EXPORT_TO_EXCEL
    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
    Regards,
    Abir
    Don't forget to award Points *

  • Is their a activeX api function to set the database option "database logging enabled" to true or false?

    Hello!
    I want to decide dynamically while running a sequence to log the results to a database or not.
    So I need to set the "database logging enabled" property by a activex function call.
    Does a activex api function exist? I didn't found one, or is their an other way to change the property value?
    Thanks and regards
    M. Brosig

    Hi,
    Ah! I understand.
    You can change the runtime properties from you sequence or inside your step by using the Lookup string of
    "RunState.Caller.Locals.DatabasesOptions.DisableDatabaseLogging"
    Use the TS API  PropertyObject.SetValBoolean("DatabasesOptions.DisableDatabaseLogging", 0, newValue) method with RunState.Caller.Locals as your ActiveX Reference. (where newValue would be True or False.)
    Depending at what level you perform this API method depends how many "RunState.Caller" you have in your lookup string.
    eg.
    My example of
    PropertyObject.SetValBoolean("DatabasesOptions.DisableDatabaseLogging", 0, newValue) with RunState.Caller.Locals as your ActiveX Reference is based on a step in MainSequence which has been called by the Process Model sequence.
    If you have a step in a Sub-Sequence of MainSequence then the lookup string would be
     "RunState.Caller.RunState.Caller.Locals" as the activeX reference.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How many domains can share a single set of database repository schemas?

    How many domains can share a single set of database repository schemas (created by the RCU)?
    What is the best practice in an environment with many domains/WLS servers/applications and a desire to manage minimum database MW repository schemas?

    Hi,
    You can't share the same repository for multiple domains.
    http://docs.oracle.com/cd/E23943_01/web.1111/e13716/understand_domains.htm#i1102627
    (Please mark question as answered or helpful)
    Arik

  • Which Funtion module can get print parameter in the background?

    Hi all,
    I know the FM"GET_PRINT_PARAMETERS"can get the print parameter, but I find it can't get the print parameter in background. Does anybody know Which Funtion module can get print parameter in the background?
    Thanks in advance!
    Nina

    Hi Nina,
    This is text copied from SAP HELP.
    FU GET_PRINT_PARAMETERS
    Text
        Read, determine, change spool print parameters and archive parameters
      Functionality
        The function module GET_PRINT_PARAMETERS is used to define, modify and
        display the print and archive parameters. Using this function module is
        the only correct way to modify a print or archive parameter record. The
        print parameters are closely related and contain a check total. This
        check total becomes invalid if any of the print parameters are changed
        and causes a runtime error when the print parameters are used later.
        The module recognizes the following modes (values of parameter MODE):
        'PARAM'              Normal case. Define the print parameters for the
                             current program. The values that are not defined
                             are specified from the user master record or are
                             assigned default values. The print parameter screen
                             displays the PRINT key. This mode is used
                             if the MODE parameter is not specified.
        'PARAMSEL'           Like PARAMS, except that the print parameter screen
                             includes an option to activate the selection
        screen.
        'BATCH'              Define the print parameters for a background job.
                             In this mode, the name of the report to be started
                             is passed with the REPORT parameter.The REPORT
                             statement of the specified report is checked for
                             LINE-SIZE and LINE-COUNT definitions. These
                             definitions are passed as default specifications.
                             Furthermore, the SAVE key is offered
                             instead of the PRINT key in this mode.
    Check the BATCH MODE.

  • Sample report for filling the database table with test data .

    Hi ,
    Can anyone provide me sample report for filling the database table with test data ?
    Thanks ,
    Abhi.

    hi
    the code
    data : itab type table of Z6731_DEPTDETAIL,
           wa type Z6731_DEPTDETAIL.
    wa-DEPT_ID = 'z897hkjh'.
    wa-DESCRIPTION = 'computer'.
    append wa to itab.
    wa-DEPT_ID = 'z897hkjhd'.
    wa-DESCRIPTION = 'computer'.
    append wa to itab.
    loop at itab into wa.
    insert z6731_DEPTDETAIL from wa.
    endloop.
    rewards if helpful

Maybe you are looking for

  • Can't get Internet working on ASA 5525X

    Hello i have a ASA 5525x im in testing proccess and cant make internet routing working im routing between 2 private ip cuz outside interface is connected to the lab switch. im able to ping anything from ASDM als i tried packet tracer using the ip tha

  • Every time I try to sync my iPod, iTunes crashes. Please help!

    Every time I try to update my iPod I get a message that says: Runtime Error! Program: C:\Program Files (x86)\iTunes\iTunes.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team

  • Scan multi-page less convenient in Acrobat Pro 8

    Scanning a multi-page document is less convenient in Acrobat Pro 8. In prior versions when a page had been scanned a dialog box was presented in which the user could simply press Return or Enter to scan another page, or Escape if there were no more p

  • Continue Button not working when publishing to swf

    I have created a quiz in Captivate and set my pass/fail options to opening a URL on successful completion.  I need to publish it in flash (swf) but the Continue button does not open the URL.  It works perfectly if I publish the file in .exe format. 

  • Outlook ICS Error - Third Party Add-in Now Obsolete; Pop-ups Every Five Minutes

    Hi, My company had a SmartSheet subscription that is now cancelled; since it cancelled, I receive annoying pop-ups like this:  "Enter your user name and password to download: http://publish.smartsheet.com/etc. I'm assuming it's linked to some .pst fi