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: 

Conversion RawString to readable chracter

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello

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

10 REPLIES 10

Former Member
0 Kudos

Hello

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

0 Kudos

Hi Maroz,

In my system that function module is short dumping.

Any alternative to get Report Documentation for this.

0 Kudos

Hi,

Check this FM : SVRS_GET_VERSION_REPS_40

thanks.

0 Kudos

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

0 Kudos

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 

0 Kudos

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.

0 Kudos

Hi All,

THankx for your help.

I need to download SE38 Program Documentation to Excel.

How can i achive this?

0 Kudos

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'

0 Kudos

Hi,

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

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

Thanks

0 Kudos

Hi Maroz,

Thnx Function u have given solved the problem.