on 09-11-2008 11:43 AM
hi,
I am working on scripts to send mail with PDF as an attachment,
while surfing the net I found the FM HR_FBN_GENERATE_SEND_EMAIL to send the mail.
if any one know whether I can use this FM
could you help how to pass data to the FM.
CALL FUNCTION 'HR_FBN_GENERATE_SEND_EMAIL'
EXPORTING
subject = 'MAIL'
sender = 'PRASANTH.K'
recipient = w_email
FLAG_COMMIT = 'X'
FLAG_SEND_IMMEDIATELY = 'X'
tables
email_text = it_tline
* EXCEPTIONS
* FAILED = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Am i populating in the right way
the structure of it_tline is TLINE
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.