CALL FUNCTION SEND ERROR when displaying attendance report in PDF format.

We implemented SSO/webgui.  The users did not have any issues with printing reports from SAPGUI.  In webgui, however, we had to define a Local PDF1 printer, per SAP Note  771683.  When users prints this report, it is generating 1-5 CALL_FUNCTION_SEND_ERROR.  We have Central Instance and 5 additional instances on 3 app servers.  Sometimes it generates 1 dumps, sometimes 2, etc.  The dump do not occurred on the instances you are logged into. The dump contains the following:
ShrtText                                                      
    " " (I/O error)                                           
What happened?                                                
    "CPIC-CALL: 'ThCMSEND'#connection closed#"                                                                               
An error occurred when executing a Remote Function Call.    
Error analysis                                                           
    An error occurred when executing a Remote Function Call.                                                                               
"CPIC-CALL: 'ThCMSEND'#connection closed#"                                                                               
Status of connection.... "CODE=CM_DEALLOCATED_NORMAL CM_SEND_RECEIVED
     CM_COMPLETE_DATA_RECEIVED SAPCODE=0 CONV=04892091"                  
    Internal error code.... "RFC_IO5"                                                                               
There is an error in the communication system. To clarify            
    and resolve the error, contact your system administrator.                                                                               
Transaktion......... " "                                                    
  Programm............ "SAPLSICM"                                             
  Dynpro.............. "SAPMSSY1 3004"                                        
  Dynprozeile......... 2                                                                               
Informationen zum Aufrufer des Remote Function Calls (RFC):                 
  System.............. "HRP"                                                  
  Datenbank-Release... 640                                                    
  Kernel-Release...... 640                                                    
  Verbindungstyp...... 3 (2 = R/2, 3 = R/3, E = Extern, R = Reg. Extern)      
  Aufrufsart.......... "asynchron with reply (imode 0)" (S = Synchron, a/A =  
   Asynchron, T = Transakt. )                                                 
  Mandant............. 600                                                    
  Benutzer............ "CG1981"                                               
  Transaktion......... " (Program: SAPLSICM)"                                 
  Funktionsbaustein... "ICM_CACHE_UPLOAD"     
Information on where terminated                                                                  
    The termination occurred in the ABAP program "SAPLSICM" in "ICM_CACHE_UPLOAD".               
    The main program was "SAPMSSY1 ".                                                                               
The termination occurred in line 18 of the source code of the (Include)                      
     program "LSICMV11"                                                                               
of the source code of program "LSICMV11" (when calling the editor 180).                      
Source Code Extract                                                                               
Line  SourceCde                                                                               
1 *******************************************************************                        
    2 *   THIS FILE IS GENERATED BY THE FUNCTION LIBRARY               **                        
    3 *   NEVER CHANGE IT MANUALLY, PLEASE!                            **                        
    4 *******************************************************************                        
    5 FORM ICM_CACHE_UPLOAD %_RFC.                                                               
    6 * Parameter declaration                                                                    
    7 DATA URL TYPE                                                                               
8 ICMURL                                                                               
9 .                                                                               
10 DATA DATA TYPE                                                                               
11 ICMDATA                                                                               
12 .                                                                               
13 DATA GLOBAL LIKE                                                                               
14 SY-INDEX                                                                               
15 .                                                                               
16 * Assign default values                                                                    
   17 * Call remote function                                                                     
>>>>>   CALL FUNCTION 'ICM_CACHE_UPLOAD' %_RFC                                                   
   19      EXPORTING 
  20        URL = URL      
  21        DATA = DATA    
  22        GLOBAL = GLOBAL
  23   .                   
  24 ENDFORM.                                                                               
We are on ERP 2004, kernel level 156, and Basis SP18.  I have Adobe Reader 8.
Our CI Service Port is 8009.
I have not seen any posting if there is a PDF limitation, e.g., width limitation, report contains rows highlighted in various colors.

Dear Elaine,
check notes
<a href="https://service.sap.com/sap/support/notes/764734">764734</a>
<a href="https://service.sap.com/sap/support/notes/688372">688372</a>
or you might want to try to comment out line 118 of the function module
ICM_CACHE_UPLOAD which reads like this
PERFORMING RECEIVE_DATA_UPLOAD ON END OF TASK
If this does not solve the problem, give a detailed description on how to reproduce the dump and put that into an error message with SAP. It should go to BC-CST-IC.
Best Regards,
Tim

