Application Development 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: 

Problem with mail

Former Member
0 Kudos

Hi,

We are sending a Purchase order using an output message configured as external send. This e-mail contains a pdf with the PO layout attached, and the subject has been modified to "PO xxxxxxxx". The problem is that we need to include some text in the body. We are using function OPEN_FORM (device = MAIL).

Any idea?

Thanks in advance,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You might be using a function module So_New_Document_Send_API1 to send the email, because you are giving the subject for the email.

You can fill the content of the mail in the table OBJECT_CONTENT of the function module, then in the email you will see the body as well.

Thanks,

Mahesh.

6 REPLIES 6

Former Member
0 Kudos

Hi,

You might be using a function module So_New_Document_Send_API1 to send the email, because you are giving the subject for the email.

You can fill the content of the mail in the table OBJECT_CONTENT of the function module, then in the email you will see the body as well.

Thanks,

Mahesh.

0 Kudos

Hi Mahesh,

If we do this change I'm afraid the problem would be bigger, so we're using function OPEN_FORM because it attaches the layout of the form in the mail.

It is possible to attach this layout with the function that you're proposing? I thik it is the standard function to send mails but I don't know how to attach the result of a form.

Thanks,

Legoles_

0 Kudos

Hi Legoles,

I am also facing the same problem. I have to send some email content along with the form using OPEN_FORM.

Were you able to solve this problem. Please let me know if you have.

Thanks.

Former Member
0 Kudos

Hi

I'm also experiencing this problem. I need to add text content to the body of the email using as well as attaching the document. I'm using the OPEN_FORM function module call to create the document and email.

Any help will be much appreciated

Thanks

Stan

0 Kudos

Hi all,

I'm checking my open questions, I'm sorry to say that we finally didn't find any way to do this. I close the thread since this don't matter to me anymore.

0 Kudos

Hi everybody ,

how do you resolve the problem ??

i need to know if is posible to add text to the body the e-mail usign the function open_form

Thanks

Noemí