Simple Mail Configuration in NACE

Hi Gurus
We have a requirement that system should send out an email to the partner carrier whenever a delivery is ready. However plz guide how to configure simple email in NACE for this requirement. I suppose a program is required with a smartform of the email contents.
Will be waiting for your response.
Regards
Waz

Copy the output type mail and then check whether it is included in the output determoination procedure of the sales order deliver or billing for that matter if not then include it.
Then set up the condition records and ther in system will ask you to assign a dummy email id.
Next make sure you have maintained the email id in the partner or the customer (SP ,BP ,SH) which you are setting up in the putput records master data and give the option 4 which is output is generated as and when the document is generated.
Next time when you generate the documents the mail will be sent out to the Business partner which can ben set up in the records.
Thanks!

Similar Messages

  • PO Output - Simple Mail.

    Hi,
    I configured new PO output type for simple mail.  I cannot get the output type to default onto the PO.  In the determination analysis screen within the PO messages screen, it finds the condition record, but also has another error:
    Message 539:  No partner was found for Partner function MP
    I assume this is the reason why the output is not defaulting.  How do i resolve this such that the output type defaults?
    Cheers,

    Hi,
    Please check customising, Check your setting for partner role MP
    in partner schema 
    IMG .> MM > Purchasing > Partner Determination
       > Partner Settings in Purchasing documents
        > Define Partner Schemas
    Check your settings for partner role MP in partner schema XXXX:
        - no change
        - mandatory
        - end     
        - higherLvl
    The recommended settings for these four parameters are yes/yes/no/yes.
    Kind regards,
    Lorraine

  • PO Output: Medim 7 (Simple Mail)

    Hi all,
    Has anyone come across with PO output with medium 7 (Simple Mail)?
    Any idea of how to configure it in the system?
    Thanks.
    Tom

    Hi Tom,
    Basically there are two mail types: Internet mail (external mail) and
    SAPOffice mail.
    Mail is sent via the output determination in both cases.
    If you use the external mail, the message for the purchasing document is
    converted into a corresponding text file which is sent to the vendor via
    the Internet.
    SAPOffice mail is sent only within the R/3 System and has mainly the
    function of providing information.
    In particular, it is not possible to attach a message (form) for a
    purchasing document to a SAPOffice mail.
    When using external mail, the following basic settings are required:
    1.  You must maintain an e-mail address in the address in the vendor
        master.
    2.  The same applies to your own user master. You also have to specify
        an e-mail address there in order to identify the sender.
        o  Note that it is not possible to change the e-mail address of the
           vendor via the SAP purchase order transaction (ME21N, ME22N, and
           so on).
        o  You can only make a permanent change using the vendor master
           transactions XK02 or MK02.
         o  You can use a temporary email address in Transaction ME21N.
    3.  For the output type for default values, a communication strategy
         needs to be maintained in the Customizing that supports the e-mail.
         You can find the definition of the communication strategy in the
         Customizing via the following path: (SPRO -> IMG -> SAP Web
         Application Server -> Basic Services -> Message Control -> Define
         Communication Strategy). As a default, communication strategy CS01
         is delivered. This already contains the necessary entry for the
         external communication. Bear in mind that without a suitable
         communication strategy it is not possible to communicate with a
         partner via Medium 5 (external sending).
    4.  Use the standard SAP environment (program 'SAPFM06P', FORM routine
         'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5.  In the condition records for the output type (for example,
         Transaction MN04), use medium '5' (External send).
    6.  You can use Transaction SCOT to trigger the output manually. The
         prerequisite for a correct sending is that the node is set
         correctly. This is not described here, but it must have already been
         carried out.
    7.  To be able to display, for example, the e-mail in Outlook, enter PDF
         as the format in the node.
    To use the SAPOffice mail, the following basic settings are required:
    1.  For the output type for default values, a communication strategy
        needs to be maintained in the Customizing that supports the e-mail.
        You can branch to the maintenance of the communication strategy via
        the input help.
    2.  Use the SAP standard environment (program "RSNASTSO" and FORM
        routine "SAPOFFICE_AUFRUF") as the processing routines.
    3.  In the condition records for the output type (for example,
        Transaction MN04), use medium '7' (SAPOffice) and also partner role
        'MP' (mail partner).
    - Sanjeev

  • Output thro simple mail concept

    Hi
    My requirement is sending invoice output to customer. I have option of sending thro' external send(5). But i am looking to use simple mail(5) concept. Can i use this. If i can use what is the program i need mentioned in the nace and also can i use smart form.
    i had checked with my programmer, he had stdprogram RSNASTSO and form routine SAPOFFICE_AUFRUF_VX which is used to mail to SAP inbox , he tried to modify this program based on our requirement and add the smartform to it. we got the mail but the information in smartform did not come in the mail i.e program is not accessing the information.
    Please let me know your input.
    Thanks
    sriram

    Hi,
    Try the below code.
    REPORT  z_sd_multi_cust_mail.
    TABLES:nast,kna1,vbak.
    DATA : v_vbeln     LIKE vbak-vbeln,
           v_ucomm     LIKE sy-ucomm,
           v_form_name TYPE rs38l_fnam.
    START-OF-SELECTION.
    *&      Form  entry
          text
         -->RETURN_CODE  text
         -->US_SCREEN    text
    FORM entry USING return_code us_screen.
      CLEAR return_code.
      CLEAR:v_vbeln,v_form_name.
      v_vbeln = nast-objky.
      v_ucomm = 'PRNT'.
      IF v_ucomm  = 'PRNT' ."For Mail sending
        CALL FUNCTION 'Z_QUOTATION_MAIL_SEND'
          EXPORTING
            vbeln = nast-objky.
      ENDIF.
      CLEAR:v_ucomm.
    ENDFORM.                    "entry
    In FM 'Z_QUOTATION_MAIL_SEND'
    FUNCTION Z_QUOTATION_MAIL_SEND.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(VBELN) TYPE  NAST-OBJKY
    Importing Parameter is
    VBELN     TYPE     NAST-OBJKY
      TABLES:  nast,
               kna1,
               vbak.
      DATA: i_otf       TYPE itcoo OCCURS 0       WITH HEADER LINE,
            i_tline     TYPE TABLE OF tline       WITH HEADER LINE,
            i_receivers TYPE TABLE OF somlreci1   WITH HEADER LINE,
            i_record    LIKE solisti1   OCCURS 0  WITH HEADER LINE,
    *---Objects to send mail.
            i_objpack   LIKE sopcklsti1 OCCURS 0  WITH HEADER LINE,
            i_objtxt    LIKE solisti1   OCCURS 0  WITH HEADER LINE,
            i_objbin    LIKE solisti1   OCCURS 0  WITH HEADER LINE,
            i_reclist   LIKE somlreci1  OCCURS 0  WITH HEADER LINE,
    *---Work Area declarations
            wa_objhead  TYPE soli_tab,
            w_ctrlop    TYPE ssfctrlop,
            w_compop    TYPE ssfcompop,
            w_return    TYPE ssfcrescl,
            wa_doc_chng TYPE sodocchgi1,
            w_data      TYPE sodocchgi1,
            wa_buffer   TYPE string, "To convert from 132 to 255
    *--- Variables declarations
            v_form_name  TYPE rs38l_fnam,
            v_len_in     LIKE sood-objlen,
            v_len_out    LIKE sood-objlen,
            v_len_outn   TYPE i,
            v_lines_txt  TYPE i,
            v_lines_bin  TYPE i,
            v_vbeln      TYPE vbak-vbeln.
      DATA:BEGIN OF i_adr6 OCCURS 0,
           addrnumber LIKE adr6-addrnumber,
           consnumber LIKE adr6-consnumber,
           smtp_addr  LIKE adr6-smtp_addr,
           END OF i_adr6.
      v_vbeln = vbeln.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'Z_SD_SSF_QUOTATION'
        IMPORTING
          fm_name            = v_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      w_ctrlop-getotf     = 'X'.
      w_ctrlop-no_dialog  = 'X'.
      w_compop-tdnoprev   = 'X'.
      CALL FUNCTION v_form_name   "'/1BCDWB/SF00000093'
        EXPORTING
          control_parameters = w_ctrlop
          output_options     = w_compop
          user_settings      = 'X'
          p_vbeln            = v_vbeln
        IMPORTING
          job_output_info    = w_return
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      i_otf[] = w_return-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_len_in
        TABLES
          otf                   = i_otf
          lines                 = i_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
      ENDIF.
      LOOP AT i_tline.
        TRANSLATE i_tline USING '~'.
        CONCATENATE wa_buffer i_tline INTO wa_buffer.
      ENDLOOP.
      TRANSLATE wa_buffer USING '~'.
      DO.
        i_record = wa_buffer.
        APPEND i_record.
        SHIFT wa_buffer LEFT BY 255 PLACES.
        IF wa_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    *---Attachment
      REFRESH:i_reclist,
              i_objtxt,
              i_objbin,
              i_objpack.
      CLEAR wa_objhead.
      i_objbin[] = i_record[].
    *---Create Message Body Title and Description
      i_objtxt = 'PDF-Attachment Of Quotation!'.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
      READ TABLE i_objtxt INDEX v_lines_txt.
      DATA: v_str1 TYPE char12,
            v_str2 TYPE char50.
      CONCATENATE 'Quotation' '-' v_vbeln INTO v_str2 SEPARATED BY space.
      wa_doc_chng-obj_name   = 'smartform'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr  = v_str2.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size   = v_lines_txt * 255.
    *---Main Text
      CLEAR i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num   = v_lines_txt.
    i_objpack-doc_type   = 'RAW'.
      APPEND i_objpack.
    *---Attachment (pdf-Attachment)
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
      READ TABLE i_objbin INDEX v_lines_bin.
      i_objpack-doc_size  = v_lines_bin * 255 .
      i_objpack-body_num  = v_lines_bin.
      i_objpack-doc_type  = 'PDF'.
      i_objpack-obj_name  = 'smart'.
      i_objpack-obj_descr = 'Quotation'.
      APPEND i_objpack.
      SELECT SINGLE * FROM vbak WHERE vbeln = v_vbeln.
      SELECT SINGLE * FROM kna1 WHERE kunnr = vbak-kunnr.
    *---Getting the Multiple MAIL ID'S in this Vendor
      SELECT addrnumber
             consnumber
             smtp_addr
             FROM adr6 INTO TABLE i_adr6
             WHERE addrnumber = kna1-adrnr
             AND   flg_nouse  = space.
    *---Adding the Multiple mail id into Receiptant list
      LOOP AT i_adr6.
        i_reclist-receiver = i_adr6-smtp_addr.
        i_reclist-rec_type = 'U'.
        APPEND i_reclist.
        CLEAR: i_reclist,i_adr6.
      ENDLOOP.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = i_objpack
          object_header              = wa_objhead
          contents_bin               = i_objbin
          contents_txt               = i_objtxt
          receivers                  = i_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.
    ENDFUNCTION.

  • How can i setup my E-Mail Configuration which can map to Gmail SMTP in Oats

    Hi Team,
    I would like to send the reports which i test to some gmail Id's using OATS E-mail Configuration,
    Can you please let me know what are the fields needs to entered
    SMTP Servers :
    When i Searched it says the following are the SMPT server
    smtp.gmail.com
    SSL Port 465
    StartTLS Port 587
    Please let me know which one to enter in the "SMTP Server" text box
    Return Address : Which address do we need to enter in this field
    Thanks and Waiting for your reply,
    Anand.

    I'm facing the same problem, who can help us ? what to enter into fields?

  • Server: Mail configuration of Server Admin not showing ANY Accounts

    I have an LDAP directory for my accounts and in the Server Admin GUI, under the Mail configuration, I am not showing any accounts. Currently mail services not working and I have tried to reconstruct the db to no avail.
    I the POP log im gettting ...
    Aug 10 14:03:29 mail pop3[24233]: DBERROR: critical database situation
    In the Mail Access log ...
    Aug 10 14:04:56 mail lmtpunix[29548]: DBERROR: critical database situation

    How about more info?
    Did you ever have a working setup? Accounts?
    How did you try to reconstruct?
    Check /var/log/mailaccess.log and post some more info for a process number (number in square brackets)

  • Can we provide UN and pwd Authentication 4r SMTP Mail Configuration

    Dear All,
    Previously we are able to send the mails from SAP to Outside World. After chaning the Mail Server to MS Exchange 2003
    We enabled the Port the 25.
    We are facing a problem While configuring a mail via SMTP for Exchange Server 2003.
    Throws an Error Message:
    Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 554 554 > : Recipient add
    As per network Team :
    Unless we provide a Username and password, the Send/Receive process does not happen.
    Is there any option in SAP - SMTP Mail Configuration to Provide user and password Authentication.
    I searched in SDN as well as in market place. but i could not succeed. Please guide me the process.
    Regards
    SNB.

    Hi we are configuring Google SMTP getting below error..
    No delivery to xxx.com, authentication required
    Message no. XS856
    Diagnosis
    The message was processed successfully in the SAP system. The mail server that is to receive the message for further processing requires authentication. Probably there is no logon data specified in the SAPconnect configuration.
    Information from external system (if available)
    smtp.gmail.com:587
    530 5.7.0 Must issue a STARTTLS command first. i91sm11178241qgd.25 - gsmtp
    Procedure
    Enter the logon data in the SAPconnect node.
    Using Gmail SMTP server using "smtp.gmail.com" with port 587
    Please advise.
    Regards,
    Sudarshan

  • Error in Mail configuration - parameters cannot be converted.

    Hello All,
    I have configured the mail configuration in 4.6d as per the notes 455127, 99965.
    but when i try to send the test mail i got the error
    Cannot process message in node, parameters cannot be converted ...
    Can any one please help me....
    the trace in SCOT is as follows.
    SO_OBJECT_SEND                      Recipient in queue flagged
    SO_OBJECT_SEND                      Structure: SOSCO
    SO_OBJECT_SEND                      Status written for this recipient
    SO_OBJECT_SEND                      Structure: SOST
    SO_OBJECT_SEND                      Queue updated
    SO_OBJECT_SEND                      Status updated
    SO_OBJECT_ID_FOR_SEND_GET           Object ID returned
    SX_OBJECTS_SEND                     Document type: M. Send attribute class: 0. No. of recipients: 1
    SX_OBJECTS_SEND                     Call of SX_PERFORM_RFCSEND with MAIL M RI-BEHEER
    SO_CONVERTED_VERSIONS_GET           Versions returned
    SX_PERFORM_RFCSEND                  Nicht unterstützte Formate: ALI OBJ OTF SCR URL
    SX_OUTGOING_VERSION_BUILD           Read contents of document RAW35000000000132
    SO_OBJECT_DATA_FOR_SEND_GET         Object transferred
    SO_OBJECT_PREPARE_FOR_SEND          Object prepared for transmission
    SX_SEND_DATA                        Structure: SXRECINFI1
    SX_SEND_DATA                        Structure: SXEXTRECI1
    SX_SEND_DATA                        Structure: SXPCKLSTI1
    SX_SEND_DATA                        Structure: SXDOCCHGI1
    SX_PERFORM_RFCSEND                  After call of function SX_OBJECT_RECEIVE Returncode: 8
    SX_PERFORM_RFCSEND                  Structure: SXEXTRECI1
    SX_GENERATE_NDR                     Cannot process message in node, parameters cannot be converted

    Hi,
    The following errors in the trace file:                           
    After call of function SX_OBJECT_RECEIVE ReturnCode: 8           
    Cannot process message in node, parameters cannot be converted   
    So the problem is caused by incorrect IMG configuration:
    The SX_OBJECT_RECEIVE Returncode: 8 error message is caused by an incorrectly entered path in the RFC IMG connection (SM59) or by not calling MLUNXSND via a script.
    The problem is that the mailgw.ini file not being present in /usr/sap/<SID>/SYS/exe/run/mlunxsnd or the <system_directory>/SYS/profile directory. MLUNXSND will check these two directories for a file call exactly mailgw.ini. If MLUNXSND does not find the file the error above is displayed.
    I would recommend that you create a shell script per OSS Note 99965 and set the GWCONFIG parameter to point to maligw.ini.
    Michael

  • Simple Mail vs. External Send

    Dear Experts,
    does anybody know what the difference between email sending method 'SIMPLE MAIL' and 'EXTERNAL SEND' is?
    Thanks a lot for any suggestion!
    Best regards,
    Marc

    hi,
    Check these links..
    [SIMPLE MAIL TRANSFER PROTOCOL|http://help.sap.com/saphelp_nwpi71/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm]
    [External Sending in the SAP System  |http://help.sap.com/saphelp_nw70/helpdata/en/55/a8b538891b11d2a25a00a0c943858e/frameset.htm]

  • SQL Server 2005 Database Mail - Mail configuration information could not be read from the database.

    I'm trying to setup Database Mail and send a test message, but it's not working.
    I've done several step-by-steps and all and I can't get it to work. Also checked several posts in this forum but none helped. I think it used to work before (2 months ago) but we had to turn it off.
    I've enabled it in Surface Configuration, have tried recreating all profiles, restarted SQL Agent, checked version mismatch...
    I check the Database Mail and I get the following message:
    Log Database Mail (Database Mail Log)
    Log ID 152
    Process ID 7684
    Last Modified 3/14/2013 6:49:58 PM
    Last Modified By SPEEDLING\sqlservice
    Message
    1) Exception Information
    ===================
    Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
    Message: Mail configuration information could not be read from the database.
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.Account GetAccount(Int32)
    HelpLink: NULL
    Source: DatabaseMailEngine
    StackTrace Information
    ===================
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)
       at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateSendMailCommand(DBSession dbSession)
       at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandRunner.Run(DBSession db)
       at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.ThreadCallBack.MailOperation(Object o)
    2) Exception Information
    ===================
    Exception Type: System.IndexOutOfRangeException
    Message: timeout
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Int32 GetOrdinal(System.String)
    HelpLink: NULL
    Source: System.Data
    StackTrace Information
    ===================
       at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
       at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
       at System.Data.SqlClient.SqlDataReader.get_Item(String name)
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)

    I'm trying to setup Database Mail and send a test message, but it's not working.
    I've done several step-by-steps and all and I can't get it to work. Also checked several posts in this forum but none helped. I think it used to work before (2 months ago) but we had to turn it off.
    I've enabled it in Surface Configuration, have tried recreating all profiles, restarted SQL Agent, checked version mismatch...
    I check the Database Mail and I get the following message:
    Log
    Database Mail (Database Mail Log)
    Log ID
    152
    Process ID
    7684
    Last Modified
    3/14/2013 6:49:58 PM
    Last Modified By
    SPEEDLING\sqlservice
    Message
    1) Exception Information
    ===================
    Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
    Message: Mail configuration information could not be read from the database.
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.Account GetAccount(Int32)
    HelpLink: NULL
    Source: DatabaseMailEngine
    StackTrace Information
    ===================
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)
       at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateSendMailCommand(DBSession
    dbSession)
       at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandRunner.Run(DBSession db)
       at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.ThreadCallBack.MailOperation(Object o)
    2) Exception Information
    ===================
    Exception Type: System.IndexOutOfRangeException
    Message: timeout
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Int32 GetOrdinal(System.String)
    HelpLink: NULL
    Source: System.Data
    StackTrace Information
    ===================
       at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
       at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
       at System.Data.SqlClient.SqlDataReader.get_Item(String name)
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)

  • Purchase order driver program and configuration for nace

    i have copied the medruck in script and i need to write the driver program for that and need to configure to nace can any one tell me how to do this.

    Hi Rocky,
    Below are steps to configure:
    1. Go to transaction NACE
    2. Select EF application, click on output types
    3. Select Output type NEU and double click on processing routines
    4. Here you can give ur driver program name and script name
    Hope it will solve the problem.
    Regards
    Krishnendu

  • Oracle workflow notification mailer configuration error

    hi,
    i am trying to setup oracle wf notification mailer and trying to put a test email address so that all the emails go to that email address.
    but getting following message,
    FAILURE: javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. p5sm5221427pbd.12
    my env:
    Oracle R12 on Oracle Linux 5.5
    smtp server: smtp.gmail.com
    imap server: imap.gmail.com
    outgoing and incoming: SSL enabled
    my sendmail in Oracle linux 5.5 works fine and using that i am able to sent email address to outside world.
    please advice on the above error that i am getting in notificaiton mailer configuration screen.
    thanks,

    this is the latest log file for recreating the repos,
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'create' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'drop' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: /u01/oracle/VIS/db/tech_st/11.1.0
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: /u01/oracle/VIS/db/tech_st/11.1.0
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: VIS
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 isDBC: false
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 agentHome: null isCentral: false
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 agentHome: null isCentral: false
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user:
    Jun 14, 2011 10:47:56 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:47:56 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 14, 2011 10:47:56 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 14, 2011 10:48:02 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1528
    Jun 14, 2011 10:48:04 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jun 14, 2011 10:48:04 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:04 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: DBSNMP
    Jun 14, 2011 10:48:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:20 AM oracle.sysman.emcp.ParamsManager setParam
    Jun 14, 2011 10:48:25 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: MAIL_SERVER_NAME value: smtp.gmail.com
    Jun 14, 2011 10:48:25 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:25 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :/u01/oracle/VIS/db/tech_st/11.1.0
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/emca/VIS/emca_2011_06_14_10_47_51.log.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'CHECK_CONFIG' set to true
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: DBSNMP
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: No dbid available. Will query db to extract it.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBID value: 305783605
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.EMDBPreConfig invoke
    CONFIG: Passed repository configuration check
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties has been copied to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emoms.properties to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emoms.properties has been copied to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/emd/targets.xml to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/emd/targets.xml.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/emd/targets.xml has been copied to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/emd/targets.xml.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 agentHome: null isCentral: false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 isDBC: false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 isDBC: false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /u01/oracle/VIS/db/tech_st/11.1.0/oui
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /u01/oracle/VIS/db/tech_st/11.1.0/oui
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.OUIInventoryUtil getAllOracleHomeLoc
    CONFIG: /etc/oraInst.loc and /u01/oracle/VIS/db/tech_st/11.1.0/oraInst.loc are not the same. Getting list of homes from /u01/oracle/VIS/db/tech_st/11.1.0/oraInst.loc
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /u01/oracle/VIS/db/tech_st/11.1.0/oui
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [u01/oracle/VIS/apps/tech_st/10.1.3, /u01/oracle/VIS/apps/tech_st/10.1.2, /u01/oracle/VIS/db/tech_st/11.1.0]
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /u01/oracle/VIS/apps/tech_st/10.1.3
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /u01/oracle/VIS/apps/tech_st/10.1.3/sysman/config/emd.properties
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /u01/oracle/VIS/apps/tech_st/10.1.3/sysman/config/emd.properties
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /u01/oracle/VIS/apps/tech_st/10.1.2
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: 1157 from /u01/oracle/VIS/apps/tech_st/10.1.2/sysman/config/emd.properties
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /u01/oracle/VIS/db/tech_st/11.1.0
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /u01/oracle/VIS/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /u01/oracle/VIS/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /u01/oracle/VIS/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /u01/oracle/VIS/db/tech_st/11.1.0/install/staticports.ini
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /u01/oracle/VIS/db/tech_st/11.1.0:localhost.localdomain:null:VIS:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_VIS value: 3938
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_VIS value: 1158
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_VIS value: 5540
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_VIS value: 5520
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: VIS : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
    CONFIG: File: /u01/oracle/VIS/db/tech_st/11.1.0/localhost.localdomain_VIS/sysman/emd/agntstmp.txt:localhost.localdomain does not exists.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:32 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: ORA-12541: TNS:no listener
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:no listener
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1771)
         at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:2682)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:193)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:147)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:222)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Jun 14, 2011 10:48:32 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Listener is not up. Start the Listener and run EM Configuration Assistant again .
    Refer to the log file at /u01/oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/emca/VIS/emca_2011_06_14_10_47_51.log for more details.
    Jun 14, 2011 10:48:32 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Listener is not up. Start the Listener and run EM Configuration Assistant again .
         at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:2689)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:193)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:147)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:222)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)

  • Simple mail functionality

    Hi,
    I am testing the simple mail functionality in transaction VA01.
    In customizing (output determination – processing routines) for simple mail is being used a program and a smartform. It was not me who developed them.
    The problem is that when I try to test this through VA01 (I choose simple mail, etc), I get a dump saying: ‘Invalid commit work in an update function module. Termination occurred in the ABAP program ‘SAPLSOI1’ – in “SO_DOCUMENT_SEND_API1”. The main program was “RSM13000’’.
    My problem now is how can I try to debug this when I am in transaction VA02? I am not able to execute the program I have in customizing…
    How can I found more information about this?
    Thanks a lot

    Weird..
    I am working with SAP ECC 6.0 - release 700
    In version history no one has modified the program...
    function so_document_send_api1.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(DOCUMENT_DATA) LIKE  SODOCCHGI1 STRUCTURE  SODOCCHGI1
    *"     VALUE(PUT_IN_OUTBOX) LIKE  SONV-FLAG DEFAULT SPACE
    *"     VALUE(SENDER_ADDRESS) LIKE  SOEXTRECI1-RECEIVER DEFAULT SY-UNAME
    *"     VALUE(SENDER_ADDRESS_TYPE) LIKE  SOEXTRECI1-ADR_TYP DEFAULT 'B'
    *"     VALUE(COMMIT_WORK) LIKE  SONV-FLAG DEFAULT SPACE
    *"  EXPORTING
    *"     VALUE(SENT_TO_ALL) LIKE  SONV-FLAG
    *"     VALUE(NEW_OBJECT_ID) LIKE  SOFOLENTI1-OBJECT_ID
    *"     VALUE(SENDER_ID) LIKE  SOUDK STRUCTURE  SOUDK
    *"  TABLES
    *"      PACKING_LIST STRUCTURE  SOPCKLSTI1
    *"      OBJECT_HEADER STRUCTURE  SOLISTI1 OPTIONAL
    *"      CONTENTS_BIN STRUCTURE  SOLISTI1 OPTIONAL
    *"      CONTENTS_TXT STRUCTURE  SOLISTI1 OPTIONAL
    *"      CONTENTS_HEX STRUCTURE  SOLIX OPTIONAL
    *"      OBJECT_PARA STRUCTURE  SOPARAI1 OPTIONAL
    *"      OBJECT_PARB STRUCTURE  SOPARBI1 OPTIONAL
    *"      RECEIVERS STRUCTURE  SOMLRECI1
    *"  EXCEPTIONS
    *"      TOO_MANY_RECEIVERS
    *"      DOCUMENT_NOT_SENT
    *"      DOCUMENT_TYPE_NOT_EXIST
    *"      OPERATION_NO_AUTHORIZATION
    *"      PARAMETER_ERROR
    *"      X_ERROR
    *"      ENQUEUE_ERROR
    data begin of object_hd_change.
            include structure sood1.
    data end of object_hd_change.
    data begin of attach_hd_change.
            include structure sood1.
    data end of attach_hd_change.
    data begin of object_data.
            include structure soodd.
    data end of object_data.
    data begin of objhead occurs 1.
            include structure soli.
    data end of objhead.
    data begin of objcont occurs 100.
            include structure soli.
    data end of objcont.
    data begin of atthead_tab occurs 1.
            include structure soli.
    data end of atthead_tab.
    data begin of attcont_tab occurs 10.
            include structure soli.
    data end of attcont_tab.
    data begin of atthead occurs 1.
            include structure soli.
    data end of atthead.
    data begin of attcont occurs 10.
            include structure soli.
    data end of attcont.
    data begin of new_pack_list occurs 10.
            include structure soxpl.
    data end of new_pack_list.
    data begin of rec_table occurs 10.
            include structure soos1.
    data end of rec_table.
    data begin of object_fl_change.
            include structure sofm1.
    data end of object_fl_change.
    data rcode like sonv-rcode.
    data object_type like sood-objtp.
    data object_id_new like soodk.
    data file_format(3).
    data: originator      like soos1-recextnam,
          originator_type like soos1-recesc.
    data: hex_size like sy-tabix.
    data: old_object like swotobjid,
        * sh070900 5.0A reconvert R30 into OBJ Docs is possible.
          sood_id like soodk.
    data: old_folder_id like soodk,
          old_object_id like soodk,
          old_forwarder like soud-usrnam,
          old_object_data like sood2.
    data hex_mode type sonv-flag value space.
    data dummy_hex type solix_tab.
    **data i.
    **if sy-uname = ''
    while i ne 1.
    endwhile.
    **endif.
    describe table contents_bin lines hex_size.
    if hex_size gt 0.
       call function 'SO_CONVERT_CONTENTS_BIN'
        exporting
          it_contents_bin = contents_bin[]
        importing
          et_contents_bin = contents_bin[].
       data l_new_size     type i.
       data l_line_size    type i.
       data l_new_doc_size type i.
       describe table contents_bin lines l_new_size.
       if l_new_size <> hex_size.
         describe field contents_bin-line length l_line_size in character mode.
         loop at packing_list where transf_bin = on.
           packing_list-body_start = packing_list-body_start * 2 - 1.
           packing_list-body_num = packing_list-body_num * 2.
           l_new_doc_size = packing_list-body_num * l_line_size / 2.
           if packing_list-doc_size <= l_new_doc_size.
             packing_list-doc_size = l_new_doc_size * 2.
           endif.
           modify packing_list.
         endloop.
       endif.
    endif.
    describe table contents_hex lines hex_size.
    if hex_size gt 0.
       refresh contents_bin.
      MOVE CONTENTS_HEX[] TO CONTENTS_BIN[].
       hex_to_cont contents_hex contents_bin.
    endif.
    * transfer document data
      perform transfer_objdat_to_obj using document_data
                                           object_hd_change
                                           object_fl_change.
      perform set_default_object_data using object_hd_change.
    * read object out of table
    * take API1, so no receiver conversion is necessary here
      read table packing_list index 1.   "first object is document
      if sy-subrc ne ok.   "no packing list
        raise parameter_error.
      endif.
      perform read_object_out_of_tables tables object_header
                                               contents_txt
                                               contents_bin
                                               objhead
                                               objcont
                                      using    packing_list
                                               object_data
                                               rcode.
    * parameters    for tracing
      LOOP AT OBJHEAD.
        PERFORM  TRACE(RSSOEXTR) USING 'OBJHEAD'  OBJHEAD-LINE.
      ENDLOOP.
      if rcode ne ok.   "no object found
        raise parameter_error.
      endif.
    * out of object data use only extern content flag and perhaps the size
      move object_data-extct to object_hd_change-extct.
      if object_hd_change-objlen = 0       or
         object_hd_change-objlen is initial.
        move object_data-objlen to object_hd_change-objlen.
      endif.
      perform format_prepare_for_insert in program sapfssoa          "873845
           using packing_list-transf_bin
                 dummy_hex
        changing objhead[]
                 objcont[]
                 packing_list-doc_type
                 object_hd_change-file_ext
                 rcode.
      move packing_list-doc_type to object_type.
    * for old types move size to header
      perform size_to_header tables objhead
                             using  object_type
                                    document_data-doc_size.
    get    now all attachments, decreibed in packing list
      refresh new_pack_list.
      refresh atthead_tab.
      refresh attcont_tab.
      loop at packing_list from 2.
        clear new_pack_list.
        perform read_object_out_of_tables tables object_header
                                                 contents_txt
                                                 contents_bin
                                                 atthead
                                                 attcont
                                        using    packing_list
                                                 object_data
                                                 rcode.
        check rcode = ok.
      * sh240899 46C check for executable mail attachment (MAPI)
        if packing_list-doc_type = 'R3O'.
          read table attcont index 21 into old_object.
          if old_object-objtype = 'SOFM'.
            read table attcont index 22.
            if attcont = 'PROCESS'.
            * it's an attachment created by MAPI because of an executable
            * mail
            * read old mail and fill new one with process parameters
              move: old_object-objkey(17) to old_folder_id,
                    old_object-objkey+17(17) to old_object_id,
                    old_object-objkey+34(12) to old_forwarder.
              call function 'SO_OBJECT_READ'
                   exporting
                        folder_id                  = old_folder_id
                        forwarder                  = old_forwarder
                        object_id                  = old_object_id
                   importing
                        object_hd_display          = old_object_data
                   tables
                        objpara                    = object_para
                        objparb                    = object_parb
                   exceptions
                        folder_not_exist           = 4
                        folder_no_authorization    = 5
                        object_not_exist           = 6
                        object_no_authorization    = 7
                        operation_no_authorization = 8
                        owner_not_exist            = 9
                        parameter_error            = 10
                        others                     = 15.
              if sy-subrc = 0.
                move: old_object_data-vmtyp to object_hd_change-vmtyp,
                      old_object_data-skips to object_hd_change-skips,
                      old_object_data-acnam to object_hd_change-acnam,
                      old_object_data-acmem to object_hd_change-acmem.
              endif.
              continue.
            elseif attcont = 'DISPLAYATTACHMENT'.
            * sh070900 5.0A reconvert R30 into OBJ Docs is possible.
            * get object instance and method into attachment body
              refresh: attcont, atthead.
              move old_object-objkey+17(17) to sood_id.
              perform socx_select(sapfsso0) tables atthead
                                                   attcont
                                                   object_para
                                                   object_parb
                                            using  sood_id
                                                   hex_mode
                                                   rcode.
              move atthead[] to attcont[].
            * fill new packing list parameter
              describe table atthead lines packing_list-head_num.
              describe table attcont lines packing_list-body_num.
              packing_list-doc_size = '255'.
              packing_list-doc_type = obj.
            endif.
          endif.
        endif.
        move-corresponding packing_list to new_pack_list.
        move: packing_list-obj_descr     to new_pack_list-objdes,
              packing_list-obj_name      to new_pack_list-objnam,
              packing_list-doc_size      to new_pack_list-objlen,
              packing_list-obj_langu     to new_pack_list-objla,
              packing_list-mess_type     to new_pack_list-extct,
              packing_list-doc_type      to new_pack_list-objtp,
              packing_list-transf_bin    to new_pack_list-transf_bin."873845
        describe table atthead_tab lines new_pack_list-head_start.
        add 1 to new_pack_list-head_start.
        describe table attcont_tab lines new_pack_list-body_start.
        add 1 to new_pack_list-body_start.
        perform format_prepare_for_insert in program sapfssoa        "873845
             using packing_list-transf_bin
                   dummy_hex
          changing atthead[]
                   attcont[]
                   new_pack_list-objtp
                   new_pack_list-file_ext
                   rcode.
      get new sizes (also for attcont, someone forgot this...)
        describe table atthead lines new_pack_list-head_num.
        describe table attcont lines new_pack_list-body_num.
        loop at atthead.
          clear atthead_tab.
          move atthead to atthead_tab.
          append atthead_tab.
        endloop.
        loop at attcont.
          clear attcont_tab.
          move attcont to attcont_tab.
          append attcont_tab.
        endloop.
        append new_pack_list.
      endloop.
    * transfer receiver data
      perform transfer_rec_to_tab tables receivers
                                         rec_table.
    * sender in right format
      move sender_address to originator.
      perform convert_sndart_esc using sender_address_type
                                       originator_type.
      call function 'SO_OBJECT_SEND'
           exporting
              EXTERN_ADDRESS             = ' '
              FOLDER_ID                  = ' '
              FORWARDER                  = ' '
                object_fl_change           = object_fl_change
                object_hd_change           = object_hd_change
              OBJECT_ID                  = ' '
                object_type                = object_type
                outbox_flag                = put_in_outbox
                originator                 = originator
                originator_type            = originator_type
              OWNER                      = ' '
              STORE_FLAG                 = ' '
           importing
                object_id_new              = object_id_new
                sent_to_all                = sent_to_all
                originator_id              = sender_id
           tables
                objcont                    = objcont
                objhead                    = objhead
                objpara                    = object_para
                objparb                    = object_parb
                packing_list               = new_pack_list
                att_head                   = atthead_tab
                att_cont                   = attcont_tab
                receivers                  = rec_table
           exceptions
                object_not_sent            = 15
                object_type_not_exist      = 17
                operation_no_authorization = 21
                parameter_error            = 23
                too_much_receivers         = 73
                others                     = 1000.
      case sy-subrc.
        when ok.
          move object_id_new to new_object_id.
        when object_not_sent.
          perform transfer_tab_to_rec tables rec_table
                                             receivers.
          raise document_not_sent.
        when too_much_receivers.
          raise too_many_receivers.
        when object_type_not_exist.
          raise document_type_not_exist.
        when operation_no_authorization.
          raise operation_no_authorization.
        when parameter_error.
          raise parameter_error.
        when others.
          raise x_error.
      endcase.
    MOVE OBJECT_ID TO NEW_OBJECT_ID.
      perform transfer_tab_to_rec tables rec_table
                                         receivers.
    set commit work
      if commit_work = on.
        commit work.
      endif.
    endfunction.

  • Output type configuration in nace

    Hi Experts,
    I have a requirement in invoice smartform, so i want to create my own output type .Actually that is normally done by functional.
    But i need to know how to configure zoutput type in nace.
    some steps i followed.in NACE>V3(billing)>new output type(ZINV)>i added new one.
    ofter that in VF02 i want to message means communication method it shows the error that "ZINV" is not defined.
    i though i missed some steps , so please can u give the total procedure how to configure in NACE and how to add in VF02.
    waiting for valuable replies.
    thanks.

    Steps would be:
    1. Create output type for application either copy / new - and assign program and form name
    2. assign the created output type in existing / new procedure (output type procedure)
    3. if it is a new procedure then that also need to assign to a correct sales document type ; in this case it has to be assigned to billing type...transaction V/25
    Configuration path:
    SPRO -> Sales and distribution -> basic functions -. output control -> output determination -> determination technique -> Maintain Output Determination for Billing Documents
    Thanks

  • Delivery Note Mail Configuration

    hi friends
    we have the requirement for mail configuration of delivery document.
    SCENARIO
    Once PGI has been done , system send the mail to the customer and our logistics department Mail id.
    i have maintain the mail id in the customer master, but  where i maintain the logistics department Mail id.
    iam using output type for delivery note, can i use that the existing out put is ZI01 or new out put type is Mail..
    what are the configuration required for this setting?
    with regards
    dinesh

    dear,
    you would look how the standard type is set up:
    and try to do the same for your own type...(did you copy it from the standard one??)
    and continue configuration under the Maintain Output Det. for Outbound Deliveries:
    also do not forget about the Output condition records - use t-codes VV21, VV22
    regards,

