Skip to Content
1
Former Member
Jul 19, 2007 at 02:13 PM

Open Data Set Probelem

38 Views

Hello all,

i am using this statement to save my data file to Application Server:

OPEN DATASET l_file_name FOR OUTPUT

IN

LEGACY

TEXT MODE

FILTER 'compress'

IGNORING CONVERSION ERRORS

REPLACEMENT CHARACTER '$'

CODE PAGE g_sap_code_page.

LOOP AT lt_text_table.

TRANSFER lt_text_table TO l_file_name.

ENDLOOP.

CLOSE DATASET l_file_name.

___________________________________________________

IN THIS MY CODE PAGE IS 'iso_8859-1'.

In this i am getting a dump which says:

Short Text:

File "l_file_name" is not open.

What happened?

Error in the ABAP Application Program

The current ABAP program "YSL_DWH_PROCESSING" had to be termininated

because it has

come across a statement that unfortunately cannot be executed.

and when i do not use Filter "compress" in my code it works fine

please help:)