Smart form
Soady, Phil
phil.soady at sap.com
Wed Mar 12 06:58:50 EST 2003
Kris,
what Jerome says is true, the outbound process from SAPConnect
will attempt to do conversions based on the output types supported
in your INT gateway node.
ie in Transaction SCOT, the node INT has "file types" associated with it. Lets PDF and TXT as valid types.
Assuming the conversion rule table V_SXCONV
is intact with something like,
ALI HTM 2 SX_OBJECT_CONVERT_ALI_HTM
ALI PS 2 SX_OBJECT_CONVERT_ALI_PRT
ALI RAW 1 SX_OBJECT_CONVERT_ALI_RAW
ICS RAW 8 SX_OBJECT_CONVERT_ICS_RAW
INT RAW 1 SX_OBJECT_CONVERT_INT_RAW
OBJ HTM 2 SX_OBJECT_CONVERT_OBJ_HTM
OTF PDF 1 SX_OBJECT_CONVERT_OTF_PDF
OTF PS 2 SX_OBJECT_CONVERT_OTF_PRT
OTF RAW 9 SX_OBJECT_CONVERT_OTF_RAW
RAW SCR 9 SX_OBJECT_CONVERT_RAW_SCR
RAW TXT 7 SX_OBJECT_CONVERT_RAW_TXT
SCR OTF 1 SX_OBJECT_CONVERT_SCR_OTF
TXT INT 7 SX_OBJECT_CONVERT_TXT_INT
URL HTM 2 SX_OBJECT_CONVERT_OBJL_HTM
then it will indeed convert to PDF on the way out.
If you still want to the conversion directly try
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
ARCHIVE_INDEX = ARCHIVE_INDEX
IMPORTING
BIN_FILESIZE = BIN_FILESIZE
TABLES
OTF = OTF
LINES = LINES
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1.
hth,
Phil Soady
Senior Consultant
Business Technologies
SAP Australia
* : 0412 213 079
* : phil.soady at sap.com
-----Original Message-----
From: Van der Burg, Jeroen JA SITI-ITPSEE [mailto:jeroen.vanderburg at shell.com]
Sent: Wednesday, 12 March 2003 6:44 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Smart form
Kris,
You can use logo's either directly on Smartforms or as variable fields; after uploading the BMP into SAP. You do not need to use SO_DOCUMENT_SEND_API.
I use the standard PDF conversion routines from SAPconnect using the SAPconnect customising, you do not need to do this yourself but just let SAPconnect do it for you when the OTF document is send out.
Regards,
Jeroen
-----Original Message-----
From: Kris Wug [mailto:kris_wug at hotmail.com]
Sent: 12 March 2003 05:05
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Smart form
Jeron,
That is neat. Are there any function modules to convert the Smart form to
PDF or HTML doc ?
We wanted to send the emails with a Logo on it. I know we can import a logo
on to the SAP form. I am not sure how to pass that into the function module
SO_DOCUMENT_SEND_API .
I appreciate sharing any information on this.
Thanks,
Kris
----- Original Message -----
From: "Van der Burg, Jeroen JA SITI-ITPSEE" <jeroen.vanderburg at shell.com>
To: <SAP-WUG at MITVMA.MIT.EDU>
Sent: Monday, March 10, 2003 1:42 AM
Subject: Re: Smart form
Yes,
We do send out large volumes of smartforms to (outlook) email inboxes; the
forms can contain extensive amounts of SAP data (eg remuneration overviews);
and are send out as PDF attachments to normal emails.
Regards,
Jeroen
-----Original Message-----
From: Kris Wug [mailto:kris_wug at hotmail.com]
Sent: 07 March 2003 19:47
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Smart form
Hello all,
Did anyone worked on sending SAP form to the outlook email as a document
with logo from Workflow?
I appreciate anyone sharing that info.
Thank you in advance.
Kris
ERM project.
City Govt of SANANTONIO.
More information about the SAP-WUG
mailing list