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

Similar Messages

  • Can we send bulk email through exchange server 2010

    can we send bulk email through exchange server 2010

    You can do this however not sure I would recommend that since if people complain they are getting spammed it could effect your production servers domain/IP, i.e. it could get black listed.   Personally I always recommend using a different system for
    email blast  to protect my production IP addresses and also to keep the load off of exchange as well as email marketing systems have built in capabilities for reporting, opt in/out capabilities etc.
    All of that said perhaps you can tell us more about what exactly it is you want to do and how often?
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003 -->
    2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • Question on Migrating SAP server from one system to another

    Hello SAP Gurus
    I need your expert advice with the following issue.
    We have ECC6.0 and Enterprise Portal installed on a windows 2003 server with 4 gig memory for demo work (Pre-sales).
    Lately we are seeing lots of performance issues and so would like migrate to a faster server.  Keeping the budget in mind
    we would like to go for Windows-7 64 bit so that we can have atleast 8 gig memory and about 250 gig disc space.
    How easy is to migrate from the old server to the new server without losing any data that we have created (lots of custom BAPIs and Tables etc.,)
    Is it as simple as install the new server and then create the transport request package of BAPIs and TABLES on the old system and import it into the new server OR is there any thing else that I need to be looking for.  Also, is Windows-7 64 Bit a supported platform for SAP.
    I am sure lots of you have already done this and might have acquired good knowledge. I would appreciate if you can please share that with me.
    Thanks
    Ram
    Edited by: Prasad Ram on Mar 17, 2010 2:39 PM

    Hi Prasad,
    I am not sure whether Windows-7 64 bit is a supported platform or not. Please check that in PAM (Product Availability Matrix).
    Apart from that the thing you are trying to achieve is not much of a complex activity. By means of System Copy you can achieve what you are trying to do. System Copy is the building of a new system on the new platform using an existing offline database and moreover keeping the SID same. This will retain all of your data (Custom BAPIs and tables and all those) and save you from tedious activity of creating innumerable transport requests and importing them.
    Please visit SAP Service market place for System Copy Guide. By the way can you let us know is the current platform is also 64 bit?
    Let us know if you have any more concerns.
    Regards
    Sourabh Majumdar

  • 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

  • Want to send email through web server tomcat 5.5

    hi
    i want a send email through java programme using tomcat web server

    So do it.
    What's your question?
    Did you read the JavaMail FAQ and all the
    other wonderful documentation on the JavaMail
    web site?

  • Sent email through Gmail server.

    I have Coldfusion 9 and I wonder if it is possible to send emails you have in the queue every second.
    Currently we send mail through Gmail server and you do not need classified as Coldfusion send spam emails with an interval of one second each.
    Anyone can help me?

    I will look at the settings in her gmail in a web browser. I assumed there was really only two way for one server to get emails from another.
    1. Charter is set to foward all emails to Gmail and keep the email on Charter's serve too. (not what is happening here)
    2. Gmail somehow reachs into Charter's server and downloads the mail to gmail. I suppose there would be options to leave the email on Charter's server. (But that doesn't explain why Charter's server doesn't keep the original email).
    But instead what is happening here seems to be that gmail reachs into Charter server, hijacks the email and somehow deposits the hijacked mail back to Charter after it performs gmails rules.
    Never having used the "unified" Andoid option (and I assume that was how it was done) I would have assumed the unified system would poll from mail from all accounts and put it into one box. But that doesn't seem to be happening here. But maybe they didn't do it from the phone but from the gmail web instead changing Charter's mail to gmail by taking the mail before Charter puts it on the server?
    Here is what I want for her. Her phone would poll Charter and Gmail and put all emails in a common folder on the phone without Gmail modifiying the email sent to the Charter's address. Of course if the email was being put on the Gmail server then I would expect gmail to apply their own rules... but not to the email left on the Charter account.
    Anyway I thank you for your response and will check her Gmail web setup.
    BTW I'm in over my head here. :-)

  • 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.

  • CF8 server can't send an email through Exchange Server

    I'm sending this as an Exchange Server Administrator... I'm working w/ our ColdFusion Admin, but he's stuck... so am I.
    CFv8 is our version (if you need more I'll get it) We have Exchange Server 2003 Enterprise, on Windows 2003 Server Enterprise.
    From what I understand... someone is filling out a form on our CF8 Server... this form is then "sent" to the "forum administrator"  (through our Exchange 2003 server) ... This person is "outside" of our Exchange server... [email protected]
    This has "Adobe Support" stumped...
    I have the CF server "allowed" in the SMTP,  Virtual Server,  Relay Setting, (and allow all authenticated servers to relay.. also) 
    I have a copy of his "code" too... (site details removed) ...
    <cfmail to="#recipEmail#"        from="#sendersEmail#"        subject="You've got an ePostcard from Our Company!"> #recipName#,     #sendersName# sent you an ePostcard from www.ourcompany.com! You can view your card at http://www.ourcompany.com/pub/ecards/yourEcard.cfm?cardNumber=#getIDNumber.CardID#  Your card will be available for 30 days. Delivered by Our Company Send your OWN ePostcard now at http://www.ourcompany.com/pub/ecards/ </cfmail>
    So if you have any ideas, please let me know.
    Thank you!
    JLH

    Our Answers below them... I scrubbed out the "real servers and email addresses" from the answers..
    I know most of this has been sent in an Adobe Ticket by the CF admin, but I see something isn't right!.
    Some questions, based on that assumption:
    1) Does the connection to the Exchange server verify in CFAdmin?
    Yes
    2) Have you switched all the mail logging options on, and set to DEBUG?  Anything useful being logged?
    "Error","scheduler-4","10/26/09","16:20:25",,"Invalid Addresses"
    3) Is the email failing to send from CF, or is it failing to be forwarded by Exchange?
    It’s being sent by Coldfusion but getting stuck in the undeliverable dir.
    4) Can Exchange log failed / refused connections, and is it logging attempted connections from the CF server?
    I trolled all the logs for Exchange, found only one line in months of logs:
    A non-delivery report with a status code of 5.1.8 was generated for recipient rfc822;[email protected] (Message-ID  <[email protected]>).
    10/6/2009
    8:39:45   PM
    MSExchangeTransport
    Error
    NDR
    3030
    N/A
    ourmailserver
    A non-delivery report with a status   code of 5.1.8 was generated for recipient rfc822;[email protected]   (Message-ID  <[email protected]>).
    5) Are the messages getting stuck in the spool dir on the CF server, or being placed in the undeliverable dir, or vanishing (suggesting they're being sent)
    They are getting stuck in the undeliverable dir.
    6) What happens if you set up a simple, stand-alone, test rig with a hard-coded <cfmail> test mail to an email address within your own Exchange system?  If that works, try changing it to an "outside world" one.
    Tried this and works fine with and address with in our Exchange system and when it is switched to an outside world address it gets stuck in the undeliverable dir like always.
    7) Anything in the CF or JRun logs?
    This is what we are getting in the Log files as the problem (but anID @ gmail.com is a valid email):
    "Error","scheduler-0","10/06/09","15:59:24",,"Invalid Addresses"
    javax.mail.SendFailedException: Invalid Addresses;
       nested exception is:
         com.sun.mail.smtp.SMTPAddressFailedException: 550 No such domain at this location ( anID @ gmail.com)
         at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
         at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
         at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:832)
         at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:731)
         at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1021)
         at coldfusion.mail.MailSpooler.run(MailSpooler.java:986)
         at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
         at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 No such domain at this location anID @ gmail.com)
         at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    Thank you for your time in looking at this with us!
    JLH

  • Can't send email through SMTP server

    As some others have reported, I recently started having problems sending emails (most of the time) through my regular smtp server (receiving is not an issue). Once in a while it does go out, but most of the time I get a message "Can't send message using the server smtp.XXXX.com". I know it's not the smtp server as I can go out with my browser and use webmail and it sends fine, using the same server.
    It only affects this one main email account - my other accounts seem fine (including gmail, mac, and another pop accounts), at least so far.
    It is extremely frustrating - saw a whole lot of ideas for fixing it (changing ports, etc.), but don't want to mess up all the accounts that are working. I'm a long time Mac user, but not a real techie.

    I know it's not the smtp server as I can go out with my browser
    and use webmail and it sends fine, using the same server.
    This is wrong. Whether you can send via webmail has nothing to do with whether you can send using a standard mail client such as Mail. The outgoing server that ends up delivering the message may be the same in both cases, but the outgoing server you communicate with is not. Actually, when sending via webmail you don’t even use SMTP to communicate with the outgoing server.
    There are circumstances under which you may not be able to send using a standard mail client such as Mail no matter what you do (e.g. because the ports needed for SMTP are blocked by the ISP at the location you’re trying to send from), whereas webmail works fine — and may be your only option in those cases.
    If it works sometimes, that means your account settings are probably correct, but you cannot discard that there is a problem with the outgoing (SMTP) server that Mail has to communicate with, even if sending via webmail works fine.
    <hr>
    That said, go to Apple Menu > System Preferences > Network, choose Network Port Configurations from the Show popup menu, and make sure that the configuration used to connect to Internet appears at the top of the list. Leave checked (enabled) only the port configuration needed to connect to Internet and Built-in Ethernet (in that order if not the same), uncheck (disable) the rest of network port configurations and see whether that helps — if it doesn’t, turn ON again the ones you want enabled.
    Try using a different method to connect to Internet, if possible, or connecting the computer to Internet as directly as possible (i.e. bypassing any routers that might be present, using an ethernet cable instead of wireless, etc.), or shutting down both the computer and the router/modem used to connect to Internet, restarting, and see whether that makes a difference.
    Mail keeps information about outgoing (SMTP) servers in a separate list independently of the mail accounts themselves. The account settings just associate one of the available outgoing servers with each account. Orphaned or dangling outgoing server entries (i.e. not associated with any account) sometimes cause weird sending problems.
    Go to Mail > Preferences > Accounts > Account Information > Outgoing Mail Server (SMTP), choose Edit Server List from the popup menu, and delete any servers that shouldn’t be there — the Edit Server List panel shows the account each outgoing server is associated with.
    If the problem persists and you have more than one mail account, try moving the account that has the problem to the top of the list in Preferences > Accounts.

  • Picking up web based Emails through comapny server

    Please Please help!!!
    Just purchsed my first Nokia N series phone ( N95 8GB) , having put up with the rubbish the comany provided
    for the last 2 years. The Nokia N95 is by far the best phone i have had, everything you could want in a phone for someone who is always on the move. I have 1 issue which reading through many forums is quite common.
    I need to pick up my company emails, frequently through the day, The emails are through Microsoft exchange.
    I downloaded the M4E software to my phone, this works fine when doing a manual sync but the issue is the Auto Sync function. As part of the security feature of the server i had to download 2 certificates, one of which is called ECH01,cert, this file is not recognised by my phone, giving a prompt telling me that the cert is untrusted, when trying to Sync, Has anyone come acroos a fix for this, i have V15 firmare, if i upgrade to V20 will this sort the problem

    I don't know who told you it was OK, because it clearly IS NOT - you need only to read the EULA itself to see that.
    Adobe Acrobat MAY NOT be installed on a server - it is technically viable nor legally permissible. 
    If you want to use an Adobe product on your server for this task, we offer such a product in our LiveCycle family.

  • 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

  • Set up email through exchange server - Contacts are now deleted.

    I connected my phone, 3.1.3 to my work exchange server for email and outlook. Of course after doing so, I have now lost all my contacts. How can I retrieve them?

    That's what happens when you share the same iCloud account.  First, migrate his phone to a different iCloud account using a different ID (you can continue to share the same ID for other services such as iTunes if you want).  To do this, on his phone save any photo stream photos that he wants to keep to his camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If he are syncing notes with iCloud that he wants to keep, you'll need to open each of your notes and email them to him so he can later copy and paste the text into new notes created in his new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud; this won't effect your phone), provide the password to turn off Find My iPhone and choose Keep on My iPhone when prompted.  Then sign back in with a different Apple ID to create his new account and choose Merge to upload the data.  After doing this, he can go to icloud.com and safely delete your data from his new account.
    Then, if your contacts were on your phone when you last backed it up to iCloud, you can restore them by following Winston Churchill's user tip here: https://discussions.apple.com/docs/DOC-4841.  This involves turning off your wifi after your phone restarts during the restore process, then saving the contacts on your phone and deleting them from iCloud prior to turning your wifi back on and allowing the restore process to finish.  You can turn off your wifi either by pulling the cord out of the WAN port in your wifi router, or by simply unplugging it.

  • Simple question: Recording through my built-in microphone

    I just want to be able to record into Garageband using my Mac's built-in microphone (for now.) Seems simple, but I haven't been able to get it to work. What presets do I need to use, or what else do I have to do?
    I'm running GarageBand 2.0.2.

    you're in the wrong forum, this is the GB08 forum, however all you have to do is create a New Basic Track and then hit record.

  • 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

  • ABAP simple question on std sap report

    Hi, thanks for this ABAP team on sdn. but please clarify 1. execute the table TRDIR with appl = M it gives the program list but when i copy the program name in se38 lets say program = /BEV3/FMCVFTOP_000002 then it say cannot generate so this means some of them are not report
    can u suggest what is the start of tech name or identification to say that this program is a report so that i only execute the report and do not waste time on which are not report also if there is any way to find the report name from this TRDIR LIST
    2. is any of ur team make such program that will fill application wise like M or F and have the filter set and give the list of report with report name
    Please help
    thanks
    soniya

    Soniya,
    <b>APPL</b> will have values like below which is coming from TAPLP table.
    *          Cross-Application
    A          Asset Accounting
    B          Business Information Warehouse
    C          PPC
    D          DASS (control station)
    E          RIVA
    F          Financial accounting
    G          General ledger
    H          Human Resources Planning
    I          Plant maintenance
    J          Publishing
    K          Cost accounting
    L          Warehouse Management
    M          Materials management
    N          Hospital
    P          Human resources
    Q          QSS (Quality assurance)
    R          Unknown application
    S          Basis
    U          Enterprise Data Model
    V          Sales
    W          MMS (Merchandise mgt. system)
    Y          Customer head office
    Z          Customer branch
    Whereas in TRDIR table there is an field <b>SUBC</b> for this values will be:
    1     Executable program
    I     INCLUDE program
    M     Module pool
    F     Function group
    S     Subroutine pool
    J     Interface pool
    K     Class pool
    Regards,
    Prakash.

