Skip to Content
0
Former Member
Mar 15, 2007 at 10:09 PM

problem in RSPO_RETURN_ABAP_SPOOLJOB_RAW

148 Views

Hi Friends,

I have a problem. I am running reports which has output line more than 255 characters. Firstly I have tried to use RSPO_RETURN_ABAP_SPOOLJOB fm. But I see that I can not get the characters that has index more than 255. So, I wanted to use RSPO_RETURN_ABAP_SPOOLJOB_RAW fm as;

   TYPES: BEGIN OF it_report,
                   precol(1),
                   line(1000),
               END OF it_report.
  DATA: record TYPE STANDARD TABLE OF it_report.

  CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB_RAW'
       EXPORTING
              RQIDENT              = RQIDENT
        TABLES
              BUFFER               = record.

Normally my report's line starts with as 'MATERIAL'. But, record[1]-line is as '#COL0N#COL0HMATERIAL'. Now, I don't know anything about how raw data's format. Such as it starts always with '#COL0N#COL0H' ?, or can be other unexpected characters any time?, etc.

I need the result how the report shows without '#COL0N#COL0H' or etc and all of the characters which can be more than 255. Is there any converter the raw data to the data as I mentioned? Or any idea?

Many thanks for now.