Submit_report error during submitted report

Hi,
I want to ask if there is any option how to "catch" error messages which occurs when report is submitted via function module submit_report?
Result of the report is read from memory, but when the submitted report calls some message (which will originally be displayed on screen (bottom line in SAPGui)) I do not know how to catch it and handle it my way. In this case show to web dynpro message area.
Is it even possible or should I change the way report is submitted? Condition is that result will be put to memory.
Thanks
Every little help will appreciated.
Martin

CALL FUNCTION 'JOB_OPEN'
    EXPORTING
      jobname          = v_name
    IMPORTING
      jobcount         = v_number.
  IF sy-subrc EQ 0.
SUBMIT rm06ibi0 WITH ds_name = c_logfile
                    AND RETURN.
SUBMIT rsbdcsub VIA JOB v_name NUMBER v_number
                    WITH mappe = v_name
                    WITH z_verarb = c_x
                    WITH fehler = space
                    TO SAP-SPOOL
                    SPOOL PARAMETERS v_print_parameters
                    WITHOUT SPOOL DYNPRO
                    USER lc_p2p_batch
                    AND RETURN.
IF sy-subrc EQ 0.
CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = v_number
          jobname              = v_name
          strtimmed            = c_x.
      IF sy-subrc <> 0.
        MESSAGE s000 WITH text-001.
      ENDIF.
    ENDIF.
  ENDIF.
*--To check the status of background job if completed or not
  DO 100 TIMES.
    CALL FUNCTION 'BDC_OBJECT_SELECT'
      EXPORTING
        name      = lv_name
        datatype  = 'BDC'
        client    = sy-mandt
        date_from = sy-datum
      TABLES
        apqitab   = lt_apqi.
    SORT lt_apqi BY credate DESCENDING cretime DESCENDING.
    READ TABLE lt_apqi INTO lx_apqi INDEX 1.
    IF sy-subrc EQ 0.
      IF lx_apqi-qstate EQ c_qstate_f " processing completed
        OR lx_apqi-qstate EQ c_qstate_e." processing ended in error
        EXIT.
      ELSE. " still processing
        WAIT UP TO 5 SECONDS.
      ENDIF.
    ENDIF.
  ENDDO.
  COMMIT WORK.
