<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE : Write from R/3 to Unix</TITLE>
</HEAD>
<BODY>
 
<P><FONT SIZE=3D2>Hi </FONT>
</P>
 
<P><FONT SIZE=3D2>You can define a spool that writes to an OS file. =
Look at note # 6753 : Printing in file (to magnetic tape) or somewhere =
else.</FONT></P>
 
<P><FONT SIZE=3D2>Best regards,</FONT>
</P>
 
<P><FONT SIZE=3D2>Fran=E7ois Beaubien, ing. </FONT>
</P>
 
<P><FONT SIZE=3D2>-----Message d'origine-----</FONT>
<BR><FONT SIZE=3D2>De : Carroll, Mary L [<A =
HREF=3D"mailto:mary.carroll@gwl.com">mailto:mary.carroll@gwl.com</A>] =
</FONT>
<BR><FONT SIZE=3D2>Envoy=E9 : jeudi 24 janvier 2002 18:38</FONT>
<BR><FONT SIZE=3D2>=C0 : SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=3D2>Objet : Re: Write from R/3 to Unix</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>Thanks for your response, Joe.</FONT>
</P>
 
<P><FONT SIZE=3D2>Actually, I didn't state my question properly.&nbsp; =
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.&nbsp; 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). </FONT></P>
 
<P><FONT SIZE=3D2>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.</FONT></P>
 
<P><FONT SIZE=3D2>Thanks for any more input you might have,</FONT>
</P>
 
<P><FONT SIZE=3D2>Mary</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Graf, Josef [<A =
HREF=3D"mailto:josef.graf@sap.com">mailto:josef.graf@sap.com</A>]</FONT>=
 
<BR><FONT SIZE=3D2>Sent: Thursday, January 24, 2002 9:29 AM</FONT>
<BR><FONT SIZE=3D2>To: SAP-WUG@mitvma.mit.edu</FONT>
<BR><FONT SIZE=3D2>Subject: AW: Write from R/3 to Unix</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>Hi Carroll,</FONT>
<BR><FONT SIZE=3D2>use the extension &quot;MESSAGES INTO &lt;internal =
table&gt;&quot; of the &quot;CALL TRANSACTION&quot; statement.</FONT>
<BR><FONT SIZE=3D2>Then all messages will be in the &lt;internal =
table&gt; after the CALL TRANSACTION and can be</FONT>
<BR><FONT SIZE=3D2>easily written to the UNIX file system.</FONT>
<BR><FONT SIZE=3D2>Best regards </FONT>
<BR><FONT SIZE=3D2>Joe</FONT>
<BR><FONT SIZE=3D2>-----Urspr=FCngliche Nachricht-----</FONT>
<BR><FONT SIZE=3D2>Von: Carroll, Mary L [<A =
HREF=3D"mailto:mary.carroll@gwl.com">mailto:mary.carroll@gwl.com</A>]</F=
ONT>
<BR><FONT SIZE=3D2>Gesendet: Donnerstag, 24. J=E4nner 2002 16:52</FONT>
<BR><FONT SIZE=3D2>An: SAP-WUG@MITVMA.MIT.EDU</FONT>
<BR><FONT SIZE=3D2>Betreff: Write from R/3 to Unix</FONT>
</P>
<BR>
 
<P><FONT SIZE=3D2>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.&nbsp; 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.&nbsp; I realize I can write TRANSFER =
statements in the ABAP code to accomplish this but what a pain!&nbsp; =
Can anyone help?</FONT></P>
 
</BODY>
</HTML>