Write from R/3 to Unix

Francois Beaubien Beaubien.Francois at hydro.qc.ca
Tue Jan 29 11:41:08 EST 2002


Hi=20
 
You can define a spool that writes to an OS file. Look at note # 6753 :
Printing in file (to magnetic tape) or somewhere else.
 
Best regards,
 
Fran=E7ois Beaubien, ing.=20
 
-----Message d'origine-----
De : Carroll, Mary L [mailto:mary.carroll at gwl.com]=20
Envoy=E9 : jeudi 24 janvier 2002 18:38
=C0 : SAP-WUG at MITVMA.MIT.EDU
Objet : Re: Write from R/3 to Unix
 
 
Thanks for your response, Joe.
 
Actually, I didn't state my question properly.  I do know how to use =
the
MESSAGES INTO extension but I want everything defined by a WRITE =
statement
to go to a flat file, not just transaction messages.  This would =
include
report header lines, end-of-job counts, error messages I have defined =
myself
(writing a message and stopping the program before going to the call
transaction if, for example, the input file does not net to zero).=20
 
Again, I know I can do it with the TRANSFER statement but was hoping =
for
something similar to a SPOOL or DESTINATION statement that would write
remotely.
 
Thanks for any more input you might have,
 
Mary
-----Original Message-----
From: Graf, Josef [mailto:josef.graf at sap.com]
Sent: Thursday, January 24, 2002 9:29 AM
To: SAP-WUG at mitvma.mit.edu
Subject: AW: Write from R/3 to Unix
 
 
Hi Carroll,
use the extension "MESSAGES INTO <internal table>" of the "CALL =
TRANSACTION"
statement.
Then all messages will be in the <internal table> after the CALL =
TRANSACTION
and can be
easily written to the UNIX file system.
Best regards=20
Joe
-----Urspr=FCngliche Nachricht-----
Von: Carroll, Mary L [mailto:mary.carroll at gwl.com]
Gesendet: Donnerstag, 24. J=E4nner 2002 16:52
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Write from R/3 to Unix
 
 
I'm an ABAP programmer, working on an R/3 (4.6c) install. I'm writing a
program that calls a transaction. When you execute the program in the
foreground, R/3 transaction error messages are displayed as output.  I =
want
to write these messages to a flat file at the unix (AIX) level rather =
than
(or in addition to) having them display at the terminal.  I realize I =
can
write TRANSFER statements in the ABAP code to accomplish this but what =
a
pain!  Can anyone help?
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20020129/90d20f2f/attachment.htm


More information about the SAP-WUG mailing list