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 guys, i design the form in screen painter. I want to give the unique Id "1" to add button and "2" to cancel button. But i am not able to change the unique Id which is already given to the button. can anyone help me? Thanks in advanc [More]
The disc drive works fine, and it reads the dvd, but when DVD Player goes to open it starts the program then immediately terminates. On a side note, some other apps (most notably iPhoto) seem to not even want to start, is this due to mountian lion or [More]
C:\>sqlplus sys as sysdba SQL*Plus: Release 10.2.0.3.0 - Production on Mon May 9 22:10:37 2011 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. Enter password: Connected to an idle instance. SQL> startup mount; ORACLE instance started. Total S [More]
String bad=hi; String Str="hi how ru"; compare both the text and words replace with * if that word found in text... regardsTry this.... should get you started...         String bad="hi";         String str="hi how ru";        [More]
Is it possible to apply the Photo Booth effects to photos that were taken outside of the Photo Booth application? For example, I have some shots in my iPhoto library that I'd love to apply one of the Photo Booth effects to. I can't see an option for [More]
When trying to link to download an epub book I get error! check activate. I have authorised the PC running windows 7 and apparently it can communicate with teh adobe server. I have tried uninstalling and reinstalling - to no avail. Anyone any ideas. [More]
Scenario is 1-10 archived logs required to recover database. 5 Number log is missing It means that 6,7,8,9,10 are useless for me yes/no Please explain it to me Thanks a LotHi, Yes all archivelog after the missing sequence of archivelog will be useles [More]
Hello After I upgrade my mac to Lion OSX 10.9.2, I am keep getting an error code 150:30. I have tried downloading License Recovery, but it didn't work. What should I do to solve this problem?I'm having the same issue. I purchased CS4 in January of 20 [More]
As being new to a Mac, I was just wondering, what are the benefits from upgrading to Quicktime Pro? I understand it allows you to edit and create movies on the fly, but I plan on using iMovieHD once I get a good camera. What I was really wondering ab [More]
Hi there, In my PDF form there are a couple of time fields. I would like some help on couple of things as this is my first ever PDF form: Display current time in format HH:MM when the document is opened. I would like to display a default value for ti [More]