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

Sap Email - RTL

Former Member
0 Likes
848

Hi

I have an abap program of sending mail , the Email language is Hebrew

how I can align the body and the title text from left to right

I use 'SO_NEW_DOCUMENT_ATT_SEND_API1' function for sending the email

any help

THanks.

Hi

I have an abap program of sending mail , the Email language is Hebrew

how I can align the body and the title text from left to right

I use 'SO_NEW_DOCUMENT_ATT_SEND_API1' function for sending the email

any help

THanks.

3 REPLIES 3
Read only

anversha_s
Active Contributor
0 Likes
650

Hi,

This issue we faced in ARABIC Smartforms. But not on sending email.

In the smart form we can pass the language.

Similary please try this field in the FM.

DOCUMENT_DATA-OBJ_LANG = Give ur required language and try.

Regards,

Anversha

Read only

Former Member
650

Hi,

this is how I call that FM when sending e-mail in HTML format.


  CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'    " odesli e-mail
    EXPORTING
      document_data              = l_doc_data
      document_type              = 'HTM'
      put_in_outbox              = ' '
      commit_work                = 'X'
    TABLES
      object_content             = msg_body
      receivers                  = l_recpts
    EXCEPTIONS
      too_many_receivers         = 1
      document_not_sent          = 2
      document_type_not_exist    = 3
      operation_no_authorization = 4
      parameter_error            = 5
      x_error                    = 6
      enqueue_error              = 7
      OTHERS                     = 8.

Now you just have to put your message in msg_body. If you want to change align of the text, use something like

<p align="right">your_text</p>

Read only

0 Likes
650

I want a solution with 'SO_NEW_DOCUMENT_ATT_SEND_API1'