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
Hi everyone, Here's my problem. I am a beginner in iOS apps development and I am developing an application that requires to connect from 3 to 6 devices together using Bluetooth. I am not using GKPeerPickerController since it does not allow me to defi [More]
Acrobat Pro X, Vista Ultimate (32 bit).  PDF printer is nowhere to be found.  Tried reinstalling. I'm honestly not sure it was there when I installed it the first time.  But it is there on my Win 7 machine. Thoughts?  Fixes? Thanks. - MartinTry addin [More]
I have exported some color palettes from Ilustrator. How can I import them into DW in order to create some website color specs in a .css file, please?It's not a perfect solution, but you can use this free online utility ( http://utilitymill.com/utili [More]
Does anyone know IDOC or a BAPI for confirming a production order? CO11 is the normal transaction for confirmation. I found one BAPI: BAPI_PRODORDCONF_CREATE_HDR Is this the right one? -Thanks BhavenHi Bhavan, status can be find using function module [More]
New to this forum...Thanks... Although I'm able to cut and past my html files via the ftp.domain.org windows, I'm not able to do so through the "put" command after I've saved changes to html pages. I've tested the connection which seems to work [More]
I am developing a drawing application that allow the users to draw and edit static two dimensional images such as Rectangles, Ellipses and Text. I have a superclass SVGShape that contains all the common features of a shape such as x1, x2, color etc. [More]
I make a Flash Program , MouseEvent ,MouseOver , MouseMove ,Fps 30,is very fast But make a Air Application is slowly in Fps 30 for MouseEvent , a Startand should be mousemove never run in air A Simple , i make a textfield on air api ,actionscript no [More]
hi All, I wanted to put validation in HRUSER TCode  when we are creating user for an employee by selecting exit module for user name and password in my scenario I want to remove the first alphabet of user name that is P and with that I want to set a [More]
I have a new computer and wanted to instal my previously downloaded version of PSE9. As the installers were outdated I contact the online chat and was directed to this forum. I downloaded the new installers and now need to look at how I download the [More]
Continue to have range and speed/thru put issues like others, but my biggest problem is the inconsistent assignment of IPs via DHCP. Unit continues to fail to provide an IP via DHCP to the first system to startup, generally it is my desktop in the mo [More]