Similar Messages

  • Analytics: Error msg while downlodaing report in PDF format.

    Sax parser returned an exception. Message: Expected an element name, Entity publicId: , Entity systemId: , Line number: 93, Column number: 56
    Error Details
    Error Codes: UH6MBRBC
    Please let me know, how to overcome this issue..

    Hello Andrea.
    I searched through the SAP Notes for the error that you are encountering.  There is an SAP Note that exists titled the following:
    1332907 - Report being exported to PDF format using the Crystal Reports for Eclipse 1.x runtime, errors with the exception: PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob
    Since you may not have access to the SAP Notes, I will extract the details that are mentioned in the note here:
    =============================================
    Symptom
    Attempting to export a report to Adobe PDF format using the Crystal Reports for Eclipse 1.x runtime results in an exception.
    The exception indicates "PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob"
    Environment
    Windows 2003
    Apache Tomcat 5.0
    Crystal Reports for Eclipse version 1.x
    Reproducing the Issue
    Using the Crystal Reports for Eclipse runtime version 1.x attempt to export a report to PDF format that has the "Repeat Group Header on Each Page" option enabled.
    Note: This does not occur if this option is enabled in a subreport.
    Cause
    When the "Repeat Group Header on Each Page" is enabled for a group in a main report the Crystal Reports for Eclipse 1.x runtime is unable to correclty format the PDF document which results in an exception.
    Resolution
    Updating the application to use Crystal Reports for Eclipse version 2.x runtime will resolve the issue.
    The most recent updates to the Crystal Reports for Eclipse runtime can be freely downloaded from the SAP SDN Website. 
    http://www.sdn.sap.com/irj/boc/crystalreports-java
    =============================================
    Since you are on JRC 11.8.4.1094 which is Crystal Reports for Eclipse 1.x, this may be the cause of your problem.
    I hope that this helps.
    Regards.
    - Robert

  • Formatting error when displaying OSS note w/PDF

    While searching & displaying OSS notes, I click the PDF button to print or download the note.  I then get a message "An error occurred when formatting the SAP note.".  Has anyone seen this and have suggestions for correcting it?  My colleague is able to bring the note up in PDF format just fine, so it's something unique to my PC or Adobe reader.

    I've seen this last week too - no matter what PC I was using.
    If it doesn't work after a while I'd open an OSS call
    Markus

  • REP-57000 Error When Generating a Report in EXCEL format

    Hello All,
    We're encountering an error that says "REP-57000: Oracle Reports API - Internal error: Item: oracle.reports.definition.RWReport;Prop:34; Attr: ]] ...".
    The report works fine and is able to generate an EXCEL file when it retrieves around 3K records. We only encounter the error when the number of records exceeds 5K.
    What is the cause of the error? Additional note, we're using Oracle Reports Server ver.10.1.2.0.2.
    Any help would be greatly appeciated. =)

    In the reports engine conf file (Example on UAT -> rep_lonshutl5n2_10gr2_forms_reports_service.conf) add JVM Heap Options
    jvmOptions="-Xms512m -Xmx512m"
    First option is the minimum heap size and second is maximum. The size is in MB and max size can go up to 4000 depending on physical/virtual memory available on Operating System.
    Change this Value from 512-2000 and try running your report
    In case this doesn't solve your problem, change your output Format to DELIMITEDDATA and try running the reports. There is a bug in Oracle that it doesn't support large excel outputs in DELIMITED format.

  • "Rep-0999 Unimplemented Error" while converting a report to PDF format...

    i have developed a number of complex reports with several queries and formula objects, all running successfully and converting to other formats accuratelly.
    i have report of Accounts Receivables, a complex one, running near about 10 queries and 7 formula column database functions to calculate values for each row return, this report works accuratelly and converts to other formats easily but takes full 60 to 70 seconds to run the report.
    management asked me to enhance the performace of this report,
    i had worked out and reduce the number of queries and formula columsn to one single query with 5 nested(union queries) queries. execution times reduces to 3 to 5 seconds with accuracy.
    Report displays correctelly but give an error "Rep-0999 Unimplemented Error" whenver we converts it to pdf or other sources.
    While other complex reports were still converting successfully.
    Help me out of this problem,.... im hands up at this situation.
    bye

    Thank you Piyush!
    It really works, you idea and understanding is 100% accurate,
    i have lexical variable, to whom i assign two values either "<> 0" or "is not null",
    i had omitted the space from "<> 0" and make it "<>0", now it works properly,
    only one confussion left, if i pass "is#not#null" from form, how can i can convert it on report to "is not null",
    once again thanks a lot

  • Error when displaying web reports

    Hello,
    Our client have a problem with the character set of web application built using WAD 3.5 in a BW 7.0 system. Java stack is not installed and WAD 3.5 is therefore still in use.
    New web applications looks ok when executed directly from WAD. But when executed directly in the browser (i.e. by using the URL) the result is displayed incorrectly. A lot of Chinese characters appear. It seems the browser interprets the html-file as Unicode (UTF-16) while it in reality is ISO 8859-1. How can this happen? Is BW in some cases marking the generated html-files as Unicode, even if they are not?
    Best regards,
    Christoffer Owe
    Edited by: Christoffer Owe on May 7, 2010 4:04 PM

    Hello
    Arun is right. This problem results from an incompatible change, that Microsoft introduced with the security update KB956844.
    SAP already requested Microsoft to change the behaviour at least for windows application like WAD. (The security problem is related to the use of the dhtmledit control, which can also be hosted in IE.)
    Please see the workarounds described in note 1390941.
    Thanks
    Edward John

  • Crystal Reports XI R2 Javascript error when viewing web report

    Post Author: msilka
    CA Forum: General
    I have an ASP web application that was working fine with XI but when I upgraded to XI R2 I received the following error when displaying a report in the report viewer.
    Line: 461
    Char: 1
    Error: Object expected
    Code: 0
    URL: my report URL
    When I debug with a javascript debugger the line in question reads as
    addOnloadFunction(reportViewerNamebobjInit);
    I need to get the reports to run without this error.
    Thank you

    The only personal folders visible from under Admin panel are for users Administrator and Guest. I've tried to query CMS tables but these store entries not in plain text so I cannot identify entries connected to personal folders. I have also tried to do this via Query Repository tool but all returned entries were ok.
    I have also noticed that when trying to load group from LDAP after it returns error "LDAP: Failed to commit objects to server : Duplicate object name in the same folder." entry for this group is created in CMS table. Also this group is then visible in admin Groups panel. No users are created with the group and when I'm trying to list users belonging to added group it returns "internal secLDAP security plug-in error" but without any other suggestion what went wrong.

  • How to convert report to pdf format  after that I want to send on mail

    Hi
    Guru
    What is my requirement . I want put push button on output list of a normal report. When user click on mail push button, mail should go to customer mail id according to customer  no i gave input  for customer no in selection screen.
    For this I need what is function module (Code) for convert a report to pdf format and whats function module for send mail to customer.
    Plz help me out
    thanks
    Durgesh

    Hi ,
       I think this is helpful
      FM are used to convert pdf file and attachem.
    CONVERT_ABAPSPOOLJOB_2_PDF
    SO_DOCUMENT_SEND_API1
    *& Report  ZSPOOLTOPDF2                                                *
    *& Converts spool request into PDF document and emails it to           *
    *& recipicant.                                                         *
    *& Execution                                                           *
    *& This program can be run in background or online and a spool request *
    *& will still be created                                               *
    REPORT  zspooltopdf2.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX,
               p_online no-display.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i,
           w_spool_nr like sy-spono.
          %_print LIKE pri_params.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      If p_online = 'X'.
      Processing performed when program calls itself when run online 
        gd_spool_nr = sy-spono.
        EXPORT gd_spool_nr TO MEMORY ID 'SPOOLTOPDF'.
        EXIT.
      endif.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
      ELSE.
        gd_spool_nr = sy-spono.
    If executed online, it submits a program to perform the write statements
    instructing it to create a spool request, this could be another program
    which just performs the write statements and then exports sy-spono
    to memory. But in this example it calls itself passing X to parameter
    p_online, which takes it down an alternative procesing path.
        submit ZSPOOLTOPDF2
               with p_online = 'X'
               to sap-spool
               spool parameters   %_print
              archive parameters %_print
               without spool dynpro
               and return.
      ENDIF.
    Get spool id from program called above
      IMPORT gd_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
      PERFORM convert_spool_to_pdf.
      PERFORM process_email.
      if p_delspl EQ 'X'.
        PERFORM delete_spool.
      endif.
      IF sy-sysid = c_dev.
        wait up to 5 seconds.
        SUBMIT rsconn01 WITH mode   = 'INT'
                        WITH output = 'X'
                        AND RETURN.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables it_message
                                              it_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    data:   t_packing_list like sopcklsti1 occurs 0 with header line,
            t_contents like solisti1 occurs 0 with header line,
            t_receivers like somlreci1 occurs 0 with header line,
            t_attachment like solisti1 occurs 0 with header line,
            t_object_header like solisti1 occurs 0 with header line,
            w_cnt type i,
            w_sent_all(1) type c,
            w_doc_data like sodocchgi1.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.

  • Logon Failed when exporting crystal report to PDF

    Hi, I am Teguh
    i want to ask about error when export crystal report to pdf
    error message
    CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed
    [LogOnException: Logon failed.]
       .I(String , EngineExceptionErrorID ) +506
       .D(Int16 , Int32 ) +537
       .C(Int16 ) +10
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +577
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType) +141
       Falcon.CRTransferSlip.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Falcon\CRTransferSlip.aspx.vb:77
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +750
    environment:
    OS : Windows server 2008 standard SP1
    IIS: Version 7.0
    SQL: Sql server 2000
    VS : Visual studio 2003
    i really confused with this error,
    please help me for this problem
    many thank's

    Hi Ludek
    Thank you for your response. I have installed SP3 and ProcMon and still the same result.
    I applied a filter on ProcMon to filter out items where the path contains 'export'.
    There are a few items where the result is 'NAME NOT FOUND' but I don't think it necessarly had anything to do with the barcode. These include items such as 'EXPORT\MailDestType','EXPORT\DisableExportLiveOfficeSupport'','EXPORT\ExportDirectory' to name a few.
    What drew my attention was the ACCESS DENIED result on specifically the EXPORT\PDF folders. The detail for these are  Desired Access : All access, however the very same entry appears a little futher on as a SUCCESS but this is detailed as Desired Access: Query Value.
    So in summary it looks something like this:
    User : Server\XXX
    Operation : RegOpenKey
    Path : HKU\.DEFAULT\Software\Business Objects\Suite 12.0\Crystal Reports\Export\Pdf
    Result : ACCESS DENIED
    Desired Access : All Access
    User : Server\XXX
    Operation : RegOpenKey
    Path : HKU\.DEFAULT\Software\Business Objects\Suite 12.0\Crystal Reports\Export\Pdf
    Result : SUCCESS
    Desired Access : Query Value
    There are a few other entries that follow this pattern that exists in other locations such as HKLM\Software...
    Could this 'ACCESS DENIED' be the problem? and If so how do I, and should I give user XXX this ALL Access its looking for.
    Regards
    Elroy

  • Error message when displaying a report in a windows form

    Hi,
    use Cr 2008.SP3 Fixpack 3.5,
    Visual Studio 2008 prof. editon version 9.0.30729.1 SP,
    :NET Framework 3.5 sp1
    vb.net 2008
    when displaying a report in a Windows form sometimes the following error message appears
    System.NullReferenceException: Object reference not set to an instance of an object
       bei CrystalDecisions.Windows.Forms.PageControl.OnMouseMove(MouseEventArgs e)
       bei System.Windows.Forms.Control.WmMouseMove(Message& m)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
       bei System.Windows.Forms.UserControl.WndProc(Message& m)
       bei CrystalDecisions.Windows.Forms.PageControl.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The rest of the error message is in german:
    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
    Zum Beispiel:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
    Thank you
    Otto

    Can you define "sometimes" a bit more?
    Is it after a number of runs of a report?
    Is it on a particular report?
    Is it after you do certain operations on the report (paging, zooming, dill down, print, etc., etc.)?
    Can you duplicate the issue if you isolate the report to a new test app?
    Did you happen to notice if the issue existed prior to FP 3.5?
    Is this on your dev computer or a client computer?
    OS?
    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]

  • Internal Server Error when Displaying Total No. of Pages in Oracle Reports

    Hello all,
    I've already posted an almost similar message in the Developer Tools forums but would like to post it again here since we think that this is a problem with the report server (Maybe we're missing a patch, a configuration value not set properly or resources are not enough like memory).
    We're using Oracle Reports Server ver10.1.2.0.2 and we're encountering an Internal Server Error when a particular report retrieves around 10K records which displays on each page the current page and the total no of pages. When we only display the current page, the report does not encounter any error.
    When we enabled the tracing options, it just showed that it encountered a Null pointer exception.
    [2006/7/13 11:1:4:703] Debug 50103 (EngineImpl:EngineImpl) : CInitEngine returns 0
    [2006/7/13 11:1:4:765] Exception 50125 (java.lang.NullPointerException
    at oracle.reports.engine.RWEngine.init(RWEngine.java:343)
    at oracle reports.engine.RWEngine.main(RWEngine.java:60)
    ): Internal error java.lang.NullPointerException
    And according to metalink (Doc Id:315228.1), we should just remove the total pages in our report. Problem is that this isn't an option for us. The document also mentioned about something about timeouts. We have already tried setting the request timeout parameter of the HTTP server to larger values but it still doesn't solve the problem.
    Is there a workaround for this?
    Any help would really be greatly appreciated.

    Hi All,
    We really need a workaround for this error. When we enabled the tracing options, it just showed that it encountered a Null pointer exception.
    [2006/7/13 11:1:4:703] Debug 50103 (EngineImpl:EngineImpl) : CInitEngine returns 0
    [2006/7/13 11:1:4:765] Exception 50125 (java.lang.NullPointerException
    at oracle.reports.engine.RWEngine.init(RWEngine.java:343)
    at oracle reports.engine.RWEngine.main(RWEngine.java:60)
    ): Internal error java.lang.NullPointerException
    HELP!

  • Error when refreshing WEBI report with Universe Connection Type "SSO"

    Hi Experts:
    We are trying to refresh the Webi report in Infoview with Universe Connection set as "Use Single Sign On when refreshing the report at view time", so that we can leverage SAP OLAP authorization variable from Bex Query which the Universe is built on.
    However got the error of "incomplete logon data" after all the configurations done following below blogs:
    SNC Part 1
    /people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-1-of-2
    SNC Part 2
    /people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-2-of-2
    We already have Win AD SSO to SAP setup, and in BO CMC, Win AD user is mapped to SAP user ID.
    The SNC settings are:
    - AD Account: service.test.bobj (all lower-letters)
    - 32-bit gsslib on the BO server, and 64 bit on the BW server side.
    - SNC0: p:service.test.bobj at DOMAIN
    - SU01 --> BO_Service ; SNC: p:service.test.bobj at DOMAIN
    - Entitlement system tab --> username: BO_Service
    SNC Name: p:service.test.bobj at DOMAIN
    - SNC settings tab:
    SNC Lib: c:\winnt\gsskrb5.dll
    Mutual Authentication settings: p:SAPServiceBP0 at DOMAIN
    In CMC, the role can be imported if "RFC activated" option unchecked in SNC0.
    I found a few threads on the same topic, but they are all not answered:
    SNC Client side configuration error
    SNC Configuration Error: Incomplete logon Data
    Can you please provide details of the solution if you have impleted a same scenario successsfully, or any thoughts to help the investigation?
    Thanks in advance!
    Regards,
    Jonathan

    Hi Ingo,
    Sorry for taking so long to reply, we are trying to set up server side trust and enable SSO; but we still couldn't success.
    What we did is:
    1. We followed installation guide chapter 6, generate certificate and PSE, etc. All looks good.
    2. Then we still have the "incomplete logon data" error when refreshing webi report after logon using Windows AD user ID.
    3. Then we trace the PFC connection, the log is as below. We checked several BO notes, e.g. 1500150, 1461247.. The part bothers us is that we even don't have URI displayed in the log when system trying to use SNC, and we couldn't get more info on this which make us very difficult to diagnosis.
    Can you please help? Thanks a lot!
    Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
    Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SNC. Calling CanAuthenticate...
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Unable to authenticate using SNC because the URI does not meet the minimum connection requirements.
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SSO. Calling CanAuthenticate...
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: The SAP SSO authentication process will fail because the SAP secondary credential are not properly updated and the password is blank.
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,R3NAME=PB0,GROUP=BI_Group1,MSHOST=sapaupdb04,LANG=en,CLIENT=100,CATALOG="ZSPUM602",CUBE="ZSPUM602/ZSPUM602_Q50"
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Calling m_pRfcWrapper->RfcOpenEx() ...
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: RfcOpenEx(...) returned 0
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Call to m_pRfcWrapper->RfcOpenEx() took 0.141 seconds
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: SAPAuthenticationService::~SAPAuthenticationService

  • What (the hell) is SQL Exception called Function sequence error?

    ...doing in a code like this:
    ResultSet friends=...executeQuery...
    while (friends.next())
    log.append(friends.getString("sendergsm"));
    somewhere in between that loop, or sometimes the loop runs out fine, and sometimes it throws SQLException called General Error. Not guite normal...

    Thank you for replying... that must be agains some of the policies of the sun, to make methods that may be called normally, but may cause an error.
    Anyway, this is my first database application. The number of problems I've had in few days is unbelivable. I wonder does it load the drivers from disk or something everytime it reads one record from database. I mean when I did the above query, the table had about 10 entries (the program showed 5 to 10 before function sequense error) and displaying each record to TextArea took over second. (In paradox (The dosversion) this would have taken less than a second).
    And paradox tables doesn't work at all because it raises exception: Table isn't expected format. If I set paradox 4.0 drivers and put paradox 4.0 tables, you would guess that the format would be expected. And you cannot create paradox tables with SQL. Now I need to use access databases. How can database containing 60 records be 500kb:s? When it will contain 50000 new records every day, i guess I'll be in problem. Each tranaction (say 5 simple queries) taking minutes... heelp meee!!

  • 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 when running a report in BPC NW

    I am getting the following error when running a report for my application in BPC NW.
    EVDRE encountered an error retrieving data from the Web Server (retrying in (X) seconds).
    This error comes with this dialog option box to either continue or cancel retrying retrieving data. Retrying doesn't help either.
    Any report I run (on any of my appsets), I get this error. I used the EVDRE function and also tried running a report using the template as the basis. But I get the error either way.
    Does anyone know why this error is occurs or how to debug this issue. I saw some information about this in earlier threads but could  not make much out of it.
    Appreciate any assistance.

    Sanjay,
      This  is a   very  generic  error...Couple  of  places  to  look  for....
    1)Reprocess the application (Modify application + Reassign SQL Index + Process Application)
    2)optimizing the application sometimes helps (Full Optimize + Compress Database + Index defragmentation).
    3)Create a "evdataserver_debug.txt" in user's private publication folder on  server side to populate very detail level logging  and  check  the  log on client side EVDRE_LOG.txt for  further  peek  into  where  things  are getting  messed up.
    if  evdataserver_debug.txt does not  get  populated on BPC 5.x...it  is  an  issue  with  IIS authetication on Application server.
    4)You have to check the event viewer into .NET server and also the BPC logs which can be found into
    BPC\Logging  for  further  details  ..
    Hope  this  helps..
    Edited by: Vishal Mahawadhi on Jun 24, 2009 9:50 AM

