cancel
Showing results for 
Search instead for 
Did you mean: 

Downloading data into notepad using web dynpro

Former Member
0 Kudos

Dear All,

I have requeriment downloading data into notepad .

Iam using this function module SCMS_STRING_TO_XSTRING is working fine

but in notepad data displaying data many records into single record.

Please help me.

Thanks ,

S.ramakrishna

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ramakrishna,

I Think you have to split the string at the carrage return/linefeed.

You can do this by using SPLIT AT CL_ABAP_CHAR_UTILITIES=>CR_LF INTO TABLE. This will split each line into a separate record in an ABAP internal table.

Cheers,

Kris.

Former Member
0 Kudos

Probably the data does not contain the carriage return . You can explore the possibility to insert the carriage return at the end of every record.