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: 

Download text element & message class

Former Member
0 Kudos
707

Dear friends:

Is there way or program to download text element and message class of a report program in SAP V4.7?

Thanks!

1 ACCEPTED SOLUTION

Former Member
0 Kudos
283

Hi

For text elements:

data: tb_tpool TYPE textpool.

READ TEXTPOOL Prog-name

INTO tb_tpool

LANGUAGE spras.

next is use the FM GUI_DOWNLOAD and pass the table tb_pool.

For Message Class

The messages can be downlaoded from T001w.

6 REPLIES 6

Former Member
0 Kudos
283

Samuel,

See <b>RS_TEXTPOOL_SHOW</b> for text elements.

Also check Fun Modules from Function Group <b> SETXP </b>

rgds,

TM.

andreas_mann3
Active Contributor
0 Kudos
283

hi,

try:

DATA: POOL LIKE TEXTPOOL OCCURS   0 WITH HEADER LINE.
 READ TEXTPOOL P_REP LANGUAGE SY-LANGU INTO POOL.

-> export itab pool with gui_download

2) read report p_rep into itab.

read table itab where itab-line cp 'MESSAGE-ID'.

alternativ:

READ REPORT sy-repid INTO itab1.
APPEND 'REPORT' TO itab4.
SCAN ABAP-SOURCE itab1 TOKENS INTO itab2
                       STATEMENTS INTO itab3
                       KEYWORDS FROM itab4.

A.

Message was edited by: Andreas Mann

Message was edited by: Andreas Mann

former_member188685
Active Contributor
0 Kudos
283

Hi,

Check this link..for a program to mass download source code including function groups, text pools, and reports:

http://sap.ittoolbox.com/code/archives.asp?d=1623&a=s&i=10

Regards

vijay

Former Member
0 Kudos
283

messages are stored in T100 table

here you have to pass language & message class name

use select in the program to download them & finally use GUI_DOWNLOAD to download it to local server

regards

srikanth

Former Member
0 Kudos
283

Hi Samuel,

Refer to this post.

Regards,

Arun Sambargi.

Former Member
0 Kudos
284

Hi

For text elements:

data: tb_tpool TYPE textpool.

READ TEXTPOOL Prog-name

INTO tb_tpool

LANGUAGE spras.

next is use the FM GUI_DOWNLOAD and pass the table tb_pool.

For Message Class

The messages can be downlaoded from T001w.