Skip to Content
avatar image
Former Member

No Mail Body while using FM SO_DOCUMENT_SEND_API1 in WD Component

Hi All,

I am using FM 'SO_DOCUMENT_SEND_API1' in a WD Component for sending mails.

First of all i just to know can we use this FM without Attachment ???

As i just have to send mail without any attachment.

The Mail is properly send but without any body .

I mean there is no content in the mail body .

There is no error in the FM but when i check the mail (for checking myself) ,it was blank without any body.

So please help me for the same.

Regards,

Vishal Chauhan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Nov 04, 2009 at 09:58 AM

    Hi,

    When you use that function module in which paramater did you pass the mail body..

    Please let me know what values did you pass for the importing paramaters of the function module .

    Regards,

    Priya

    Add comment
    10|10000 characters needed characters exceeded

    • First, this question doesn't really belong in the Web Dynpro ABAP forum. Just because you might be calling some function module or other block of logic from WDA, doesn't necessarily make your question WDA relevant. You are just wanting to know how to use the send email functionality here. Nothing in your question is effected by the fact that you are calling from WDA. In the future, place such questions in the ABAP General Forum.

      For sending of email, you should really consider using the CL_BCS class based email interface. This API (in addition to being OO based) allows for send immediately and allows you to easily control who the sender ID is.

      /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface