on 01-03-2008 9:42 AM
Hi guys,
I have to change the file name in attachment (sales order ), a pdf sent via va02 Extras/output/header/edit to mail defined in xd02.
I used the standard program /SMB40/RVADOR01,
what I have now : in attachement file is like 'SAPLSTXBE /20080102/174052.pdf'
in object mail 'SAPLSTXBE /20080102/174052' .
What can I do for changing those values?
need urgent help please
thanks.
I have resolved problem with the method I described above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried this but that doiesn't work:
Changing the subject for email order confirmations
An output type ZEXT was created to send emails of order confirmations to a certain distribution list in PDF format. (See the SAP Exchange Connector Implementation Documentation for details on this setup.)
The following code and config was implemented in order to change the email subject line.
Configuration for ZEXT (External order confirmation by email)
Transaction: V/30
General Data: Access Seq: 0009 (SalesOrg./Cust./Order type), Access to Conditions CHECKED.
Replacement of text symbols Program: ZEXT. Form routine: TEXT_SYMBOL_REPLACE
Default Values: Transmission Medium: 5. Communication Strategy CS01.
Mail and Titles: &KUNNR&:Order &VBELN&
Processing Routines: Program: RVADOR01, Form Routine: ENTRY, Form: YPCC_ORDCONF_STD
Condition Record
Using VV12 you need to add a condition record as applicable. Note that the Communication record must point to your ZMAIL output device and has the following entry as Text for Cover Page: &KUNNR&(&VBELN&)
Code for ZEXT subject definition
REPORT zext.
************************************************************************
Author: Kevin Wilson
Date: 01/07/2003
Description: This program changes the title of the email for output
type ZEXT. Maintain output type ZEXT using V/30.
The mail title and texts tab has entry:
&KUNNR&:Order &VBELN&
The general tab has entry in Replacement of text
symbols: Program ZEXT. Form:TEXT_SYMBOL_REPLACE
************************************************************************
tables: kna1.
FORM text_symbol_replace TABLES xtlines STRUCTURE tline
USING xthead STRUCTURE thead
snast STRUCTURE nast.
data: t_vbeln(10) type c.
DESCRIBE TABLE xtlines LINES sy-tabix.
CHECK sy-tabix GT 0.
LOOP AT xtlines.
move snast-objky to t_vbeln.
replace '&VBELN&' with t_vbeln into xtlines-tdline.
select single name1 into kna1-name1
from kna1
where kunnr = snast-parnr.
replace '&KUNNR&' with kna1-name1 into xtlines-tdline.
condense xtlines-tdline.
modify xtlines.
ENDLOOP.
ENDFORM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you are using standard program then i don't think u can change the file name and subject.
if you have a custom program there will be FM which trigger the mail and u can change the above values
Regds,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.