cancel
Showing results for 
Search instead for 
Did you mean: 

how to use the text module in script

Former Member
0 Kudos

hi,

i script how to use the text modules and how to write the code in layout of the script?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Text modules are included in the text editor.

For a script create a standard text in so10 applying the character format and paragraph format.

In the text editor write syntax as

/: include <standard text name> object 'TEXT' id 'ST' language EN.

Regards,

kamala.

Former Member
0 Kudos

Hi,

You canr use text modules in script. You have to use standard texts .

Standard text are maintained in SO10 transaction.

you can create translation text for other languages also . So based on logon language it will print translation text.

go to SO10

give textname it say Ztextname id as ST and language as EN

say create, then you will get editor there maintain your text and save it . then come back . Now change language (say for german DE) say create and eneter translation text and save it.

so now you have created a text called ztextname which you can use in your script.

Inorder to insert the texts in your script do as below

go to any window editor and select path

Insert->texts->symbols->standard symbols

then you will get popup in which you have to mention all the parameters that you have created earlier.

after inserting just change language EN to sy-langu

Reward points if useful

About text elements Sravan already given some informatiomn

Regards,

Nageswar

Former Member
0 Kudos

Text modules

Text modules are used to centrally store texts that are used frequently in forms in the system.

Text modules are included in forms using texts nodes. The text node can either refer to the text module or take its text. You can then change the text or add to it to suit the form.

Text modules have the following attributes:

They are client-independent

They are connected to the transport system

They are connected to the translation tools in the system

The third attribute means that a text module can be uniquely assigned to a language using the logon language. When including a text module, you can also access translations of the text module, for example, to include an English text module in a German form.

Reward Points if useful.

Former Member
0 Kudos

i want how to write the text module in script? i need the coding of text module to be used in layout?