Skip to Content
1
Former Member
Jan 12, 2009 at 08:38 PM

DATASET_NOT_OPEN error.

3242 Views

Hello friends-Any help will be greatly appreciated.

I am trying to execute the following command in SAP 6.0 in the START-OF-SELCTION section. Even though I have the OPEN DATASET staement I am still getting the ABAP dump with error DATASET_NOT_OPEN.

please see the code below:

file_usp = '
fla-file-04\Groups\Common\Data\masterdata_products\us_products_.txt'.

OPEN DATASET file_USP FOR OUTPUT IN TEXT MODE encoding default.

concatenate 'MATNR'

'LDATE'

'DDATE'

into string separated by ','.

TRANSFER string to file_USP.

CLOSE DATASET file_USP.