Send error logs email through SAP workplace

Hi,
I need to send 4 different error log files to a unique user's email using SAP workplace, from my program. Plz provide a solution.
Thanks.

Hi,
I need to send 4 different error log files to a unique user's email using SAP workplace, from my program. Plz provide a solution.
Thanks.

Similar Messages

  • I'm unable to send and receive email through Apple Mail 4.  I've checked my settings on Preferences, and my password to Gmail is up to date for syncing with IMAP, but it still won't connect.  Suggestions?

    I'm unable to send and receive email through Apple Mail 4.  I've checked my settings on Preferences, and my password to Gmail is up to date for syncing with IMAP, but it still won't connect.  Suggestions?

    I think it's trying to open it in a gMail eMail & is losing your gMail password that it needs log into gMail, but not 100% positive.
    Have you tried Right clicking or Control+click on the eMail link & choose Copy? Works on some, not others.

  • RFQ FAX or Email through sap with Attachment

    Dear Gurus,
    I want to sent RFQ through FAX or by Email, do i need any extra other software as infterface to send fax or email outside SAP?
    Can i send Email & Fax through SAP Directly?  If yes then, the configuration at MEssages (forms & output control), MN02, & vendor master with correct fax & email address is these settings is enough orelse i am missing any settings?
    Is it possibel to send attachment with RFQ through FAX or by email?
    Please advice
    REgards
    RS

    Hi ,
    You need to check with your BASIS team whether they have SAP Fax /email /PDF services implemented or active.
    Most of the clients would have activated Email//PDF process , but not fax ...So check with your techies and there are specific notes available on service.sap.com which will walk you through the required set-by-step implementaiton. Please download these notes from sap oss site.
    Thanks,
    sudhakar

  • Changing sender on sent email via SAP

    I need to change the sender on sent email via sap; i mean, no sy-uname, something like [email protected]
    Regards

    Check the sample code
    *& Report  ZASD
    REPORT  ZASD.
    This example shows how to send
      - a simple text provided in an internal table of text lines
      - and an attached MS word document provided in internal table
      - to some internet email address.
    All activities done via facade CL_BCS!
    DATA: send_request       TYPE REF TO cl_bcs.
    DATA: text               TYPE bcsy_text.
    data: binary_content     type solix_tab.
    DATA: document           TYPE REF TO cl_document_bcs.
    DATA: sender             TYPE REF TO cl_sapuser_bcs.
    DATA: recipient          TYPE REF TO if_recipient_bcs.
    DATA: bcs_exception      type ref to cx_bcs.
    data: sent_to_all        type os_boolean.
    START-OF-SELECTION.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = 'c:\wagonTrain.gif'
       FILETYPE                      = 'BIN'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            = VIRUS_SCAN_PROFILE
    IMPORTING
      FILELENGTH                    = FILELENGTH
      HEADER                        = HEADER
      TABLES
        data_tab                      = binary_content
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
        PERFORM main.
          FORM main                                                     *
    FORM main.
      try.
        -------- create persistent send request ------------------------
          send_request = cl_bcs=>create_persistent( ).
        -------- create and set document with attachment ---------------
        create document from internal table with text
          APPEND 'Hello world!' TO text.
          document = cl_document_bcs=>create_document(
                          i_type    = 'RAW'
                          i_text    = text
                          i_length  = '12'
                          i_subject = 'test created by BCS_EXAMPLE_2' ).
        add attachment to document
        BCS expects document content here e.g. from document upload
        binary_content = ...
          CALL METHOD document->add_attachment
            EXPORTING  i_attachment_type = 'GIF'
                       i_attachment_subject = 'My attachment'
                       i_att_content_hex    = binary_content.
        add document to send request
          CALL METHOD send_request->set_document( document ).
    <b>*     -
    set sender -
        note: this is necessary only if you want to set the sender
              different from actual user (SY-UNAME). Otherwise sender is
              set automatically with actual user.
          sender = cl_sapuser_bcs=>create( sy-uname ).
          CALL METHOD send_request->set_sender
            EXPORTING i_sender = sender.</b>
        --------- add recipient (e-mail address) -----------------------
        create recipient - please replace e-mail address !!!
          recipient = cl_cam_address_bcs=>create_internet_address(
                                        'YOUR [email protected]' ).
        add recipient with its respective attributes to send request
          CALL METHOD send_request->add_recipient
            EXPORTING
              i_recipient  = recipient
              i_express    = 'X'.
    CALL METHOD send_request->set_send_immediately( 'X' ).
        ---------- send document ---------------------------------------
          CALL METHOD send_request->send(
            exporting
              i_with_error_screen = 'X'
            receiving
              result              = sent_to_all ).
          if sent_to_all = 'X'.
            write text-003.
          endif.
          COMMIT WORK.
    *                     exception handling
    * replace this very rudimentary exception handling
    * with your own one !!!
      catch cx_bcs into bcs_exception.
        write: 'Fehler aufgetreten.'(001).
        write: 'Fehlertyp:'(002), bcs_exception->error_type.
        exit.
      endtry.
    ENDFORM.
    *Check the BOL Part
    Message was edited by: Amandeep  Singh

  • Unable to log on through SAP GUi

    Hello Gurus,
    Issue: Unable to logon through SAP GUI after giving the username and
    Password. When the user name and password is entered the system gets to the process mode but hangs in the same stage.
    When i check the R3trans -d the following is the result:
    This is r3trans version 6.13 (release 640 - 12.12.05 - 14:24:42).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = ORACLE --- dbs_o
    ra_tnsname = 'B3Q'"
    r3trans finished (0012).
    It means the r3trans is not able to connect the DB. Please suggest a
    OSS note for this issue or solution for this issue asap. This
    is very urgent.
    We are using Nw04,BW3.5, BI3.53, EP6.0 & Oracle 9i. The following are
    the support pack details:
    Operating system Windows NT
    Machine type 4x Intel 8
    Database system ORACLE
    Release 9.2.0.4.0
    Kernel release 640
    Compilation NT 5.0 2
    Patch Level 109
    ABAP Load 1521
    CUA load 16
    Mode opt
    DB client lib. OCI_920_SHARE
    DB releases ORACLE 9.2.0..,
    DBSL version 640.00
    DBSL Patch Level 109
    SAP_ABA 640 0016 SAPKA64016 Cross-
    Application Component
    SAP_BASIS 640 0016 SAPKB64016 SAP Basis
    Component
    PI_BASIS 2005_1_640 0007 SAPKIPYJ67 Basis Plug-In
    (PI_BASIS) 2005_1_640
    SAP_BW 350 0016 SAPKW35016 Business
    Information Warehouse
    BI_CONT 353 0009 SAPKIBIFP9 Business
    Intelligence Content
    AOFTOOLS 400_640 0000 - Add-On
    Assembly Kit (AOFTOOLS 400_640)
    Enterprise Portal 6.0:
    J2EE Engine 6.40 PatchLevel 104329.313
    Portal 6.0.17.0.0
    Knowledge
    Management
    Collaboration 6.0.17.0.0 (NW04 SPS17)

    Hello Veer .
    Please try to do the following  ...
    <b>ORA-01017: Invalid username/password; logon denied</b>
    Message ORA-01017 can occur both in step 1a) and in step 1b) or 2). Depending on this, the problem can be corrected as follows:
    1a) log entries:  Logon as OPS$ user to get <sapowner>'s password
                      Connecting as /@<sid> on connection 0 ...
    ERROR => OCI-call 'olog' failed: rc = 1017
    ERROR => CONNECTfailed with sql error '1017'
    If you intend to use the standard password for <sapowner> anyway, you can ignore the error message at this point, as the OPS$ mechanism is not needed at all and the connect is carried out using <sapowner>/sap successfully afterwards. Note, however, that BR*TOOLS require a working OPS$ mechanism when executing via DB13!
               Otherwise, make sure that an appropriate OPS$ user is set up. To do this, proceed as follows:
    Check whether the parameter
    os_authent_prefix = ops$
    is set correctly in init<sid>.ora. If you have to make a change, restart the database afterwards.
    On Windows, make sure that the following parameter is set in sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    Determine which operating system user <os_user> wants to create the connection. If this involves a connect initiated out of the R/3 System (for example, work process connect, DB13 actions), user <sid>adm is used under UNIX and user sapservice<sid> under NT. If you manually called the program that executes the connect, the user you are using is decisive here.
    Use SVRMGRL to check whether the user OPS$<os_user> (or OPS$<domain>\ <os_user> for NT with Oracle >= 8.1.5) has been created at database level:
    SELECT * FROM DBA_USERS WHERE USERNAME = 'OPS$<os_user>';
    (for <os_user>, always use upper case)
    If the system does not return an entry, create the user:
    CREATE USER "OPS$<os_user>" DEFAULT TABLESPACE <user_tsp>
      TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
    Note that the name of the OPS$ user must be specified completely in uppercase letters (also the host and domain names in case of NT and W2K), since a logon as OPS$ user will not work if it is not:
      wrong:   CREATE USER "OPS$c11adm" DEFAULT TABLESPACE ...
              CREATE USER "OPS$sapdom\C11ADM" DEFAULT TABLESPACE ...
      correct: CREATE USER "OPS$C11ADM" DEFAULT TABLESPACE ...
               CREATE USER "OPS$SAPDOM\C11ADM" DEFAULT TABLESPACE ...
    Tablespace <user_tsp> is used when newly creating objects, when no explicit tablespace name is specified. In connection with R/3, this is almost never the case. Therefore, you can specify any tablespace. Proposal:
             R/3 <= 4.6D:  <user_tsp> = PSAPUSER1D
            R/3 >= 6.10:  <user_tsp> = PSAP<sid>USR
    Check whether the OPS$ user has sufficient authorizations. The following statement must at least return CONNECT and RESOURCE:
    SELECT GRANTED_ROLE FROM DBA_ROLE_PRIVS
      WHERE GRANTEE = 'OPS$<os_user>';
    If CONNECT and/or RESOURCE is missing, you can grant theseauthorizations as follows:
    GRANT CONNECT, RESOURCE TO "OPS$<os_user>";
    If all the settings described above have been made correctly on NT/ Windows 2000, but the error ORA-01017 is still displayed during the OPS$ Connect, the cause may be a start user set incorrectly for the SAP Service. Change to the services overview of the operating system and check the user who starts the service SAP<sid>_<instance_number>. If the user is not sapservice<sid>, enter sapservice<sid>. Other users (such as the local administrator) do not have an OPS$ user in the database, which leads to error ORA-01017. Check also whether the start user sapservice<sid> is a local user or a domain user. Domain users can be identified by the preceding domain name. Depending on this, the following OPS$ user should exist on database level:
    Domain user:    <domain>\sapservice<sid>
    OPS$ user:       OPS$<domain>\sapservice<sid>
    Local user:      sapservice<sid>
    OPS$ user:       OPS$<local_host>\sapservice<sid>
    1b) log entries:  Logon as OPS$ user to get <sapowner>'s password
                      Connecting as /@<sid> on connection 0 ...
                      Now I'm connected to ORACLE
                      Got <sapowner>'s password from table SAPUSER
                      Disconnecting from connection 0 ...
                      Now I'm disconnected from ORACLE
                      Try to connect with the password I got from OPS$-user
                      Connecting as <sapowner>/<pwd>@<sid> on connection 0
    ERROR => OCI-call 'olog' failed: rc = 1017
    ERROR => CONNECTfailed with sql error '1017'
               An ORA-01017 message at this point indicates an incorrect <sapowner> password in the SAPUSER table. In this situation, proceed as follows.
    Set the password consistently in SAPUSER and in the Oracle DDIC using the following BRCONNECT call (BRCONNECT >= 6.10):
    brconnect -u system/<password> -f chpass -o <sapowner> -p <password>
    Otherwise, change the password in the SAPUSER table:
    DELETE FROM "OPS$<sid>ADM".SAPUSER;
    INSERT INTO "OPS$<sid>ADM".SAPUSER VALUES ('<sapowner>', '<password>');
    Important: The SAPUSER table should only exist once in every system: for OPS$<sid>ADM. For this reason, only execute the above-mentioned statements for OPS$<sid>ADM - irrespective of the operating system user actually being used. All other OPS$ users can access the SAPUSER table using a synonym.
    If the connect still terminates in the same way, check once more the section "General checks".
    2) log entries:  Try to connect with default password
                    Connecting as <sapowner>/<pwd>@<sid> on connection 0
    ERROR => OCI-call 'olog' failed: rc = 1017
    ERROR => CONNECT failed with sql error '1017'
    If you want to use the standard password sap and do not need the OPS$ mechanism, reset the <sapowner> password to sap:
    ALTER USER <sapowner> IDENTIFIED BY sap;
    If you do not want to use the standard password, the error cannot be avoided at this point. Set up the OPS$ mechanism as described above instead.
    Regards
    Rahul
    Please Award points if help is useful  *****

  • Cannot send or receive emails through hotmail

    I have the Pearl 8110 and I had it set up to receive and send emails through my hotmail and aol accounts. I still can send and receive through aol but not through hotmail
    Solved!
    Go to Solution.

    You probably need to revalidate your hotmail account. I read of some issues a ouple days ago affecting hotmail users. Also many hotmail accounts have to be revalidated every 90 days. CLick on the email setup icon on your BlackBerry and log in to your BIS(BlackBerry Internet Srvice) account. Click on email accounts, see if you need to re-enter your password for your hotmail account.

  • Simple Question - Email through SAP Server

    Hi, This is Angeline
    I have very simple question, is that posible Eamil Through SAP application server to hotmail / Yahoo account.. without Mail-server...
    In other words, I don't have Mail server and I want send email to my hotmail or yahoo or gmail account through SMTP...
    Please Advised  Thanks you

    You need a SMTP Server in order to send mails... I can't believe that theres a company using SAP that does not have a mail server.
    Regards
    Juan

  • Cannot send or receive emails through three networ...

    Hi, please help!  Running round in circles!
    Cannot send or recive emails on E71 all of a sudden has stopped working!
    Three network say its not them and Virgin media say its nhot them (email address is blueyonder one).
    Help please?
    How can I take all off phone and restart?

    You probably need to revalidate your hotmail account. I read of some issues a ouple days ago affecting hotmail users. Also many hotmail accounts have to be revalidated every 90 days. CLick on the email setup icon on your BlackBerry and log in to your BIS(BlackBerry Internet Srvice) account. Click on email accounts, see if you need to re-enter your password for your hotmail account.

  • My mail has just crashed I cannot send or receive emails through my mac mail.

    My mail has just crashed I cannot send or receive any emails through my mail app.

    I have also been trying to send very large PDF files today for artwork to be printed.Do you think this might be the problem ?

  • External Send - Sending PO by email from SAP automatically

    Hi All,
    Please help me.
    I want to send email with PO, but no idea under the case below.
    We have 3 LOBs under 1 legal entity, so that the vendor master is shared with 3 LOBs.
    Then, a vendor has 2 departments ("A" department and "B" department) as well.
    Our 1 LOB want to send PO via email to "A" department in the vendor, however, we don't want to send PO to B department.
    On the other hand, the other LOB in our company wants to send PO to "B" department in the vendor, but does not want to send it to "A" department.
    This requirement can be handled in SAP?
    I would greatly appreciate your advice.
    Thanks.

    hi
    You can send purchase order via e-mail in SAP system, there are some configurations and pre-requisites to do as follow:
    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.
    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). The system only uses the e-mail address of the vendor that is maintained in the vendor master!
    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.
    For more details, check out the OSS note :191470
    regards
    kunal
    award if helpful

  • Cannot send or receive email through Verizon server after Thunderbird update

    After updating Thunderbird, Verizon server no longer recognizes my password, so authentication keeps failing. I can neither send nor receive email. Account settings are correct. Any ideas? Thanks.

    Are your server settings set to
    Server pop.verizon.net
    Port 995
    Connection security SSL

  • Send email through sap..

    Hi,
    I want to send an email to the user if an operation fails i.e., i should send an error msg by mail..
    how can I do this??
    i tried using SO_DOCUMENT_SEND_API1..
    But its not working as its for mail with attachment...
    what is the FM to send without attachment...and what i need to pass to the FM..
    any pointers are helpful...
    thanks.

    Hi,
    Following report is the sample report for sending the mail.
    TABLES: TBTCP, ZGT001L.
    *PARAMETERS TEST(5).
    DATA: TJOBNAME LIKE TBTCP-JOBNAME VALUE '321 PENDING AT FPS',
          SPOOLID LIKE TSP01-RQIDENT, V_LGORT LIKE MSEG-LGORT,
          V_REPORT TYPE RSVAR-REPORT, V_VARIANT TYPE RSVAR-VARIANT.
    DATA: BEGIN OF VVALUES OCCURS 0.
            INCLUDE STRUCTURE RSPARAMS.
    DATA END OF VVALUES.
    DATA : BEGIN OF T_RECEIVERS OCCURS 0.
            INCLUDE STRUCTURE SOMLRECI1.
    DATA END OF T_RECEIVERS.
    DATA: BEGIN OF T_TBTCP,
    *      jobname like tbtcp-jobname,
    *      jobcount like tbtcp-jobcount,
          LISTIDENT LIKE TBTCP-LISTIDENT,
          SDLDATE LIKE TBTCP-SDLDATE,
          SDLTIME LIKE TBTCP-SDLTIME,
          VARIANT LIKE TBTCP-VARIANT,
          END OF T_TBTCP,
          ITAB_SPOOL LIKE STANDARD TABLE OF T_TBTCP,
          WA_SPOOL LIKE T_TBTCP.
    DATA: PLIST LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: DOCUMENT_DATA LIKE SODOCCHGI1.
    DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: SO_ALI LIKE SOLI OCCURS 100 WITH HEADER LINE,
          REAL_TYPE LIKE SOODK-OBJTP,
          SP_LANG LIKE TST01-DLANG, LINE_SIZE TYPE I VALUE 255,
          V_NAME LIKE SOEXTRECI1-RECEIVER.
    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.
    START-OF-SELECTION.
      PERFORM GET_SPOOL_REQNUMBER USING TJOBNAME. " CHANGING SPOOLID.
      PERFORM SEND_MAIL.
    *  PERFORM REMOVE_BLANK_SPOOLS.
    *&      Form  GET_SPOOL_REQNUMBER
    *       text
    *      -->P_0111   text                                                *
    *      <--P_UU  text                                                   *
    FORM GET_SPOOL_REQNUMBER USING P_0111.
      SELECT A~LISTIDENT B~STRTDATE B~STRTTIME A~VARIANT
       FROM TBTCP AS A INNER JOIN TBTCO AS B
            ON A~JOBNAME EQ B~JOBNAME AND
               A~JOBCOUNT EQ B~JOBCOUNT AND
               A~STEPCOUNT EQ B~STEPCOUNT
       INTO TABLE ITAB_SPOOL
          WHERE A~JOBNAME = P_0111 AND B~STRTDATE EQ SY-DATUM.
    ENDFORM.                    " GET_SPOOL_REQNUMBER
    *&      Form  send_mail
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM SEND_MAIL .
    * Get the spool data.
      LOOP AT ITAB_SPOOL INTO WA_SPOOL.
        REFRESH : SO_ALI, PLIST, T_RECEIVERS.
        CLEAR : SO_ALI, PLIST, V_NAME, DOCUMENT_DATA, T_RECEIVERS, SPOOLID,
                V_REPORT, V_VARIANT, V_LGORT.
        IF WA_SPOOL-LISTIDENT <> '0'.
          MOVE WA_SPOOL-LISTIDENT TO SPOOLID.
          CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
            EXPORTING
              RQIDENT              = SPOOLID
              FIRST_LINE           = 1
              LAST_LINE            = 0
              DESIRED_TYPE         = ' '
            IMPORTING
              REAL_TYPE            = REAL_TYPE
              SP_LANG              = SP_LANG
            TABLES
              BUFFER               = SO_ALI
            EXCEPTIONS
              NO_SUCH_JOB          = 1
              JOB_CONTAINS_NO_DATA = 2
              SELECTION_EMPTY      = 3
              NO_PERMISSION        = 4
              CAN_NOT_ACCESS       = 5
              READ_ERROR           = 6
              TYPE_NO_MATCH        = 7
              OTHERS               = 8.
    * Check the return code.
          IF SY-SUBRC <> 0.
            MESSAGE S208(00) WITH 'Error'.
            LEAVE LIST-PROCESSING.
          ENDIF.
    DATA : DATE LIKE SY-DATUM,
           DATE1(10) TYPE C.
    * Prepare the data.
    CLEAR OBJTXT.
    REFRESH OBJTXT.
    OBJTXT = 'PLEASE CHECK THE LIST OF PENDING ACKNOWLEDGEMENT'.
    APPEND OBJTXT.
    CONCATENATE 'ISSUE STORAGE LOCATION :' WA_SPOOL-VARIANT INTO OBJTXT.
    APPEND OBJTXT.
    DATE = SY-DATUM - 1.
    CONCATENATE DATE+6(2) '-' DATE+4(2) '-' DATE+0(4) INTO DATE1.
    CONCATENATE 'POSTING DATE           :' DATE1 INTO OBJTXT.
    APPEND OBJTXT.
    OBJTXT = ''.
    APPEND OBJTXT.
    CLEAR PLIST.
    REFRESH PLIST.
    PLIST-TRANSF_BIN = SPACE.
    PLIST-HEAD_START = 1.
    PLIST-HEAD_NUM = 0.
    PLIST-BODY_START = 1.
    DESCRIBE TABLE OBJTXT LINES PLIST-BODY_NUM.
    PLIST-DOC_TYPE = 'RAW'.
    APPEND PLIST.
    CLEAR PLIST.
    *      PLIST-TRANSF_BIN = 'X'.
    *      PLIST-HEAD_START = 0.
    *      PLIST-HEAD_NUM = 0.
    *      PLIST-BODY_START = 0.
    *      PLIST-BODY_NUM = 0.
    *      PLIST-DOC_TYPE = 'RAW'.
          PLIST-OBJ_DESCR = WA_SPOOL-VARIANT.
    *      APPEND PLIST.
          PLIST-TRANSF_BIN = 'X'.
          PLIST-HEAD_START = 0.
          PLIST-HEAD_NUM = 0.
          PLIST-BODY_START = 1.
          DESCRIBE TABLE SO_ALI LINES PLIST-BODY_NUM.
          PLIST-DOC_TYPE = REAL_TYPE.
    * Get the size.
          READ TABLE SO_ALI INDEX PLIST-BODY_NUM.
          PLIST-DOC_SIZE = ( PLIST-BODY_NUM - 1 ) * LINE_SIZE + STRLEN( SO_ALI ).
          APPEND PLIST.
    ***get the values of the variant
          MOVE : WA_SPOOL-VARIANT TO V_VARIANT.
          SELECT * FROM TBTCP WHERE JOBNAME EQ TJOBNAME ORDER BY SDLDATE.
            MOVE TBTCP-PROGNAME TO V_REPORT.
          ENDSELECT.
          CALL FUNCTION 'RS_VARIANT_VALUES_TECH_DATA'
            EXPORTING
              REPORT                     = V_REPORT
              VARIANT                    = V_VARIANT
    *         SEL_TEXT                   = ' '
    *         MOVE_OR_WRITE              = 'W'
    *         SORTED                     = ' '
    *         EXECUTE_DIRECT             =
    *       IMPORTING
    *         TECHN_DATA                 =
            TABLES
              VARIANT_VALUES             = VVALUES
           EXCEPTIONS
             VARIANT_NON_EXISTENT       = 1
             VARIANT_OBSOLETE           = 2
             OTHERS                     = 3.
          LOOP AT VVALUES.
            CASE VVALUES-SELNAME.
              WHEN 'P_ILGORT'.
                MOVE VVALUES-LOW TO V_LGORT.
            ENDCASE.
          ENDLOOP.
          SELECT SINGLE MAILID FROM ZGT001L INTO ZGT001L-MAILID WHERE WERKS EQ '1000' AND LGORT EQ V_LGORT.
          IF SY-SUBRC EQ 0.
            T_RECEIVERS-RECEIVER = ZGT001L-MAILID.
            T_RECEIVERS-REC_TYPE = 'U'.
            APPEND T_RECEIVERS.
          SELECT SINGLE INVCODE FROM ZGT001L INTO ZGT001L-INVCODE WHERE WERKS EQ '1000' AND LGORT EQ V_LGORT.
          IF ZGT001L-INVCODE = 'SOU1'.
            T_RECEIVERS-RECEIVER = 'emailaddress'.
            T_RECEIVERS-REC_TYPE = 'U'.
            T_RECEIVERS-COPY = 'X'.
            APPEND T_RECEIVERS.
          ELSE.
          ENDIF.
            T_RECEIVERS-RECEIVER = 'emailaddress'.
            T_RECEIVERS-REC_TYPE = 'U'.
            T_RECEIVERS-COPY = 'X'.
            APPEND T_RECEIVERS.
            T_RECEIVERS-RECEIVER = 'emailaddress'.
            T_RECEIVERS-REC_TYPE = 'U'.
            T_RECEIVERS-COPY = 'X'.
            APPEND T_RECEIVERS.
            T_RECEIVERS-RECEIVER = 'emailaddress'.
            T_RECEIVERS-REC_TYPE = 'U'.
            T_RECEIVERS-COPY = 'X'.
            APPEND T_RECEIVERS.
          ENDIF.
          IF NOT SP_LANG IS INITIAL.
            DOCUMENT_DATA-OBJ_LANGU = SP_LANG.
          ELSE.
            DOCUMENT_DATA-OBJ_LANGU = SY-LANGU.
          ENDIF.
          V_NAME = SY-UNAME.
    * Subject.
    CONCATENATE 'List of Pending Acknowledgement from St. Loc.:' WA_SPOOL-VARIANT
                INTO DOCUMENT_DATA-OBJ_DESCR.
    *      DOCUMENT_DATA-OBJ_DESCR = 'List of Pending Acknowledgement'.
    * Send the email.
          CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
            EXPORTING
              DOCUMENT_DATA              = DOCUMENT_DATA
              SENDER_ADDRESS             = V_NAME
              SENDER_ADDRESS_TYPE        = 'B'
            TABLES
              PACKING_LIST               = PLIST
              CONTENTS_BIN               = SO_ALI
              CONTENTS_TXT               = OBJTXT
              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.
          IF SY-SUBRC <> 0.
            MESSAGE E208(00) WITH 'Error in sending email'.
          ENDIF.
          COMMIT WORK.
    * Send the email immediately.
          SUBMIT RSCONN01
          WITH MODE = 'INT'
          AND RETURN.
          IF SY-SUBRC EQ 0.
            WRITE 'To get the spool no'.
            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.
            IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
            WRITE : / 'Spool id of the job that is sent', SPOOLID,
                     GD_EVENTID,
                     GD_EVENTPARM,
                     GD_EXTERNAL_PROGRAM_ACTIVE,
                     GD_JOBCOUNT,
                     GD_JOBNAME,
                     GD_STEPCOUNT.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " send_mail
    *&      Form  remove_blank_spools
    *       text
    *  -->  p1        text
    *  <--  p2        text
    *FORM REMOVE_BLANK_SPOOLS .
    *  LOOP AT ITAB_SPOOL INTO WA_SPOOL.
    *    MOVE WA_SPOOL-LISTIDENT TO SPOOLID.
    *    CALL FUNCTION 'RSPO_ISELECT_TSP01'
    *      EXPORTING
    *        RFCSYSTEM        = SY-SYSID
    *        RQIDENT          = SPOOLID
    **   FORUPDATE        = ' '
    *     IMPORTING
    *       TSP01_ELEM       = W_INFO
    *     EXCEPTIONS
    *       ERROR            = 1
    *       OTHERS           = 2.
    *    CALL FUNCTION 'RSPO_IRETURN_RAW_DATA'
    *      EXPORTING
    *        RQ                 = W_INFO
    *      TABLES
    *       LINE_BUFFER        = W_DATA
    *    PAGE_INDEX         = W_PAGES
    **       LINE_BUFFER2       =
    *     EXCEPTIONS
    *       ERROR              = 1
    *       OTHERS             = 2.
    *    IF W_INFO-RQDOCTYPE = 'LIST'.
    *      CALL FUNCTION 'RSPO_R_GET_TOC_SPOOLREQ'
    *        EXPORTING
    *          RQIDENT = SPOOLID
    *        TABLES
    *          TOCDESC = W_TODESC
    *        EXCEPTIONS
    *          ERROR   = 1
    *          OTHERS  = 2.
    *      CALL FUNCTION 'RSPO_SPOOLDATA_WRITE_INIT'.
    **      READ TABLE W_DATA WITH KEY DATA_LINE = 'List contains no data'.
    *      LOOP AT W_DATA.
    *        IF W_DATA-DATA_LINE CP 'List contains no data'.
    *        ENDIF.
    *      ENDLOOP.
    *    ENDIF.
    *  ENDLOOP.
    *ENDFORM.                    " remove_blank_spools
    Thanks,
    Sankar M

  • How do I use Thunderbird to send third-party email through Verizon SMTP?

    What exact settings do I need to select in Thunderbird for outgoing email in order send email? I have a third-party email address, not Yahoo or Verizon.
    Based on other posts, I have set:
    server name: outgoing.verizon.net
    port: 587
    CHECKED 'use name and password'
    username: entered verizon username
    use secure connection: 'no'
    When I try to send email, I get prompted for password multiple times, then ultimately get "Send Message Error" - 'Sending of message failed. The message could not be sent because connecting to SMTP server outgoing.verizon.net failed...'

    Your verizon.net password is not necessarily the same as your .com password. I have downloaded Thunderbird and tested send/receive using the verizon.net outgoing server and it works just fine, so it is something in the settings you are using.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Having problemn in sending a report email through forms

    Hi ALL,
    I am trying to send an email a report through forms
    It works for me in client side
    I am just passing parameters and working fine in Client side
    I am using forms 6i,reports6i and Oracle 8i
    If i run the same form in web it is not doing anything
    Any help
    The code is below
    PROCEDURE send_report (name varchar2) IS
    rpt_id REPORT_OBJECT := find_report_object('GENERIC');
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    errcode number;
    RPT_DES VARCHAR2(200) := '[email protected],[email protected]';
    BEGIN
    SET_REPORT_OBJECT_PROPERTY(rpt_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY (rpt_id,REPORT_DESTYPE,MAIL);
    SET_REPORT_OBJECT_PROPERTY (rpt_id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY (rpt_id,REPORT_DESNAME,RPT_DES);
    SET_REPORT_OBJECT_PROPERTY (rpt_id,REPORT_FILENAME,name||'.rep');
    v_rep := RUN_REPORT_OBJECT(rpt_id);
    do_key('clear_form');
    EXCEPTION
    when form_trigger_failure then null;
    END;

    Hi,
    on the Web you need to configure the Reports Server for sending emails, not the runtime.
    Frank

  • Send Quotation by Email Through Workflow

    Hi Gurus
    I am trying to setup a workflow to send out the quotation (VA21) to the Sold to Party via Email. The requirement is that when the quotation is saved it should go via email to the ordering party. Specifically the output (printout) of the offer letter should go as an attachment to the Sold to Party when the quotation is saved.
    How do I create the task so that it sends the output.??
    Thanks and Regards

    hi simran,
    As ur abapers to create a program to send the output through mail option they will link it to the smpt server and that inturn will trigger the email to be sent to the customer.
    Regards,
    Sudhir

Maybe you are looking for

  • How to put text line just for a moment ?

    Hi, Do you know how to put a text line  just  for one photo? I mean I have more photos  in one portfolio but i need the text line to be seen just for one photo for the others no. Thank you in advance.

  • WATCHING RENTED MOVIES ON HOLIDAY.

    I want  to rent a movie in iTunes and watch it on a cruise ship in the area of Norway and the Arctic Circle.. I know iTunes can advise me, but has anyone any  adverse experience of watching rented movies in areas other than where the movie was downlo

  • How to print specific concurrent request to specific printer in R12

    Good Day, How to print specific concurrent request to specific printer in R12, when i try to make specific printer to the user it's print all requests. i need to do this for one request only and print this request once. is there any profile option fo

  • Pick Release using backend API

    Hello All , I am trying to pick release one sales order using standard API WSH_DELIVERIES_PUB . I am using the below block. DECLARE -- Standard Parameters. p_api_version NUMBER; p_init_msg_list VARCHAR2(30); p_commit VARCHAR2(30); --Parameters for WS

  • I cant install adobe creative suite 3 on win7

       I recently upgraded to windows7 ultimate from vista ultimate. after the installation of win7, i could install adobe cs3 but a week or so later i tried working with photoshop and it gave me an error message, cutting a long story short i had to unin