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

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

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

Former Member
0 Kudos

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

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

You can get text element by stmt:

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

Svetlin