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

Global text content.

Former Member
0 Likes
800

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
Read only

Former Member
0 Likes
639

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

Read only

Former Member
0 Likes
639

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.

Read only

0 Likes
639

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

Read only

Former Member
0 Likes
639

You can get text element by stmt:

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

Svetlin