Application Development and Automation 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: 
Read only

Open Dataset Problem

Former Member
0 Likes
526

Hi Gurus

I am transferring fles to Application Server through Open Dataset.


  OPEN DATASET fname FOR APPENDING IN TEXT MODE ENCODING DEFAULT WITH SMART LINEFEED.

I am creating CSV files & they are working fine.

Problem is when I am opening the same file in Text Format (using 'Open with' notepad), all different records are coming in same line seprated by <symbol in shape of Square>.

Please help what's the problem.

Regards.

4 REPLIES 4
Read only

mvoros
Active Contributor
0 Likes
494

Hi,

notepad just does not recognize linefeed. Have you tried with WITH WINDOWS LINEFEED. Why did you choose SMART LINEFEED?

Cheers

Read only

Former Member
0 Likes
494

Hi Martin

not using LINE FEED.

Copied from somewhere just to test

Actually I'm just using


OPEN DATASET fname FOR APPENDING IN TEXT MODE ENCODING DEFAULT.

Regards.

Read only

mvoros
Active Contributor
0 Likes
494

In that case I guess that your SAP system is running on Unix platform. Have you tried with WINDOWS FEED?

Cheers

Read only

Former Member
0 Likes
494

Correct.

SAP System is running on UNIX.

Not tried WINDOWS FEED...

When using 'with windows /unix feed', its giving Error.

Edited by: ñíkhíl on Feb 19, 2010 11:38 AM