TYPES: BEGIN OF ty_apql,
            temseid     TYPE rstsoname,
            credate TYPE apq_crda,
            cretime TYPE apq_crti,
        END OF ty_apql.
  CONSTANTS: lc_asc TYPE char3  VALUE 'ASC',
             lc_mes TYPE char10 VALUE 'LV_MESSAGE'.
  FIELD-SYMBOLS: <lfs_var> TYPE ANY.
  DATA: lt_apql     TYPE STANDARD TABLE OF ty_apql,
        lx_apql     TYPE ty_apql,
        lx_logfile  TYPE btctle,
        lv_charco   TYPE cpcodepage VALUE '0000',
        lv_number   TYPE symsgno,
        lv_message1 TYPE symsgv,
        lv_message2 TYPE symsgv,
        lv_message3 TYPE symsgv,
        lv_message4 TYPE symsgv,
        lv_mlen     TYPE i,
        lv_var      TYPE char11,
        lv_index    TYPE n,
        lx_bdclm    TYPE bdclm.
  DATA: lt_bdclm TYPE STANDARD TABLE OF bdclm.
  CLEAR  t_logfile.
  SELECT temseid
         credate
         cretime
    FROM apql
    INTO TABLE lt_apql
    WHERE mandant EQ sy-mandt
      AND credate EQ sy-datum
      AND groupid EQ v_name.
  CHECK sy-subrc EQ 0.
  SORT lt_apql BY credate DESCENDING
                  cretime DESCENDING.
  READ TABLE lt_apql INTO lx_apql INDEX c_one.
  CHECK sy-subrc EQ 0.
  CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
    EXPORTING
      authority = ' '
      client    = sy-mandt
      name      = lx_apql-temseid
    IMPORTING
      charco    = lv_charco.
  IF cl_abap_char_utilities=>charsize > 1.
    lv_charco = '0000'.
  ENDIF.
  CALL FUNCTION 'RSTS_OPEN_RLC'
    EXPORTING
      name           = lx_apql-temseid
      client         = sy-mandt
      authority      = 'BATCH'
      prom           = 'I'
      rectyp         = 'VNL----'
      charco         = lv_charco
    EXCEPTIONS
      fb_call_handle = 4
      fb_error       = 8
      fb_rsts_noconv = 12
      fb_rsts_other  = 16
      no_object      = 20
      OTHERS         = 24.
  IF sy-subrc NE 0.
    EXIT.
  ENDIF.
  CALL FUNCTION 'RSTS_READ'
    TABLES
      datatab        = t_logfile
    EXCEPTIONS
      fb_call_handle = 4
      fb_error       = 8
      fb_rsts_noconv = 12
      fb_rsts_other  = 16
      OTHERS         = 16.
  IF sy-subrc NE 0.
    EXIT.
  ENDIF.
  CALL FUNCTION 'RSTS_CLOSE'
    EXCEPTIONS
      OTHERS = 4.
  IF sy-subrc NE 0.
    EXIT.
  ENDIF.
  LOOP AT t_logfile INTO lx_logfile.
    lx_bdclm = lx_logfile.
    APPEND lx_bdclm TO lt_bdclm.
    CLEAR lx_bdclm.
  ENDLOOP.
  LOOP AT lt_bdclm INTO lx_bdclm WHERE mart NE c_warning.
    CLEAR: lv_message1, lv_message2, lv_message3, lv_message4.
    IF lx_bdclm-mparcnt > 0.
      DO.
        lv_mlen = lx_bdclm-mpar+0(2).
        lx_bdclm-mpar = lx_bdclm-mpar+2.
        lv_index = sy-index.
        CONCATENATE lc_mes lv_index INTO lv_var.
        ASSIGN (lv_var) TO <lfs_var>.
        IF lv_mlen GT 0.
          <lfs_var> = lx_bdclm-mpar+0(lv_mlen).
        ELSE.
          <lfs_var> = lx_bdclm-mpar.
        ENDIF.
        lx_bdclm-mpar = lx_bdclm-mpar+lv_mlen.
        IF sy-index >= lx_bdclm-mparcnt.
          EXIT.
        ENDIF.
      ENDDO.
    ENDIF.
    IF lv_message2 = '000000000000'.
      lv_message2 = ' '.
    ENDIF.
    IF lv_message3 = '0000000000'.
      lv_message3  = ' '.
    ENDIF.
    IF lv_message4 = '0000000'.
      lv_message4  = ' '.
    ENDIF.
    lv_number = lx_bdclm-mnr.
    CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'
      EXPORTING
        id         = lx_bdclm-mid
        number     = lv_number
        language   = sy-langu
        textformat = lc_asc
        message_v1 = lv_message1
        message_v2 = lv_message2
        message_v3 = lv_message3
        message_v4 = lv_message4
      IMPORTING
        message    = x_session-message.
    IF lx_bdclm-tcnt <> space .
      x_session-zlineno = lx_bdclm-tcnt + 2 .
    ELSE.
      x_session-zlineno = ' '.
    ENDIF.
    APPEND x_session TO t_session.
    CLEAR x_session.
  ENDLOOP.
Edited by: Rahul Babukuttan on Mar 22, 2011 6:37 AM
Edited by: Rahul Babukuttan on Mar 22, 2011 6:39 AM

