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

Problem in sent mail

Former Member
0 Likes
490

Hi

i try to send mail with files via abap program. The problem that the file that i send in mail come with less record from the source file.

i need file in ansi mode so i use

OPEN DATASET FILE_NAME FOR INPUT IN BINARY MODE.

to send the data

maybe someone what is the problem

thanks

have a nice day

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
466

Hi,

Try using the FM 'SO_NEW_SEND_DOCUMENT_API1' for sending the mail.

Rgds,

Nitin

*Mark all helpful answers

3 REPLIES 3
Read only

Former Member
0 Likes
467

Hi,

Try using the FM 'SO_NEW_SEND_DOCUMENT_API1' for sending the mail.

Rgds,

Nitin

*Mark all helpful answers

Read only

Former Member
0 Likes
466

Can you cut-paste the part of the code where you initialise the parameters for the FM used to SEND email.

I feel that the packing list internal table might be the cause of the problem.

Regards

Anurag

Read only

Former Member
0 Likes
466

Hi,

OPEN DATASET is used to read or write the file to apllication server. but how you are sending mails with that...

are you using any Function module to send the mail.

can you please make it clear.

Regards

vijay