<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
 
 
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT color=3D#008000 face=3D"Comic Sans MS">Thanks for your =
response,=20
Joe.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#008000 face=3D"Comic Sans MS">Actually, I didn't =
state my=20
question properly.&nbsp; I do know how to use the MESSAGES INTO =
extension but I=20
want everything defined by a WRITE statement to go to a flat file, not =
just=20
transaction messages.&nbsp; Th<SPAN=20
class=3D390262923-24012002>is</SPAN>&nbsp;would&nbsp;<SPAN=20
class=3D390262923-24012002>include&nbsp;r</SPAN><SPAN=20
class=3D390262923-24012002>eport </SPAN>header lines,&nbsp;<SPAN=20
class=3D390262923-24012002>end-of-job counts, </SPAN>error messages I =
have=20
defined&nbsp;<SPAN class=3D390262923-24012002>myself </SPAN>(writing a=20
message&nbsp;and stopping the program before&nbsp;going to the call=20
transaction<SPAN class=3D390262923-24012002> if, for example, the input =
file does=20
not net to zero</SPAN><SPAN class=3D390262923-24012002>).</SPAN> =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#008000><FONT face=3D"Comic Sans MS">Again, =
I&nbsp;<SPAN=20
class=3D390262923-24012002>know I </SPAN>can do it with the =
TRANSFER&nbsp;<SPAN=20
class=3D390262923-24012002>statement but was hoping for something =
similar to a=20
SPOOL or DESTINATION statement that would write=20
remotely.</SPAN></FONT></FONT></DIV>
<DIV><FONT color=3D#008000><FONT face=3D"Comic Sans MS"><SPAN=20
class=3D390262923-24012002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#008000><FONT face=3D"Comic Sans MS"><SPAN=20
class=3D390262923-24012002>Thanks for any more input you might=20
have,</SPAN></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#800080 face=3D"Monotype Corsiva" =
size=3D5>Mary</FONT></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Graf, Josef=20
  [mailto:josef.graf@sap.com]<BR><B>Sent:</B> Thursday, January 24, =
2002 9:29=20
  AM<BR><B>To:</B> SAP-WUG@mitvma.mit.edu<BR><B>Subject:</B> AW: Write =
from R/3=20
  to Unix<BR><BR></DIV></FONT>
  <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D070202816-24012002>Hi=20
  Carroll,</SPAN></FONT></DIV>
  <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D070202816-24012002>use=20
  the extension "MESSAGES INTO &lt;internal table&gt;" of the "CALL =
TRANSACTION"=20
  statement.</SPAN></FONT></DIV>
  <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
  class=3D070202816-24012002>Then&nbsp;all messages will be in the =
&lt;internal=20
  table&gt; after the CALL TRANSACTION and can be</SPAN></FONT></DIV>
  <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
  class=3D070202816-24012002>easily written to the UNIX file=20
  system.</SPAN></FONT></DIV>
  <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D070202816-24012002>Best=20
  regards </SPAN></FONT></DIV>
  <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
  class=3D070202816-24012002>Joe</SPAN></FONT></DIV>
  <BLOCKQUOTE=20
  style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
    <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
    size=3D2>-----Urspr=FCngliche Nachricht-----<BR><B>Von:</B> =
Carroll, Mary L=20
    [mailto:mary.carroll@gwl.com]<BR><B>Gesendet:</B> Donnerstag, 24. =
J=E4nner=20
    2002 16:52<BR><B>An:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Betreff:</B> =
Write=20
    from R/3 to Unix<BR><BR></DIV></FONT>
    <DIV>
    <P>I'm an ABAP programmer, working on an R/3&nbsp;<SPAN=20
    class=3D818044215-24012002>(4.6c) </SPAN>install. I'm writing a =
program=20
    that&nbsp;call<SPAN class=3D818044215-24012002>s a</SPAN> =
transaction. When=20
    you execute the program in the foreground, R/3 transaction error =
messages=20
    are displayed as output.<SPAN class=3D818044215-24012002>&nbsp; =
</SPAN>I want=20
    to write these messages to a flat file at the unix<SPAN=20
    class=3D818044215-24012002> (AIX) </SPAN>level rather than (or in =
addition to)=20
    having them display at the terminal<SPAN=20
    class=3D818044215-24012002>.&nbsp;&nbsp;</SPAN>I realize I can =
write TRANSFER=20
    statements in the ABAP code to accomplish this but what a =
pain!<SPAN=20
    class=3D818044215-24012002>&nbsp; </SPAN>Can anyone=20
help?</P></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>