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: 

Translation of smartforms within an email subject

Former Member
0 Kudos

Hi,

I have translated the smartforms in SE63 and an action send the smartform within an email.

How to translate the subject of the email? How can I find the technical name and where can I translate the subject of the email?

Thanks.

3 REPLIES 3

Former Member
0 Kudos

Hi Alice,

I get your point,

Is there any scope for you to make the Subject of the email as a TEXT Element.

CALL FUNCTION fm_name
  EXPORTING
*   ARCHIVE_INDEX =
*   ARCHIVE_PARAMETERS =
*   CONTROL_PARAMETERS =
*   MAIL_APPL_OBJ =
*   MAIL_RECIPIENT =
*   MAIL_SENDER =
*   OUTPUT_OPTIONS =        "here u need to pass a structure of type SSFCOMPOP in that structure you need to populate TDTITLE
*   USER_SETTINGS = 'X'
    G_CARRID = <variable>
    G_CONNID = <variable>
    G_FLDATE = <variable>
* IMPORTING
*   DOCUMENT_OUTPUT_INFO =
*   JOB_OUTPUT_INFO =
*   JOB_OUTPUT_OPTIONS =
  TABLES
    GT_SBOOK = <internal table>
  EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
 
IF SY-SUBRC  0.
   <error handling>
ENDIF.

OUTPUT_OPTIONS-TDCOVTITLE

Then you can easily go for translation.

Revert for clarification

Thanks

Sri

0 Kudos

Hi,

For email translation, where can I translate the text? thanks.

Function Module is /1BCDWB/SF00000014

IF CONTROL_PARAMETERS-NO_OPEN = SPACE.

CALL FUNCTION 'SSF_CREATE_COMPOSER_INPUT'

EXPORTING

ARCHIVE_PARAMETERS = ARCHIVE_PARAMETERS

USER_SETTINGS = USER_SETTINGS

MAIL_SENDER = MAIL_SENDER

MAIL_RECIPIENT = MAIL_RECIPIENT

MAIL_APPL_OBJ = MAIL_APPL_OBJ

OUTPUT_OPTIONS = OUTPUT_OPTIONS

CONTROL_PARAMETERS = CONTROL_PARAMETERS

IMPORTING

INPUT = %INPUT.

IF OUTPUT_OPTIONS-XSFCMODE = SPACE.

%INPUT-XSF = ' '.

%INPUT-XSFOUTMODE = 'S'.

%INPUT-XSFOUTDEV = 'P469'.

%INPUT-XSFACTION = ' '.

%INPUT-XSFFORMAT = ' '.

ENDIF.

CALL FUNCTION 'SSFCOMP_OPEN'

EXPORTING INPUT = %INPUT

IMPORTING RESULT = %RESULT_OP

EXCEPTIONS OTHERS = 1.

IF SY-SUBRC <> 0.

%VARIANT = SPACE.

PERFORM %RAISE.

ENDIF.

JOB_OUTPUT_OPTIONS = %RESULT_OP.

ENDIF.

Former Member
0 Kudos

Hi All,

Where can I find the program name of the smartforms? How can I translate the subject of the email?

Thanks in advance.

Regards,

Alice