Error while sending PO (with tax code) from SSP to SUS via MM

Hello Experts
We are implementing Self Service Procurement and Supplier Self Services scenario.
We have created a SC with Tax Code say X in Self Service Procurement. The SC gets created as PO in R/3 (MM) system.
The IDoc which is getting created in the R/3 system has different segments than the one which gets created when we create the PO directly in R/3 system.
This IDoc which is seen in R/3 with the Status 26 - ' Error during syntax check of IDoc (outbound) '.
Please help, we are new to SSP.
Thanx and Regards
Gaurav
Edited by: Gaurav Giroti on Jan 29, 2009 1:36 PM
Edited by: Gaurav Giroti on Jan 29, 2009 1:37 PM

note 1311560 to be applied in ebp.

Similar Messages

  • Short dump while PO creation with Tax Code

    we are facing problem while creation PO, while providing the Tax code(Example V0), its going for short dump, check the below
    the program SAPLV61Z and
    The exception must either be prevented, caught within the procedure
    "SEL_KONDTAB"
    "(FORM)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    Check the field names in the SELECT clause.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "SAPSQL_INVALID_FIELDNAME" CX_SY_DYNAMIC_OSQL_SEMANTICSC
    "SAPLV61Z" or "LV61ZU01"
    "SEL_KONDTAB"
    The termination occurred in the ABAP program "SAPLV61Z" in "SEL_KONDTAB".
    The main program was "RM_MEPO_GUI ".
    The termination occurred in line 537 of the source code of the (Include)
    program "LV61ZU01"
    of the source code of program "LV61ZU01" (when calling the editor 5370).
    Processing was terminated because the exception "CX_SY_DYNAMIC_OSQL_SEMANTICS"
    occurred in the
    procedure "SEL_KONDTAB" "(FORM)" but was not handled locally, not declared in
    the
    RAISING clause of the procedure.
    The procedure is in the program "SAPLV61Z ". Its source code starts in line 254
    of the (Include) program "LV61ZU01 ".
    005360           IF se_read_all_prestep IS INITIAL.
         >             SELECT * FROM (t681-kotab) APPENDING TABLE <cond_tab>
    005380                    UP TO 1 ROWS
    005390                    WHERE kappl  = se_kappl
    005400                    AND   kschl  = se_kschl
    005410                    AND   datbi >= se_date
    005420                    AND   datab <= se_date
    005430                    AND   (coding_tab).
    005440             h_subrc = sy-subrc.
    In the above statement execution its going for dump, when the (t681-kotab) value is A980 when i checked at debugging
    Kindly help me out to solve the issue
    Thanks in advance
    Regards
    Kesav

    Hi,
    Do you have an integer field in the condition table A980? It looks like a field in the table is integer one and the system during creation of custom dynamic select statement adds as many spaces as possible before the integer value (integer values are right justified), so the statement exceeds the maximum length with an 'AND' or another condition clause.
    Please check and provide more details if the issue is not resolved.
    Regards,
    Marcin

  • Error while sending by email a PDF from SMARTFORM

    Hi all.
    Wer'e upgrading to EP4 and I can send smartform PDF by email but get an error message while trying to open it.
    *FORM convert_otf_2_pdf.
      call function 'CONVERT_OTF_2_PDF'
        importing
          bin_filesize           = lv_len_in  
        tables
          otf                    = gs_return-otfdata[]
          doctab_archive         = it_docs[]
          lines                  = lt_tline[]
        exceptions
          err_conv_not_possible  = 1
          err_otf_mc_noendmarker = 2
          others                 = 3.
      if sy-subrc ne 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    *then to send it as Email attachemnt we need to format the PDF data
      call function 'SX_TABLE_LINE_WIDTH_CHANGE'
        exporting
          line_width_dst              = '255'
        tables
          content_in                  = lt_tline
          content_out                 = lt_objbin
        exceptions
          err_line_width_src_too_long = 1
          err_line_width_dst_too_long = 2
          err_conv_failed             = 3
          others                      = 4.
      clear ls_solisti.
      ls_solisti = 'Payment Notification'.
      append ls_solisti to lt_objtxt.
    DESCRIBE TABLE lt_objtxt LINES lv_lines.
    READ TABLE lt_objtxt INDEX lv_lines.
      ls_doc_chg-obj_name = 'Payment Notification'.
      ls_doc_chg-expiry_dat = sy-datum + 10.
      ls_doc_chg-obj_descr =  'Payment Notification'.
      ls_doc_chg-sensitivty = 'F'.
      ls_doc_chg-doc_size = 255.
      ls_objpack-head_start = 1.
      ls_objpack-head_num = 0.
      ls_objpack-body_start = 1.
      ls_objpack-body_num = 1. "lv_lines.
      ls_objpack-doc_type = 'RAW'.
      append ls_objpack to lt_objpack.
    (pdf-Attachment)
      ls_objpack-transf_bin = 'X'.
      ls_objpack-head_start = 1.
      ls_objpack-head_num = 0.
      ls_objpack-body_start = 1.
      describe table lt_objbin lines lv_lines.
      "READ TABLE lt_objbin INDEX lv_lines.
      ls_objpack-doc_size = lv_lines * 255 .
      ls_objpack-body_num = lv_lines.
      ls_objpack-doc_type = 'PDF'.
      ls_objpack-obj_name = 'NOTIF'.
      ls_objpack-obj_descr = 'Payment Notif.'.
      append ls_objpack to lt_objpack.
      clear lt_dli[].
      lv_name = p_list.
      call function 'SO_DLI_READ_API1'
        exporting
          dli_name                   = lv_name
          dli_id                     = '000000000001'
          shared_dli                 = 'X'
        tables
          dli_entries                = lt_dli
        exceptions
          dli_not_exist              = 1
          operation_no_authorization = 2
          parameter_error            = 3
          x_error                    = 4
          others                     = 5.
      if sy-subrc eq 0 and
        lt_dli[] is not initial.
    clear ls_reclist.
        ls_reclist-receiver = p_list.
        ls_reclist-rec_type = 'C'.
        append ls_reclist to lt_reclist.
      endif.
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
          document_data              = ls_doc_chg
          put_in_outbox              = ''
        tables
          packing_list               = lt_objpack
          object_header              = ls_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_reclist
        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.
    What's wrong ??
    Thanks all,
    Rebeka

    Hello,
    Try below code
    LOOP AT gt_check_data INTO gw_inc_payment.
              CLEAR wa_pa0105.
              READ TABLE gt_pa0105 INTO wa_pa0105
                                   WITH KEY pernr = gw_inc_payment-pernr.
              IF sy-subrc = 0.      ELSE.             CONDENSE  wa_pa0105-usrid_long NO-GAPS.
                TRANSLATE wa_pa0105-usrid_long TO LOWER CASE.
              ENDIF.
              CALL FUNCTION 'ZHR_ITA_MAIL_PDF'
                EXPORTING
                  im_incentive       = gw_ita_inc
                  im_flag            = 'X'
                IMPORTING
                  ls_job_output_info = ls_op_info
                EXCEPTIONS
                  cntl_error_ctrl    = 1
                  cntl_error_cont    = 2
                  cntl_error_load    = 3
                  cntl_error_show    = 4
                  OTHERS             = 5.
              IF sy-subrc <> 0.
                MESSAGE text-024 TYPE 'E'.
              ELSE.
                CLEAR gt_tline[].
                CALL FUNCTION 'CONVERT_OTF'
                  EXPORTING
                    format                = 'PDF'
                  IMPORTING
                    bin_filesize          = g_pdfsize
                  TABLES
                    otf                   = ls_op_info-otfdata
                    lines                 = gt_tline
                  EXCEPTIONS
                    err_max_linewidth     = 1
                    err_format            = 2
                    err_conv_not_possible = 3
                    err_bad_otf           = 4
                    OTHERS                = 5.
                IF sy-subrc <> 0.
                  IF gt_tline IS INITIAL.
                    MESSAGE text-023 TYPE 'E'.
                  ENDIF.
                ELSE.
          Data handling with required length
                  LOOP AT gt_tline INTO gw_tline.
                    lv_pos = 255 - lv_len.
                    IF lv_pos > 134.                          "length of pdf_table
                      lv_pos = 134.
                    ENDIF.
                    gw_objbin+lv_len = gw_tline(lv_pos).
                    lv_len = lv_len + lv_pos.
                    IF lv_len = 255.                          "length of out (contents_bin)
                      APPEND gw_objbin TO gt_objbin.
                      CLEAR: gw_objbin, lv_len.
                      IF lv_pos < 134.
                        gw_objbin = gw_tline+lv_pos.
                        lv_len = 134 - lv_pos.
                      ENDIF.
                    ENDIF.
                  ENDLOOP.
                  IF lv_len > 0.
                    APPEND gw_objbin TO gt_objbin.
                  ENDIF.
                  CLEAR gw_objbin.
            Mail process with the PDF attachment
                  PERFORM mail_process_attach USING wa_pa0105-usrid_long.
                ENDIF.
              ENDIF.
            ENDLOOP.
    FORM mail_process_attach USING lv_receive TYPE comm_id_long.
    **//--- For Sending eMail
      DATA :  it_packing_list TYPE TABLE OF  sopcklsti1,
              wa_packing_list TYPE sopcklsti1,
              it_receivers    TYPE TABLE OF somlreci1,
              wa_receivers    TYPE somlreci1,
              it_message      TYPE  TABLE OF solisti1,
              wa_message      TYPE  solisti1,
              it_line         TYPE STANDARD TABLE OF tline,
              wa_line         TYPE tline,
              it_attachment   TYPE TABLE OF solisti1,
              wa_attachment   TYPE solisti1,
              wa_doc_data     TYPE sodocchgi1,
              lv_cnt          TYPE  i,
              lv_tablines     TYPE i,
              lv_subject      TYPE so_obj_des,
              lv_incref       TYPE string.
    *--Populating Mail Recepients
      wa_receivers-rec_type   = 'U'.
      wa_receivers-com_type   = 'INT'.
      wa_receivers-notif_del  = 'X'.
      wa_receivers-notif_ndel = 'X'.
      wa_receivers-express    = 'X'.
    assgining a receiver's mail id
      wa_receivers-receiver   = lv_receive.
      APPEND wa_receivers TO it_receivers.
      CLEAR wa_receivers.
    *--Populating the body
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = 'ST'
          language                = sy-langu
          name                    = gc_so10_name
          object                  = 'TEXT'
        TABLES
          lines                   = it_line
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      IF sy-subrc = 0.
        LOOP AT it_line INTO wa_line.
          wa_message-line = wa_line-tdline.
          APPEND wa_message TO it_message.
          CLEAR : wa_line, wa_message.
        ENDLOOP.
      ENDIF.
    *//---  Populate the subject/generic message attributes
      wa_doc_data-obj_langu  = sy-langu.
      READ TABLE it_attachment INTO wa_attachment INDEX lv_cnt.
      wa_doc_data-doc_size   = ( lv_cnt - 1 ) * 255 + STRLEN( wa_attachment ).
      wa_doc_data-obj_name   = 'SAPRPT'.
    *//--- Subject Begin
      CLEAR : lv_subject.
      lv_subject = gw_inc_payment-pernr.
      SHIFT  lv_subject LEFT DELETING LEADING '0'.
      CONCATENATE text-009 '(' lv_subject ')'
                  INTO  wa_doc_data-obj_descr
                  SEPARATED BY space.
    *//--- Subject End
      wa_doc_data-sensitivty = 'F'.
    *--Describe the body of the message
      CLEAR : wa_packing_list, it_packing_list[].
      wa_packing_list-transf_bin  = space.
      wa_packing_list-head_start  = 1.
      wa_packing_list-head_num    = 0.
      wa_packing_list-body_start  = 1.
      DESCRIBE TABLE it_message LINES wa_packing_list-body_num.
      wa_packing_list-doc_type    = 'RAW'.
      APPEND wa_packing_list TO it_packing_list.
    Filling the attachment table
      DESCRIBE TABLE gt_objbin LINES lv_tablines.
      wa_packing_list-transf_bin  = 'X'.
      wa_packing_list-head_start  = 1.
      wa_packing_list-head_num    = 0.
      wa_packing_list-body_start  = 1.
      wa_packing_list-body_num    = lv_tablines.
      wa_packing_list-doc_type    = 'PDF'.
      wa_packing_list-obj_name    = 'ATTACHMENT'(a01).
    *//--- Attachment File Name - Begin
      CLEAR : lv_subject.
      lv_subject = gw_inc_payment-pernr.
      lv_incref  = gw_inc_payment-incref.
      SHIFT lv_subject LEFT DELETING LEADING '0'.
      SHIFT lv_incref  LEFT DELETING LEADING '0'.
      CONCATENATE text-011
                  lv_subject
                  gw_inc_payment-itafy
                  lv_incref
                  INTO wa_packing_list-obj_descr
                  SEPARATED BY '_'.
    *//--- Attachment File Name - End
      wa_packing_list-doc_size    = lv_tablines * 255.
      APPEND wa_packing_list TO it_packing_list.
      CLEAR wa_packing_list.
    calling the function module to send the mail
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_data
          put_in_outbox              = 'X'
          sender_address             = gc_sender
          sender_address_type        = 'INT'
          commit_work                = 'X'
        TABLES
          packing_list               = it_packing_list
          contents_bin               = gt_objbin[]
          contents_txt               = it_message
          receivers                  = it_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.
      IF sy-subrc <> 0.
        gw_inc_payment-zmail       = '0'.
        gw_inc_payment-mail_status = text-022.
        gw_ita_inc-zmail           = '0'.
        MODIFY  gt_inc_payment  FROM gw_inc_payment
        TRANSPORTING zmail  WHERE incref = gw_inc_payment-incref
                              AND pernr = gw_inc_payment-pernr.
        MODIFY zhr_ita_inc_payk FROM gw_ita_inc.
        MESSAGE text-013 TYPE 'E'.
        CLEAR gw_ita_inc.
      ELSE.
        gw_inc_payment-zmail       = '1'.
        gw_inc_payment-mail_status = text-021.
        gw_ita_inc-zmail           = '1'.
        MODIFY  gt_inc_payment FROM gw_inc_payment
                               TRANSPORTING zmail mail_status
                               WHERE incref = gw_inc_payment-incref AND
                                     pernr = gw_inc_payment-pernr.
        IF sy-subrc = 0.
          MODIFY zhr_ita_inc_payk FROM gw_ita_inc.
          IF sy-subrc = 0.
            MESSAGE text-012 TYPE 'S'.
          ENDIF.
        ENDIF.
        CLEAR gw_ita_inc.
      ENDIF.
      CLEAR : it_packing_list,
              gt_objbin[],
              it_message[],
              it_receivers[],
              wa_doc_data.
    ENDFORM.                    " MAIL_PROCESS_ATTACH
    regards

  • B2B - Error While sending the document to GXS from Oracle B2B server.

    When I am trying to send the document to GXS, getting the following error. This message is show in the window that pops up when you click on Reports->WireMessage->Details of the Message.
    I am trying to find what is causing the issue.
    State ERROR
    Error Code B2B-50079
    Error Description Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
    Error Text Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
    Here is the complete details from the Window.
    Id 812E875712EA19A8EEC000005EF51ED3
    Message Id 4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3
    Business Message 812E875712EA19A8E88000005EF51ED0
    Packed Message Packed Message
    Payload Payload
    Protocol Message Id 4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3
    Refer To Protocol Message Id
    Protocol Collaboration Id
    Protocol Transport Binding TO=Trader_Joes content-type=application/HTTPstream,actionrequest Content-Transfer-Encoding=binary FROM=AcmeSystems MESSAGE-ID=4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3 DATE=Thu, 10 Mar 2011 21:09:43 GMT Connection=close Content-Type=text/plain; charset=us-ascii
    Message Digest Message Digest
    Digest Algorithm
    Transport Protocol HTTP
    Transport Protocol Version 1.1
    Url https://web.tradinggrid.gxs.com/invoke/gxs.https/receive
    security
    Transport Headers TO=Trader_Joes content-type=application/HTTPstream,actionrequest Content-Transfer-Encoding=binary FROM=AcmeSystems MESSAGE-ID=4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3 DATE=Thu, 10 Mar 2011 21:09:43 GMT Connection=close Content-Type=text/plain; charset=us-ascii
    certificates certificates
    State ERROR
    Error Code B2B-50079
    Error Description Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
    Error Text Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
    exchangeRetryInterval
    exchangeRemainingRetry
    Message Size 0
    Here is the Setup We did sofar.
    1) Created the Document Definition.
         PositionalFlatFile-VDA-1998-4913v4-4913v4_Definition
    2) Created Trading Partner Profile
         Trader_Joes
    3) Added Document Definition to the TP as receiver.
    4) Configured a channel with Protocol "Generic HTTP-1.0". Is it showing only one entry, HTTP.
         Transport Protocol: Selected "HTTP" from the dropdown list.
         url: https://web.tradinggrid.gxs.com/invoke/gxs.https/receive
         username: xxxx
         password: xxxx
         Additional transport headers: content-type=application/HTTPstream,actionrequest=upload,receiverid=xxxxxxx,datatype=EDI,aprf=TEST,snrf=12345678
    NOTE: I don't see tabs for "Exchange Protocol Parameters" and "Security". It only shows "Transport Protocol Parameters" and "Channel Attributes" tabs.
    =====
    5) Created Agreement with the document defition that was created.
    6) Deployed the Agreement and it is showing "Active" state.
    7) Created a Keystore on the server using the following command.
    keytool -genkeypair -alias serverCert -keyalg RSA -keysize 1024 -validity 365 -dname "CN=soa.Acmesystems.com,OU=Support,O=Acmesystems,L=suntown,ST=MD,C=US" -keypass xxxxxxxxxx -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
    keytool -list -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
    8) Imported the certificate that we got from the GXS to the Key store using the following command.
    keytool -importcert -v -noprompt -trustcacerts -alias ws-tradinggrid -file ws-tradinggrid.cer -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
    keytool -list -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
    9) After that When I run my composite bpel program to send B2B message, I am getting the above error.
    Where is the issue?
    Any help is appreciated.
    Thank you
    Krishna

    We loaded the certificate chain into key store and that part is working now.
    We are getting now the following error. Any Idea?
    [2011-03-14T09:12:47.787-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.mediator.serviceEngine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@5fddbbc0] [userId: <anonymous>] [ecid: 0000Iup92C3CcpiF_7I7S61DUNHj000lw2,0] [APP: soa-infra] [composite_name: TestBusinessEventShipconfirmed] [component_name: TestBusinessEventMediator] [component_instance_id: E71EFFB04E5511E0BF70B592E6C64FAC] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000012] [composite_instance_id: 50004] MediatorServiceEngine received a request for operation = Read
    [2011-03-14T09:12:47.996-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.mediator.serviceEngine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@5fddbbc0] [userId: <anonymous>] [ecid: 0000Iup92C3CcpiF_7I7S61DUNHj000lw2,0] [APP: soa-infra] [composite_name: TestBusinessEventShipconfirmed] [component_name: TestBusinessEventMediator] [component_instance_id: E71EFFB04E5511E0BF70B592E6C64FAC] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000012] [composite_instance_id: 50004] MediatorServiceEngine returning after processing the request for operation = Read
    [2011-03-14T09:12:49.384-07:00] [soa_server1] [WARNING] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@c0ad9a3] [userId: <anonymous>] [ecid: 0000Iup92ObCcpiF_7I7S61DUNHj000lw3,0] [APP: soa-infra] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000021] [[
    Message Transmission Transport Exception
    Transport Error Code is OTA-HTTP-SEND-403
    StackTrace oracle.tip.b2b.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :403
    com.wm.app.tn.err.EXMLException: <EXMLException>
    <ErrorCode>0003.4089</ErrorCode>
    <Info>Could not get internal ID for partner (id=null, typeCode=null, typeDesc=ICS Mailbox ID).</Info>
    <OriginalException>
    <JavaClass>com.wm.app.b2b.server.ServiceException</JavaClass>
    <Message>"extID" is required.</Message>
    <StackTrace>com.wm.app.b2b.server.ServiceException: "extID" is required.
         at wm.tn.profileimpl.getInternalID(profileimpl.java:2577)
         at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:403)
         at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:631)
         at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:40)
         at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
         at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:241)
         at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
         at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:228)
         at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
         at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:628)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:536)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:189)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:581)
         at com.wm.lang.flow.FlowState.step(FlowState.java:441)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:406)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1040)
         at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:631)
         at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:40)
         at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
         at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:241)
         at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
         at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:228)
         at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
         at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:628)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:536)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:189)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:581)
         at com.wm.lang.flow.FlowState.step(FlowState.java:441)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:406)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1040)
         at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:631)
         at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:40)
         at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
         at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:241)
         at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
         at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:228)
         at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
         at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:628)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:536)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:119)
         at com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:141)
         at com.wm.app.b2b.server.InvokeHandler.process(InvokeHandler.java:110)
         at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:185)
         at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:333)
         at com.wm.util.pool.PooledThread.run(PooledThread.java:118)
         at java.lang.Thread.run(Thread.java:595)
    </StackTrace>
    </OriginalException>
    <Action></Action>
    <Level></Level>
    </EXMLException>.
         at oracle.tip.b2b.transport.TransportException.create(TransportException.java:94)
         at oracle.tip.b2b.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:683)
         at oracle.tip.b2b.transport.basic.HTTPSender.send(HTTPSender.java:498)
         at oracle.tip.b2b.transport.b2b.B2BTransport.send(B2BTransport.java:317)
         at oracle.tip.b2b.transport.TransportInterface.send(TransportInterface.java:1492)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1551)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    [2011-03-14T09:12:49.390-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@c0ad9a3] [userId: <anonymous>] [ecid: 0000Iup92ObCcpiF_7I7S61DUNHj000lw3,0] [APP: soa-infra] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000021] Request: outgoingRequestPostColab: Request Message Transmission failed
    [2011-03-14T09:12:49.431-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@c0ad9a3] [userId: <anonymous>] [ecid: 0000Iup92ObCcpiF_7I7S61DUNHj000lw3,0] [APP: soa-infra] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000021] Engine: processOutgoingMessageImpl: Message id = 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ff0 ToParty = Trader_Joes Doctype = 4913v4 version = VDA-1998

  • Internal Server Error while sending mail with extended property

    I am using EWS Managed API. I just started fiddling with Extended properties. So I wrote simple code to send a simple mail with extended property attached to it.
    Forming the mail part I simply copy pasted from this
    MSDN page. For testing purpose I suppressed certificate validations.
    This is my complete code:
    1 ServicePointManager.ServerCertificateValidationCallback = delegate(object s, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; };
    2 service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
    3 service.TraceListener = new TraceListener();
    4 service.TraceEnabled = false;
    5
    6 service.Credentials = new WebCredentials("[email protected]", "password@123");
    7 service.Url = new Uri("https://exchng.domain.com/EWS/Exchange.asmx");
    8
    9 Guid MyPropertySetId = new Guid("{C11FF724-AA03-4555-9952-8FA248A11C3E}");
    10
    11 // Create a definition for the extended property.
    12 ExtendedPropertyDefinition extendedPropertyDefinition = new ExtendedPropertyDefinition(MyPropertySetId, "Expiration Date", MapiPropertyType.String);
    13
    14 // Create an e-mail message that you will add the extended property to.
    15 EmailMessage message = new EmailMessage(service);
    16 message.Subject = "Saved with extendedPropertyDefinition of two days";
    17 message.Body = "The expiration date is contained within the extended property.";
    18 message.ToRecipients.Add("[email protected]");
    19
    20 // Add the extended property to an e-mail message object named "message".
    21 message.SetExtendedProperty(extendedPropertyDefinition, DateTime.Now.AddDays(2).ToString());
    22
    23 // Save the e-mail message.
    24 message.SendAndSaveCopy();
    Please find the rest of the question in first reply, as I got "Body must be 4 to 60000 characters long".

    Rest of the question:
    I am getting below exception (with no nested inner exceptions) on line 24:
    An internal server error occurred. The operation failed.
    at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
    at Microsoft.Exchange.WebServices.Data.ServiceResponse.ThrowIfNecessary()
    at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
    at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalCreateItems(IEnumerable`1 items, FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode, ServiceErrorHandling errorHandling)
    at Microsoft.Exchange.WebServices.Data.ExchangeService.CreateItem(Item item, FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode)
    at Microsoft.Exchange.WebServices.Data.Item.InternalCreate(FolderId parentFolderId, Nullable`1 messageDisposition, Nullable`1 sendInvitationsMode)
    at Microsoft.Exchange.WebServices.Data.EmailMessage.InternalSend(FolderId parentFolderId, MessageDisposition messageDisposition)
    at Microsoft.Exchange.WebServices.Data.EmailMessage.SendAndSaveCopy()
    If I comment line number 21, the code works fine and sends the message. So why it fails with extended properties?

  • Error while executing a custom java code from report in BI Publisher

    Hi,
    I have created a custom code added the jar in /opt/oracle/BI_Middleware/user_projects/domains/bifoundation_domain/lib and created a rtf template and added a code in that
      <?namespace:bipext=http://www.oracle.com/XSL/Transform/java/com.test.bi.CustomFunctions?>
      <?for-each:listOfNames?>
      <?bipext:helloFunction(name)?>
      <?end for-each?>
    according to the blog
    Vishal's blog: Using custom transformations in BI Publisher 10G
    I am using BI Publisher 11g and weblogic . But I am getting the below error when running the report . Please help . Its urgent.
    getting the below error from the BI Publisher desktop software
    FOProcessor setLocale: en-us
    oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException
        at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1205)
        at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:276)
        at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)
        at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1117)
        at RTF2PDF.runRTFto(RTF2PDF.java:659)
        at RTF2PDF.runXDO(RTF2PDF.java:452)
        at RTF2PDF.main(RTF2PDF.java:302)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:917)
        at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
        at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:327)
        at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
        at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1181)
        ... 6 more
    Caused by: oracle.xdo11g.xpath.XPathException: Extension function error: Class not found 'com.test.bi.CustomFunctions'
        at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
        at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
        at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
        at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:341)
        at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:189)
        at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:226)
        at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:122)
        ... 15 more
    and below error from GUI
    Error 
    The report cannot be rendered because of an error, please contact the administrator.
    Error Detail
    oracle.xdo.XDOException: oracle.xdo.XDOException: XSLT10gR1: Failed Secure Java Extensions check.
    Please help
    Thanks,
    Sahana

    BI Publisher

  • Error while sending Email through Java Code in OIM

    Hi All,
    I have created a java code using tcEmailNotificationUtil, and integrated the same with the adapter.
    I am triggering this adapter when an approval process gets completed.
    As soon as the approval process gets completed my email task is triggering but the task is getting rejected.
    I have checked my system configuration for mail server settings.Everything seems working fine.
    Can you please help me in this issue how to debug?
    Thanks in advance.

    Hi,
    Here is my log file:
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SERVER] - Class/Method: QuartzWrapper/insertTaskHistory left.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/run entered.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: ReIssueAuditMessage/execute entered.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: ReIssueAuditMessage/initialize entered.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/getAttribute entered.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/getAttribute left.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/getUtility entered.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/getUtility left.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.ACCOUNTMANAGEMENT] - Class/Method: tcUtilityFactory/getRemoteUtility - Data: moUtil - Value: Thor.API.Operations.tcAuditOperationsClient
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: ReIssueAuditMessage/initialize left.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: ReIssueAuditMessage/processAllByIdentifier entered.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/isStopped entered.
    DEBUG,25 Apr 2011 10:40:00,099,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/isStopped left.
    DEBUG,25 Apr 2011 10:40:00,100,[XELLERATE.DATABASE] - select A.* from (select aud_jms_key, aud_class, identifier from aud_jms order by aud_jms_key) A where rownum <= ?
    INFO,25 Apr 2011 10:40:00,101,[XELLERATE.PERFORMANCE] - Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/isStopped entered.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/isStopped left.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/isStopped entered.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/isStopped left.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SCHEDULER.TASK] - Class/Method: ReIssueAuditMessage/execute left.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/run left.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/isSuccess entered.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SCHEDULER.TASK] - Class/Method: SchedulerBaseTask/isSuccess left.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SERVER] - Class/Method: SchedulerTaskLocater /removeLocalTask entered.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SERVER] - Class/Method: SchedulerTaskLocater /removeLocalTask left.
    DEBUG,25 Apr 2011 10:40:00,102,[XELLERATE.SERVER] - Class/Method: QuartzWrapper/updateStatusToInactive entered.
    DEBUG,25 Apr 2011 10:40:00,104,[XELLERATE.SERVER] - Class/Method: QuartzWrapper/updateStatusToInactive left.
    DEBUG,25 Apr 2011 10:40:00,104,[XELLERATE.SERVER] - Class/Method: QuartzWrapper/updateTaskHistory entered.
    DEBUG,25 Apr 2011 10:40:00,106,[XELLERATE.SERVER] - Class/Method: QuartzWrapper/updateTaskHistory left.
    DEBUG,25 Apr 2011 10:40:00,106,[XELLERATE.SERVER] - Clearing Security Associations with thread executing Scheduled task
    DEBUG,25 Apr 2011 10:40:00,106,[XELLERATE.SERVER] - Class/Method: QuartzWrapper/run left.
    DEBUG,25 Apr 2011 10:40:00,106,[XELLERATE.SERVER] - Class/Method: QuartzWrapper/execute left.
    and I just wanted to ensure that my coding part is also fine.
    Posting the code even:
    tcDataProvider ioDatabase = new tcDataBaseClient();
    tcEmailNotificationUtil sendMail = new tcEmailNotificationUtil(ioDatabase);
    sendMail.setBody("Sample Message");
    sendMail.setSubject("subject");
    sendMail.setFromAddress("fromemailaddress");
    sendMail.sendEmail("recepient");
    Thanks in Advance.

  • Error while sending mail with pdf attachment

    Dear All,
    I am sending mail to outlook Internet address, with PDF attachment, if i have the some text in the mail along with the attachment,
    then the PDF attachment file is not opeining, throws file corrupted error.
    If i don't have the text for mail body, and send only attachment then the PDF attachments working fine.
    Please help.
    regards,
    Kumar.

    Hi Kumar,
    If you are using the th FM "SO_NEW_DOCUMENT_ATT_SEND_API1" to send the PDF data(As an attachment) to an internet address, try prepare an internal table with the text you want to mention in your mail. This table needs to be passed to the
    'contents_txt' of this function module.  You can check your mail in SOST transaction and in DOC Content section.
      Ex:  wa_objtxt           = 'Regards'.
             APPEND wa_objtxt TO t_objtxt.
    I am sure that you won't get any problem if you follow the procedure mentioned above.
    Thank You,
    Regards,
    Naresh.

  • Error while generating PDF with BI Publisher from APEX

    Hi,
    I am facing a problem which is intermittent.
    I am generating a pdf from APEX which has been developed using BI Publisher.
    I have linked the report to the APEX using report queries/report layouts in shared components.
    The pdf used to open without any problems previously.But currently,I am getting the following error
    "An error exists on this page.Acrobat may not display the page correctly.Please contact the person who created the pdf document to correct the document."
    Once the Bi Publisher Services is restarted,I am able to generate the pdf.Again After sometime the same error pops up.
    Has anybody faced the above error?
    Any solution for the same.
    Kindly reply.
    Thanks and Regards,
    K Tanna

    in the log file,following message was shown
    [050510_021134100][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=15744MB, total=237MB, free=121MB

  • Error while sending email to external mail - Urgent

    Hi All,
    I am getting error while sending email with attachement. The Error code is 02.
    I am not able to identify the error. bold Please help me in solving this problem.
    Is it anything wrong with the code or Any Configuration with SCOT/SOST.bold
    the code i am using is :
    REPORT YVR_F MESSAGE-ID XX .
    TABLES : EDIDC, EDIDS, EDPAR.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
    PARAMETERS : P_STATUS LIKE EDIDC-STATUS DEFAULT '51'.
    SELECT-OPTIONS : S_DIRECT FOR EDIDC-DIRECT,
                     S_MESTYP FOR EDIDC-MESTYP,
                     S_CREDAT FOR EDIDC-CREDAT.
    SELECTION-SCREEN END OF BLOCK B1 .
    PARAMETER: P_EMAIL LIKE SOMLRECI1-RECEIVER,
               P_SENDER LIKE SOMLRECI1-RECEIVER no-display,
               P_DELSPL  AS CHECKBOX,
               P_ONLINE NO-DISPLAY.
    DATA : TB_EDIDC LIKE STANDARD TABLE OF EDIDC INITIAL SIZE 0 WITH HEADER
    LINE.
    DATA : TB_EDPAR LIKE STANDARD TABLE OF EDPAR INITIAL SIZE 0 WITH HEADER
    LINE.
    DATA : TB_KNA1 LIKE STANDARD TABLE OF KNA1 INITIAL SIZE 0 WITH HEADER
    LINE.
    DATA : TB_ADRC LIKE STANDARD TABLE OF ADRC INITIAL SIZE 0 WITH HEADER
    LINE.
    DATA: INT_PDF TYPE TABLE OF TLINE WITH HEADER LINE.
    DATA : BEGIN OF TB_ED OCCURS 0,
             SNDPRN LIKE EDIDC-SNDPRN,
             LOC    LIKE ADRC-BUILDING,
             DOCNUM LIKE EDIDC-DOCNUM,
             IDOCTP LIKE EDIDC-IDOCTP,
             MESTYP LIKE EDIDC-MESTYP,
             DIRECT LIKE EDIDC-DIRECT,
             CREDAT LIKE EDIDC-CREDAT,
             STATUS LIKE EDIDC-STATUS,
           END OF TB_ED.
    DATA:   IT_MESSAGE TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   IT_ATTACH TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
                    WITH HEADER LINE.
    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.
    DATA: GD_RECSIZE TYPE I.
    CONSTANTS: C_DEV LIKE  SY-SYSID VALUE 'DEV',
               C_NO(1)     TYPE C   VALUE ' ',
               C_DEVICE(4) TYPE C   VALUE 'LOCL'.
    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.
    DATA : MSTR_PRINT_PARMS LIKE PRI_PARAMS,
           MC_VALID,
           P_REPID LIKE SY-REPID,
           WF_ID  LIKE TSP01-RQIDENT,
           LOC_BYTECOUNT TYPE I.
    *start-of-selection.
    MSTR_PRINT_PARMS-PDEST = 'LOCL'.
    P_REPID = SY-REPID.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
        authority= ' '
       COPIES                       = '1'
       COVER_PAGE                   = SPACE
       DATA_SET                     = SPACE
       DEPARTMENT                   = SPACE
       DESTINATION                  = 'LP01'
       EXPIRATION                   = '1'
       IMMEDIATELY                  = 'X'
       LAYOUT                       = 'X_65_132'
       MODE                         = SPACE
       NEW_LIST_ID                  = 'X'
       NO_DIALOG                    = 'X'
       USER                         = SY-UNAME
    IMPORTING
       OUT_PARAMETERS               = MSTR_PRINT_PARMS
       VALID                        = MC_VALID
    EXCEPTIONS
       ARCHIVE_INFO_NOT_FOUND       = 1
       INVALID_PRINT_PARAMS         = 2
       INVALID_ARCHIVE_PARAMS       = 3
       OTHERS                       = 4.
         SUBMIT (P_REPID) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                          SPOOL PARAMETERS MSTR_PRINT_PARMS.
                          AND RETURN.
    NEW-PAGE PRINT ON NO DIALOG PARAMETERS
    MSTR_PRINT_PARMS.
    perform data.
    NEW-PAGE PRINT OFF. "This marks the end of the screen for which the
    *SPOOL NO WAS GENERATED.
    WF_ID = SY-SPONO.
    *converting spool to pdf
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
         EXPORTING
              SRC_SPOOLID              = WF_ID  "SPOOL NUMBER
              NO_DIALOG                = SPACE
              PDF_DESTINATION          = 'X'
         IMPORTING
              PDF_BYTECOUNT =
                 LOC_BYTECOUNT "NUMBER OF BYTES TRANSFERRED
         TABLES
              PDF                      = INT_PDF  "TABLE FOR PDF REPORT
         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.
    *CALL FUNCTION 'DOWNLOAD'
    *EXPORTING
    *bin_filesize = loc_bytecount "NO. OF BYTES
    *filename = 'C:/EMAILPDF.PDF'
    *filetype = 'BIN'
    **IMPORTING
    **act_filename = loc_filename
    *TABLES
    *data_tab = int_pdf.
    IF P_DELSPL EQ 'X'.
      PERFORM DELETE_SPOOL.
    ENDIF.
    Transfer the 132-long strings to 255-long strings
    LOOP AT INT_PDF.
      TRANSLATE INT_PDF USING ' ~'.
      CONCATENATE GD_BUFFER INT_PDF 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.
    DESCRIBE TABLE IT_MESS_ATT LINES GD_RECSIZE.
    CHECK GD_RECSIZE > 0.
    PERFORM SENDMAIL USING P_EMAIL..
    *&      Form  sendmail
          text
    -->  p1        text
    <--  p2        text
    FORM SENDMAIL USING P_EMAIL.
      CHECK NOT ( P_EMAIL IS INITIAL ).
      REFRESH IT_MESS_BOD.
    Default subject matter
      GD_SUBJECT         = 'Subject'.
      GD_ATTACHMENT_DESC = 'IDOC LIST'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      IT_MESS_BOD        = 'List Of Failed Idocs'.
      APPEND IT_MESS_BOD.
      IT_MESS_BOD        = 'List Of Failed Idocs'.
      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
                                          'Document attachment'
                                          'PDF'
                                          GD_ATTACHMENT_NAME
                                          GD_ATTACHMENT_DESC
                                          P_SENDER
                                          GD_SENDER_TYPE
                                 CHANGING GD_ERROR
                                          GD_RECIEVER.
    ENDFORM.                    " sendmail
    *&      Form  DELETE_SPOOL
          text
    -->  p1        text
    <--  p2        text
    FORM DELETE_SPOOL.
      DATA: LD_SPOOL_NR TYPE TSP01_SP0R-RQID_CHAR.
      LD_SPOOL_NR = WF_ID.   "GD_SPOOL_NR.
      CHECK P_DELSPL <> C_NO.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                SPOOLID = LD_SPOOL_NR.
    ENDFORM.                    " DELETE_SPOOL
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          text
         -->P_IT_MESS_BOD  text
         -->P_IT_MESS_ATT  text
         -->P_P_EMAIL  text
         -->P_0846   text
         -->P_0847   text
         -->P_GD_ATTACHMENT_NAME  text
         -->P_GD_ATTACHMENT_DESC  text
         -->P_P_SENDER  text
         -->P_GD_SENDER_TYPE  text
         <--P_GD_ERROR  text
         <--P_GD_RECIEVER  text
    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.
      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 = p_EMAIL.
      T_RECEIVERS-REC_TYPE = 'U'.
      T_RECEIVERS-COM_TYPE = 'INT'.
      T_RECEIVERS-NOTIF_DEL = 'X'.
      T_RECEIVERS-NOTIF_NDEL = 'X'.
      APPEND T_RECEIVERS.
      DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    W_SENT_ALL = 'X'.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_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
                object_header              = objhead
                CONTENTS_BIN               = T_ATTACHMENT
                CONTENTS_TXT               = IT_MESSAGE
                RECEIVERS                  = T_RECEIVERS
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
                OTHERS                     = 99.
      IF SY-SUBRC NE 0.
        MESSAGE E000 WITH 'Error occurred while sending'.
      ELSE.
        MESSAGE I000 WITH 'The document was sent'.
      ENDIF.
    ENDFORM.                    " SEND_FILE_AS_EMAIL_ATTACHMENT
    *&      Form  data
          text
    -->  p1        text
    <--  p2        text
    FORM data.
    SELECT SNDPRN
             DOCNUM
             IDOCTP
             MESTYP
             DIRECT
             CREDAT
             STATUS
             FROM EDIDC
             INTO CORRESPONDING FIELDS
             OF TABLE TB_EDIDC
             WHERE STATUS = P_STATUS
             AND MESTYP IN S_MESTYP
             AND DIRECT IN S_DIRECT
             AND CREDAT IN S_CREDAT.
    SELECT KUNNR
           INPNR
           FROM EDPAR
           INTO CORRESPONDING FIELDS
           OF TABLE TB_EDPAR
           FOR ALL ENTRIES IN TB_EDIDC
           WHERE KUNNR = TB_EDIDC-SNDPRN.
    SELECT KUNNR
           ADRNR
           FROM KNA1
           INTO CORRESPONDING FIELDS
           OF TABLE TB_KNA1
           FOR ALL ENTRIES IN TB_EDPAR
           WHERE KUNNR = TB_EDPAR-INPNR.
    SELECT ADDRNUMBER
           BUILDING
           FROM ADRC
           INTO CORRESPONDING FIELDS
           OF TABLE TB_ADRC
           FOR ALL ENTRIES IN TB_KNA1
           WHERE ADDRNUMBER = TB_KNA1-ADRNR.
    LOOP AT TB_EDIDC WHERE STATUS = P_STATUS
                     AND MESTYP IN S_MESTYP
                     AND DIRECT IN S_DIRECT
                     AND CREDAT IN S_CREDAT.
      TB_ED-SNDPRN = TB_EDIDC-SNDPRN.
      TB_ED-DOCNUM = TB_EDIDC-DOCNUM.
      TB_ED-IDOCTP = TB_EDIDC-IDOCTP.
      TB_ED-MESTYP = TB_EDIDC-MESTYP.
      TB_ED-DIRECT = TB_EDIDC-DIRECT.
      TB_ED-CREDAT = TB_EDIDC-CREDAT.
      TB_ED-STATUS = TB_EDIDC-STATUS.
      READ TABLE TB_EDPAR WITH KEY KUNNR = TB_EDIDC-SNDPRN.
      READ TABLE TB_KNA1 WITH KEY KUNNR = TB_EDPAR-INPNR.
      READ TABLE TB_ADRC WITH KEY ADDRNUMBER = TB_KNA1-ADRNR.
      TB_ED-LOC = TB_ADRC-BUILDING.
      APPEND TB_ED.
    ENDLOOP.
    WRITE :/02 'CustomerNo',
            15 'Location Code',
            30 'Idoc Number',
            55 'Basic Type',
            70 'Message Type',
            95 'Direction',
            110 'Received Date',
            130 'Status'.
    ULINE.
    LOOP AT TB_ED.
      WRITE :/02 TB_ED-SNDPRN,
              15 TB_ED-LOC,
              30 TB_ED-DOCNUM,
              55 TB_ED-IDOCTP,
              70 TB_ED-MESTYP,
              95 TB_ED-DIRECT,
              110 TB_ED-CREDAT,
              130 TB_ED-STATUS.
    ENDLOOP.
    ENDFORM.                    " data
    Kindly help me in solving the issue.
    Thanks in advance.
    Suki.

    Hi,
    Check in transaction SCOT. If your mail is in error status in SCOT, you can assure that there is no problem with your code. If your message has not reached till SCOT, then the problem will be with the code.
    If the mail is there in scot with error status tell the BASIS to configure it. I feel this could be the problem.
    Regards,
    Renjith Michael.

  • Error while sending sales order form by fax

    hi,
    Sending Sales order by fax is not working. While adding output type for Sales order choosing device as 'FAX' is throwing an error saying that 'Error while sending fax with SO_OBJECT_SEND, return code 9'.  Anything needs to be configured or we have to code anything in SAPScript program. Please advise.

    Hi Harry,
    You don't need to write any particular code for sending FAX in SAPscript. But you may need to check some configurations regarding it.
    We configure SCOT to send Fax and mails to outside SAP. Check SAP Note 455140 for the configuration of SCOT tcode.
    Please refer this link [Sending FAX |Sending FAX from SAP;
    It might be helpful.
    Thanks,
    Daya.

  • Error while sending data from XI to BI System

    Hello Friends,
    I m facing an error while sending data from XI to BI. XI is successfully recived data from FTP.
    Given error i faced out in communication channel monitoring:-
    Receiver channel 'POSDMLog_Receiver' for party '', service 'Busys_POSDM'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR partner '10.1.45.35:sapgw01' not reached
    TIME Fri Apr 16 08:15:18 2010
    RELEASE 700
    COMPONENT NI (network interface)
    VERSION 38
    RC -10
    MODULE nixxi.cpp
    LINE 2823
    DETAIL NiPConnect2
    SYSTEM CALL connect
    ERRNO 10061
    ERRNO TEXT WSAECONNREFUSED: Connection refused
    COUNTER 2
    Error displaying in message monitoring:-
    Exception caught by adapter framework: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '10.1.45.35:sapgw01' not reached TIME        Fri Apr 16 08:15:18 2010 RELEASE     70
    Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '10.1.45.35:sapgw01' not reached TIME.
    Kindly suggest me & provide details of error.
    Regards,
    Narendra

    Hi Narendra,
    Message is clearly showing that your system is not reachable
    102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached
    Please check to ping the BI server  IP 10.1.45.35 from your XI server , in case its working you can check telnet to SAP standard port like 3201/3601/3301/3901 etc.
    It seems to be connectivity issue only.
    Make sure your both the systems are up and running.
    Revert back after checking above stuff.
    Regards,
    Gagan Deep Kaushal

  • Error while sending mail from SAP

    Hello All,
    Recently we are facing an error while sending mail from SAP. When we try to compose a message ,it is moving to a dump error RAISE_EXCEPTION.
    The details from ST22,
    Short text
        Exception condition "FOLDER_NOT_EXIST" raised.
    Error analysis
        A RAISE statement in the program "SA
        condition "FOLDER_NOT_EXIST".
        Since the exception was not intercep
        program, processing was terminated.
    Kindly suggest..
    Thank You,
    Regards,
    Hasan

    Hello Priyanka,
    Actually, I performed the following two steps in order to solve the issue:
    - In transaction SICF, the node for SAPConnect must be active. In our system, this node was in inactive state. Hence I activated it.
    - Then In transaction SCOT-> Settings menu--> default domain should be 'xyz.com' if the email addresses in your company are maintained with a suffix  xyz.com.
    But for me the problem didnt get solved here..
    The problem that i am facing now is that if in my user profile, I have the email address maintained, then i get an error saying 'Sender address rejected'. However, if i goto transaction SU01 and clear the email id, the mail is successfully sent to outer world.
    You can try the above mentioned two steps using SICF and SCOT. If the problem does not get solved then try clearing the mail id in ur user profile.
    Hope this helps. If you find an answer to the problem of the mail id getting cleared, then please let me know..
    Regards,
    Himanshu

  • Error while sending emails from SOA 11G BPEL

    Hi All,
    I have configured an error email in my catch/catch-all blocks. Incase I dont have any retry action in my faultpolicies.xml file, the error email is sent fine. However if any remote/binding fault occurs and retry is done on partnerlink, in those cases the Error Notification service fails with below error:
    ORABPEL-31015
    Error while sending notification.
    Error while sending notification to email.
    Possible causes : SDPMessaging Driver not configured; Invalid To Address is used; Email server/Messaging gateway is down; using IP address as part of email ID instead of domain name;.
    Caused by: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/services/NotificationServiceBean in /app/ejb/ejb_ob_engine_wls.jar#BPELActivityManagerBean.; remaining name 'comp/env/ejb/services/NotificationServiceBean'
    sendEmailNotification WSIF Exception occured. Please check stack trace "Cannot get Object part 'Responses'. No parts are set on the message"
    If I throw a remote/binding fault (throw activity), the error email gets sent. However whenever the retry happens incase of a fault, the above error comes.
    Any idea what can be reason behing this...
    Regards
    Subhankar

    try to call a sub process from your catch all block and use the email activity in that subprocess. this should work

  • Authentication Error while Sending Email from SMTP server.

    Authentication Error while Sending Email from SMTP server.  Can receive emails but cannot send emails from this account. 

    no email account was setup on the phone unless it was issued by your company.
    gmail is required but no server address ports to enter.
    my gmail account was setup before i took delivery of the phone but could have been done when phone was activated.
    i added cox pop3 email and had to manually enter both pop3 and smtp servers with both boxes checked on both servers.
    i doubt if it's a verizon issue.

Maybe you are looking for

  • IaStor Event ID 9 error with T420s and OCZ-Agilit​y3

    Hello, I need your help, as I've been battling this issue for the last 3 days and I'm extremely frustrated. I'm running a Lenovo T420s (4170CTO) and replaced the IDE HD with a SSD OCZ-Agility3. I am getting iaStor Event ID9 error in my system event

  • Try to upgrade Itune 11.1.3 after downloading, its stuck at the installing screen with a long time ??

    what i did was i download a full version of Itune 11.1.3, it start to install but in the middle it popup 'You do not have permission to open c:\program files\iPod how to solve this issue ??

  • Problem with ORB.connect

    Though a stand alone application is making ORB connection successfully , when i call ORB.connect from an EJB application it is returning me the following error code org.omg.CORBA.OBJ_ADAPTER: minor code: 1398079690 completed: No (with Java runtime en

  • What kind of server can host RMI

    I am trying to use RMI, however there are some simple question about the server type I want to ask. A. Is it possible to use a http server like www.myschoolurl.edu/~mypage? I can only access the root directory of ~mypage in a unix system. B. Can I us

  • Search in binary content

    I want to search for word in a binary content. For example I have a type "News" which has the proprieties : title, description ( binary type - mime - text/html). I want to find all news containing in description a word given - example : "and"). I hav