PO E-Mail Out Put Error ( E-mail address incorrect or non-existent )

Hi Gurus,
I'M getting the error " E-mail address incorrect or non-existent" when i process the out put type for email of PO.
I maintained all the settings which are mentioned below ,
Goto NACE .
u2022 Select EF and click on OUTPUT TYPES.
u2022 Then select Output Type NEU and click on processing routines .
u2022 In that you have to add a new entry - medium 5 .
u2022 Then you need to assign a program, form routine and form.
u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE .
u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
u2022 Now while creating a new purchase order , change the medium to External Send .
u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
u2022 Goto tcode ME9F .
u2022 Execute. 
Still I'm getting  the same error " E-mail address incorrect or non-existent". could any body help me in this issue?
Regards,
Sri.........

Hi Deepak
I have gone through the notes which u have mentioned, but it is not helping to my query,
I had maintained SMTP port in the tcode SCOT.Then I'm getting the message "MAIl request 000000000002 created" when I run tcode ME9F for email out put.But I'm not getting the out put in the email address which I specified in the vendor master record. I can see one error in the transaction code SCOT. should i run transaction SCOT manually every time ?
Regards,
Sri...........

Similar Messages

  • ACE# sh script code - Error: Called API is invalid or non-existant

    What is this ??
    ACE# dir disk0:
       2846 Jun 14 2010 15:40:33 NORDICID_PROBE
    ACE# sh script code NORDICID_PROBE
    Error: Called API is invalid or non-existant
    Hardware is ACE-4710-K9 and software A3(2.7)
    The probe itself is functioning ok according to show probe detail.
    However show script script_name probe_name -counters all remain at zero for some reason. This wasn't the case on the previously use ACE software.
    To my recollection the command show script code has worked successfully before on the same ACE software. Not 100% sure though, but it definitely worked on the previous software we ran on the ACE.

    Hi Timo,
    You could be hitting CSCtu33866 (see
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtu33866 for more details)
    If you are really hitting this bug, a reboot should fix the issue.
    I hope this helps
    Daniel

  • Mail out put for BA00

    Hi.,
            I want a mail to get triggered to the customers personal mail id when raised an order and out put is issued,I gave mail id in sold to party.And t here is external send routine also in BA00,even though i couldnt process that
    Gurus please help me
    Thanks & Regards
    Narayana
    Message was edited by:
            manam narayana

    Use the following method
    Defining Output Devices for Printing Using E-Mail
    To print using e-mail, you must specify an output device in the print window that has been specially set up for this print method. You can create the output device through the device definition.
    This definition creates an output device that sends the print data as an attachment to an e-mail. You can then open and print the print data with the appropriate program.
    ·        The access method M must be available in the device definition (transaction SPAD -> Output Devices -> Change -> Output device -> Create/Create Using Template -> HostSpoolAccMethod -> Host Spool Access Method).
    If the access method M is not available, you must first run report RSPO0075 in transaction SE38, to activate the access method. It will then be available to you in transaction SPAD.
    To do this, enter the name of the report in the Program field in transaction SE38, and choose  Execute. Select the option Add Access Method, and choose the access method M as the access method to be added.
    ·        In principle, you can use any device type that can be used in the device definition. However, you must ensure that a suitable printer or display program is available on the target system.
    For e-mail printing with device type pdf1, there must be a PDF display program available, such as Adobe Acrobat Reader, so that you can open and print the attached PDF file as required.
    Procedure
    If you want to create a device definition for printing using e-mail, follow the procedure below:
           1.      Call transaction SPAD, and choose Output Devices.
           2.      If you are not in change mode, switch to this mode by choosing Change.
           3.      You can now do the following:
    ¡        You can create a new device definition by choosing Output Device -> Create.
    ¡        You can use an existing device definition as a template.
    To do this, click the entry for the output device that is to be used as a template, and choose Output Device -> Create Using Template.
           4.      Specify the name of the output device and fill out the mandatory fields of the individual tab pages as follows:
    Tab Page
    Field
    Entry
    Additional Information
    Device Attributes
    Device Type
    (recommended) pdf1
    You can use any device type as long as an appropriate printer or viewer is available on the target host.
    Spool server
    depends on system
    Select a spool server (application server with a spool work process) from the list.
    Device Class  standard printer
    Host Spool
    Access Method
    Host Spool Access Method (operating system spooler)
    M (for mail)
    E-Mail Address
    The recipient of the e-mail is determined in three steps.
    a.      The system first checks whether the user has already entered an e-mail address in the print window that appears after the user triggers the print function. If this is the case, the system sends the e-mail to this address.
    If the user in the print window selects an output device with access method M for printing using e-mail (and for releases up to SAP Web AS 620, then chooses enter), a field appears, in which the user can enter an e-mail address if required. The length of this mail address is restricted to 50 characters.
                                b.      If no e-mail address is specified, the e-mail is sent to the address that is specified in the device definition.
    The length of this e-mail address is also restricted to 50 characters.
                                c.      If there is neither an e-mail address specified in the print window, nor in the device definition, the mail is sent to the mail address from the user profile (transaction SU01). By default, the creator of the mail is entered here.
    This function was originally developed to replace the frontend printing function that was missing up to SAP Basis 4.6 for the SAP GUI for HTML. The user should be able to send the print file to himself or herself by e-mail and to print it.
           5.      Save your entries.
    The message text of the e-mail is defined by default, however, you can change it, as described at the send of SAP Note 311037.
    For more information about printing using e-mail, see SAP Note 513352 in the SAP Service Marketplace.
    Result
    You can use the output device defined for access method M to print using e-mail. If you choose a print function such as , you can specify this output device in the following print window.

  • Alv out put error

    Hi,
    iam getting out put by alv
    but when i caluclate totlal on quntity field iam getting runtime error like this
    plz tell the solution for correct it.
    error is:
    What happened?
        The current application program detected a situation which really
        should not occur. Therefore, a termination with a short dump was
        triggered on purpose by the key word MESSAGE (type X).
      Short text of error message:
      Long text of error message:
      Technical information about the messag
      Message class....... "0K"
      Number.............. 000
      Variable 1.......... " "
      Variable 2.......... " "
      Variable 3.......... " "
      Variable 4.......... " "

    Hi sivaram,
    after you got a solution to your question  you should close the thread and let us know what the solution was.
    Regards,
    Clemens

  • GR out put error :No messages for initial processing exist

    Hi All
    When Im process the out put for GR using T-Code MB90, the following message appears and I'm able to see the out put "No messages for initial processing exist".I have checked the three processing modes even it is giving the same mesaage.Can any body help  to how to see the GR out put.
    thanks and regards,
    Sri.........

    Hi ,
    I think the necessary condition records might not exist.
    You can maintain the same using MN21.
    Also check whether the necessary customising is done using Transaction NACE and by selecting application ME.
    Regards
    Ramesh Ch

  • Can't aceess quest server for E-mailing out. Error message.

    My service is with Quest. Since I've installed Mozilla I can't send e-mails through the quest server. I get an error message. I took my laptop to the "Geek Squad" and they couldn't help me because we weren't hooked up to my internet feed, or so they said.

    Same issue for me, recently I started having issues with apps no longer being able to access my Facebook account. But the iPad Facebook account settings will not accept my password, even though the Facebook app and Safari can access my account fine. The only significant events I recall that have occurred that may have triggered this have been that via my Facebook account I killed off a lot of so called authorised connections and I changed my user name, but still have the same email address and password.
    I have tried just about every solution put forward on the net, short of a factory restore, back to new, on my iPad.
    I have also; deleted my iCloud account, deleted the Facebook app and account, deleted Safari data.
    One would think that after I have deleted my account from the iPad that it would ask for both username/email address and password, but it only asks for password, so the username is still stored somewhere that I am unable to delete.
    I also see that no one seems to have been able to get an answer from Apple. So I'm guessing they have absolutely no idea themselves.
    I am hesitant to put my username on Facebook back to what it was as Facebook only give you a few chances to change your username, then you are locked.
    I have iOS 7.1.1 installed.
    I did have a lot of respect for Apple and their devices as they just worked, but they are becoming tarnished by ignoring what seems to be a growing issue.

  • Text in mail out put type

    Hi friends,
    I have a mail output type as external. This is triggering automatically when I save the delivery document. Sending my delivery smartform as pdf attachment to ship to party's mail ID.
    But I am not able to write a default text in the mail like ' Dear sir, find the attached delivery note'. Where can I write the same.
    Kindly suggest.
    Friendly
    Ratna Kumar

    Hi,
    Someting similar has been discussed here:
    [Change "SAPScript" email subject/body for External Send(5) for output type?;
    So pls search the forum and only if it doesn't anwer your specific requirement pls post the question.
    Regards
    Raghu.

  • Mail sending mail out on its on., Mail sending mail out on its on.

    Hi I was receiving my mail through Apple's Mail program this morning and noticed 7 messges being sent out that I never wrote. I tried to stop and couldn't stop them. Any suggestions or ideas?

    This is normal behavior (albeit confusing terminology) on the Activity thing for an IMAP email account.  It does not mean you are actually sending messages.  See, e.g.,
    Strange happenings with the OS X mail... | Apple Support Communities

  • OUT PUT ERROR

    HI 
        WHEN I AM EXECUTING THE FOLLOWING PROG I AM GETTING AN ERROR "MAXIMUM NUMBER OF INTERNAL SESSIONS REACHED".
    DOES ANY ONE HAS ANY IDEA ABT IT.
    REPORT  ZSPOOL14.
    TABLES:TSP01.
    PARAMETERS: P_EMAIL1 LIKE SOMLRECI1-RECEIVER,
                P_EMAIL2 LIKE SOMLRECI1-RECEIVER,
                P_EMAIL3 LIKE SOMLRECI1-RECEIVER,
               P_SENDER LIKE SOMLRECI1-RECEIVER,
                P_DELSPL AS CHECKBOX.
    *DATA DECLARATION
    DATA: GD_RECSIZE TYPE I.
    Spool IDs
    TYPES: BEGIN OF T_TBTCP.
            INCLUDE STRUCTURE TBTCP.
    TYPES: END OF T_TBTCP.
    DATA: IT_TBTCP TYPE STANDARD TABLE OF T_TBTCP INITIAL SIZE 0,
          WA_TBTCP TYPE T_TBTCP.
    Job Runtime Parameters
    DATA: GD_EVENTID LIKE TBTCM-EVENTID,
          GD_EVENTPARM LIKE TBTCM-EVENTPARM,
          GD_EXTERNAL_PROGRAM_ACTIVE LIKE TBTCM-XPGACTIVE,
          GD_JOBCOUNT LIKE TBTCM-JOBCOUNT,
          GD_JOBNAME LIKE TBTCM-JOBNAME,
          GD_STEPCOUNT LIKE TBTCM-STEPCOUNT,
          GD_ERROR    TYPE SY-SUBRC,
          GD_RECIEVER TYPE SY-SUBRC.
    DATA:  W_RECSIZE TYPE I.
    DATA: GD_SUBJECT   LIKE SODOCCHGI1-OBJ_DESCR,
          IT_MESS_BOD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
          IT_MESS_ATT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
          GD_SENDER_TYPE     LIKE SOEXTRECI1-ADR_TYP,
          GD_ATTACHMENT_DESC TYPE SO_OBJ_NAM,
          GD_ATTACHMENT_NAME TYPE SO_OBJ_DES.
    Spool to PDF conversions
    DATA: GD_SPOOL_NR LIKE TSP01-RQIDENT,
          GD_DESTINATION LIKE RLGRAP-FILENAME,
          GD_BYTECOUNT LIKE TST01-DSIZE,
          GD_BUFFER TYPE STRING.
    Binary store for PDF
    DATA: BEGIN OF IT_PDF_OUTPUT OCCURS 0.
            INCLUDE STRUCTURE TLINE.
    DATA: END OF IT_PDF_OUTPUT.
    CONSTANTS:C_DEV LIKE  SY-SYSID VALUE 'DEV',
              C_NO(1)  TYPE C   VALUE ' ',
              C_DEVICE(4) TYPE C   VALUE 'LOCL'.
    print parameters
    DATA:PARAMS LIKE PRI_PARAMS,
    DAYS(1)  TYPE N VALUE 2,
    COUNT(3) TYPE N VALUE 1,
    VALID TYPE C,
    SPOOL_REQUEST_NAME LIKE PRI_PARAMS-PLIST.
    *INITIALIZATION.
    P_EMAIL1 = '[email protected]'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'HAI EVERYONE'.
      NEW-PAGE.
      COMMIT WORK.
    NEW-PAGE PRINT OFF.
      CONCATENATE SY-REPID+0(8)
      SY-UNAME+0(3)
      INTO SPOOL_REQUEST_NAME SEPARATED BY '_'.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
         ARCHIVE_MODE                   = '1'
      ARCHIVE_TEXT                   = C_CHAR_UNKNOWN
      AR_OBJECT                      = C_CHAR_UNKNOWN
      ARCHIVE_REPORT                 = C_CHAR_UNKNOWN
      AUTHORITY                      = C_CHAR_UNKNOWN
         COPIES                         = COUNT
         COVER_PAGE                     = ''
      DATA_SET                       = C_CHAR_UNKNOWN
      DEPARTMENT                     = C_CHAR_UNKNOWN
         DESTINATION                    = 'HR04'
         EXPIRATION                     = DAYS
         IMMEDIATELY                    = ''
      IN_ARCHIVE_PARAMETERS          = ' '
      IN_PARAMETERS                  = ' '
         LAYOUT                         = 'X_65_32'
         LINE_COUNT                     = 65
         LINE_SIZE                      = 132
         LIST_NAME                      = SPOOL_REQUEST_NAME
      LIST_TEXT                      = C_CHAR_UNKNOWN
         MODE                           = 'BATCH'
         NEW_LIST_ID                    = 'X'
      PROTECT_LIST                   = C_CHAR_UNKNOWN
         NO_DIALOG                      = 'X'
         RECEIVER                       = ''
      RELEASE                        = ''
         REPORT                         = ''
         SAP_COVER_PAGE                 = 'D'
         HOST_COVER_PAGE                = 'D'
      PRIORITY                       = C_NUM1_UNKNOWN
      SAP_OBJECT                     = C_CHAR_UNKNOWN
      TYPE                           = C_CHAR_UNKNOWN
      USER                           = SY-UNAME
      USE_OLD_LAYOUT                 = ' '
      UC_DISPLAY_MODE                = C_CHAR_UNKNOWN
      DRAFT                          = C_CHAR_UNKNOWN
      ABAP_LIST                      = ' '
      USE_ARCHIVENAME_DEF            = ' '
      DEFAULT_SPOOL_SIZE             = C_CHAR_UNKNOWN
      PO_FAX_STORE                   = ' '
      NO_FRAMES                      = C_CHAR_UNKNOWN
       IMPORTING
      OUT_ARCHIVE_PARAMETERS         =
         OUT_PARAMETERS                 = PARAMS
         VALID                          = VALID
      VALID_FOR_SPOOL_CREATION       =
    EXCEPTIONS
      ARCHIVE_INFO_NOT_FOUND         = 1
      INVALID_PRINT_PARAMS           = 2
      INVALID_ARCHIVE_PARAMS         = 3
      OTHERS                         = 4
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF VALID <> SPACE.
        SUBMIT ZSPOOL14 TO SAP-SPOOL
        SPOOL PARAMETERS PARAMS
        WITHOUT SPOOL DYNPRO AND RETURN.
      ENDIF.
      IF SY-BATCH EQ 'X'.
        PERFORM GET_JOB_DETAILS.
        PERFORM OBTAIN_SPOOL_ID.
    Alternative way could be to submit another program and store spool
    id into memory.
    *submit ZSPOOLTOPDF2
           to sap-spool
           spool parameters   %_print
           archive parameters %_print
           without spool dynpro
           and return.
    Get spool id from program called above
    IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM CONVERT_SPOOL_TO_PDF.
        PERFORM PROCESS_EMAIL.
        IF P_DELSPL EQ 'X'.
          PERFORM DELETE_SPOOL.
        ENDIF.
        IF SY-SYSID = C_DEV.
          WAIT UP TO 5 SECONDS.
          SUBMIT RSCONN01 WITH MODE   = 'INT'
                          WITH OUTPUT = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        PERFORM FCONVERT_SPOOL_TO_PDF.
        PERFORM PROCESS_EMAIL.
        IF P_DELSPL EQ 'X'.
          PERFORM DELETE_SPOOL.
        ENDIF.
        IF SY-SYSID = C_DEV.
          WAIT UP TO 5 SECONDS.
          SUBMIT RSCONN01 WITH MODE   = 'INT'
                          WITH OUTPUT = 'X'
                          AND RETURN.
        ENDIF.
       SKIP.
       WRITE:/ 'Program must be executed in background in-order for spool'
               'request to be created.'.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM OBTAIN_SPOOL_ID.
      CHECK NOT ( GD_JOBNAME IS INITIAL ).
      CHECK NOT ( GD_JOBCOUNT IS INITIAL ).
      SELECT * FROM  TBTCP
                     INTO TABLE IT_TBTCP
                     WHERE      JOBNAME     = GD_JOBNAME
                     AND        JOBCOUNT    = GD_JOBCOUNT
                     AND        STEPCOUNT   = GD_STEPCOUNT
                     AND        LISTIDENT   <> '0000000000'
                     ORDER BY   JOBNAME
                                JOBCOUNT
                                STEPCOUNT.
      READ TABLE IT_TBTCP INTO WA_TBTCP INDEX 1.
      IF SY-SUBRC = 0.
       MESSAGE S004(ZDD) WITH GD_SPOOL_NR.
        GD_SPOOL_NR = WA_TBTCP-LISTIDENT.
       MESSAGE S004(ZDD) WITH GD_SPOOL_NR.
      ELSE.
        MESSAGE S005(ZDD).
      ENDIF.
    ENDFORM.                    "obtain_spool_id
          FORM get_job_details                                          *
    FORM GET_JOB_DETAILS.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
        IMPORTING
          EVENTID                 = GD_EVENTID
          EVENTPARM               = GD_EVENTPARM
          EXTERNAL_PROGRAM_ACTIVE = GD_EXTERNAL_PROGRAM_ACTIVE
          JOBCOUNT                = GD_JOBCOUNT
          JOBNAME                 = GD_JOBNAME
          STEPCOUNT               = GD_STEPCOUNT
        EXCEPTIONS
          NO_RUNTIME_INFO         = 1
          OTHERS                  = 2.
    ENDFORM.                    "get_job_details
          FORM convert_spool_to_pdf                                     *
    FORM CONVERT_SPOOL_TO_PDF.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = GD_SPOOL_NR
          NO_DIALOG                = C_NO
          DST_DEVICE               = C_DEVICE
        IMPORTING
          PDF_BYTECOUNT            = GD_BYTECOUNT
        TABLES
          PDF                      = IT_PDF_OUTPUT
        EXCEPTIONS
          ERR_NO_ABAP_SPOOLJOB     = 1
          ERR_NO_SPOOLJOB          = 2
          ERR_NO_PERMISSION        = 3
          ERR_CONV_NOT_POSSIBLE    = 4
          ERR_BAD_DESTDEVICE       = 5
          USER_CANCELLED           = 6
          ERR_SPOOLERROR           = 7
          ERR_TEMSEERROR           = 8
          ERR_BTCJOB_OPEN_FAILED   = 9
          ERR_BTCJOB_SUBMIT_FAILED = 10
          ERR_BTCJOB_CLOSE_FAILED  = 11
          OTHERS                   = 12.
      CHECK SY-SUBRC = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT IT_PDF_OUTPUT.
        TRANSLATE IT_PDF_OUTPUT USING ' ~'.
        CONCATENATE GD_BUFFER IT_PDF_OUTPUT INTO GD_BUFFER.
      ENDLOOP.
      TRANSLATE GD_BUFFER USING '~ '.
      DO.
        IT_MESS_ATT = GD_BUFFER.
        APPEND IT_MESS_ATT.
        SHIFT GD_BUFFER LEFT BY 255 PLACES.
        IF GD_BUFFER IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.                    "convert_spool_to_pdf
          FORM process_email                                            *
    FORM PROCESS_EMAIL.
      DESCRIBE TABLE IT_MESS_ATT LINES GD_RECSIZE.
      CHECK GD_RECSIZE > 0.
      PERFORM SEND_EMAIL USING P_EMAIL1 P_EMAIL2 P_EMAIL3.
    perform send_email using p_email2.
    ENDFORM.                    "process_email
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM SEND_EMAIL USING P_EMAIL P_EMAIL4 P_EMAIL5.
      CHECK NOT ( P_EMAIL IS INITIAL ).
      CHECK NOT ( P_EMAIL4 IS INITIAL ).
      CHECK NOT ( P_EMAIL5 IS INITIAL ).
      REFRESH IT_MESS_BOD.
    Default subject matter
      GD_SUBJECT         = 'Subject'.
      GD_ATTACHMENT_DESC = 'Attachname'.
      CONCATENATE 'ebdit' ' ' INTO GD_ATTACHMENT_NAME.
      IT_MESS_BOD        = 'Message Body text, line 1'.
      APPEND IT_MESS_BOD.
      IT_MESS_BOD        = 'Message Body text, line 2...'.
      APPEND IT_MESS_BOD.
    If no sender specified - default blank
    IF P_SENDER EQ SPACE.
       GD_SENDER_TYPE  = SPACE.
    ELSE.
       GD_SENDER_TYPE  = 'INT'.
    ENDIF.
    Send file by email as .xls speadsheet
      PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
                                   TABLES IT_MESS_BOD
                                          IT_MESS_ATT
                                    USING P_EMAIL
                                          P_EMAIL4
                                          P_EMAIL5
                                          'ebdit output'
                                          'PDF'
                                          GD_ATTACHMENT_NAME
                                          GD_ATTACHMENT_DESC
                                         P_SENDER
                                          GD_SENDER_TYPE
                                 CHANGING GD_ERROR
                                          GD_RECIEVER.
    ENDFORM.                    "send_email
          FORM delete_spool                                             *
    FORM DELETE_SPOOL.
      DATA: LD_SPOOL_NR TYPE TSP01_SP0R-RQID_CHAR.
      LD_SPOOL_NR = GD_SPOOL_NR.
      CHECK P_DELSPL <> C_NO.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
        EXPORTING
          SPOOLID = LD_SPOOL_NR.
    ENDFORM.                    "delete_spool
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES IT_MESSAGE
                                              IT_ATTACH
                                        USING P_EMAIL
                                              P_EMAIL4
                                              P_EMAIL5
                                              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_EMAIL1 LIKE  SOMLRECI1-RECEIVER,
            LD_EMAIL2 LIKE  SOMLRECI1-RECEIVER,
            LD_EMAIL3 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_EMAIL1   = P_EMAIL.
      LD_EMAIL2   = P_EMAIL4.
      LD_EMAIL3   = P_EMAIL5.
      LD_MTITLE = P_MTITLE.
      LD_FORMAT              = P_FORMAT.
      LD_ATTDESCRIPTION      = P_ATTDESCRIPTION.
      LD_ATTFILENAME         = P_FILENAME.
    LD_SENDER_ADDRESS      = P_SENDER_ADDRESS.
      LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
    Fill the document data.
      W_DOC_DATA-DOC_SIZE = 1.
    Populate the subject/generic message attributes
      W_DOC_DATA-OBJ_LANGU = SY-LANGU.
      W_DOC_DATA-OBJ_NAME  = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
      W_DOC_DATA-SENSITIVTY = 'F'.
    Fill the document data and get size of attachment
      CLEAR W_DOC_DATA.
      READ TABLE IT_ATTACH INDEX W_CNT.
      W_DOC_DATA-DOC_SIZE =
         ( W_CNT - 1 ) * 255 + STRLEN( IT_ATTACH ).
      W_DOC_DATA-OBJ_LANGU  = SY-LANGU.
      W_DOC_DATA-OBJ_NAME   = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR  = LD_MTITLE.
      W_DOC_DATA-SENSITIVTY = 'F'.
      CLEAR T_ATTACHMENT.
      REFRESH T_ATTACHMENT.
      T_ATTACHMENT[] = IT_ATTACH[].
    Describe the body of the message.
      CLEAR T_PACKING_LIST.
      REFRESH T_PACKING_LIST.
      T_PACKING_LIST-TRANSF_BIN = SPACE.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM = 0.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
    T_PACKING_LIST-DOC_TYPE = 'RAW'.
      APPEND T_PACKING_LIST.
    Create attachment notification
      T_PACKING_LIST-TRANSF_BIN = 'X'.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM   = 1.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE   =  LD_FORMAT.
      T_PACKING_LIST-OBJ_DESCR  =  LD_ATTDESCRIPTION.
      T_PACKING_LIST-OBJ_NAME   =  LD_ATTFILENAME.
      T_PACKING_LIST-DOC_SIZE   =  T_PACKING_LIST-BODY_NUM * 255.
      APPEND T_PACKING_LIST.
    Add the recipients email address
      CLEAR T_RECEIVERS.
      REFRESH T_RECEIVERS.
      T_RECEIVERS-RECEIVER = LD_EMAIL1.
      T_RECEIVERS-REC_TYPE = 'U'.
      T_RECEIVERS-COM_TYPE = 'INT'.
      T_RECEIVERS-NOTIF_DEL = 'X'.
      T_RECEIVERS-NOTIF_NDEL = 'X'.
      APPEND T_RECEIVERS.
      CLEAR T_RECEIVERS.
    REFRESH T_RECEIVERS.
      T_RECEIVERS-RECEIVER = LD_EMAIL2.
      T_RECEIVERS-REC_TYPE = 'U'.
      T_RECEIVERS-COM_TYPE = 'INT'.
      T_RECEIVERS-NOTIF_DEL = 'X'.
      T_RECEIVERS-NOTIF_NDEL = 'X'.
      APPEND T_RECEIVERS.
      CLEAR T_RECEIVERS.
    REFRESH T_RECEIVERS.
      T_RECEIVERS-RECEIVER = LD_EMAIL3.
      T_RECEIVERS-REC_TYPE = 'U'.
      T_RECEIVERS-COM_TYPE = 'INT'.
      T_RECEIVERS-NOTIF_DEL = 'X'.
      T_RECEIVERS-NOTIF_NDEL = 'X'.
      APPEND T_RECEIVERS.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = W_DOC_DATA
          PUT_IN_OUTBOX              = 'X'
         SENDER_ADDRESS             = LD_SENDER_ADDRESS
          SENDER_ADDRESS_TYPE        = LD_SENDER_ADDRESS_TYPE
          COMMIT_WORK                = 'X'
        IMPORTING
          SENT_TO_ALL                = W_SENT_ALL
        TABLES
          PACKING_LIST               = T_PACKING_LIST
          CONTENTS_BIN               = T_ATTACHMENT
         CONTENTS_TXT               = IT_MESSAGE
          RECEIVERS                  = T_RECEIVERS
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
    Populate zerror return code
      LD_ERROR = SY-SUBRC.
    Populate zreceiver return code
      LOOP AT T_RECEIVERS.
        LD_RECEIVER = T_RECEIVERS-RETRN_CODE.
      ENDLOOP.
    ENDFORM.                    "send_file_as_email_attachment
    *&      Form  FCONVERT_SPOOL_TO_PDF
          text
    -->  p1        text
    <--  p2        text
    FORM FCONVERT_SPOOL_TO_PDF .
      SELECT *
      FROM TSP01
      WHERE RQOWNER EQ SY-UNAME
      ORDER BY RQCRETIME ASCENDING.
      ENDSELECT.
      GD_SPOOL_NR = TSP01-RQIDENT.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = GD_SPOOL_NR
          NO_DIALOG                = C_NO
          DST_DEVICE               = C_DEVICE
        IMPORTING
          PDF_BYTECOUNT            = GD_BYTECOUNT
        TABLES
          PDF                      = IT_PDF_OUTPUT
        EXCEPTIONS
          ERR_NO_ABAP_SPOOLJOB     = 1
          ERR_NO_SPOOLJOB          = 2
          ERR_NO_PERMISSION        = 3
          ERR_CONV_NOT_POSSIBLE    = 4
          ERR_BAD_DESTDEVICE       = 5
          USER_CANCELLED           = 6
          ERR_SPOOLERROR           = 7
          ERR_TEMSEERROR           = 8
          ERR_BTCJOB_OPEN_FAILED   = 9
          ERR_BTCJOB_SUBMIT_FAILED = 10
          ERR_BTCJOB_CLOSE_FAILED  = 11
          OTHERS                   = 12.
      CHECK SY-SUBRC = 0.
      FREE GD_BUFFER.
    Transfer the 132-long strings to 255-long strings
      LOOP AT IT_PDF_OUTPUT.
        TRANSLATE IT_PDF_OUTPUT USING ' ~'.
        CONCATENATE GD_BUFFER IT_PDF_OUTPUT INTO GD_BUFFER.
      ENDLOOP.
      TRANSLATE GD_BUFFER USING '~ '.
      FREE IT_MESS_ATT.
      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.
    *clear:
    ENDFORM.                    " FCONVERT_SPOOL_TO_PDF

    Hi,
    I think problem is in this code :-->
    IF SY-SYSID = C_DEV.              
    WAIT UP TO 5 SECONDS.
    SUBMIT RSCONN01 WITH MODE = 'INT'  " << Here session created internally
    WITH OUTPUT = 'X'
    AND RETURN.
    ENDIF.
    ELSE.
    PERFORM FCONVERT_SPOOL_TO_PDF.
    PERFORM PROCESS_EMAIL.
    IF P_DELSPL EQ 'X'.
    PERFORM DELETE_SPOOL.
    ENDIF.
    IF SY-SYSID = C_DEV.
    WAIT UP TO 5 SECONDS.
    SUBMIT RSCONN01 WITH MODE = 'INT'  " << Here sessions created internally
    WITH OUTPUT = 'X'
    AND RETURN.
    ENDIF.

  • Delivery out put error

    hi gurus,
    in our delivery challan output the item is not printed.
    please show me the possible solutions asap.
    because we have to go to golive we shortly.
    thankyou.

    Hello Friend,
    Dont panic these things are common at go live period. Ask your Abaper to debug that output as to why it is not picking up the material number.Best of Luck.

  • Cannot activate CS5.5 - internet connection error with Adobe servers + customer service non-existent

    Just purchased CS5.5 and it works fine however I am not able to activate it. The program says I don't have an internet connection but I clearly do I as I am able to connect to all websites & email etc...
    I have tried to contact customer support 6 times:
    Contact 1: on hold for 1 hour and 20 minutes after which I was disconnected
    Contact 2: on hold for 35 minutes then told it was out of business hours
    Contact 3: on hold for 45 minutes then someone picked up the phone and then hung up on me
    Contact 4: on hold for 15 minutes then someone hung up on me
    Contact 5: on hold for 5 minutes then someone spoke with me and told me to delete a "host" file in Windows32 folder on our system. This didn't fix the problem and then the support person simply hung up on me...
    Contact 6: currently on hold for 55 minutes and still waiting...
    What is happening at ADOBE? You used to be so reliable now I am not even able to get through to support? It is very worrying... I have no options available any more... what do I do?
    PLEASE HELP PLEASE PLEASE PLEASE PLEASE I AM NOW PLEADING FOR SUPPORT!
    Richard

    Greetings everyone,
    I started this thread. Since the thread was posted, my activation issue has dissappeared - HOW I do NOT know. As a last desparate attempt, I uninstalled Norton 360 completely and this might have helped, however I am not sure. Doing the "ping" of activate.adobe.com still doesn't work even with Norton 360 uninstalled and all firewalls switched off. It is very strange that I am not able to ping activate.adobe.com and get a 404 error on https://activate.adobe.com/test but my issue is resolved... strange this seems still to be unresolved.
    In fact, I tested that URL and the Ping from over 8 different internet locations within Sydney (friends homes, offices, internet cafe etc) and NONE were successful. How does THAT make it a USER problem when NO ONE can access it???
    An Adobe rep contacted me directly by email and supported me directly, which was fantastic, but didn't actually help as all the support he provided was exactly the same as what I had done with other support by phone at least 5 times with no success.
    I organised a very skilled computer tech to assist me with my issue and he did everything he could to try and open ports and gain access for the activation but after 6 hours of trying his conclusion was "Adobe is having the issues, not the users".
    This seems to be a big problem with Adobe at the moment and should not be.
    To Adobe:
    I remind and highlight your responsibilities as a service/product provider, under the ACCC law:
    http://www.accc.gov.au/content/index.phtml/itemId/961908
    As a customer:
    "If a service fails to meet a consumer guarantee, you may be entitled to a remedy—either fixing the problem with the services, a refund or compensation for any drop in value from the original price paid—depending on the circumstances."
    Amongst other information within that page, I bring your attention to the fact that this issue your users are experiencing would be considered a "Major failure":
    There is a major failure when (as the customer):
    "you would not have engaged the service if you had known the nature and extent of the problem."
    "the service does not meet the reasonable expectations for that type of service, and the problem cannot be rectified within a reasonable time."
    and lastly, who is to fix the problem:
    "The guarantees are made by the person or business that is providing the service. This means the service provider is responsible for fixing a problem when the service does not meet a consumer guarantee."
    The runarounds Adobe is creating for customer, and hours of "on-hold" resulting in little or no customer service, is simply unacceptable and, in fact, a breach of your responsibilities and the law. Adobe... you seem to forget that our businesses or services rely heavily on your software to learn, teach, conduct business or whatever it may be. Our time is precious and the hours wasted to fix issues that shouldn't be there in the first place cost us a non-trivial amount.
    Although my issues have been resolved, I am still nervous as it may happen again - I have received no indication of any rectifications of the issue and it appears it is still a major failure with other customers, meaning it could happen to me again at any time.
    I would, and so would the rest of the people with these issues, like to know what your steps are, at a higher management level, to fix it and make sure it does not happen any more.
    I highly recommend that you escalate these issues as a matter of priority and get your best people onto it urgently.
    In the hope of a positive outcome,
    Richard
    A frustrated customer

  • Can't send mail out of my iPad and iPhone using my office work mail account.

    I can't send mails out of my work mail account on IPad or iPhone. I usually get error message that the server does not accept relay messages. I only get this problem on IOS devices only but on other platform I don't . Please can anyone help fix this?

    Hi there Stonecold2323,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    -Griff W. 

  • 'Error Sending Mail :send_mail.ksh: not found'

    Hi all,
    com/btw/pricemaker: under this directory i have kept all the required class files and also the shell script.
    R_ConcatenatorRatingComponent.class
    InputProcessor.class
    InputProcessor$FilesHandler.class
    InputProcessor$BatchStringTokenizer.class
    send_mail.ksh
    set_mail_details.ksh
    OutputGenerator.class
    and i created a jar file
    $jar -cf pmbtw.jar com
    when i run the prog i am getting the above specified error.
    Can any please help me.

    I wrote a function in java to send a mail ,
    if (emailFile.exists())
                sendMail(emailFile.getAbsolutePath());
    public void sendMail(String filePath)      {
           String mailIds = "[email protected]";
           String from = "[email protected]";
           try{
                String sub="<PM>:Alert there are some data mismatch in the file";
                      //subject=subject.replace(' ','~');
                 String body = "These are the records in which NTSCLI Rate is greater than or equal to VOIP rate.";
                   //body=body.replace(' ','~');
                 String exec_command = "send_mail.ksh "+subject+" "+body+" "+mailIds+" "+filePath;
                              Process p = Runtime.getRuntime().exec(exec_command);
                   int exitVal=p.waitFor();
                   if (exitVal != 0)
                        System.out.println("Error Sending Mail: script was not executed");
              catch(Exception e)
                  System.out.println("Error Sending Mail: " + e.getMessage());
         }please any one help me :-(

  • HT1277 I have quickbooks software. I am traveling. I tried to send an invoice out, using the mac email (version 5.3) I can't send the mail out. I get a pop up asking for my password, I put the password in and it does not accept it.

    I have quickbooks software. I am traveling. I tried to send an invoice out, using the mac email (version 5.3) I can't send the mail out. I get a pop up asking for my password, I put the password in and it does not accept it. This is the 1st time I've had this problem.
    slpmtns

    Whilst it may not be your fault I am afraid it appears that your post is on a forum which is not the best for your OS. It will save the time of the unpaid volunteers here, and may resolve your issue faster, if you could examine the list below and see if there is a more appropriate forum to which you could direct your question.
    OS X 10.9 Mavericks
    OS X 10.8 Mountain Lion
    OS X 10.7 Lion
    OS X 10.6 Snow Leopard
    OS X 10.5 Leopard
    OS X 10.4 Tiger
    OS X 10.3 and earlier
    OS 9, OS 8 & System 7
    OS X Technologies
    OS X Server
    iPad
    iPhone
    iPod
    Other

  • Mail the BI Publisher genereted Conc Pgm out put as attachment.

    Hi All,
    I have a requirement...
    I need to send the output of a concurrent program to particular mail id. The Concurrent program output is in pdf format which is generated from BI Publisher.
    I have written a procedure to execute the desired concurrent program. But I don know how to capture the out put and send as attachment.How can I send the pdf out put as attachment.
    Waiting for the better solution in PL/SQL
    Regards,
    Tarun

    I don't know how BI publisher creates the PDF, whether it's created as a file on the server or whatever...
    but if you search google or these forums for "oracle pl sql send email attachment" you should get plenty of ideas how to do this using packages such as UTL_MAIL...
    http://www.google.co.uk/#hl=en&output=search&sclient=psy-ab&q=oracle+pl+sql+send+email+attachment

Maybe you are looking for

  • Is it true on Mavericks the Calendar can no longer be synced when connecting directly?

    Recently I noticed that since upgrading to Mavericks, my iPhone Calendar is no longer synced with my Computers Calendar.   I found some hint on the support site that this is a "feature"?  Is this true that the iPhone Calendar can no longer be synced

  • External Drive Backup and Partition Problems

    I'd like to setup Time Machine to back up a smaller external drive (250 gigs) onto a larger external drive (1 TB). This is all I want to backup, nothing on the internal drive. However, when I go to the exclude list, my smaller 250 gig hard drive is l

  • Continuous repeat of "restore from the backup..."

    I have an iPhone 3GS. I updated it to iOS5 yesterday, and everything seemed to go fine. This evening, I come home from a (fabulous) concert, and want to save my pics and a video from the show. When I plug my iPhone in, I get a screen entitled "Set Up

  • Speech function no longer works

    I have just upgraded to Mtn Lion from Leopard and my text to speech function doesn't work - Why not? How can I fix it?

  • FCC : use of  recordsets per message

    Hi experts, what is the use of Recordsets per message in FCC, where we will use this option, in what type of situations we will use... Thx in Advance John