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 all, I have a program written in VB.Net 2005 which display a report. In this report, I have a group by Item type ascending. When I run the program and load the report, it display the data correctly. When I move my mouse cursor on Group Section Hea [More]
Hi. Is there a way to print from a MacBook pro to a non-wireless compatible printer without having a direct usb connection??? Hope that makes sense. I heard something about using a Time Capsule or air port of some sort but have no idea what that mean [More]
Hello, I am using SRM 5.O . In Process PO when I go to create the PO with more than one line item following issue comes : When I entered one line item and check its ok when I click on  <b>Duplicate Selected</b> Item or <b>Copy</b> [More]
G'day, I'm trying to use the app store to do the update on Final Cut Pro. We have a slow connection at home so I leave it downloading overnight, but when I get up in the morning it says theirs an error in the pkg. Is there anyway I can download the u [More]
I am developing a search page which should first bring the results sorted by some particular field & then the user should have the option of sorting the results by other field names which are provided in a form list. For generating dynamic requests, [More]
I have a vector graphic which was created in Adobe Illustrator which looks rough in After Effects.  Zooming in Illustrator and Photoshop results in crisp clean edges which is what I want. When I place the graphic in my AE composition the edges are ro [More]
I have purchased a boxed retail version of Photoshop Elements 11 last year, in 2012 and recently I thought to back up the disks that came in the box, but whenever I start the copying process, after about 50% is done, the copy dialog box pops up with [More]
end yes  i got the macbook summer 2006 still working and sharp, got this problem, CSRUSHBBluetoothHCIcontroller: setupHardware super returned 0,  invalid node structure (4,14279), and it shut down im thinking of open it up and check the bluetooth chi [More]
my l Pavilion dv7-1245dxogiteck Anywhere mx mouse will not connect to my  Pavilion dv7-1245dx computer with built in bluetooth and the bluetooth is turned on  and this mouse works with my dell insprionThanks a million, your post was very helpful..Rea [More]
My wife was working on an email when her entire inbox was deleted.  Is there a backup file? We have a 3.2 Gz Intel Core i3 iMac running OSX version 10.8.3,kbsmcd wrote: My wife was working on an email when her entire inbox was deleted.  Is there a ba [More]