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: 

Global text content.

Former Member
0 Kudos
242

I want to put some gloabl constant text content in ABPA,

LIKE the message class used by the command

<b> MESSAGE xnnn(mid).</b>

if I can't do it directly, May I get the text in the message class into an variable?

4 REPLIES 4

Former Member
0 Kudos
81

MESSAGE xnnn(mid) INT0 <variable> to get the text of the message

Former Member
0 Kudos
81

What i want to ,

Is like the variable to get the text element,

but the text element is belong to a report.

I want to get the const text by the variable in any abap programme.

0 Kudos
81

Hi,

you mean message from table t100 ?

SELECT SINGLE text FROM t100 INTO text

WHERE sprsl = sy-langu

AND arbgb = msgid

AND msgnr = msgnr.

regards Andreas

Former Member
0 Kudos
81

You can get text element by stmt:

READ TEXTPOOL prog ... INTO itab ... LANGUAGE lg.

Svetlin