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

open dataset in binary mode-data missing in pdf file

$
0
0

Hi,

 

I am downloading a pdf file to the appl server using the below code.

 

open dataset filename for output in binary mode.

 

OPEN DATASET file_name FOR OUTPUT IN BINARY MODE.
     LOOP AT lines INTO ls_lines.
       TRANSFER ls_lines TO file_name.
     ENDLOOP.
     CLOSE DATASET file_name.
     MESSAGE 'File has been Transfered' TYPE 'S'.

pdf file is downloading to the appl server.

 

I am reading the file using CG3Y transaction, an found that some tax values are missing.

 

please advice on how to fix this issue ASAP.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>