Send flat files to a TCP/IP Connection from ABAP

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
Baz
Posts: 4747
Joined: Fri Nov 08, 2002 5:54 am
Location: He's out there! somewhere!!!!
Contact:

Send flat files to a TCP/IP Connection from ABAP

Post by Baz » Tue Dec 03, 2013 9:09 am

We have a requirement due to a budget restriction (no SAP PI) to deliver a whole bunch of documents to a whole bunch of batching plants from SAP to a Command Alkon Batch systems http://www.commandalkon.com/cmdbatch.asp

this is a very antiquated set up and we can only communicate over TCP/IP to send and receive the files - via a print server! WTF!
i know there are a bunch of FTP commands, but are there anything similar for TCP/IP?

i can create the SM59 connections (160+ plants!) for the TCP/IP connections and create the fixed file output... is the rest just bog standard open dataset type stuff? or is there something else?
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com

Rich
Posts: 7116
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool
Contact:

Re: Send flat files to a TCP/IP Connection from ABAP

Post by Rich » Tue Dec 03, 2013 10:51 am

Have you tried using open dataset with a fully qualified file name ?
Regards

Rich

Image
Abap KC:http://www.richard-harper.me.uk/Kb
SFMDR:http://www.se37.com

Baz
Posts: 4747
Joined: Fri Nov 08, 2002 5:54 am
Location: He's out there! somewhere!!!!
Contact:

Re: Send flat files to a TCP/IP Connection from ABAP

Post by Baz » Tue Dec 03, 2013 11:55 am

Nope! i assume that is a no go then....

any pointers are gratefully received! i have seen suggestions of writing a script to run on the O/S which would be a pain with 160+ different destinations....
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com

Rich
Posts: 7116
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool
Contact:

Re: Send flat files to a TCP/IP Connection from ABAP

Post by Rich » Wed Dec 04, 2013 4:30 am

Well, if you write it programatically it won't be so muc of a pain
Regards

Rich

Image
Abap KC:http://www.richard-harper.me.uk/Kb
SFMDR:http://www.se37.com

Post Reply