Sitemap

Amicuk Programming Answers

To post a mail from ABAP program

-0001-11-30   Views:0

Advertisement

dear friends               how to post a mail to SAP inbox of a particular user from ABAP program.get the spool no of the program we have standard program rstxpdf4  through that convert it to pdf and through f.m SO_NEW_DOCUMENT_ATT_SEND_API1 u can se

dear friends
              how to post a mail to SAP inbox of a particular user from ABAP program.

The replay answer
Advertisement
get the spool no of the program
we have standard program rstxpdf4  through that convert it to pdf
and through f.m SO_NEW_DOCUMENT_ATT_SEND_API1 u can send mail.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
   EXPORTING
     DOCUMENT_DATA                    = x_document_data
     PUT_IN_OUTBOX                    = 'X'
     COMMIT_WORK                      = 'X'
   TABLES
     PACKING_LIST                     = it_packing_list
     CONTENTS_BIN                     = it_contents_bin
     CONTENTS_TXT                     = it_contents_txt
     RECEIVERS                        = it_receivers
  EXCEPTIONS
    TOO_MANY_RECEIVERS               = 1
    DOCUMENT_NOT_SENT                = 2
    DOCUMENT_TYPE_NOT_EXIST          = 3
    OPERATION_NO_AUTHORIZATION       = 4
    PARAMETER_ERROR                  = 5
    X_ERROR                          = 6
    ENQUEUE_ERROR                    = 7
    OTHERS                           = 8 .
IF SY-SUBRC <> 0.
   retcode = sy-subrc.
   perform protocol_update.
else .

Go to See the other 5 answers

Send a mail via ABAP program

Category:DefaultRelease time:2015-10-11Views:130

Hello Experts, I want to send mail via ABAP program with the following requirements : 1. Recipient is OUTLOOK email -id 2. Sender address has to be an external email-id 3. Send mail as CC and BCC also to other email-id. Is there any function module w[More]

To post a mail from ABAP program

Category:DefaultRelease time:-0001-11-30Views:130

dear friends               how to post a mail to SAP inbox of a particular user from ABAP program.get the spool no of the program we have standard program rstxpdf4  through that convert it to pdf and through f.m SO_NEW_DOCUMENT_ATT_SEND_API1 u can se[More]

Mail using ABAP program

Category:DefaultRelease time:2015-10-11Views:130

Hi all, see below it. TABLES: ZST2. DATA : BEGIN OF ITAB OCCURS 0, EMPNO LIKE ZST2-EMPNO, EMPNAME LIKE ZST2-EMPNAME, END OF ITAB. DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE, receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE, packing_[More]

After sending attachment through mail using ABAP program.....

Category:DefaultRelease time:-0001-11-30Views:130

Hello Experts, I am facing a problem to fulfill a requirement. My requirement is....sending the data of the internal table to an external mail with attachment(excel format). I have done with this. But when o am opening the excel sheet(attachment) it[More]

Reading email using abap program

Category:DefaultRelease time:-0001-11-30Views:130

Hi All, I have a requirement to read inbox mails through abap program. Also from address, to address, subject. Could someone help me  !! Thanks in advance, Venkat Moderator message : Requirements dumping not allowed, show the work you have already do[More]

Program to send mails from an ABAP program

Category:DefaultRelease time:-0001-11-30Views:130

Hello,        I found the following program on the internet. When i run it i get the status as mail sent, but actually the mail is not delivered to the recipients email address. If i check tcode SBWP, a copy of the sent mail sits in outbox even thoug[More]

Regarding text attachment in Email in ABAP program

Category:DefaultRelease time:2015-10-11Views:130

Hello... Need your expertise in one of the issues. Requirement is seems to be simple but i am stuck up at this moment. i have refereed SDN with Several code but some point its not giving the proper solution. So its a request to you please do not prov[More]

Is it possible to reset password for any user using abap program

Category:DefaultRelease time:2015-10-11Views:130

Hi friends, Is it possible to reset password for any user using abap program by specifying client number and user id. in selection screen. if any code for that to reset password please mail me. Thanks & Regards, YogeshHello Yogesh, Yes you can reset[More]

CONVT_NO_NUMBER Dump error in Process Chain Abap Program

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, The daily running process chain is failed at ABAP program with the error CONVT_NO_NUMBER. The reason for the exception is:                                        The program attempted to interpret the value "40-799" as a number, but [More]

Abap program - end of process chain

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have a requirement. At the end of each process chain, the ABAP program must trigger email. The process chains are having naming format of Z<Module name>. Ex: SD process chain will have ZSD, PS process chain will have ZPS etc. Now we are readin[More]

How to implement  mailing in ABAP

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, I want to send mail from my abap program to number of recepient, at a perticular time. Is it possible in ABAP to run a perticuler module at a pericler time say 8 AM every morning?Hi, Check this link for mailing.. /people/thomas.jung3/blog/200[More]

Hot
Im trying to make an itunes account, and i dont want to enter a credit card number because i will only be using prepaid giftcards, i already have one account where i didnt have to enter credit card info, but its old and it wont let me do it again for [More]
Hi! I have HP Pavillion dv5 notebook.  i have a problem with the ventilation fan. sometimes when i move my laptop (for exemple if i tlift it from the table to put it somewhere else) then the fan  starts to spinn with an extremly high speed and it sou [More]
Hello, I recently bought a new intel imac and moved my photos from an old ibook using iphoto 2.0.1. I got the pictures to move over but none of the data followed. No dates,titles, or albums. Also my library grew from 2500ish pics to 5000ish.... many [More]
Hi guys, I recently bought a second-hand ThinkVision L200P. I installed it behind a large sheet of glass, which seems to have had the unfortunate effect of pressing all the buttons at once for an extended period of time, and now my L200P doesn't disp [More]
I'm having quicktime issues, these have been ongoing for a long time. But I just updated to the latest version and I have the most current drivers loaded on my system. I get a microsoft visual C++ error "buffer overflow detected" and the program [More]
Hi, I have two identical WVC54GCA cameras connected on static ips, .51 and .50.  One works perfectly and I can see the image on the crappy viewing software or go to the web site and view the image there.  The second one is more problematic.  I can pi [More]
I have written a startup class to configure log4j in Weblogic. The class runs but cannot find the configuration file. The code for the startup class is as follows.... package com.n2bb.ams.common.util; import java.io.FileInputStream; import java.io.Fi [More]
I can open iTunes Store, I can ever click on albums or titles and they will appear but when I try to search for an individual song by entering the title in the search bar it would time out. I have tried to enter single word or complete title but stil [More]
Hello, how can I recover the phone? What I have tried is the software in this discussion: https://supportforums.cisco.com/discussion/10616406/spa962-sos-recovery-mode but it didn't work. The software didn't find the phone. What I need in the computer [More]
I have a system configured with data coming from a tektronics scope in a series of data points (dbl). I want to plot these on some sort of graph in real time. The problem comes with the fact that I want to have the data be shown with say, a red line [More]