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

Conversion RawString to readable chracter

Former Member
0 Likes
2,166

Hi,

I am extracting data from REPOTEXT. Table stores text for programs.

The field DATA in this table stores in RAWSTRING format.

After extracting how can I conver this to chracter ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,774

Hello

Instead of read table REPOTEXT use FM 'RPY_PROGRAM_READ' for read text of programm.

10 REPLIES 10
Read only

Former Member
0 Likes
1,775

Hello

Instead of read table REPOTEXT use FM 'RPY_PROGRAM_READ' for read text of programm.

Read only

0 Likes
1,774

Hi Maroz,

In my system that function module is short dumping.

Any alternative to get Report Documentation for this.

Read only

0 Likes
1,774

Hi,

Check this FM : SVRS_GET_VERSION_REPS_40

thanks.

Read only

0 Likes
1,774

Hi,

Try this one /OSP/REPORT_GET_DETAILS

Alternatively check this table TRDIRT---TEXT field

Edited by: Lakshman N on Aug 10, 2009 1:00 PM

Read only

0 Likes
1,774

Is this a general question about converting xstring to text (char), or do you want to upload data from a particular report into an internal table?

If the latter is the case use statement


READ REPORT prog INTO itab 

Read only

0 Likes
1,774

Hello

I have check this FM in different systems. All work fine.

Other way:


DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
READ REPORT REP_NAME INTO PROGTXT. "<= set programm name into rep_name

As result you will have source code in table PROGTXT.

Read only

0 Likes
1,774

Hi All,

THankx for your help.

I need to download SE38 Program Documentation to Excel.

How can i achive this?

Read only

0 Likes
1,774

Hello

What you want to download ?

Source code or documentation ?

If source code - look above messages.

If documentation - use tables DOKHL and DOKTL. Or use FM 'SRTU1_GET_REPORT_DOCUMENTATION'

Read only

0 Likes
1,774

Hi,

Goto -> Documentation -> Document -> Print 'Enter output device name' -> Print Preview -> Goto -> List Display

-> System -> List -> Save -> Local file -> Spreadsheet

Thanks

Read only

0 Likes
1,774

Hi Maroz,

Thnx Function u have given solved the problem.