Maybe you are looking for

  • Missing Data from Legacy System

    Hello All, My client went live end of January this year. They had a month of transaction data in their legacy system which they did not bring into SAP. Since this is their first year on SAP and recently implemented Extended Withhold Tax one month dat

  • Printing Problem with Pages

    I have a Canon Pixma ip 4200. I have had no problems printing with any other application but I cannot get Pages to print. I had the demo version and thought that was the problem, so I bought the application, but I still only get a small part of the p

  • Not able to see Beat Audio software and mute light not glowing on fresh windows 8

    Hi,  I am using Laptop : HP ENVY 4 1046tx. I have installed fresh windows 8 on it. After that I have downloaded audio software from HP software site but that driver is not accepting.  1. I am not able to see Beat Audio software and equalizer setting

  • Unable to upload .pdf files to iCloud through Pages

    Apple advertises that iPages allows you to share .pdf, .doc, .rtf files, but whenever I try to upload a .pdf file to Pages in iCloud I receive this message: "**** Can't be uploaded because the file format isn't supported.  Supported formats include P

  • Invalid batch according to the selection criteria in batch determination

    Good day to all! I am trying to Post Goods Issue in my Delivery but I cannot proceed because of the Batch. When I am trying to use a Batch in the Picking tab of Delivery Create Overview, this message appears: Invalid batch <BATCH NAME>according to th