Ansicht
Dokumentation

12717 - Sending an IDOC from SAP to a bank via ftp

12717 - Sending an IDOC from SAP to a bank via ftp

BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Sending an IDOC from SAP to a bank via ftp

We had a problem with FTP not keeping trailing blanks. We finally found the
option QUOTE SITE TRIM 0 kept the records from being truncated.

Jim Doll, Perrigo

>>> eiglenniZnmhg.com 01/28/04 04:22AM >>>
Hello All,

We have an R/3 4.6C system which is on a 740-12 way EBCDIC system
and we are having issues with IDOCS and encryption software called
COMPRESS.

The IDOC is sent from SAP to the IFS directory on an AS/400, but
COMPRESS will only accept files from a library. To overcome this we
have been using the CPYFRMSTMF command. After the COMPRESS utility
has encrypted the file it is then sent by ftp to Citibank.

The problem is that the file does not retain spaces in fields that
have a record with no entries in the last field. We tried using the
parameter ENDLINFMT (*CRLF) on the CPYFRMSTMF command which did keep
the spaces intact it then put the whole record onto one single line.
This single line only contained the first 5000 characters as this is
what was specified as the record length when we created the physical
file. We then tried the ENDLINFMT (*FIXED) which seemed to work
better as it retained the spaces and when viewed with DSPPFM looked
much better as it contained all the IDOC entries, but alas CITIBANK
said that the file was fine for the first 5000 charaters and then
the file had an error "IDOC file format invalid - Failed to process
due to incorrect syntax after Segment <E2IDKU4>.

The problem may be down to the fact that we have an ebcdic system. I
even tried ftping to '127.0.0.1' and using the put command to move
the file from the IFS to the library but it did not retain the
spaces.

We would appreciate any help you can give me on this, even
alternative solutions. I had thought about trying to send the IDOC
directly to library on the AS/400 but I don't know if this is
possible.

Best regards,

Steven Glennie
NACCO


Have a look to our homepage at: http://www.consolut.net
DoNotReply@consolut.eu

consolut Links

To visit your group on the web, go to:
http://groups.consolut.net/group/SAP on System i/

To unsubscribe from this group, send an email to:
DoNotReply@consolut.eu

Your use of consolut is subject to:
http://www.consolut.net


[Non-text portions of this message have been removed]


Durban Tours - Südafrika Safari

ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3433 Date: 20240426 Time: 193800     sap01-206 ( 3 ms )