Skip to Content
author's profile photo Former Member
Former Member

Email line break

Hello gurus, I need to send a mail in ABAP.

The purpose is send the mail with a body that is dynamic.

I mean an object in the screen, where the user can insert information. This object will be the body of the mail.

I am using the function SO_NEW_DOCUMENT_SEND_API1 but the format of the output table is limited to 255 characters ( SOLISTI1-LINE ).

So the text is cut in 255 characters lines.

Is there the possibility to send the content without this limitation?

Help is very appreciated!

Rewards waiting for helps 😊

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 12:51 AM

    Hi Jorge,

    Use FM 'SCMS_STRING_TO_FTEXT' to convert string to a binary table.

    DATA: g_tab LIKE solix OCCURS 10 WITH HEADER LINE,

    g_str TYPE string.

    CALL FUNCTION 'SCMS_STRING_TO_FTEXT'

    EXPORTING

    text = g_str

    • IMPORTING

    • LENGTH =

    TABLES

    ftext_tab = g_tab.

    ( g_str will be a string where the output will be concatenated and stored )

    Now use FM 'SO_DOCUMENT_SEND_API1' and pass g_tab to table parameter contents_hex.

    Reward point if it helps.

    With Regards,

    Gandhi Subramani

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.