on 07-07-2008 11:09 PM
For SMARTFORM, email functionality is included in function built automatically that does not normally provide parameter for text of the body of the email...is there a way to include email body text without loosing standard SMARTFORM functionality?
I am familiar with introductory text of email for payment advice note using function SO_NEW_DOCUMENT_ATT_SEND_API1 as found in OSS note 1033893 but this seems like a very indirect method.
Hi,
Earlier I have faced the same problem with SAP Script. There is no option for including the Body text there also. I used SO_NEW_DOCUMENT_ATT_SEND_API1 .
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes basically you would have to output as printer then attach the pdf file while change parameters to LF_FM_NAME SMARTFORM function.
LS_CONTROL_PARAM-DEVICE = 'PRINTER'.
LS_CONTROL_PARAM-LANGU = SY-LANGU.
LS_CONTROL_PARAM-NO_DIALOG = 'X'.
LS_CONTROL_PARAM-GETOTF = SPACE.
LS_COMPOSER_PARAM-TDDEST = 'LOCL'.
LS_COMPOSER_PARAM-TDRECEIVER = SY-UNAME.
LS_COMPOSER_PARAM-TDIMMED = ''.
LS_COMPOSER_PARAM-TDCOPIES = '001'.
LS_COMPOSER_PARAM-TDARMOD = 1.
LS_COMPOSER_PARAM-TDIEXIT = 'X'.
CALL FUNCTION LF_FM_NAME
EXPORTING
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = LS_CONTROL_PARAM
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
IS_EKKO = L_DOC-XEKKO
USER_SETTINGS = ' ' "Disable User Printer
IS_PEKKO = L_DOC-XPEKKO
IS_NAST = L_NAST
IV_FROM_MEM = L_FROM_MEMORY
IV_DRUVO = IV_DRUVO
IV_XFZ = IV_XFZ
Hi,
Is there any approach to include body text in the email while sending a smartform as .pdf without using the below function module.
SO_NEW_DOCUMENT_ATT_SEND_API1 .
I am passing the parameter (subject line and title) to the parameters of the smartform function module, but didn't see any parameter for body line of the email.
appreciate quick response.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.