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

Download text element & message class

Former Member
0 Likes
1,989

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

Former Member
0 Likes
1,565

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

Former Member
0 Likes
1,565

Samuel,

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

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

rgds,

TM.

Read only

andreas_mann3
Active Contributor
0 Likes
1,565

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

Read only

Former Member
0 Likes
1,565

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

Read only

Former Member
0 Likes
1,565

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

Read only

Former Member
0 Likes
1,565

Hi Samuel,

Refer to this post.

Regards,

Arun Sambargi.

Read only

Former Member
0 Likes
1,566

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.