Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Transfer Dataset creates 2 lines rather than 1

$
0
0

Hello All,

         I am facing an issue while creating txt files on app server. I am moving Financial Documents' data to app server file. In some cases one transfer dataset statement creates two line rather than one. The new line is inserted right after SGTXT (CHAR50) field. I noticed that where ever this problem occurs the SGTXT has /# in the end.

       I tried to replicate this issue in Dev box using same kind of SGTXT value but I could not. I am not sure what the cause is. for open dataset I used following parameters.

 

OPEN DATASET filename FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE

            IGNORING CONVERSION ERRORS  REPLACEMENT CHARACTER ' '.

 

 

The system is ECC 6.0 . I understand that passing NON-UNICODE does not make any sense here but I would like to replicate the issue first before I make the code change.

 

Any ideas ??

 

Thanks !



Viewing all articles
Browse latest Browse all 8332

Trending Articles