Sending emails in PDF & TXT format generated by SAP script/Smart forms
Hi
We have a requirement to configure SMTP node to send emails in PDF & TXT format. Currently, Output format for SAP Documents generated by SAP Script/Smart Forms configured in PDF. (Tx - SCOT - SMTP Node - Intetnet - Output Forms for SAP Documents). But, We also like to send emails in TXT format for other application in the same system. I see that you can send emails generated by SAP Script/Smart Forms either in PDF or TXT format not both.
Is it possible to send the emails in both the formats by configuring in Tx SCOT?
Your inputs will be appreciated.
Regards
Chandu
Hi chandu,
1. emails in both the formats by configuring in Tx SCOT ?
Scot will allow only ONE AT A TIME.
2. The other workaround is,
that using some FM
convert the OTF (sapscript/smartform)
data to TEXT,
and send it as RAW
3. Configure RAW = TEXT in scot.
regards,
amit m.
Similar Messages
-
BEx Broadcast - Not able to send email as PDF attachment
Hi All,
We have BI 7.0 and EP 7.0 of SP12.
From BEx broadcasting we couldnt able to send email in PDF format, but other format like HTML, Link, MHTML can able to send
It gives error like
<b>Error:java.lang.ArrayIndexOutOfBoundsException
Error occured during the processing of framework class CL_RSRC_PRODUCER_PRECALC, type, PROD</b>
Pls give me some input on this regard
Thanks
Karthik<b>Prerequisites -</b> You selected Broadcast to Printer as the distribution type when you created the broadcast setting.
http://help.sap.com/saphelp_nw2004s/helpdata/en/13/f76f422f91c153e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/bf/220c40ac368f5ce10000000a155106/content.htm
<b>Configuration - Broadcasting</b>
http://help.sap.com/saphelp_nw2004s/helpdata/en/84/30984076b84063e10000000a1550b0/content.htm
https://forums.sdn.sap.com/click.jspa?searchID=4204837&messageID=2091321
https://forums.sdn.sap.com/click.jspa?searchID=4204809&messageID=2816847
Some Insights-
The PDF printing can be done from a BEx Web Application, BEx Web Analyzer, or BEx Report Designer. There are no current plans to make this available in the BEx Analyzer.
From the BEx Analyzer, you can use the "launch in web" functionality to then initiate print to PDF.
Hope it Helps
Chetan
@CP.. -
Broadcast Email to PDF output format
Hi All,
We are using the standard web template (0ANALYSIS_PATTERN) to broadcast email for PDF output format. I'm managed to received the PDF attachment email but however instead of one query, it contains duplication of the same query (repeated query) in the PDF file. We are also using the standard 0QUERY_TEMPLATE_BROADCAST_PDF web template.
Has anyone experience this issue before and what is the solution for this?Hi All,
We are using the standard web template (0ANALYSIS_PATTERN) to broadcast email for PDF output format. I'm managed to received the PDF attachment email but however instead of one query, it contains duplication of the same query (repeated query) in the PDF file. We are also using the standard 0QUERY_TEMPLATE_BROADCAST_PDF web template.
Has anyone experience this issue before and what is the solution for this? -
FAQ About Adobe LiveCycle Designer (send email) as PDF
HI my name is saeed and i want ask about when i make application form on this program i want put button (send email) as PDF not XML or html i meaning he send me email after full the application as Attach fail PDF not xml or html is this possible.
have god day
saeedGoto command prompt and type ipconfig
You will get something like this:
Use the IP Address instead of the word hostname.
In my case, it would be http://10.13.34.155:8080/ReaderExtensions
The you will get something like this: -
Can´t send emails with pdf attachments - why?
Since i moved all my accounts to my new airbook (OS X 10.8.2) everything works fine BUT i am not able to send emails with pdf attachments.I have an exchange and a mac.account - but they both won`t work.
The emails stay put in the local ausgang? exit box and won`t move away unless i delete them.
i checked the accounts, the activity - all says it works fine - but it doesn`t!
Maybe in the *deep* of my mac is one thing that says no pdf - but where can i find it?
I appreciate every helpful hint :-)
greetingsit tries to send the email for about five minutes and than gives the message *server doesn't work* you want to try another? repeat? or later?
when i change the server e.g. from exchange to mac - tries again and without further notice i find the message in the outbox - even when i click that one and *send* again - nothing changes......
I already tried to name the attachments in.pdf - i also change the pdf to jpeg - nothing works - all emails i write after that go immediately to the outbox - so when i want to send messages at all i need to delete the ones with the attachment or send the other ones manually
Please notice in the activity window there is a lot of traffic :-) but it doesn`t help
i even closed all other programmes like excel,safari and stuff - but still
and i still have al lot of free GB on my airbook....
any idea???? -
Satndard SAP script or form name to generate FI invoice
Plz let me know if u know the standard SAP script or form name to generate the FI invoice.
Regards
Nivetha.Hi,
I guess the terminology's causing some problems. Here's what I think you need to do;
In transaction V/30 select the Output Type then double-click on the folder 'Processing Routines'. The columns are as follows;
Medium - Print, email etc
Program - Name of the print program
FORM Routine - name of the subroutine in the print program that will be called
Form - Name of the SAPscript (if used)
PDF/Smartform Form - Name of the Smartform, or pdf form (if used)
Type - If a Smartform or pdf form is specified, select from this drop-down which type it is.
If you're getting an error when you enter your parameters, it would be useful if you told us what the error was.
Regards,
Nick -
i have a function which returns purchase orders list.
in my program i want my program sends the purchase order document through email in pdf format when i select an order from the list.
how can i do that.This reference program might help:
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm -
How to send email attachments in any format by utl_smtp?
Hi,
I am Using this Script for Sending Mail With an Attachment,i run this Script(Oracle 11g Database R1) and i got this Message "PL/SQL procedure successfully completed." but still i have not received the mail.
Please advice me....
set serveroutput on
/* Formatted on 2010/06/03 21:26 (Formatter Plus v4.8.8) */
DECLARE
v_file_handle UTL_FILE.file_type;
v_email_server VARCHAR2 (100) := 'Email_Server;
v_conn UTL_SMTP.connection;
v_port NUMBER := 25;
v_reply UTL_SMTP.reply;
v_msg VARCHAR2 (32767);
v_line VARCHAR2 (1000);
v_message VARCHAR2 (1000);
b_connected BOOLEAN := FALSE;
v_sender VARCHAR2 (50) := '************';
v_strt_day varchar2(100);
v_end_day varchar2(100);
crlf VARCHAR2 (2) := CHR (13) || CHR (10);
recpt VARCHAR2 (255) := '*********';
slp PLS_INTEGER := 300;
pdirpath VARCHAR2 (50) := 'D:\Mail_Process';
pfilename VARCHAR2 (50) := 'Multifile.html';
p_stat number := 0;
BEGIN
/***** Check if the file exists ****/
BEGIN
v_file_handle := UTL_FILE.fopen (pdirpath, pfilename, 'R');
EXCEPTION
WHEN UTL_FILE.invalid_path
THEN
p_stat := 99;
RETURN;
WHEN OTHERS
THEN
p_stat := 99;
RETURN;
END;
/***** Try to connect for three times, do sleep in between for 5minutes *****/
FOR i IN 1 .. 3
LOOP
BEGIN
--open the connection with the smtp server and do the handshake
v_conn := UTL_SMTP.open_connection (v_email_server, v_port);
v_reply := UTL_SMTP.helo (v_conn, v_email_server);
IF 250 = v_reply.code
THEN
b_connected := TRUE;
EXIT;
END IF;
EXCEPTION
WHEN OTHERS
THEN
DBMS_LOCK.sleep (slp);
END;
END LOOP;
IF b_connected = FALSE
THEN
p_stat := 99;
RETURN;
END IF;
v_reply := UTL_SMTP.mail (v_conn, v_sender);
IF 250 != v_reply.code
THEN
p_stat := 99;
RETURN;
END IF;
v_reply := UTL_SMTP.rcpt (v_conn, recpt);
IF 250 != v_reply.code
THEN
p_stat := 99;
RETURN;
END IF;
UTL_SMTP.open_data (v_conn);
v_message :=
'Sample Email This is an auto generated mail.
Please do not reply to this mail.'
|| CHR (10);
v_msg :=
'Date: '
|| TO_CHAR (SYSDATE, 'Mon DD yy hh24:mi:ss')
|| crlf
|| 'From: '
|| v_sender
|| crlf
|| 'Subject: '
|| 'Sample file'
|| crlf
|| 'To: '
|| recpt
|| crlf
|| 'Mime-Version: 1.0'
|| crlf
|| 'Content-Type: multipart/mixed;
boundary="DMW.Boundary.605592468"'
|| crlf
|| ''
|| crlf
|| v_message
|| crlf
|| ''
|| crlf
|| '--DMW.Boundary.605592468'
|| crlf
|| 'Content-Type: text/plain;
name="v_message.txt"; charset=US-ASCII'
|| crlf
|| 'Content-Disposition: inline; filename="v_message.txt"'
|| crlf
|| 'Content-Transfer-Encoding: 7bit'
|| crlf
|| ''
|| crlf
|| v_message
|| crlf
|| crlf
|| crlf;
UTL_SMTP.write_data (v_conn, v_msg);
/***** Prepare the attachment to be sent *****/
v_msg :=
crlf
|| '--DMW.Boundary.605592468'
|| crlf
|| 'Content-Type:
application/octet-stream; name="'
|| pfilename
|| '"'
|| crlf
|| 'Content-Disposition: attachment; filename="'
|| pfilename
|| '"'
|| crlf
|| 'Content-Transfer-Encoding: 7bit'
|| crlf
|| crlf;
UTL_SMTP.write_data (v_conn, v_msg);
LOOP
BEGIN
UTL_FILE.get_line (v_file_handle, v_line);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
EXIT;
END;
v_msg := '*** truncated ***' || crlf;
v_msg := v_line || crlf;
UTL_SMTP.write_data (v_conn, v_msg);
END LOOP;
UTL_FILE.fclose (v_file_handle);
v_msg := crlf;
UTL_SMTP.write_data (v_conn, v_msg);
v_msg := crlf || '--DMW.Boundary.605592468--' || crlf;
UTL_SMTP.write_data (v_conn, v_msg);
UTL_SMTP.close_data (v_conn);
UTL_SMTP.quit (v_conn);
EXCEPTION
WHEN OTHERS
THEN
p_stat := 99;
END;
Thank You
ShanI would recommend not to use home grown email solutions and use what we all use
1. UTL_MAIL oracle package http://download-west.oracle.com/docs/cd/B13789_01/appdev.101/b10802/u_mail.htm
or
2. SMTP rock solid solution http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/maildemo_sql.txt -
Send email with PDF attachements (Smartform/SAP script)
Hello All,
I have 3 existing programs A, B & C whose output is in SAP Script/Smartform. Now I need to create new program D which needs to execute program A, B & C and then convert their smartform/SAP script output into PDF format and send email with attachements (PDF files). Any pointers how I can proceed. Thanks a lot.hi Sarita,
v_ctrlparams-no_dialog = 'X'.
v_ctrlparams-getotf = 'X'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Smartform name'
IMPORTING
fm_name = v_func_mod.
CALL FUNCTION v_func_mod
EXPORTING
control_parameters = v_ctrlparams
IMPORTING
job_output_info = v_joboutput
TABLES
t_nonsigner = t_nonsigner.
fill the document
doc_chng-obj_name = 'Descriptoipn'.
Fill the subject line
doc_chng-obj_descr = 'Manpowe'.
doc_chng-obj_descr = 'Reminder .
doc_chng-sensitivty = 'P'.
Fill the content of the mail
objcont = 'Dear all,'.
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
objcont =
'The manpower sign-off is pending for the list of employees as per th' &
'e attached sheet.'
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
objcont =
'Please click on the following link for the manpower sign-off:'.
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
DESCRIBE TABLE objcont LINES entries.
READ TABLE objcont INDEX entries.
doc_chng-doc_size = ( entries - 1 ) * 255 + STRLEN( objcont ).
Creating the entry for the compressed document
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = entries.
objpack-doc_type = 'RAW'.
APPEND objpack.
Creating the document attachment
(Assume the data in OBJBIN are given in BMP format)
LOOP AT v_joboutput-otfdata INTO wa_otfdata.
APPEND wa_otfdata TO objbin.
CLEAR wa_otfdata.
ENDLOOP.
DESCRIBE TABLE objbin LINES tab_lines.
objhead = 'NonSignerDetails.otf'. APPEND objhead.
Creating the entry for the compressed attachment
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'OTF'.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = 'NonSignerDetails'.
objpack-doc_size = tab_lines * 255.
APPEND objpack.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objcont
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
hope this will help u..
regards,
Santosh Thorat -
Sending email with pdf attachment
I have a need to save several screens from within my flash
projector into a
multi page pdf document and then email the pdf to an address
that the user
types in.
Is this at all possible?
Many thanks
davehi
can u provide any sample code to send attachment from oracle mail
any attachment html/text/pdf..
is java mailnecessary for that or object should me stored in database -
Send email as PDF to Purchasing group & the vendor
Requirement :
To send PO as PDF through email to the Vendor's email address & the purchasing group at the time of saving.
Is there an Exit for this ? Or How do I go about it ?
Thanks
SMSYou can do this through standard output control in MM. Define the medium as 5 (external Send). Configure your system for email (transaction SCOT), and define the conversion rules. The standard is OTF to PDF. You do not have to program anything. If you really want to do this all through program, here is what you have to do.
When calling OPEN_FORM, in the options parameter set the flag for the field TDGETOTF.
When calling CLOSE_FORM get the otfdata .
Call the 'CONVERT_OTF_2_PDF'
Call one of the download FM / cl_gui_frontend_services=>gui_download, and download the PDF file.
Albert -
Send email with excel attachment in outlook structure - SAP 6.0
Hello experts..
I need send a email with a excel attachment and use the signature in outlook to send.
The attachment will be create in the process of send email program.
Is it possible?
How can I created and attach in the same process?
How can I use the outlook strutucture to send a email?I resolved my own problem using the BCS_EXAMPLE_7 program as sample.
-
Create and send email issue with UCCX/IP-IVR 8.0 script
Hi all,
I am facing issue with create and send email option with script. In my call flow there is an option to offer call to key in their phone number and script need to pass that phone number to supervisor as an email. I have created the script but every time when I key in the phone number is pass through the unsuccessful node. Please find the script as attachment.
Thanks and Regards,
AshfaqueHi How Yee,
Which version of UCCX/IPIVR you are using and what is the type of license? Because this feature is only supported with Premium License. Please check the UCCX data sheet from the below link.
http://www.cisco.com/en/US/partner/prod/collateral/voicesw/custcosw/ps5693/ps1846/data_sheet_c78-629807.html
You will get the information under "Integrated IVR Features with Server Software" of table:4.
Thanks and Regards,
Ashfaque. -
Sending email with a two worksheet excel via SAP
Hi everyone,
I was wondering, if it's possible to send email with an attachment of a two worksheet excel. Someone told me that's not possible at all with the function SO_NEW_DOCUMENT_ATT_SEND_API1, is it true?
Thanks in advance,To enable sending from multiple accounts, you either need to have multiple accounts set up on the iPad, or be using MobileMe Aliases. If you have multiple email accounts set up, you just tap on the sender address, opening up a series of fields, where you can tap the sender again and choose the account you want to use. They do each need their own SMTP servers, AFAIK.
-
RDI File to be generated with SAP Script
Hello ,
We need to generate RDI file for a SAP Script in transaction VA11.Please can anyone let me know do we have to do the settings through configuration or programmatically in the SAP Script.
Regards
Amruta PrayagiHi Amruta,
i was just describing what is usually done for invoices, purchase orders ...etc.
Get the aid of a functional. He will know the right place in parametrization where one can assing the print program to the sapscript form.
Thus you will have:
1.- one standard program assigned to one standard sapscript form
2.- one Z program (copy of the standard one) assigned to one Z sapscript form (copy of the standard one but with the RDI settings)
He will know as well how to create a message class for each one of the sapscripts.
Thus you will have:
1.- one message class for the standard program and sapscript
2.- one message class for the Z program and the Z sapscript.
Have a look at the output of an invoice or a purchase order because it can provide you a clearer idea.
When you want to get the output you´d need to choose between the different outputs formerly described.
You cannot have both at the same time.
You can have a pdf or a fax or an RDI or an ordinary spool but one by one, that is, (re)processing the message as muck as you like.
Hope to have somehow helped.
Best regards.
Maybe you are looking for
-
Uploading an Excel File with an ITS page
Hi All, how can I do to provide a functionality to Upload Excel or TXT Files in a ITS Page ? I try to use functions GUI_UPLOAD, but it calls a Screen that I doesn't want that apears. With another solution I make a BSP aplication that is called from m
-
Works from a 32 bit XP machine. Does not work from a 64bit Win 7 machine. It's 64 bit that seems to be the issue; the music won't start playing, and for pictures, it's when they're more than 768x1024 resolution that they appear very low resolution
-
Re-Starting 9.2 Download?
I downloaded 9.2 (again) this morning around 8:30 from that link. But I had to go out at 1:00 and it said I still had 2 hours to go. So I aborted and turned off my Mac because I didn't want to leave it running. When I came back and booted up, that li
-
Hanging program; please help
import cs1.Keyboard; public class Lab3Prog2Stage3 { public static void main(String[] args) { final int PENNY_VALUE = 1; final int NICKEL_VALUE = 5; final int DIME_VALUE = 10; final int QUARTER_VALUE = 25; int penniesA
-
Can't import photos from a particular camera after upgrades
Just upgraded to Yosemite 10.10 and iPhoto 9.6 (910.29), both current as of this writing. I have a Canon EOS 10D (older DSLR). I find that when I connect the camera and start iPhoto, iPhoto shows that I have the camera connected, but I never see the