on 11-25-2008 6:17 PM
Hi,
I have enhanced the standard sales order quote and the form is sent as a PDF through external send medium to the customer mail id. Form uses the standard print program.
The mail that is sent is not found in the business workplace (outbox) of the user. Tcode SBWP.
But business user needs the mail that is sent out in his sap outbox. Is there any configuration settings need to done or it should be achieved through programming.
Please help me out.
Thanks in advance
Praba
Hi Prabavathi,
Run this program RSSOSOSTSTAT and check whether the mails are sent friom your server first then check the reason why they are not in the user outbox
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
i hope you are using the FM "WFMC_PREPARE_SMART_FORM" to set print parameters.
if the return code of this FM is 0 , then set the NO DIALOG parameter as 'X'.
Add FM "SO_NEW_DOCUMENT_ATT_SEND_API1" to the driver program.
Here you can set
put_in_outbox = 'X'.
Try with this code for setting print parameters:.
DATA: LS_CONTROL_PARAM TYPE SSFCTRLOP.
LS_CONTROL_PARAM-NO_DIALOG = LC_X.
.
try this for sending mail as PDF attachment:
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = lwa_doc_chng
put_in_outbox = 'X'
commit_work = gc_x
TABLES
packing_list = li_objpack
object_header = li_objhead
contents_bin = li_objbin
contents_txt = li_objtxt
receivers = li_reclist
.
regards,
ags.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.