Report Painter - Internal error: Invalid offset in APPEND-C

Hello everyone,
We are having the next problem when we generate a new report and include it in a new report group and in a library that works with all the other reports,the next error arises:
Internal error: Invalid offset in APPEND-C GR-211
Anyone Knows something about it??
Thanks,
Raquel

Hi Raquel
in the report definition you use many characteristics in the general selection by using selection variables.                                                                               
Kindly note that there is a restriction for characteristics in the general data selection - actually only the single values can be  
transferred. All these characteristics for which you require 'All values' should be moved to the the rows instead the general data selection.                                                       
Kind Regards
davide

Similar Messages

  • GR224  Report Painter: Internal error when converting a report

    Hi
    Using FAGL_RMIGR transaction I've trasferred report 8A3-0010 in a
    custom library ZXX. The migration happened without error messages. I've
    tryed then to run report FL3-0010 by GRR3 transaction but error message
    GR224 appears
    Report Painter: Internal error when converting a report
    Message no. GR224
    Diagnosis
    During the internal compilation of a Report Painter report to a
    Report Writer report, sets are generated. This caused an error in the
    subprogramm GENERATE_ROW_MULTI. The return code was 7.
    System Response
    The report could not be generated and/or saved.
    Procedure
    Please call the SAP Hotline and send them this longtext as well as
    detailed information describing the circumstances in which this
    error
    occured.
    Please could you help me?
    Thanks in advance
    Giovanna Scamardella

    HI,
    SAPNET notes search with GR 224 brings some old (but maybe helpful) notes: 37611, 193392,137231, pls. check.
    Best regards, Christian

  • Error: java.sql.SQLException: Internal Error   Invalid Connect String

    hi,
    facing errror while deploying the process
    A problem occured while connecting to server "sfhyd1.softforce.com" using port "8888": bpel_getCustomerAccounts_1.0.jar failed to deploy. Exception message is: java.sql.SQLException: Internal Error:Invalid Connect String
    at com.collaxa.cube.engine.util.DBUtils.checkIfFatalConnectionError(DBUtils.java:920)
    at com.collaxa.cube.ejb.impl.BaseCubeSessionBean.checkIfFatalConnectionError(BaseCubeSessionBean.java:153)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:462)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: Internal Error:Invalid Connect String
    at oracle.lite.poljdbc.POLJDBCErrMsg.throwSQLException(Unknown Source)
    at oracle.lite.poljdbc.LiteThinJDBCConnection.<init>(Unknown Source)
    at oracle.lite.poljdbc.LiteThinJDBCFactory.createConnection(Unknown Source)
    at oracle.lite.poljdbc.POLJDBCConnection.<init>(Unknown Source)
    at oracle.lite.poljdbc.OracleConnection.<init>(Unknown Source)
    at oracle.lite.poljdbc.POLJDBCDriver.connect(Unknown Source)
    at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
    at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
    at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
    at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
    at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1398)
    at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
    at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
    at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
    at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
    at oracle.oc4j.sql.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:45)
    at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1596)
    at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1541)
    at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1486)
    at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
    at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
    at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
    at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
    at com.collaxa.cube.engine.adaptors.common.BaseProcessPersistenceAdaptor.storeProcess(BaseProcessPersistenceAdaptor.java:361)
    at com.collaxa.cube.engine.adaptors.olite.ProcessPersistenceAdaptor.storeProcess(ProcessPersistenceAdaptor.java:52)
    at com.collaxa.cube.engine.data.ProcessPersistenceMgr.storeProcess(ProcessPersistenceMgr.java:76)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:937)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:792)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:455)
    ... 45 more

    You may possibly modified the oc4j-ra.xml file in the stand-alone directory instead of the file under the OC4J_BPEL directory in midtier.
    Currently, we are seeing some issues with the sample in midtier. So you may like to wait for the GA release [ mid May] for trying out this sample.
    Otherwise please send a mail to [email protected], you need any early drop of this sample.
    HTH.
    Thanks,
    Rakesh

  • Internal error: Invalid Aggregation Info No entry for InfoObject: 0FI_DSBIT

    Hi,
    When i create a transformation rule b/w 0fi_ar_4 & ods 0FIAR_C04
    i am mapping the fields which i need rest of them I am not mapping the fields for which i am not mapping  leads to errors like
    Internal error: Invalid Aggregation Info No entry for InfoObject: 0FI_DSBITEM  - contact SAP
    when I map this error I cant see
    is it mandtory to map all the fields

    Harish,
       not a problem. check which feilds you don't want to map. Make ithose as "No Transformation" for those fields in Rule details.
    Note: What ever is possible in 3.X for UR or TR, everything is possible in Transformation of BI 7.0 As well( excpet return table, etc).
    all the best.
    Regards,
    Nagesh Ganisetti.

  • SQL reporting - An internal error occurred on the report server. See the error log for more details. (rsInternalError)

    I have created an RDL file programatically. When I execute the code I get the error as mentioned below:
    Error: Sub report cannot be shown.
    An internal error occurred on the report server. See the error log for more details. (rsInternalError)
    When I copy and paste the code of RDL file into new RDL file and try to preview the output I get correct result.
    Note: The new RDL file does not give any error if the output is seen using preview tab but it gives the error only when executed from report viewer or from internet explorer.
    Any Suggestion/feedback is highly appreciated.
    Thank You.
    The code of the sample RDL is shown below:
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
      <DataSources>
        <DataSource Name="DataSource1">
          <DataSourceReference>DataSource1</DataSourceReference>
          <rd:DataSourceID>fe4806ee-0358-4a87-b764-ac5de049545e</rd:DataSourceID>
        </DataSource>
      </DataSources>
      <BottomMargin>0.25in</BottomMargin>
      <RightMargin>0.25in</RightMargin>
      <PageWidth>11in</PageWidth>
      <ReportParameters>
        <ReportParameter Name="machine_id">
          <DataType>String</DataType>
          <Prompt>machine_id</Prompt>
        </ReportParameter>
        <ReportParameter Name="from_date">
          <DataType>String</DataType>
          <AllowBlank>true</AllowBlank>
          <Prompt>From Date</Prompt>
        </ReportParameter>
        <ReportParameter Name="to_date">
          <DataType>String</DataType>
          <AllowBlank>true</AllowBlank>
          <Prompt>To Date</Prompt>
        </ReportParameter>
      </ReportParameters>
      <rd:DrawGrid>true</rd:DrawGrid>
      <InteractiveWidth>8.5in</InteractiveWidth>
      <rd:SnapToGrid>true</rd:SnapToGrid>
      <Body>
        <ReportItems>
          <Table Name="table1">
            <DataSetName>Main_Report</DataSetName>
            <TableGroups>
              <TableGroup>
                <Header>
                  <TableRows>
                    <TableRow>
                      <TableCells>
                        <TableCell>
                          <ReportItems>
                            <Textbox Name="textbox2">
                              <rd:DefaultName>textbox2</rd:DefaultName>
                              <ZIndex>1</ZIndex>
                              <Style>
                                <TextAlign>Left</TextAlign>
                                <PaddingLeft>2pt</PaddingLeft>
                                <PaddingBottom>2pt</PaddingBottom>
                                <PaddingRight>2pt</PaddingRight>
                                <PaddingTop>2pt</PaddingTop>
                              </Style>
                              <CanGrow>true</CanGrow>
                              <Value>=Fields!syscode.Value</Value>
                            </Textbox>
                          </ReportItems>
                        </TableCell>
                      </TableCells>
                      <Height>0.25in</Height>
                    </TableRow>
                  </TableRows>
                  <RepeatOnNewPage>true</RepeatOnNewPage>
                </Header>
                <Grouping Name="table1_Group1">
                  <PageBreakAtEnd>true</PageBreakAtEnd>
                  <GroupExpressions>
                    <GroupExpression>=Fields!syscode.Value</GroupExpression>
                  </GroupExpressions>
                </Grouping>
              </TableGroup>
            </TableGroups>
            <Details>
              <TableRows>
                <TableRow>
                  <TableCells>
                    <TableCell>
                      <ReportItems>
                        <Subreport Name="subreport1">
                          <Parameters>
                            <Parameter Name="machine_id">
                              <Value>=Fields!machine_ip.Value</Value>
                            </Parameter>
                            <Parameter Name="syscode">
                              <Value>=Fields!syscode.Value</Value>
                            </Parameter>
                            <Parameter Name="from_date">
                              <Value>=Parameters!from_date.Value</Value>
                            </Parameter>
                            <Parameter Name="to_date">
                              <Value>=Parameters!to_date.Value</Value>
                            </Parameter>
                          </Parameters>
                          <ReportName>Holding_Summary_Multi_Period</ReportName>
                        </Subreport>
                      </ReportItems>
                    </TableCell>
                  </TableCells>
                  <Height>0.25in</Height>
                </TableRow>
              </TableRows>
            </Details>
            <TableColumns>
              <TableColumn>
                <Width>10.5in</Width>
              </TableColumn>
            </TableColumns>
            <Height>0.5in</Height>
          </Table>
        </ReportItems>
        <Height>0.75in</Height>
      </Body>
      <rd:ReportID>d0a1293a-e98c-4f75-9597-03426d2e7218</rd:ReportID>
      <LeftMargin>0.25in</LeftMargin>
      <DataSets>
        <DataSet Name="Main_Report">
          <Query>
            <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
            <CommandText>select account_syscode as syscode , 'display Name' as display_name , * from mars_customer_list
    where machine_ip = @machine_id</CommandText>
            <QueryParameters>
              <QueryParameter Name="@machine_id">
                <Value>=Parameters!machine_id.Value</Value>
              </QueryParameter>
            </QueryParameters>
            <DataSourceName>DataSource1</DataSourceName>
          </Query>
          <Fields>
            <Field Name="syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>syscode</DataField>
            </Field>
            <Field Name="display_name">
              <rd:TypeName>System.String</rd:TypeName>
              <DataField>display_name</DataField>
            </Field>
            <Field Name="customer_syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>customer_syscode</DataField>
            </Field>
            <Field Name="account_syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>account_syscode</DataField>
            </Field>
            <Field Name="machine_ip">
              <rd:TypeName>System.String</rd:TypeName>
              <DataField>machine_ip</DataField>
            </Field>
          </Fields>
        </DataSet>
      </DataSets>
      <Code>Shared offset As Integer
    Public Function GetPN(reset As Boolean, pagenumber As Integer) As Integer
      If reset
        offset = pagenumber - 1
      End If
      Return pagenumber - offset
    End Function
    </Code>
      <Width>10.5in</Width>
      <InteractiveHeight>11in</InteractiveHeight>
      <Language>en-US</Language>
      <PageFooter>
        <ReportItems>
          <Image Name="image1">
            <Sizing>Fit</Sizing>
            <Left>8.875in</Left>
            <MIMEType />
            <Width>1.5in</Width>
            <Source>External</Source>
            <Style />
            <Value>bottom_right_logo.gif</Value>
          </Image>
        </ReportItems>
        <Height>0.5in</Height>
        <PrintOnLastPage>true</PrintOnLastPage>
        <PrintOnFirstPage>true</PrintOnFirstPage>
      </PageFooter>
      <TopMargin>0.5in</TopMargin>
      <PageHeight>8.5in</PageHeight>
    </Report>

    i created a SSRS report with shared datasets and uploaded rdl files and rsd files , while trying to map rdl file with data sets i am getting an error
    when i click on manage for .rdl file, its throwing error , as
    "An internal error occurred on the report server. See the error log for more details. (rsInternalError)
    Object reference not set to an instance of an object.
    please help me with this

  • Report Painter Display Error

    When executing a Cost Centre Z developed Report painter report, The values appearing blank on the face of the report but when drilling down to line item level i can see the value exists. This is not a access/security/authorization error as no crosses on the face of the report.
    Please advice
    M Khan

    but the total lines are not adding to zero. in a another report painter report one of the lines value is not equal to line item total! it is quite a strange behaviour that i have never come accross! any clues?

  • Bug report: ube_ipa: internal error when compiling with -xO5

    When compiling imlib2-1.1.2, one source file causes compilation to fail with the following error message:
    ube_ipa: internal error
    cc: ube_ipa failed for loader_tiff.c
    The command which fails is (probably wrapped):
    cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../loaders -I../libltdl -I/usr/X11R6/include -I/usr/openwin/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -g -fast -xarch=386 -xstrconst -v -xildoff -xO5 -c loader_tiff.c -KPIC -DPIC -o .libs/loader_tiff.o
    Changing -xO5 to -xO4 works around the problem. The source file in question is imlib2-1.1.2/loaders/loader_tiff.c
    Patch 112756-10 has been applied, and doesn't correct the problem. GCC doesn't have any problem compiling the file.
    A quick note to any Sun employees reading this: it took me 45 minutes to find somewhere to submit this bug report. Searching sun.com for "submit bug report" turned up many forum postings where people asked "Where do I submit bug reports?", a bug report form for Sun One Java Studio, and not much else. It might be in your interest to make submitting bugs easier.

    Internal errors, such as the one you encountered, are generally considered compiler bugs. They indicate that the compiler reached an unexpected state and therefore bailed out. I opened bug 20703141: internal error: pic_relocs(): hh reltype? to investigate. I see the same error message emitted by the current Studio development release; I will update this thread if I find a work-around.
    Thanks,
    Mark

  • Report painter-syntax error form 'SEL-L023' already exists

    Hi,
    When i copy a report painter form and generate it to the same report group (same as source report) i get an error 'syntax error form 'SEL-L023' already exists. I saw the ABAP code the source and target have same form name.
    Where can i change the form name?
    Thanks

    I will closed this thread as I hv solved my problem already.thks

  • Report Painter - Library - Error in Transport

    Hi Dear experts,
    I have three reports built with report painter in the development system and these are associated with a z library. When we transported the objects, the Tcodes associated with these reports have been transportd properly. but the reports and the library is missing in the Production system. Now, if i execute these transactions from Production system, its giving runtime error, because the linked reports are missing ( report GP2D4I7Z2RKMI4QGRR05RUURZ8F100 load program not found) When i check the same report in development, its assigned to a local development class($tmp). But there are a lot of reports with such long names in the $tmp. So its very difficult to find which are the actual objects to be transported.
    Is there any easy way to find the reports and transport? And if they contains some includes, do i need to transport them also manually? Is there anything i can do with the library? I couldnt find the transaction to change the library. So how can i transport the library? We have only 3 reports. but i dont know how many other objects are linked with these reports.
    Any kind of help is highly appreciable
    Thanking you in Anticipation.
    Deepak

    Hi Raja,
    the menu "GR22->utilities->transport->transport request"  gives some options like Statndard layout, library, report , report group, key figure, etc. We have one Z library and one Z-report group. I dont know about the other itesm like key figure etc.So which options i have to select and run? ( Iam handling these things for the first time) or do i need to run it for each options?
    Could you please explain more...
    Thanks & Regards
    Deepak K

  • Report painter,  Internal orders and profit center accounting

    hi,
    I want to do a report using data from internals orders (AUFNR) and profit center accounting (PRCTR).
    I can make individual reports for internals orders (6O1, CCSS) and for profit center accounting (8a2, GPLCA) but I can't combinate data from internals orders and profit center accounting.
    Is it possible make a report using report painter that show data of internals orders and profit center accounting.
    All my internals orders have a profit center accounting.
    Thanks in avanced

    [url] http://help.sap.com/saphelp_45b/helpdata/en/cc/36428394f311d2b47a006094b9b0a5/frameset.htm
    this may be helpful
    regards.
    santhosh reddy

  • Report Server Internal Error

    While using 9iAS Report Server, we encounter HTTP500: Internal
    Server Error problem.
    Looking into the Apache error_log, we found the following error:-
    [Tue Oct  9 19:29:58 2001] [error] [client 128.1.0.1] Premature
    end of script
    headers: /export/home2/oracle/6iserver/tools/web60/cgi/rwcgi60
    Can some one help?

    While using 9iAS Report Server, we encounter HTTP500: Internal
    Server Error problem.
    Looking into the Apache error_log, we found the following error:-
    [Tue Oct  9 19:29:58 2001] [error] [client 128.1.0.1] Premature
    end of script
    headers: /export/home2/oracle/6iserver/tools/web60/cgi/rwcgi60
    Can some one help?

  • Calling report from FORM - error Invalid value of paramente 'P_YEAR'

    Hi guys,
    Could you please help me to figure out what is going wrong
    with my form which run a report?
    I am using Developer suite 10g.
    when i run report from report application it run fine,
    but when i call that report from a form it gives me error.
    I have checked the datatype, checked the parameter value
    that I assign from form is available in the report parameter value.
    What else do i have to check in order to run this report
    from the form.
    Error Message from Report Queue Manager:
    Invalid value for parameter 'P_YEAR'.
    Your insight will be appreciated.

    Thank you for reply Denis,
    Here is the code which run_report from form.
    DECLARE
    -- variables for running individual reports
    report_filename               VARCHAR2(40);
    var_reportpath               VARCHAR2(100);
    report_otherparms      VARCHAR2(200);
    -- variables to keep track of successful reports in silent mode
    rep_status                         VARCHAR2(40);
    rep_req                                   NUMBER := 0;
    rep_count                              NUMBER := 0;
    dummy                                        NUMBER;
    -- variables to load the report names and checkboxes into the parameter list
    pl_id                                        PARAMLIST;
    plname                                   VARCHAR2(20) := 'rpt_list';
    -- variables to loop through the parameter list and run the reports
    i                                                  NUMBER;
    split_loc                              NUMBER;
         param_value                         VARCHAR2(40);
         checkbox_name                    VARCHAR2(40);
         report_basename               VARCHAR2(40);
         svc_name                              VARCHAR2(4);
         run_report                         BOOLEAN;
         disp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'DISP',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    hosp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'HOSPICE',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    orth_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'O/P',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    BEGIN
    -- Are any reports selected?
    IF BOXES_ARE_CHECKED(:System.Cursor_Block,'PRINT_NULL_REPORT') THEN
    if not CHECKBOX_CHECKED('print_null_report') then
    disp_exist := TRUE;
    orth_exist := TRUE;
    hosp_exist := TRUE;
    end if;
    -- Create Report Parameter Listing
    pl_id := GET_PARAMETER_LIST(plname);
    if NOT ID_NULL(pl_id) then
         DESTROY_PARAMETER_LIST(pl_id);
    end if;
    pl_id := CREATE_PARAMETER_LIST(plname);
    if ID_NULL(pl_id) then
         GENERIC_ALERT('Error creating report listing');
         RAISE Form_Trigger_Failure;
    end if;
    ADD_PARAMETER(pl_id,'id1', TEXT_PARAMETER,'cover_page_intro!INTRO');
    ADD_PARAMETER(pl_id,'id2', TEXT_PARAMETER,'utilization_profile!ALLUTIL');
    ADD_PARAMETER(pl_id,'id3', TEXT_PARAMETER,'utilization_summary!ALL_SUMMARY');
    ADD_PARAMETER(pl_id,'id4', TEXT_PARAMETER,'hiv_profile!HIV_PROFILE');
    ADD_PARAMETER(pl_id,'id5', TEXT_PARAMETER,'wound_care_profile!WOUND_CARE_PROF');
    ADD_PARAMETER(pl_id,'id6', TEXT_PARAMETER,'top_10_diagnosis!TOP10DIAG');
    ADD_PARAMETER(pl_id,'id7', TEXT_PARAMETER,'diagnosis_profile!DIAG_PROFILE');
    ADD_PARAMETER(pl_id,'id8', TEXT_PARAMETER,'physician_profile!PHYS_PROFILE');
    ADD_PARAMETER(pl_id,'id9', TEXT_PARAMETER,'physician_specialty!PHYS_SPECIALTY');
    ADD_PARAMETER(pl_id,'id10',TEXT_PARAMETER,'discharge_profile!DISCHARGE_PROFILE');
    ADD_PARAMETER(pl_id,'id11',TEXT_PARAMETER,'acute_care_discharge!ACUTE_DSCHRG');
    ADD_PARAMETER(pl_id,'id12',TEXT_PARAMETER,'excessive_cost_patients!EXCESSIVE_COST');
    ADD_PARAMETER(pl_id,'id13',TEXT_PARAMETER,'provider_profile!PROV_PROFILE');
    ADD_PARAMETER(pl_id,'id14',TEXT_PARAMETER,'service_profile!SERVICE_PROFILE');
    ADD_PARAMETER(pl_id,'id15',TEXT_PARAMETER,'age_gender_profile!AGE_GENDER_PROF');
    ADD_PARAMETER(pl_id,'id16',TEXT_PARAMETER,'network_services!NETWORK_SERVICES');
    ADD_PARAMETER(pl_id,'id17',TEXT_PARAMETER,'thh_section_header!THH_COVER');
    ADD_PARAMETER(pl_id,'id18',TEXT_PARAMETER,'thh_utilization!THH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id19',TEXT_PARAMETER,'thh_service_profile!THH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id20',TEXT_PARAMETER,'hit_section_header!HIT_COVER');
    ADD_PARAMETER(pl_id,'id21',TEXT_PARAMETER,'hit_utilization!HIT_UTILIZATION');
    ADD_PARAMETER(pl_id,'id22',TEXT_PARAMETER,'hit_service_profile!HIT_SVC_PROF');
    ADD_PARAMETER(pl_id,'id23',TEXT_PARAMETER,'hme_section_header!HME_COVER');
    ADD_PARAMETER(pl_id,'id24',TEXT_PARAMETER,'hme_utilization!HME_UTILIZATION');
    ADD_PARAMETER(pl_id,'id25',TEXT_PARAMETER,'hme_service_profile!HME_SVC_PROF');
    ADD_PARAMETER(pl_id,'id26',TEXT_PARAMETER,'disp_section_header!DISP_COVER');
    ADD_PARAMETER(pl_id,'id27',TEXT_PARAMETER,'disp_utilization!DISP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id28',TEXT_PARAMETER,'disp_service_profile!DISP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id29',TEXT_PARAMETER,'hosp_section_header!HOSP_COVER');
    ADD_PARAMETER(pl_id,'id30',TEXT_PARAMETER,'hosp_utilization!HOSP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id31',TEXT_PARAMETER,'hosp_service_profile!HOSP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id32',TEXT_PARAMETER,'orth_section_header!ORTH_COVER');
    ADD_PARAMETER(pl_id,'id33',TEXT_PARAMETER,'orth_utilization!ORTH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id34',TEXT_PARAMETER,'orth_service_profile!ORTH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id35',TEXT_PARAMETER,'encounter_detail!ENCOUNTER_DETAIL');
    --- set up other parameters to send to generate_report
    if :reports_control.output_choices = 'FILE' then
    var_reportpath := :global.report_directory || :reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         var_reportpath := var_reportpath || 'q' || :reports_control.quarter_list;
    end if;
    var_reportpath := var_reportpath || '_G' || :reports_control.group_list || '_';
    else
         var_reportpath := '';
    end if;
    report_otherparms := 'p_year='||:reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         report_otherparms := report_otherparms || '     p_quarter='||:reports_control.quarter_list;
    end if;
    report_otherparms := report_otherparms || ' P_REPORTGROUPID='||:reports_control.group_list;
    --- Check if reports are checked and submit to Reports Server
         for i in 1..35 loop
              GET_PARAMETER_ATTR(pl_id,'id'||i,dummy,param_value);
              split_loc := instr(param_value,'!');
              checkbox_name := substr(param_value,1,split_loc-1);
              report_basename := substr(param_value,split_loc+1,length(param_value));
    if CHECKBOX_CHECKED(checkbox_name) then
         run_report := TRUE;
         svc_name := substr(report_basename,1,4);
         if svc_name = 'DISP' then
              if not disp_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'ORTH' then
              if not orth_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'HOSP' then
              if not hosp_exist then
                   run_report := FALSE;
              end if;
         end if;
         if run_report then
              report_filename := :global.filename_prefix || report_basename || '_10G';---- :global.filename_prefix || report_basename || :global.filename_suffix;
         GENERIC_ALERT(report_filename || ' ' || report_otherparms);
              rep_status := GENERATE_REPORT(report_filename,:reports_control.output_choices,var_reportpath,report_otherparms);
              rep_req := rep_req + 1;
              if rep_status = 'FINISHED' then
                   rep_count := rep_count + 1;
              end if;
         end if;
         end if;
         end loop;
    -- if we're in silent mode, display a completion message
         if :reports_control.output_choices = 'FILE' and CHECKBOX_CHECKED('chk_silent') then
              SET_ALERT_PROPERTY('REPORT_CREATED',alert_message_text,
         '' || rep_count || ' of ' || rep_req || ' reports created successfully');     
              dummy := SHOW_ALERT('REPORT_CREATED');
    end if;
    ELSE
    dummy := SHOW_ALERT('select_report');
    END IF;
    END;

  • Report Server Internal Error During Report Generation

    Hi,
    We are running 9iAS on Sun Enterprise server. Though we have
    successfully installed Form & Report Servers. The Form Server is
    running perfectly but while reports are generated from Report
    Server, it gives Internal Server Error (HTTP Error Code: 500) --
    The server has encountered error or misconfiguration...
    Checking the hard disk, we found that the report in PDF file has
    been generated but it gives error being delivered.
    We have no idea what had happened. Can someone kindly enlight me
    some possibilities?

    I guess to start with the obvious, IE 500 Internal Server Error resolves to Permission denied: 'GetObject'.
    Before chasing that error, what version of CR and .NET are you using?
    Once we determine that you are using a version of CR that is actually supported on the OS, we can move on to [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] to see if it tell us something - look for "Access Denied" messages.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Formula Variables for Report Painter- Syntac error in formula, Please Help!

    Dear Experts,
    I'm creating the report where I need to calculate annualized P&L. The formula is as follows : (P&L account/Period(variable ))12*
    I need to capture the From_period, which is entered by the user on the selection screen when running the report and use it as a variable in the formula above. Example: If User insert From Period 3, then the formula should be *P&L accoun / 3 * 12*
    I have tried so many different way but nothing seems to work. one of the ways i tried was:
    In the general selection Im using set variable 6P-S-PERIOVB.CCSS for period which consists of variable V_PERIO and B_PERIO.
    So Im trying to create a folowing formula:
    IF 1 >= u2018PER_FRu2019 AND 1 <= u2018PER_TOu2019 THEN 1 ELSE 16
    IF 2 >= u2018PER_FRu2019 AND 2 <= u2018PER_TOu2019 THEN 1 ELSE 16
    Unfortunately I keep getting Syntac error in formula. Please help me I'm really desperate to solve this issue after 5 days of unlucky research.
    Thank you in advance
    Regards
    Ernesta

    Thank you all for your help. The issue was that the variable was assigned to the different table as the library. After I changed it, it worked fine.
    Regards
    Ernesta

  • Formula Variables in Report Painter- Syntac error in formula

    Dear Experts,
    I'm creating the report where I need to calculate annualized P&L. The formula is as follows : (P&L account/Period(variable ))*12
    I need to capture the From_period, which is entered by the user on the selection screen when running the report and use it as a variable in the formula above. Example: If User insert From Period 3, then the formula should be *P&L accoun / 3 * 12*
    I have tried so many different way but nothing seems to work. one of the ways i tried was:
    In the general selection Im using set variable 6P-S-PERIOVB.CCSS for period which consists of variable V_PERIO and B_PERIO.
    So Im trying to create a folowing formula:
    IF 1 >= u2018PER_FRu2019 AND 1 <= u2018PER_TOu2019 THEN 1 ELSE 16
    IF 2 >= u2018PER_FRu2019 AND 2 <= u2018PER_TOu2019 THEN 1 ELSE 16
    Unfortunately I keep getting Syntac error in formula. Please help me I'm really desperate to solve this issue after 5 days of unlucky research.
    Thank you in advance
    Regards
    Ernesta

    so, I would use parameters.....
    P_fr_MO(2) TYPE N DEFAULT '01',
    p_fr_yr(4) type n default '2011'.
    Then, to set my range, i would do something like....
    data: lv_to_mon(2) type n,
             lv_to_yr(4) type n.
    if p_fr_mo eq '01'.
      lv_to_yr = p_fr_yr.  "12th month, same year...
    else.
    lv_to_yr = p_fr_yr + 1.  "any other month puts us into next year.
    endif.
    case p_fr_mo.
      when '01'.
       lv_to_mon = 12.  "always for 12 month period...
    when others.
       lv_to_mon = p_fo_no - 1.  '''example 10/2010 to 09/2011.
    endcase.
    then concatenate the from and to variables into what format is needed to read the data...
    on the other hand, if the user gives us from and to, we have a different problem....one then has to calculate what part of a year they have and create a factor for multiplying any data values....
    for instance if user says Jan (01) to (03) March, then I know that to month - from month + 1 is the number of months I have....
    then 12 / that number is the factor to multiply the results by....
    example...
    data : factor(5) type p decimals 2
              months(3) type n.
    if p_to < p_from.  "adjust if I cross a year boundary....Oct to Jan becomes 13 - 10 + 1 or 4 months.
    p_to = p_to + 12.
    endif.
    months = p_to - p_from + 1.
    factor  = 12 / months.  " factor   12 /4 months = 3 times the values obtained  = 1 year.
    something like this....hope this is helpful to you.
    Edited by: DaveL on Oct 18, 2011 6:24 PM

Maybe you are looking for

  • Installing Photoshop Elements 3.0

    I cannot install Photoshop Elements 3.0 on my Windows Vista Home Premium laptop? Can anyone give me any ideas on how to accomplish this task?

  • Question On 16x9 Aspect Ratio

    I set Easy Setup to DV-NTSC Anamorphic and captured my 10 hours of underwater video from Mini-DV that was shot in 16x9 (not HD). I then created my video, including stills, title text etc. When I watch my project, my titles and still pictures take up

  • Want to export user settings from Office 2007 on client, to be able to import in Office 2013?

    Upgrading from Office 2007 to Office 2013. We may need to save the user settings on the client computer, because we are moving some of the systems from 32-bit to 64-bit. How can we export the settings to a folder?

  • More tablet trade in issues

    To Whom It May Concern: I've seen several threads on this forum that have resolved issues that folks have been having with the tablet trade-in promotion.  Unfortunately, I have one more issue to add to your workload. I've tried twice now to trade in

  • My ipod charges but won't tell me when it is!

    My ipod charges fine, but it all of a sudden just stopped telling me when it was charging, i plug it in and the screen turns itself off instead of changing to the screen that has the picture of the battery and how full it is, it also does not show up