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
I am unable to open raw files taken on my Canon Rebel T1i in my version of Photoshop CS3.  When I import raw files into Bridge they come up as patches with CR2 on them and when clicked on, a notice comes up stating that Photoshop does not recognize t [More]
I've been dealing with a disk error that has tripped up every application I've used to correct it. Disk First Aid could nothing. I tried Disk Warrior, but that's taking centuries to run and still won't solve the end problem (according to a DW techie) [More]
Is there a way in ssis using for each loop container to loop through all the files in the order of file names. for example if I have 1.txt 2.txt 3.txt 4.txt I want to process 1.txt then 2.txt and so on instead of processing 1. txt then 4.txt and then [More]
Hi, I have to load an (EDI) File that looks like this when I open it with a text editor: BEG00NEC3315858400061226…CURCYUSD…PERBD etc. I was told that the Segment End Separators (...) represent HEX 85. My understanding is that the endSeparator in the [More]
iCloud email uses IMAP protocol, correct? So why do I not see an option to create additional folders in my email acct?trying on ipad, iphone and new iMAC. Trying to get same functionality I had in Outlook for managing email. I now understand I need t [More]
The database version is 8.1.7.0 on Sun Solaris 5.8 Since 3 weeks the scheduled Analyze cronjobs which executes every sunday fails with "Unable to Extend Temp segment" ultimately hangs my Live Database. On investigation i did find that the issue [More]
Hello Experts, I had created a  System Object in the Portal system landscape based on System Template (Template) and choosed SAP system with load balancing (to connect to R/3 server). Given parameters to Connector, ITS, WAS and User management, when [More]
I keep getting msg saying I need to update my Adobe Flash.  When I do I get msg saying I have a newer version already installed. Any download is "unsuccessful".   I keep going in circles and can't view anything.    Thhis is a recent situation.   [More]
I recently began having problems with "Overlapped Extent Allocation" errors on my hard drive on my "Late 2010" MacBook Air. When it first happened, I formatted the drive, reinstalled OSX 10.7, and restored my data. Within a month or so [More]
Hi friends, Can any body give me the installtion steps for installing ECC on SQL. Regards, Prasadhttps://websmp203.sap-ag.de/eRP SAP Demo Systems (http://service.sap.com/ides) ides Material Product description ; Media center with presentations and li [More]