Maybe you are looking for

  • Planning cube Key figure over flow error

    Hi Experts, I am getting the following  Key figure errors in Planning cube while running the Planning sequences. 1.Over flow occurred when calculating KF KF details : Data type: DEC-Counter or amount filed  with comma and sign. 2.ORA-01455: convertin

  • How can i get newly added contacts for a Mailbox User in Exchange Server 2013

    Hi all, I need to synchronize contacts in Exchange Server and Sugar CRM Application, for that i need to get newly added contacts for a User in Exchange Server 2013 by using EWS Managed API. I know how get the list of all contacts for a particular use

  • Xpress Music 5800 new firmware (V51.0.006)problem

    guy, i have this problem after updating my phone. - my music player keep repeat song even i make repeat off - hang when try to change radio station channel those who have this problem and have the solve, hope can give me some advice. Thanks

  • CBS WebUI hangs at application preprocessing

    Hi, when I want to open the CBS WebUI (CE 7.11) the HTTP worker Thread hangs at "processing of sap.com/tc.CBS.WebUI/WebUI: application preprocessing" I have already restarted the server without success. When I want to open the CBS WebUI, the applicat

  • Can anyone help with PSE8 JPG thumbnail/polygon lasso issue

    Hi, I'm hoping someone can help me here please? When I am in the editing mode of PSE8 and using the polygon lasso tool, after a couple of clicks around the image, the app seems to freeze and only resume when I click outside of the PSE8 window! I atte