Ansicht
Dokumentation

09873 - SAPFTP Problem

09873 - SAPFTP Problem

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

SAPFTP Problem

Hi Gerd,

I'm pretty sure, that it has to do with the fact, that SAP is using
just LF as record delimiter as Unix even when iSeries normally uses
CRLF. So, I would recommend to check the binary data on the HP3000.
With these results we can chack for ideas how to fix your problem, if
possible at all. I don't believe in an HP3000 problem here.

Regards

Volker
--- In DoNotReply@consolut.eu, "Gerhard K. Goebel"
<gerd.goebelZb...> wrote:
> Hi group,
>
> I have a problem FTP'ing a dataset from the IFS to an HP3000
system.
> The dataset has multiple records which get truncated on the HP side
> to just 1 record.
>
> The strange thing is that when I FTP the same dataset from the OS I
> see all record in HP. Using the SAPFTP CONNECT and DISCONNECT
> function calls sends the entire dataset over (the number of bytes
> reported by SAPFTP is the very same as the file size in the IFS).
>
> More strange, if I use the same ABAP program to SAPFTP the dataset
to
> the same AS/400, but into another file name, I get all the records
> again.
>
> So the problem must be the HP3000 system. I tried different CFLF
> combination, including blanks and 0D25 (EBCDIC CR and LF) but still
> have the same problem.
>
> Does anybody FTP data from your SAP environment to an HP system?
And
> if yes, is there something I am overlooking?
>
> Thanks in advance.
> Gerd


Durban Tours - Südafrika Safari

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2065 Date: 20240419 Time: 214632     sap01-206 ( 2 ms )