Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with FM SO_DOCUMENT_SEND_API1

Former Member
0 Likes
1,357

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,215

Hi,

What is the error you are getting. After sending check TCODE : SOST and let me know

Regards

10 REPLIES 10
Read only

Former Member
0 Likes
1,216

Hi,

What is the error you are getting. After sending check TCODE : SOST and let me know

Regards

Read only

Former Member
0 Likes
1,215

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

Read only

Former Member
0 Likes
1,215

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

Read only

0 Likes
1,215

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

Read only

0 Likes
1,215

i think its a basis problem

regards

vivek

Read only

0 Likes
1,215

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

Read only

Former Member
0 Likes
1,215

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.

Read only

Former Member
0 Likes
1,215

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

Read only

0 Likes
1,215

Hi Dinesh

"Settings -> start send process" will be done automatically once you configure the Send jobs.

Regards

Read only

Former Member
0 Likes
1,215

Hi

Thanks a lottttttttttt for your reply.

It would save me from a possible escalation. Points awarded.

Thanks again.

Regards

Dinesh