How to Place the report in the WEB from Parameter Form

Hello folks,
We are using report 9i.
From the one our form we are going call the report and get
the parameter from Parameter form and generate the PDF format of report and show it in the WEB browser.
Tried with option DesType "Cache" and Desformat "PDF" in the parameter form. It generates but does not show anything anywhere.
But the following way it works. By calling from Browser directly and pass the parameter.
/reports/rwservlet?report=Weekly_Status_3.rdf&userid=user/pass&destype=cache&desformat=pdf
I would like to goto Parameter form, accept the values and generate pdf report and place it in the browser automatically.
Suggestions please..
Thanks,
Senthil

have paramform=yes added to your url, it will work.
/reports/rwservlet?report=Weekly_Status_3.rdf&userid=user/pass&destype=cache&desformat=pdf&paramform=yes
ideally all these can be set in a report server's config file cgicmd.dat.
venkat

Similar Messages

  • How to place a  logo in the BEX

    Hello All,
    I am new to the BW.Could u pl.explain how to place a logo
    in the BEX.
    Thanks & regards
    NSB

    Hi Suresh,
    Are you asking about BEx Excel based reports, or the web reports..there are different ways to go about it.
    For the excel reports youc an create a workbook template and place the logo along with other custom settings for color, font etc.
    For the web based reports you would have to place the logo in your web template.
    Hope this helps...post back if you need more information.

  • How to format the report with the aggregated value

    Hi,
    I have 2 characteristics and 3 KFs in the infocube.
    First field is Cost Center
    Second field is creation Date
    3rd field is KF1
    4th field is KF2
    5th field is KF3
    I have put the date field( in the row) as this is required for calculating formula for KFs. But I have set that as No display.
    The date in the info cube is as follows.
    Cost Ceneter  Date( no Display)   KF1     KF2      KF3
    CC1           01/01/2006          100     150      200
    CC1           02/02/2006          75      100      95
    CC1           05/02/2006          125      95      125
    CC2           01/02/2006          75       25      85
    CC2           02/02/2006          85       65      10
    As the Date field is in query set to No display so the date appearing in the report is as follows
    CC1       100        150        200
              75         100        95
              125          95        125
    CC2       75           25        85
              85           65        10
    But I want the aggregated value at cost senter level i.e.
    CC1       300         245       420
    CC2       160         90         95
    I can not remove the Date frield from query as there is a formula variable defined on the date field.
    Please let me know how to bring the report to the required format.
    Bill
    Message was edited by:
            Bill Bryan

    If you are in new Bex, you can do it.
    You will have to create another (set of) CKF on top of the current ones (which do exception aggregation on DOCNUM) and set the exception aggregation on date.
    Say you have
    CH1--CH2CH3--CKF1
    To have a 'before aggregation' behavior for CKF1 when CH3 is not present, you will create a CKF2 = CKF1 with exception aggregation on CH3.
    Now, if you want to remove CH2 and have the 'before aggregation' behavior you will need to create another CKF3 = CKF2 with exception aggregation on CH2.
    ie for each level of aggregation, you will have to define a new CKF/Formula with corresponding exception aggregation - this is what will be needed to get you your output.
    Message was edited by:
            Ajay Das

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

  • How to  include a report  into the  SAP-SCRIPT

    plz tell me 
    How to  include a report  into the  SAP-SCRIPT
    ASAP

    creat a z report like this....................
    REPORT  zmmgl_picklist1.
    TABLES : likp,ltap,ltak.
    data : lv_NUM1 type c .
    data : lv_NUM type c.
    *&      Form  get_data1
          text
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data1 TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
    READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
    lv_NUM = lv_NUM1 + 1.
    out_data-name = 'lv_NUM'.
      out_data-value = lv_NUM .
    APPEND out_data.
    endform.
    *&      Form  get_data
          This form is to read  details from  LIKP    *
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
      READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-BLDAT'.
      out_data-value = likp-bldat.
      APPEND out_data.
       READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
      out_data-name = 'LIKP-VSTEL'.
      out_data-value = likp-vstel.
      APPEND out_data.
    READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-KUNNR'.
      out_data-value = likp-kunnr.
      APPEND out_data.
    ENDFORM.                    "get_data.
    after this go to the script editor......
    /: perform get_data in program zmmgl_picklist1.
    /: using &ltap-vbeln&                 (Reference field.this field          should be there in both program and script.....)
    /:changing &likp-bldat&         
    /:changing &likp-vstel&
    /:changing &likp-kunnr&
    \[removed by moderator\]
    Regards
    Anbu
    Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM

  • How to submit a report ,Passing the internal tables from parent report

    How to submit a report ,Passing the internal tables from the parent report ?

    The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which
    calls another report. Can only execute reports of type '1'.
    *Code used to execute a report
    SUBMIT Zreport.
    *Code used to populate 'select-options' & execute report
    DATA: seltab type table of rsparams,
          seltab_wa like line of seltab.
      seltab_wa-selname = 'PNPPERNR'.
      seltab_wa-sign    = 'I'.
      seltab_wa-option  = 'EQ'.
    load each personnel number accessed from the structure into
    parameters to be used in the report
      loop at pnppernr.
        seltab_wa-low = pnppernr-low.
        append seltab_wa to seltab.
      endloop.
      SUBMIT zreport with selection-table seltab
                                    via selection-screen.
    *Code used to populate 'parameters' & execute report
    SUBMIT zreport with p_param1 = 'value'
                    with p_param2 = 'value'.
    Other additions for SUBMIT
    *Submit report and return to current program afterwards
    SUBMIT zreport AND RETURN.
    *Submit report via its own selection screen
    SUBMIT zreport VIA SELECTION-SCREEN.
    *Submit report using selection screen variant
    SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
    *Submit report but export resultant list to memory, rather than
    *it being displayed on screen
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    Once report has finished and control has returned to calling
    program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
    DISPLAY_LIST to retrieve and display report.
    *Example Code (Retrieving list from memory)
    DATA  BEGIN OF itab_list OCCURS 0.
            INCLUDE STRUCTURE abaplist.
    DATA  END OF itab_list.
    DATA: BEGIN OF vlist OCCURS 0,
            filler1(01)   TYPE c,
            field1(06)    TYPE c,
            filler(08)    TYPE c,
            field2(10)    TYPE c,
            filler3(01)   TYPE c,
            field3(10)    TYPE c,
            filler4(01)   TYPE c,
            field4(3)     TYPE c,
            filler5(02)   TYPE c,
            field5(15)    TYPE c,
            filler6(02)   TYPE c,
            field6(30)    TYPE c,
            filler7(43)   TYPE c,
            field7(10)    TYPE c,
          END OF vlist.
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = itab_list
      EXCEPTIONS
        not_found  = 4
        OTHERS     = 8.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = vlist
        listobject         = itab_list
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    IF sy-subrc NE '0'.
      WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
    ENDIF.
    Submit report as job
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.

  • How to  Export/Import "report for the query" to another company

    Hello,
    I do this:
    1.create query in SQL analizer
    2.copy paste into SBO query generator and save
    3.create report for the query
    Then, How to Export/Import "report for the query" to another company ?
    Thanks for your HELP.

    Look for SAP Note number 600813
    That's the note Adele means, I guess.
    <b>Edit (@13:18)</b>
    The direct link:
    https://websmp101.sap-ag.de/~sapidb/012006153200000183292003E.ITF
    ---- Replace *SOURCE* with the source database name.
    ---- Replace *DEST* with the destination database name.
    insert into [*DEST*].[dbo].[RDOC]
    select [*SOURCE*].[dbo].[RDOC].*
    from
    [*SOURCE*].[dbo].[RDOC],[*DEST*].[dbo].[cinf],[*SOURCE*].[dbo].[cinf]
    where [*DEST*].[dbo].[cinf].[lawsset]=[*SOURCE*].[dbo].[cinf].[lawsset]and [*DEST*].[dbo].[cinf].[version]=[*SOURCE*].[dbo].[cinf].[version] and [*SOURCE*].[dbo].[RDOC].[Doccode]NOT IN (SELECT Doccode from [*DEST*].[dbo].[RDOC])
    insert into [*DEST*].[dbo].[RITM]
    select [*SOURCE*].[dbo].[RITM].*
    from [*SOURCE*].[dbo].[RITM],[*DEST*].[dbo].[cinf],[*SOURCE*].[dbo].[cinf] where [*SOURCE*].[dbo].[RITM].[Doccode] NOT IN (select Doccode from [*DEST*].[dbo].[RITM])AND [*SOURCE*].[dbo].[RITM].[Doccode]IN (SELECT Doccode from [*DEST*].[dbo].[RDOC])
    Hope it helps...
    Grtz, Rowdy

  • How can I print a label on the last page of the report in the margin

    I would like to display a label on my report but has to appear only on the last page of the report in the margin area or as a footer. I have tried using the solution below that I came across in this forum. This solution only worked if I put the label as a report trailer and not in the margin of the main section of report. The problem of putting the label as a report trailer is that it will only appear at the end of the report on it's own page, i.e. on a new page. I would like the label to appear at the end of the report, on the last page which has the other report details and not to appear on a new page on its own. Could you please help? Thanks.
    1. Create a dummy query, like
    select 1 dummy
    from dual
    2. Create a package spec:
    PACKAGE pkg_globals IS
    totalPages number(3);
    END;
    2. Create a repeating frame and field for this dummy at the end of the report layout.
    3. Create a format trigger for this frame:
    function R_1FormatTrigger return boolean is
    begin
    SRW.GET_PAGE_NUM(pkg_globals.totalPages);
    return (FALSE);
    end;
    4. Create a format trigger for your margin field:
    function F_1FormatTrigger return boolean is
    pagenum number;
    begin
    srw.get_page_num(pagenum);
    if pagenum = pkg_globals.totalPages then
    return (TRUE);
    else
    return (false);
    end if;
    end;

    user8655468 wrote:
    I would like to display a label on my report but has to appear only on the last page of the report in the margin areaCreate a fixed frame at the bottom of margin area and inside the frame put your label.
    set the frame print object on: Last page
    Hope this works..

  • ABST2 - How to take the report for the previous fiscal year

    Hi,
    For FI-AA reconciliation, my scenario is this: The current fiscal year is 2009 and the system (server) date is 16-Apr-2009. My fiscal year period is: Mar-Apr. In ABST2, it does not accept Fiscal year. When I take the report, it displays for fiscal year 2009, which I don't want because I want it for the fiscal year 2008 to reconcile between FI and AA. The fiscal year 2008 is not yet closed in both FI and AA, so I want the report for 2008 only. But ABST2 always gives the report for the current fiscl year. Is there any way out to get the report for 2008?.
    Thanks,
    Kannan S

    This report is based on the actual values. In the past this report was used for EURO conversions to see if the values are in line. When not it was not possible to do the euro conversion.
    Normal it is a part from the fiscal year closing

  • Show the report on the same dashborad page with the folder tree?

    I add a folder in dashboard, and put it on the left.
    now i open the folder tree in dashboard, and click a report,
    but biee open the report on a new page.
    I want to show the report on the same page with the folder,
    maybe show the report on the right in the dashboard with the folder.
    how could it be done?
    thanks ,
    newkoa

    The only way it could work is using iframes. Now OBIEE 11g would not allow iframes inside it's dashboard. It offers a dashboard object called "Embedded content" which is a restricted iframe kinda thing but unless you get this object's id from generated HTML you can change it's content dynamically. Besides, such an implementation may break with next patch. So here is an idea.
    Create a HTML page with two iframes, left one will hold all the reports with links (you can always generate a list of reports through catalog manager, open it in excel and make HTML links from it) that open report urls (in the format of ./saw.dll?GO&Path=....) in right iframe (using javascript open.window method). Once that page is working, call this page from dashboard using an action link. This is slightly twisted approach but at least it would give you what you asked for.
    About making the report list dynamic, I am afraid there are no easy answers. OBIEE provides web service that will allow the users to query catalog to get a list of reports. You can try some basic JSP to access the web service and generate the list dynamically. But that is not something I can provide here.

  • Two commands in the report using the same parameter - fail under Java

    I have a report that contains 2 SQL commands.
    Both of these commands use one parameter X of type Number in their 'WHERE' clause.
    When i'm viewing the report in CR 2008, i'm asked for a value of this parameter and all data is filled in the report - OK
    The problem occurs when the same report is printed through Crystal Java Runtime:
    Report is printed without data! - it's empty.
    What we noticed in the debug information thrown by the Crystal libraries is that parameter value is set only in one of these commands:
    Original statement 1:
    select a.something
    from ANM_T a
    where a.anmid = {?PARAMETER01Id}
    Original statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid={?PARAMETER01Id}
    OUTCOME of Statement 1:
    select a.something
    from ANM_T a
    where a.anmid = 0
    OUTCOME of Statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid=9825
    In above example we may see that crystal set the value only in the second statement - first one got 0 - i suspect its some default value.
    Parameter in the Java code is set in the right way. In case of using only one statement it works. If we use two separate parameters (whose values are equal ) it also works.
    // we have also the loop over the parameters
    ParameterFieldController paramFieldController =
                    report.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue( "", paramName, paramValue );
    What is strange for me is that Crystal Reports enables to use the same parameter in two commands but if you edit one of them you may change the type of this parameter for a command ( for example from Number to String) but the parameter type in the second command remains unchanged ( it's strange because in my opinion it is the same parameter). In the Field Explorer under the Parameter Fields i still see one parameter of type used in the second command.

    Hello all,
    We have prepared some sample code to illustrate the issue.
    We have modified the sample application (Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/c07fec3e-3e11-2c10-1991-8c0fb0b82b75]) to that it also changes the parameter value. Parameter is used in two commands saved in report.
    The code changing the parameters value looks like this:
    private static void changeParameters(ReportClientDocument reportClientDoc) throws ReportSDKException {
              DataDefController dataDefController = reportClientDoc.getDataDefController();
            Fields fields = dataDefController.getDataDefinition().getParameterFields();
            for( int i = 0; i < fields.size(); i++ ){
                Field field = (Field)fields.getField( i );
                if( field.getKind() == FieldKind.parameterField ){
                            setParameter( ((ParameterField)field).getName(), "9825" , reportClientDoc);          
    private static void setParameter( String paramName, String paramValue, ReportClientDocument document ) throws ReportSDKException {
         ParameterFieldController paramFieldController =
                    document.getDataDefController().getParameterFieldController();
         paramFieldController.setCurrentValue( "", paramName, paramValue );
    We have tried the following codes to change the connection info used in commands:
    Attempt 1
              Tables tables = databaseController.getDatabase().getTables();
              //Set the datasource for all main report tables.
              for (int i = 0; i < tables.size(); i++) {
                   ITable table = tables.getTable(i);
                   //Keep existing name and alias.
                   table.setName(table.getName());
                   table.setAlias(table.getAlias());
                   //Change connection information properties.
                   IConnectionInfo connectionInfo = table.getConnectionInfo();
                   //Set new table connection property attributes.
                   connectionInfo.setAttributes(propertyBag);
                   //Set database username and password.
                   //NOTE: Even if these the username and password properties don't change when switching databases, the
                   //database password is *not* saved in the report and must be set at runtime if the database is secured. 
                   connectionInfo.setUserName(DBUSERNAME);
                   connectionInfo.setPassword(DBPASSWORD);
                   connectionInfo.setKind(ConnectionInfoKind.SQL);
                   table.setConnectionInfo(connectionInfo);
                   //Update old table in the report with the new table.
                   databaseController.setTableLocation(table, tables.getTable(i));
                   //databaseController.setTableLocation(tables.getTable(i), table);
    Attempt 2
             newConnectionInfo.setAttributes(propertyBag);
             connectionInfo.setUserName(DBUSERNAME);
             connectionInfo.setPassword(DBPASSWORD);
             //preserve subreport links
             SubreportController src = doc.getSubreportController();
             Map<String, SubreportLinks> linkMapper = new HashMap<String,SubreportLinks>();
             for(String subreportName : src.getSubreportNames()){
                 linkMapper.put(subreportName,
                     (SubreportLinks) src.getSubreportLinks(subreportName).clone(true));
             //If this connection needed parameters, we would use this field. 
             Fields<IParameterField> pFields = doc.getDataDefController().getDataDefinition().getParameterFields();
             replaceConnectionInfos(doc.getDatabaseController(), newConnectionInfo, pFields);
             IStrings strs = src.getSubreportNames();
             Iterator<String> it = strs.iterator();
             while (it.hasNext()) {
               String name = it.next();
               ISubreportClientDocument subreport = src.getSubreport(name);
               pFields = subreport.getDataDefController().getDataDefinition().getParameterFields();
               replaceConnectionInfos(subreport.getDatabaseController(), newConnectionInfo, pFields);
             //reconnect subreport links since when using replaceConnection links are erased
             for(String subreportName : src.getSubreportNames())
               src.setSubreportLinks(subreportName, linkMapper.get(subreportName));
    private static void replaceConnectionInfos(DatabaseController aDc, IConnectionInfo aNewConnInfo, Fields<IParameterField> aParameterField) throws ReportSDKException {
             ConnectionInfos cis = aDc.getConnectionInfos(null);
             for (IConnectionInfo oldConnInfo : cis)
               aDc.replaceConnection(oldConnInfo, aNewConnInfo, aParameterField, DBOptions._useDefault
                   + DBOptions._doNotVerifyDB);
    In both cases, the observed problem occurred. In one query the parameter was set properly, while on the other it was set to 0 (or empty string in case of string parameters). What is more, no data appeared on the print.
    Do you happen to know the reason of this issue?How can we fix the problem?
    Best regards
    Mateusz Błaż

  • Report 6i/Webdb -Not able to display the report in the browser - rep- 3002 error.

    Would someone tell what I missed, I have set up the following:
    1) a report using report builder on NT
    2) my database is in Unix
    3) my report server is started in NT
    4) I run webdb listener for the following code: http://myweb.com/cgi/rwcgi60.exe?server=repserver+report=myreport+userid=usid/pw/connect_string+destype=cache+desformat=html. Then, I receive this message:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-3002: Error initializing printer. Please make sure a printer is installed.
    Why is it thinking I want to use the printer whereas I want to display the report in the browser?. Any help would be appreciated.
    null

    It sounds like that your Web CGI did not configure right. To test if your CGI configuration is correct, type:
    http://hostname:port/cgi-bin/rwcgi60exe?
    If you get a help screen, then you should be able to bring up your report.
    Regards,
    Xiaoling

  • Unable to find the report in the manifest resources

    <p>Hi!</p><p>I have problem using Crystal Report documents created in Visual Studio 2005 using the build-in version of Crystal Reports. If I create a project from scratch with one report and then some code to initialize and export the report to disk I get the following error message:</p><p>"Unhandled Exception: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Unable to find the report in the manifest resources. Please build the project, and try again."</p><p>I have tried using both the "Embedded resource" and the "Content" options during build, but with no luck at all. When using the Content option I explicitly load the rpt-file but no luck at all. Do anyone have a clue to what the problem is? I have absolutely no idea. The things worked in Visual Studio 2003 but not in 2005. What is the manifest resource?</p><p>Would really appreciate some help, thanks in advance!</p><p>My source code is below.</p><p>Best regards<br />Lars</p>class Program {<br /><font size="1"><font color="#0000ff">   public</font> <font color="#0000ff">static</font> <font color="#008080">TableLogOnInfo</font> CreateConnectionInfo(<font color="#0000ff">string</font> userID, <font color="#0000ff">string</font> password, <font color="#0000ff">string</font> serverName, <font color="#0000ff">string</font> databaseName) {<br />         <font color="#008080">TableLogOnInfo</font> conInfo = <font color="#0000ff">new</font> <font color="#008080">TableLogOnInfo</font>();<br />         conInfo.ConnectionInfo.UserID = userID;<br />         conInfo.ConnectionInfo.Password = password;<br />         conInfo.ConnectionInfo.ServerName = serverName;<br />         conInfo.ConnectionInfo.DatabaseName = databaseName;<br /><font color="#0000ff">         return</font> conInfo;<br />   }<br /><br /></font><font color="#0000ff"><font size="1"><font color="#0000ff">   public</font> <font color="#0000ff">static</font> <font color="#008080">ReportClass</font> CreatePersonalWillReport(<font color="#008080">TableLogOnInfo</font> conInfo, </font><font size="1"><font color="#0000ff">string</font> personID) {<br />           </font><font size="1"><font color="#008080">ReportClass</font> doc = <font color="#0000ff">new</font> <font color="#008080">ReportClass</font>();<br />           </font><font size="1">doc.Load(<font color="#800000">@"C:\Utveckling\reports\main\ClassLibrary1\bin\Debug\CrystalReport1.rpt"</font>);<br />           </font><font size="1"><font color="#008080">List</font><<font color="#008080">ReportParameter</font>> parameters = <font color="#0000ff">new</font> <font color="#008080">List</font><<font color="#008080">ReportParameter</font>>();<br />           </font><font size="1">parameters.Add(<font color="#0000ff">new</font> <font color="#008080">ReportParameter</font>(<font color="#800000">"@personID"</font>, personID));<br />           </font><font size="1"><font color="#0000ff">return</font> ApplyReportParameters(doc, parameters, conInfo);<br />   }</font></font><font color="#0000ff"> <p>&#160;</p><p><font size="1"><font color="#0000ff">   public</font> <font color="#0000ff">static</font> <font color="#0000ff">void</font> ExportReportToDisk(<font color="#0000ff">string</font> fileName, </font><font size="1"><font color="#008080">ReportClass</font> report, </font><font size="1"><font color="#008080">ExportFormatType</font> formatType) {<br />           </font><font size="1">report.ExportToDisk(formatType, fileName);<br />   </font><font size="1">}</font></p><p><font size="1"><font color="#0000ff">   protected</font> <font color="#0000ff">static</font> <font color="#008080">ReportClass</font> ApplyReportParameters(<font color="#008080">ReportClass</font> report, <font color="#008080">List</font><<font color="#008080">ReportParameter</font>> paramList, </font><font size="1"><font color="#008080">TableLogOnInfo</font> conInfo) {<br />           </font><font size="1"><font color="#0000ff">foreach</font> (<font color="#008080">Table</font> t <font color="#0000ff">in</font> report.Database.Tables) {<br />               </font><font size="1">t.ApplyLogOnInfo(conInfo);<br />           </font><font size="1">}</font></p><p><font size="1">           <font color="#0000ff">foreach</font> (<font color="#008080">Section</font> s <font color="#0000ff">in</font> report.ReportDefinition.Sections) {<br />                  </font><font size="1"><font color="#0000ff">foreach</font> (<font color="#008080">ReportObject</font> ro <font color="#0000ff">in</font> s.ReportObjects) {<br />                        </font><font size="1"><font color="#0000ff">if</font> (ro.Kind == CrystalDecisions.Shared.<font color="#008080">ReportObjectKind</font>.SubreportObject) { <br /></font><font size="1"><font color="#008080">                             SubreportObject</font> sro = (<font color="#008080">SubreportObject</font>)ro;<br />                             </font><font size="1"><font color="#008080">ReportDocument</font> doc = sro.OpenSubreport(sro.SubreportName);</font></p><p><font size="1"><font color="#0000ff">                             foreach</font> (<font color="#008080">Table</font> t <font color="#0000ff">in</font> doc.Database.Tables) {<br />                                  </font><font size="1">t.ApplyLogOnInfo(conInfo);</font></p><p><font size="1">                             }<br />                        </font><font size="1">}<br />                  </font><font size="1">}<br />           </font><font size="1">}<br /><br />           </font><font size="1"><font color="#0000ff">foreach</font> (<font color="#008080">ParameterFieldDefinition</font> paramField <font color="#0000ff">in</font> report.DataDefinition.ParameterFields)  {<br />                </font><font size="1"><font color="#0000ff">foreach</font> (<font color="#008080">ReportParameter</font> rp <font color="#0000ff">in</font> paramList) {<br />                     </font><font size="1"><font color="#0000ff">if</font> (paramField.Name == rp.Name) {<br />                         </font><font size="1"><font color="#008080">ParameterValues</font> pv = paramField.CurrentValues;<br />                         </font><font size="1"><font color="#0000ff">string</font> s = (<font color="#0000ff">string</font>)rp.Value.Value;<br />                         </font><font size="1"><font color="#008080">ParameterDiscreteValue</font> pdv = <font color="#0000ff">new</font> <font color="#008080">ParameterDiscreteValue</font>();<br />                         </font><font size="1">pdv.Value = s;<br />                         </font><font size="1">pv.Add(pdv);<br />                         </font><font size="1">paramField.ApplyCurrentValues(pv);<br />                     </font><font size="1">}<br />                </font><font size="1">}<br />            </font><font size="1">}</font></p><p><font size="1"><font color="#0000ff">           return</font> report;</font></p><p><font size="1">       }</font></p><p>&#160;</p><p><font size="1"><font color="#0000ff">          static</font> <font color="#0000ff">void</font> Main(<font color="#0000ff">string</font>[] args) {<br />               </font><font size="1"><font color="#008080">TableLogOnInfo</font> conInfo = CreateConnectionInfo(<font color="#800000">"username"</font>, <font color="#800000">"password"</font>,<br />                                                                                </font><font size="1"><font color="#800000">"server"</font>, <font color="#800000">"database"</font>);<br />               </font><font size="1"><font color="#008080">ReportClass</font> report = CreatePersonalWillReport(conInfo, <font color="#800000">"-1291000956"</font>);<br />               </font><font size="1">ExportReportToDisk(<font color="#800000">"C:\temp\report.pdf"</font>, report, <font color="#008080">ExportFormatType</font>.PortableDocFormat);<br />           </font><font size="1">}</font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"><summary></font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> Helper class that contains parameter key/value pairs.</font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"></summary></font></font></p><p><font size="1"><font color="#0000ff">protected</font> <font color="#0000ff">class</font> <font color="#008080">ReportParameter</font> {</font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"><summary></font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> The parameter name.</font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"></summary></font></font></p><p><font size="1"><font color="#0000ff">private</font> <font color="#0000ff">string</font> name = <font color="#0000ff">null</font>;</font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"><summary></font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> The parameter value.</font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"></summary></font></font></p><p><font size="1"><font color="#0000ff">private</font> <font color="#008080">ParameterDiscreteValue</font> value = <font color="#0000ff">new</font> <font color="#008080">ParameterDiscreteValue</font>();</font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"><summary></font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> The parameter name.</font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"></summary></font></font></p><p><font size="1"><font color="#0000ff">public</font> <font color="#0000ff">string</font> Name {</font></p><p><font size="1"><font
    color="#0000ff">get</font> {</font></p><p><font size="1"><font color="#0000ff">return</font> <font color="#0000ff">this</font>.name;</font></p><p><font size="1">}</font></p><p><font size="1"><font color="#0000ff">set</font> {</font></p><p><font size="1"><font color="#0000ff">this</font>.name = <font color="#0000ff">value</font>;</font></p><p><font size="1">}</font></p><p><font size="1">}</font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"><summary></font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> The parameter value.</font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"></summary></font></font></p><p><font size="1"><font color="#0000ff">public</font> <font color="#008080">ParameterDiscreteValue</font> Value {</font></p><p><font size="1"><font color="#0000ff">get</font> {</font></p><p><font size="1"><font color="#0000ff">return</font> <font color="#0000ff">this</font>.value;</font></p><p><font size="1">}</font></p><p><font size="1"><font color="#0000ff">set</font> {</font></p><p><font size="1"><font color="#0000ff">this</font>.value = <font color="#0000ff">value</font>;</font></p><p><font size="1">}</font></p><p><font size="1">}</font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"><summary></font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> The constructor.</font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"></summary></font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"><param name="name"></font><font color="#008000">the parameter name</font><font color="#808080"></param></font></font></p><p><font size="1"><font color="#808080">///</font><font color="#008000"> </font><font color="#808080"><param name="value"></font><font color="#008000">the parameter value</font><font color="#808080"></param></font></font></p><p><font size="1"><font color="#0000ff">public</font> ReportParameter(<font color="#0000ff">string</font> name, <font color="#0000ff">object</font> value) {</font></p><p><font size="1"><font color="#0000ff">this</font>.name = name;</font></p><p><font size="1"><font color="#0000ff">this</font>.value.Value = value;</font></p><p><font size="1">}</font></p><p><font size="1">}</font></p></font>

    Lars,
    Â Have you read the CRnet_deployment.doc if not it may help fix your problem (It didnt mine but hey you may be lucky) See http://support.businessobjects.com/communitycs/technicalpapers/crnet_deployment.pdf
    I have a similar issue but in 2003.net using the bundled CR package. I'm trying to use CR in a Web Service called from a Compact Framework device. I've confirmed I'm using the correct Merge Modules & my Build Actions are all set as stated in the CR Application Deployment document but it still spits out Unable to find the report in the manifest resources
    I've looked extensively on the net and while others have had this problem the only advice I've seen revolves around embedded build actions and using the correct merge modules. There must be something else causing this problem and some one who has found a way round it?!?
    If your that someone please take 5 minutes out and help a couple of guys in distress?
    Thanks in advance,
    Ian

  • CRVS2010 Beta - Unable to find the report in the manifest resources

    I upgraded to VS2010 Beta where we soon encountered this error.
    Unable to find the report in the manifest resources. Please build the project, and try again.
    at CrystalDecisions.CrystalReports.Engine.EngineExceptionUtils.DoThrowException(String message, EngineExceptionErrorID id)
       at CrystalDecisions.CrystalReports.Engine.ExceptionThrower.ThrowEngineException(String messageID, EngineExceptionErrorID id)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(IEnumerable enumerable)
    Searching the forums I saw some similar issues. Here is how the issue was solved on my end.
    Looking at the properties of the crystal report file in VS2010 the Build Action was "None". After setting it compile things worked as normal. The exception made sense after finding the cause.
    I'm not sure if this was caused by VS2010 as my organization was in the middle of migrating to TFS 2010 that may have caused an issue.
    Hope this helps someone.

    Cliff, thank you very much for sharing this soution with the community. Once CRVS2010 RTMs, I'll create a KBase on it.
    Happy coding,
    Ludek

  • What happens to the report if the underlying stored procedure to execute the report take atleast 3 hrs to run

    Hi,
    I have a report which is calling a stored procedure..
    Stored procedure exceutes 4-5 stored procedure and then returns the count each procedure it ran using union all statement... The stored procedure takes around 3-4 hrs to run because it is looking at quarterly data and YTD data.
    So once the report is kicked off and the procedure behind it runs and runs how will communicate to the report to show the final data... the final data will just be 5 rows with counts.
    I think we are running into a issue where the stored procedure runs and runs and then the report goes into la la land and has no clue what to do...
    Can you please shed some light on this..
    Thanks
    Karen

    Hi Karen,
    When we render a report, the report would process the following procedures:
    Open connections to data source and reading data rows from data extensions for all datasets, means retrieve data. Then process the engine requests, including the tablix, grouping, sorting, filtering, aggregations and subreport processing, means process report.
    Finally, render the report, including the pagination modules and on-demand expression evaluations.
    So the report rending has to wait until the stored procedure is executed. To improve the performance, we can consider the three aspects:
    Improve the performance of the stored procedures. Such as index and join. For better support, I suggest you can post a new thread about this issue in Transact-SQL forum at:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=transactsql. It is appropriate and more experts will assist you.
    Simplify the report. For example, avoid including a reference to [&TotalPages] or any complex expressions in the page header and page footer. For more details, please see the following document:
    http://technet.microsoft.com/en-us/library/bb522806(v=sql.105).aspx
    Using cashing if you have a long-running query that cannot be tuned further. For more details, please refer to the following article:
    http://msdn.microsoft.com/en-us/library/ms159241(v=sql.110).aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Sync.me application not working

    the application "sync.me" was working properly i removed the application "sync.me" and i reinstall it from my new apple id the application is not working when i opened it it close directly

  • Backing Up And Restoring Mail

    To my dismay I have to completely reinstall my operating system, which happens to be OS X Snow Leopard 10.6.4. I need to back-up mail to my external hard drive and then put it back the way it was after the OS install. I need to retain all my emails e

  • JTable in JComboBox

    if any one has got a code for displaying more then one column in JCombobox(i.e JTable in JComboBox) plz. send to this mail id :- [email protected] Hope this helps. Regards, chandru

  • DEV and BI

    Hi, Our company has DEV300 (ECC) and BI 300. I went ahead and developed what i needed in BI 300. Now we have DEV 310 for testing. How do I test my development in BI 300 when the data is in DEV 310? Thanks

  • HT3176 Menu button doesn't work

    Menu button doesn't work I can scroll up and down but when I hit the menu it doesn't even push