Similar Messages

  • Getting "The product key is not valid. INS00140" error during Crystal Report 2013 installation

    We are getting “The product key is not valid. INS00140” error during Crystal Report 2013 installation. We are trying to install crystal report on Windows 7 64 bit OS.
    Can anyone help?

    What is CrystalReportsJava-2013? Where did this come from - download link? CD?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
      Follow us on Twitter

  • Error During view report

    Migrating from HP(FORMS/WEB) to Win-2000 box.I am getting this error during view any report/log file through application. Need Help.
    App-FND-01632 : Cann't open file "/u09/logdir/concr.mgr"
    Cause :[Routine] encountered an error when attempting to open file.
    Thanks
    GCS

    Couple of things you can check to isolate the prb
    Run the detail report individually w/o navigating from the summary report
    Also make sure if your summary report runs well as such.
    As long as they run indivdually and you not even passing filters ideally it shouldnt cause any issue... Does it generate a SQL?
    Thanks
    Prash

  • Error during J1INCHLN report

    Dear All
    At the time of executing the report J1INCHLN (Create remittance challan)  with Section 194A i am getting the
    error message
    "Number group not maintained for CO code 1000 section  and business place 194A"
    Message no. 8I704
    earliest help is appreciated.
    With regards
    VG

    Viral,
    I am too facing same issue all the config setting are maintained properly still facing problem.
    When I am posting vendor challan in "J1INCHLN-Post" getting below erro
    "Number group not maintained for CO code IN07 section IN07 and business place 194I"
    I have checked setting I have maintained number ranges, but not find reason for peculiar error.
    Please provide the solution and let me know where I am missing.
    Could you please let me know your workaround the issue.When I am posting vendor challan in "J1INCHLN-Post" getting below erro
    "Number group not maintained for CO code IN07 section IN07 and business place 194I"
    I have checked setting I have maintained number ranges, but not find reason for peculiar error.
    Please provide the solution and let me know where I am missing.
    Regards,
    Krishna

  • Getting error while generating report from Siebel (Siebel/BI Publisher)

    Dear,
    I have completed the integration of siebel and BIP according to the oracle document, I successfully upload the sample template from siebel application to BIP server.
    But now I am facing two issues,
    I am getting error "Unauthorized access, Please contact the administrator."  when I open report on BIP which I have uploaded from siebel.
    When I try to generate report from siebel=>application=>Tables=>S_Contact I am getting the below error when click on table report from Report button.
    (httptransport.cpp (1635)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 500'
    (httptransport.cpp (983)) SBL-EAI-04117: HTTP Request error during 'Submitting Data Send HTTP request': 'Status code - 500'
    (soapbinding.cpp (675)) SBL-EAI-04304: Unknown Part ':oracle.xdo.webservice.exception.InvalidParametersException'  for operation 'runReport' exists in SOAP message.
    (outdisp.cpp (247)) SBL-EAI-04308: Operation 'runReport' of Web Service 'http://xmlns.oracle.com/oxp/service/PublicReportService.PublicReportServiceService' at port 'PublicReportService' failed with the following explanation: "oracle.xdo.webservice.
    Invalid User Name and Password for BIP Server
    (xmlpadaptersvc.cpp (2287)) SBL-RPT-50529: Verify BI Publisher Server Userid and Password.
    Error in generating Report Output file /siebel8/sea81/siebsrvr/siebel8/sea81/siebsrvr/xmlp/reports/Rept11-3U7M403.PDF in the XMLP Engine
    (xmlpadaptersvc.cpp (2983)) SBL-RPT-50524: BI Publisher engine failed to generate report.
    Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    ( (0) err=2818155 sys=9815388) SBL-OMS-00107: Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    (bsvcmgr.cpp (1392) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    (bsvcmgr.cpp (1236) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    (smireq.cpp (425) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    Please help to resolve this issue.
    Regards,
    Soahil

    This specifically means that the destinations have not been configured in the Crystal Job Server.  If you're running 4.x, this may be part of the "Adaptive Job Server" instead of or in addition to a Crystal Job Server.  If you're using 3.1 or earlier, you'll also have to set up the destination in the Destination Job Server.
    You'll have to log in to the CMC, go to Servers, right-click on the correct job server and go to "Destinations".  You'll then add something like "File" or "Unmanaged Disk" to the available destinations and save.  Stop the job server, start it again, and your error should go away.
    Please be aware that unless you're using specific credentials to schedule the report or you're saving to the server where BO is installed, you'll need to make sure that the BO services are running under a network "Services" account that has access to the folder you're scheduling the report to. By default during installation it's set to run under the "Local Services" account that doesn't have access to the network.
    -Dell

  • Execution of Reports phase error during SAP EHP4 upgrade with EHPi

    I started getting an error message in the "Execution of reports after put" phase
    (within the Downtime phase) during the SAP EHP4 upgrade with Enhancement
    Package Installer.
    ***** LIST OF ERRORS
    AND RETURN CODES *****
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~XPRA ERRORS and RETURN CODE in SAPRB70104.OPQ
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1AETR012XProgram terminated (job: "RDDEXECL", no.: "09064300") Long
    text: Cause Program "&V#&", which was started in the background, was
    terminated abnormally. System Response The system created a job log for
    the terminated program. What to do Proceed as follows: Log onto the
    system in which the program was executed. The system is specified at the
    beginning of the transport log. Then call transaction SM37 to display the
    job log. Enter "&V#&" as job name and "DDIC" as user name. Restrict the
    starting date to the starting date specified in the transport log. For
    the other selection criteria, select only jobs with the status
    "cancelled". Then press <LS>Execute</>. A list of the jobs satisfying the
    selection criteria is displayed. You can display the log by pressing
    <LS>Job log</>. If the list contains several jobs, you can select the job
    with the ID " &V#&" with <LS>Display</> -> <LS>Job details</> or define
    further details for the selection criteria in the initial screen of
    transaction SM37. If the ABAP processor reports cancellation,
    double-clicking on the corresponding message in the job log branches to
    the display of the corresponding short dump. 1AEPU320 See job
    log"RDDEXECL""09064300""OPQ" 1 ETP111 exit code : "12" >>> PLEASE READTHE REPORT DOCUMENTATION OF THE REPORTS MENTIONED ABOVE <<< XPRAs are
    application reports that run at the end of an upgrade.
    Most XPRA reportshave a report documentation that explains what the report does and how
    errors can be corrected. Call transaction se38 in the SAP system, enter
    the report name, select 'Documentation' and click the 'Display' button.
    >>> The problematic XPRAs are mentioned in messages of type PU132 above
    <<<
    I tried to follow the instructions in note 1269960, but the enhancement spot
    CLASSIFICATION_TOOL was already active. I activated it again and reran the phase
    but got the same error. Also, I couldn't implement the note using SNOTE because it is
    the middle of the upgrade process.
    I also found the following long text in ST22
    "Internal error during syntax check: ("//bas/710_REL/src/krn/gen/scsymb.c#11"
    Processing had to be terminated because an internal error
    occurred when generating the ABAP/4 program
    "CL_CLS_BADI_CHARACTERIZATION==CP".
    The internal system error cannot be fixed by ABAP means only."
    I am on a 64 bit System with CentOS Linux. 8 GB RAM, 250 GB HD with 20 GB free space.
    So far, I could not find any information on this. Any help would be greatly appreciated!
    Thanks,
    Victor

    Hi Victor,
    Go to SM37 and put in the username as DDIC and see the job log.
    Also check  Sm50 and see whether you have BTC processes available.
    Last but not the least check your filesystem space  usage too.
    Gerard

  • Errors while submitting the SQL * Plus  Report

    I am getting th efollowing Error while submitting the Concurrent request to run a report.
    FND_CANNOT FIND FILE
    concurrent manager encountered an error while running sql * plus for yours concurrent request
    Please respond ASAP

    Hi,
    Duplicate post see:
    Please advise on the Error immediately
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • An error occurred during local report processing.The definition of the report '' is invalid.The definition of this report is not valid or supported by this version of Reporting Services. he report definition may have been created with a later version of R

    Hi,
    I am trying to create rdlc file programmatically. Using Memory Table as dataset. Here is my code
    ' For each field in the resultset, add the name to an array listDim m_fields AsArrayList
      m_fields = NewArrayList()
      Dim i AsIntegerFor i = 0 To tbdataset.Tables(0).Columns.Count - 1
          m_fields.Add(tbdataset.Tables(0).Columns(i).ColumnName.ToString)
      Next i
      'Create Report 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' Open a new RDL file stream for writingDim stream AsFileStream
      stream = File.OpenWrite("D:\MyTestReport2.rdlc")
      Dim writer AsNewXmlTextWriter(stream, Encoding.UTF8)
      ' Causes child elements to be indented
      writer.Formatting = Formatting.Indented
      ' Report element
      writer.WriteProcessingInstruction("xml", "version=""1.0"" encoding=""utf-8""")
      writer.WriteStartElement("Report")
      writer.WriteAttributeString("xmlns", Nothing, "http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition")
      writer.WriteAttributeString("xmlns:rd", "http://schemas.microsoft.com/SQLServer/reporting/reportdesigner")
      writer.WriteStartElement("ReportSections")
      writer.WriteStartElement("ReportSection")
      writer.WriteElementString("Width", "11in")
      writer.WriteStartElement("Body")
      writer.WriteElementString("Height", "5in")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Tablix")
      writer.WriteAttributeString("Name", Nothing, "Tablix1")
      writer.WriteElementString("Top", ".5in")
      writer.WriteElementString("Left", ".5in")
      writer.WriteElementString("Height", ".5in")
      writer.WriteElementString("Width", (m_fields.Count * 1.5).ToString() + "in")
      writer.WriteStartElement("TablixBody")
      ' Tablix Columns
      writer.WriteStartElement("TablixColumns")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixColumn")
          writer.WriteElementString("Width", "1.5in")
          writer.WriteEndElement() ' TableColumnNext fieldName
      writer.WriteEndElement() ' TablixColumns' Header Row
      writer.WriteStartElement("TablixRows")
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, "Header" + fieldName)
          ' writer.WriteAttributeString("CanGrow",  True)' writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          writer.WriteElementString("Value", fieldName)
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow'writer.WriteEndElement() ' TablixRows          Do not close Rows tag here colse it after details'End of Headers'Details Rows'writer.WriteStartElement("TablixRows")         Since Rows tag in header is not closed not need to open fresh tag
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          '  writer.WriteAttributeString("CanGrow", True)'  writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          'writer.WriteElementString("Value", fieldName)
          writer.WriteElementString("Value", "=Fields!" + fieldName + ".Value")
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow
      writer.WriteEndElement() ' TablixRows'End of Details Rows
      writer.WriteEndElement() ' TablixBody
      writer.WriteStartElement("TablixRowHierarchy")
      writer.WriteStartElement("TablixMembers")
      writer.WriteStartElement("TablixMember")
      ' Group
      writer.WriteElementString("KeepWithGroup", "After")
      writer.WriteEndElement() ' TablixMember' Detail Group
      writer.WriteStartElement("TablixMember")
      writer.WriteStartElement("Group")
      writer.WriteAttributeString("Name", Nothing, "Details")
      writer.WriteEndElement() ' Group
      writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixRowHierarchy
      writer.WriteStartElement("TablixColumnHierarchy")
      writer.WriteStartElement("TablixMembers")
      'writer.WriteStartElement("TablixMember")ForEach fieldName In m_fields
          writer.WriteStartElement("TablixMember")
          writer.WriteEndElement() ' TablixMemberNext' writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixColumnHierarchy
      writer.WriteElementString("DataSetName", "tbdataset")
      writer.WriteEndElement() ' Tablix
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' Body
      writer.WriteStartElement("Page")
      ' Page Header Element
      writer.WriteStartElement("PageHeader")
      writer.WriteElementString("Height", "1.40cm")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Textbox")
      writer.WriteAttributeString("Name", Nothing, "Textbox1")
      writer.WriteStartElement("Paragraphs")
      writer.WriteStartElement("Paragraph")
      writer.WriteStartElement("TextRuns")
      writer.WriteStartElement("TextRun")
      writer.WriteElementString("Value", Nothing, "ABC CHS.")
      writer.WriteEndElement() ' TextRun
      writer.WriteEndElement() ' TextRuns
      writer.WriteEndElement() ' Paragraph
      writer.WriteEndElement() ' Paragraphs
      writer.WriteEndElement() ' TextBox
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' PageHeader
      writer.WriteEndElement() ' Page
      writer.WriteEndElement() ' ReportSection
      writer.WriteEndElement() ' ReportSections' DataSources
      writer.WriteStartElement("DataSources")
      writer.WriteStartElement("DataSource")
      writer.WriteAttributeString("Name", Nothing, "tbdata")
      writer.WriteStartElement("DataSourceReference")
      writer.WriteEndElement() ' DataSourceReference
      writer.WriteEndElement() ' DataSource
      writer.WriteEndElement() ' DataSources'DataSet
      writer.WriteStartElement("DataSets")
      writer.WriteStartElement("DataSet")
      writer.WriteAttributeString("Name", Nothing, "tbdataset")
      writer.WriteStartElement("Query")
      writer.WriteElementString("DataSourceName", Nothing, "tbdata")
      'writer.WriteElementString("CommandText", Nothing, "/* Local Query */")
      writer.WriteElementString("CommandText", Nothing, "TableDirect")
      writer.WriteEndElement() ' Query'Fields
      writer.WriteStartElement("Fields")
      ForEach fieldName In m_fields
          writer.WriteStartElement("Field")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          writer.WriteElementString("DataField", fieldName)
          writer.WriteElementString("rd:TypeName", fieldName.GetType.ToString)
          writer.WriteEndElement() ' FieldNext
      writer.WriteEndElement() ' Fields' rd datasetinfo
      writer.WriteEndElement() ' DataSet
      writer.WriteEndElement() ' DataSets
      writer.WriteEndElement() ' Report' Flush the writer and close the stream
      writer.Flush()
      stream.Close()
      'Convert to StreamDim myByteArray AsByte() = System.Text.Encoding.UTF8.GetBytes("D:\MyTestReport2.rdlc")
      Dim ms AsNewMemoryStream(myByteArray)
      'Supply Stream to ReportViewer
      ReportViewer1.LocalReport.LoadReportDefinition(ms)
      ReportViewer1.LocalReport.Refresh()When I open rdlc in designer I get following error"Data at the root level is invalid."When I run the aspx I get following error
    An error occurred during local report processing.
    The definition of the report '' is invalid.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas.
    Details: Data at the root level is invalid. Line 1, position 1.
    Can anybody guide me?

    Hi Wendy Fu,
    Thanks for your feed back. I could see Microsoft.ReportViewer.ProcessingObjectModel.dll to add as reference to my project. Actually I can open generated rdlc in designer, at run time I get error. I could not make out where is the exact mistake out of three
    options flashed.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services
    or contain content that is not well-formed or not valid based on Reporting Services schemas
    Details: Data at the root level is invalid
    My web config has following references
    <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    May be I have to change these versions to 9 or 10.
    First I will try adding Microsoft.ReportViewer.ProcessingObjectModel.dll .
    Once thanks for your reply.
    Races

  • Oracle Collaborate Suite ORA-6502 error during loging or form submitting

    Hi!
    I had Oracle Collaborate Suite ORA-6502 error during loging or form submitting:
    Internal error (WWC-00006)
    An unexpected error has occurred (WWS-32100)
    ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
    Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417)
    Error (WWS-20000)
    An unexpected error has occurred (WWS-32100)
    ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
    Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417).
    This happened when:
    I was using Russian letters in OCS HTML forms (for example - in Administration provision console or in my own HTML forms)
    and only I work in Linux (with UTF-8 encoding) (in Windows with win1251 encoding all is OK).
    My Database NLS not-null Parameters are:
    NLS_LANGUAGE      - AMERICAN
    NLS_LENGTH_SEMANTICS      - BYTE
    NLS_TERRITORY      - AMERICA
    NLS_CHARACTERSET - AL32UTF8
    NLS_NCHAR_CHARACTERSET - AL16UTF16
    WHAT MUST I DO TO AVOID THIS SITUATION?
    Thank
    Valery

    All,
    It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
    Again, the run error only occurred when the page was loaded in "Debug" mode.
    Bernard

  • Error During Activation while activating Report Selection Texts

    Hi,
         I've developed a report and the Transport Request for the Report has been migrated to Quality and Production Systems. Now, I have to make some more changes where I had to create another request.
    Now, while activating the Selection Texts for the Report under the New Transport Request, it gives me an error message saying "Error During Activation". Could somebody tell me the reason and resolution for this error?
    Thanks and Regards,
    Venkat

    Hi ,
    Try activating it through se80 , as it activates the complete object .
    In inactive head , with your user id see all the inactive object , may be there you can find the program , or the texts . Activate and see.
    Regards,
    Sureshp.

  • An error occured during local report processing

    Hi Experts,
    I developed a report and was trying to preview the report on BIDS(2012). I keep getting the following error
         an error occurred during local report processing
         an error has occurred during report processing
    I deployed and viewed it on report manager. It is just the preview that is not working for me.
    why would that possibly happen?
    Regards,
    ebro

    Hi ebro,
    Based on your description, you can deploy and view the report in report server. The issue is only occurred when you preview the report in BIDS. The issue may be relate to BIDS. Please try to recreate the datasource in the report to troubleshooting the issue.
    There is a similar issue, please refer to it.
    http://social.msdn.microsoft.com/Forums/en-US/da0abd5d-1666-4332-9574-08f788dbc235/reporting-services-preview-failure?forum=sqlreportingservices
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Error during reports installation

    Hello,
    I am attempting to install the reports role onto a server (SQL01) for operations manager.  The current setup is as follows:
    Single server: "SCOM01" with all roles other than reporting.
    Single server "SQL01" with the SQL database and datawarehouse.
    SQL01 has a fresh and working reporting services instance setup and configured.  I can open it from both servers.  There are no firewalls turned on and both servers are in the same subnet/network.  All the pre-requisite checks pass but when I
    get to the step during the reports deployment where you enter the data reader account I receive the error.
    "Setup could not connect to the SDK to retrieve the necessary information to validate this account."  I have tried multiple different account including the already configured data reader account.  I have tried giving it domain admin permissions. 
    I have even installed the SCOM console on the SQL server to check it opens and works correctly from that server and it does.  Does anyone have any ideas/pointers?

    Hi,
    First, I suggest you refer to the following document to check the steps again.
    http://technet.microsoft.com/en-us/library/hh298611.aspx
    If the issue persists, please check if there is error "Could not validate the specified account because the SQL Server Instance was null" in the OpsMgrSetupWizard.log. It indicates the SCOM configuration is incorrect in the OperationsManager database warehouse.
    Niki Han
    TechNet Community Support

  • HT201272 I purchased the August 2012 edition of Consumer Reports and I get an (Error During Download Cannot start the download because the file is missing or invalid)

    I purchased the August 2012 Edition of Consumer Reports and I get (Error During Download Cannot start the download because the file is missing of invalid)

    Contact support and see if they cna give you a fresh copy. It's probably with the file..

  • Errors : XL Reporter - During generate Report

    Hi All,
    I am facing below errors during generate the reports(Indian Legal Reports i.e. Country Specific Contents)
    Before opening the excel sheet its giving me errors:
    An error occured during the process "Report Initialize"
    Description : 666 Unable to get document
    Type : 222
    Cause : Automation Error
    XL Reporter Startup failed.
    After clicking OK of this error , report opens but there is no data coming in Excel Sheets only the binding of the fields is showing and as i close the excel report, again have the error:
    Error '91':
    Object varaible or with block variable not set.
    Regards,
    Anuj Singh

    Hi,
    Ladoslav is right,
    666 error  releated to .net framework.
    for detais pls go through the details of SP Note .
    For accessing this note u have login id and pwd on Service.sap.com .
    Summary
    for your convienece details Copied from SAP Note are as:
    Symptom
    When trying to run a report or opening a report definition in Excel you get an error message:
    'An error occurred during the process "Report Initialize", Description: (666) Error! Unable to get document! Type: 22
    Cause: Automation Error
    XL Reporter startup failed!'
    Type can vary between 22 and 18. Then Excel starts, but without the report definition or report and when closing Excel you get a second error message:
    'Run-time error `91`:
    Object variable or With block variable not set'
    The run-time error can vary between 91 and 380.
    Other terms
    user, XLR, SBO, Addon, Add-on, Report Designer, runtime, citrix, terminal server, dotnet, SAP Business One, Excel, .NET
    Reason and Prerequisites
    Prerequisites:
    .NET Framework 2.0.
    The user is not member of the Administrators group.
    This is a problem in .NET 2.0. The reason is that there is a "shim database" in the registry that the runtime reads to determine if an application that is about to load the runtime via COM interop really needs an earlier vesion instead. XL Reporter uses .NET 1.1 to run.
    The problem is that the runtime is incorrectly asking for read/write permission to these reg keys rather than the read access it needs and so if you try to load managed code via com interop in a process that does not have administrator privilages you will get this behaviour.
    Solution
    Solution
    Download the attached file and unzip the .config file to ..\Program Files\Microsoft Office\OFFICE12 for Excel 2007 or ..\OFFICE11 for Excel 2003 or ..\OFFICE10 for Excel 2002 on the clients with .NET 2.0 installed.
    This .config file tells the Excel.exe to use .NET 1.1 to run.
    Header Data
    Release Status: 
    Released on: 27.08.2008  10:41:46
    Master Language: Angol
    Priority: 
    Category: 
    Primary Component: SBO-ADD-XLR 
    Affected Releases
    Rgds,
    Premraj
    Edited by: PremRaj kaushik on Mar 26, 2009 6:47 AM

  • Error during print request output. l_rc = 1

    Hi ,
    I have a request to create on ouput device which can copy the spool request to desired location in application server. Our server is not connected to any physical server and is windows NT.
    I am tring to create ACCESS TYPE 'L' with host printer name '__default'.
    I am using control set to copy file at desired location on server
    COPY &F <path for file to be copied>&T
    File is being copied to desired location but its returing error message "Error during print request output. l_rc = 1"
    Complete log is below:
          SAP spool error log                                                                   
          =====================                                                                               
    Print request processing log                                                                               
    The host spool is reporting errors                                                                               
    Message from host spool:                                                                               
    1 file(s) copied.                                                                 
    End of message                                                                               
    Command used: COPY E:\usr\sap\D06\DVEBMGS00\data\000002934300001.D06 E:\interface\D06\                                                                               
    Errors occurred processing this print request                                                                               
    Error during print request output. l_rc = 1                                                 
    There may be no printout                                                                               
    Most important attributes of spool request                                                                               
    Request number 29343                                                                               
    Request name SCRIPT ZRAJ BASISADMIN                                                         
    Client 220                                                                               
    Owner BASISADMIN                                                                            
    Request attributes                                                                          
    Time created   2008102906203900                                                             
    Remaining life  +00008000000                                                                
    Dispo 1 (Go/Hold) G                                                                         
    Dispo 2 (Keep/Delete)     K                                                                 
    Dispo 3 (Indirect/Direct) D                                                                 
    Default output device ZRAJ                                                                  
    Default no. copies  1                                                                       
    Format X_PAPER                                                                               
    Main print request characteristics                                                                               
    Spool request number 29343                                                                  
    Print request number 1                                                                      
    Print request attributes                                                                    
    Time created   2008102906203900                                                             
    Output device ZRAJ                                                                          
    Format X_PAPER                                                                               
    Character converter active when first problem occurred                                                                               
    No information available                                                                               
    Pls help.
    Regards
    Raj Kiran

    If you have done a search with your subject line, you would have got the following [results.|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=%22errorduringprintrequestoutput.l_rc%3D1%22&cat=sdn_all]
    so do a search in SCN before posting your question.
    Regards
    Karthik D

Maybe you are looking for

  • Best Buy moved delivery date by 20 days only 18 hours before originally scheduled delivery

    I purchased a Samsung gas range/convection oven on December 3, 2014.  Delivery was scheduled for December 30, 2014.  On December 29th, at 12:05 p.m. CST, a mere 18 hours before scheduled delivery, Best Buy emailed me to alert me that the delivery had

  • HAT giving exceprion while analysis hprof file

    HI all, I am running weblogic 6.1.5 with the following java option for hprof -Xrunhprof:heap=sites,cpu=samples,file=java.hprof,format=b,depth=5,thread=y,doe=y This generates the java.hprf fole when ever I use the kill -3 command... NOw when I try to

  • Punctuation jumps my cursor in Apple Mail

    Whenever I create an email in Apple Mail, if I put in a single or a double quotation mark, it moves the cursor down one line.  It doesn't make a hard return just dumps it down to the beginning of the next line.  Every contraction jumps the cursor and

  • WebVPN dosen't work after a Windows 7 update.

    Hi Today a costumer called me with a strange problem After a Widows 7 update two days ago all their WebVPN users could not log on. The web browser comes with a popup with the message: This web location wants to install the following add-on: "Cisco Po

  • What is Nucleus and how it's work in ATG FW?

    Hi All, Now i'm learning ATG FW, any one could you explain about Nucleus and component?