‎2008 Oct 23 5:20 AM
Dear All
I am using FM SO_DOCUMENT_SEND_API1 to send a CSV attachment.
Its getting sent fine in Development system where data is not too much. But in Quality system the mail is not getting sent for same code.
Can size of attachment be an issue.
Kindly suggest.
Regards
Dinesh
‎2008 Oct 23 5:22 AM
Hi,
What is the error you are getting. After sending check TCODE : SOST and let me know
Regards
‎2008 Oct 23 5:22 AM
Hi,
What is the error you are getting. After sending check TCODE : SOST and let me know
Regards
‎2008 Oct 23 5:29 AM
hi...
if in quality system..in SOST transaction if it showing ur mail (in any status) it means that there is some basis problem..once it reaches sost means abappers work is done.
regards
vivek
‎2008 Oct 23 5:30 AM
Hi
Thanks for your reply.
Status for all mails is 672. It says "Wait for communications service".
Is there anything i need to do.
Regards
Dinesh
‎2008 Oct 23 5:35 AM
Hi Dinesh
Communication usually is SMTP service. Check TCODE : SCOT. There must be a node SMTP. See if the configurations are correct.(Take help from BASIS).
One more thing in TCODE SCOT. There must be a periodic job configured to send mails .
Check if this job is present SCOT -> Settings ->Send jobs (If not present you have to create one and interval for running the job can be set to 1 minute)
All these are taken care by BASIS.
Regards
‎2008 Oct 23 5:37 AM
‎2008 Oct 23 5:38 AM
Hi Dinesh,
Since you say mail is getting sent in Development, try to compare the configuration of SMTP in TCODE SCOT.
Double click on SMTP . Check if the fileds "Mail port" and "Host" are same in DEV and Quality system.
Regards
Edited by: Rajvansh Ravi on Oct 23, 2008 6:38 AM
‎2008 Oct 23 5:41 AM
Hi,
It is required to pass the size of data which your internal table is holding to be displayed.
In the Table Parameter PACKING_LIST, you have to define the size.
E.g.
DATA : TEMP_LINES TYPE I.
APPEND LINES OF IT_ATTACH TO LT_CONBIN.
DESCRIBE TABLE IT_ATTACH LINES TEMP_LINES.
LT_PACKLIST-TRANSF_BIN = 'X'.
LT_PACKLIST-HEAD_START = 1.
LT_PACKLIST-HEAD_NUM = 1.
LT_PACKLIST-BODY_START = 1.
LT_PACKLIST-BODY_NUM = TEMP_LINES.
LT_PACKLIST-DOC_TYPE = 'CVS'.
LT_PACKLIST-OBJ_DESCR = 'Description'.
LT_PACKLIST-OBJ_NAME = 'Name'.
LT_PACKLIST-DOC_SIZE = LT_PACKLIST-BODY_NUM * 255.
APPEND LT_PACKLIST.
CLEAR LT_PACKLIST.
Here IT_ATTACH is the internal tbale which has the result to be displayed.
‎2008 Oct 23 6:19 AM
Hi
Thanks for your mail.
I checked in SOST.
The mail got sent by Settings -> start send process.
Meanwhile I have forwarded request to BASIS team.
Thanks a ton for your mails.
Regards
Dinesh
‎2008 Oct 23 6:21 AM
Hi Dinesh
"Settings -> start send process" will be done automatically once you configure the Send jobs.
Regards
‎2008 Oct 23 6:27 AM
Hi
Thanks a lottttttttttt for your reply.
It would save me from a possible escalation. Points awarded.
Thanks again.
Regards
Dinesh