Ansicht
Dokumentation
05621 - ftp from ABAP on OS/400
General Material Data TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
ftp from ABAP on OS/400
I'm starting to research methods to transfer data via ftp directly from anABAP program on the AS/400. Our requirements include being able to ftp from
either a dialog session or in background. The documentation I've found on
SAPFTP indicate that it is only available on NT or UNIX. When I run the
SAPFTP version program (RSFTP001) it displays a component of the SAPGUI
(SAPFTP.EXE) which leads me to believe that SAPFTP cannot be run from
background on OS/400. I'm headed down the path of building a function
module to run ftp via an OS/400 system command. I'll probably write my ftp
function in CL and RPG and then call it from ABAP. I am curious about the
methods others are using run ftp with ABAP on the AS/400.
TIA,
Stan
From jan.de.rooijZs... Tue Apr 09 11:41:39 2002
Return-Path: <Jan.de.RooijZs...>
X-Sender: Jan.de.RooijZs...
X-Apparently-To: DoNotReply@consolut.eu
Received: (EGP: mail-8_0_3_1); 9 Apr 2002 18:41:39 -0000
Received: (qmail 77590 invoked from network); 9 Apr 2002 11:27:42 -0000
Received: from unknown (66.218.66.217)
by m11.grp.scd.consolut.net with QMQP; 9 Apr 2002 11:27:42 -0000
Received: from unknown (HELO FW.SSC.NL) (194.134.230.98)
by mta2.grp.scd.consolut.net with SMTP; 9 Apr 2002 11:27:40 -0000
Received: from Pc150(J.ROOY[192.168.1.150]) by AS400TST.INTRA.SSC.NL (IBM OS/400
SMTP V04R05M00) with TCP; Tue, 9 Apr 2002 13:27:35 +0200
Return-Receipt-To: "Jan de Rooij" <Jan.de.RooijZs...>
To: <DoNotReply@consolut.eu>
Subject: RE: ABAP query
Date: Tue, 9 Apr 2002 13:30:36 +0200
Message-ID: <000001c1dfb9$f9cd2700$9601a8c0ZI...>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
Disposition-Notification-To: "Jan de Rooij" <Jan.de.RooijZs...>
Importance: Normal
In-Reply-To: <OFDD0B1288.7474E22A-ON42256B96.0024BCD4Zg...>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
From: "Jan de Rooij" <jan.de.rooijZs...>
Reply-To: <Jan.de.RooijZs...>
X-consolut-Group-Post: member; u=54007536
X-consolut-Profile: janderooij
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi, Desmond,
A 'quick and dirty' trick: use a tempory file or data-area to control the
running status of a job.
Job one writes the file and deletes it at the end. Job two checks if it
exist and waits.
There might be better approaches but until then you could use it??
Kind regards
Jan de Rooij
-----Oorspronkelijk bericht-----
Van: desmond_olwageZg... [mailto:desmond_olwageZg...]
Verzonden: dinsdag 9 april 2002 8:50
Aan: sap400Zm...; DoNotReply@consolut.eu
Onderwerp: ABAP query
Hi, group.
I have a custom-written ABAP that is performing a function where the
program should not be allowed to run parallel to itself. In other words, I
start the job ABC and it starts running in a BTC process. Another user
starts the same job and it should WAIT for the first job to finish bef Durban Tours - Südafrika Safari
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 5578 Date: 20240423 Time: 152350 sap01-206 ( 3 ms )