Maybe you are looking for

  • How do i get my update to work?

    I need to restore my ipod, but to do so i have to update the software. I have tried to do this and it says its downloading until when its finished it says it could not be dowloaded because the network connection timed out error-3259. I have checked t

  • I get Deactivation Error 194:3 when trying to deactivate Photoshop elements from an old PC.

    I have Photoshop elements on an old PC, I want to deactivate it to set up on my new PC. I keep getting Error 194:3 whenever I try to deactivate.

  • Node functions in Message Mapping

    Hi, Could someone help me with some good exercises for node functions such as splitbyvalue, collapsecontents, removecontexts. I am a newbie to these functions and have absolutely no idea on how to use them. Would appreciate if someone could give very

  • JDeveloper 10g 10.1.3 Unable to Find Source File (SQLJ)

    I live and die using the debugger. I have never seen this happen before. I have a .sqlj file I compile with the other code for a particular application. JDeveloper has always been able to step into the .sqlj code before. However, I have kept the JDev

  • My macbook pro can't read a dvd-r double layer

    Hi everyone! I have a Macbook Pro 2.66 GHz Intel Core 2 Duo 15 inches (mid-2009, model identifier MacBookPro5,3) with Mac OS X Lion 10.7.3. I can't read a commercial DVD DL-R (as indicated on the DVD). The DVD player doesn't mount the DVD and reject