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

**text elements**

Former Member
0 Likes
1,499

What are the Text Elements?

8 REPLIES 8
Read only

Former Member
0 Likes
880

Text Elements are use in Report Programming and text that can included in your programs...Instead of writing this...


WRITE: 'This is a text'.

You create a text element and use it like this...


WRITE: TEXT-T01.

Greetings,

Blag.

Read only

Former Member
0 Likes
880

Hi

<b>In addition to this,

For every report you create using SE38 transaction

Go -> Text Element -> Text Symbols / Selection texts / List heading

Text elements are basically these 3 sub-elements ->

Text Symbols / Selection texts / List heading</b>

<u>You can maintain texts for various languages.

The benefit in this case, you do not need to maintain the same text in various languages inside the report. You just need to do the transalation of text elements to make them appear in various lanaguages.

For example, incase when you log on to SAP server, it asks for Client no / Username / Password and the langauge (Say EN (ForEnglish), DE (For German)).

Incase o log on in DE langauge, all the texts in the SAP screen will be visible in German langauge. This is possible using Text elements. </u>

Hope this will help.

Please reward suitable points.

Regards

- Atul

Read only

Former Member
0 Likes
880

hi

hav a look on the below link

rewards points if helpful

regrds,

shamim

Read only

Former Member
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
880

Hi

Text elements are the texts through which we can achieve the Multiligual capability in abap.

Means these text elements will converts to the logon language automatically.

Regards,

kumar

Read only

Former Member
0 Likes
880

Hi Darsh,

Text-Elements are the placeholders for the strings that we need to write in our program.

e.g. If I have to write 'Hello, Welcome to SAP'.

In this case I wont write this as is. But I will assign it to a text-element. Then I will write text-element as WRITE : TEXT-001.

One advantage of this is say if u have written the same text 10 times in ur code. In that case if u need to modify the text, u need not modify ur program at 10 different places. Instead, just modify the text-element and the change will be reflected at all 10 places.

Hope this helps.

Regards,

Himanshu.

Read only

Former Member
0 Likes
880

Hi,

Using text elements in program we can avoid hard coded texts written in programs.

Suppposeif the client want to change the language to GERMAN...these hard coded text will create some problems.

For that reason only they introduced text elements...

If they want to changethe language they can change directly in SE63..with out modifying the prog.

Regards,

Kishor.

Read only

Former Member
0 Likes
880

Hi,

Text elements cover any descriptive text that appears on the selection screen or output screen of an ABAP/4 program.

You can store these text elements outside the program in language-dependent text pools. Your program automatically uses the text elements of the user's logon language.

You can create and maintain text elements without changing the program coding. You can create standard text pools, which you can copy from program to program. If you consequently work with text symbols only and do not use string literals in WRITE statements, your program becomes language-independent. Only the text elements from the original language text pool must be translated to other languages.

The translation of text elements is fully supported by the ABAP/4 workbench. From an existing text pool for the original language, a translator can create the text pools for different other languages.

check this link.

http://sap.mis.cmich.edu/sap-abap/abap05/sld019.htm

http://help.sap.com/saphelp_nw04/helpdata/en/e3/9609f6eb0711d194d100a0c94260a5/content.htm

Regards,

Sruthi