<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
TT {
        FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle19 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=539254807-24012007><FONT face=Arial 
color=#0000ff size=2>If you by "executed in the background" mean without calling 
screens you can achieve that by using the "Advance with dialog" 
flag.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=539254807-24012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=539254807-24012007><FONT face=Arial 
color=#0000ff size=2>If you by "executed in the background" mean executed as a 
work item of type B, you can only achieve that by defining the object method 
itself as a background method (as far as I know).</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil OFT&nbsp;GBS 
BAS&nbsp;DEV SAP</FONT></DIV></FONT></DIV>
<DIV>&nbsp;</DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
  [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of 
  </B>robert.van.den.berg@accenture.com<BR><B>Sent:</B> Wednesday, January 24, 
  2007 4:49 AM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> Calling dialog 
  method in background<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2>H<SPAN class=716224103-24012007>i 
  group,</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN 
  class=716224103-24012007></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN class=716224103-24012007>I have a dialog 
  method which has a parameter 'BackgroundExec', on which I assume this 
  functionality can be executed in the 
  background.</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN class=716224103-24012007>I checked the code 
  and also tested the method in SWO1, and it also works without calling 
  screens.</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN 
  class=716224103-24012007></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN class=716224103-24012007>But now I want to 
  create a background task but this can't be done. It has to be 
  dialog.</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN 
  class=716224103-24012007></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN class=716224103-24012007>How can I make it 
  possible that this method will still be executed in the background? 
  </SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN class=716224103-24012007>(we are on version 
  2005, that's release 6.0)</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN 
  class=716224103-24012007></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN 
  class=716224103-24012007>Thanx!</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN 
  class=716224103-24012007>Robert</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN 
  class=716224103-24012007></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=716224103-24012007><FONT face=Tahoma><FONT 
  color=#0000ff><FONT size=2><SPAN class=716224103-24012007>PS: For IS-U expert 
  to make it easier: its object MTRREADDOC with method 
  MeterDocCreate.</SPAN></FONT></FONT></FONT></SPAN></DIV>
  <DIV id=##disclaimer##>
  <P></P>
  <P style="FONT-SIZE: x-small; FONT-FAMILY: Arial, Sans-Serif">This message is 
  for the designated recipient only and may contain privileged, proprietary, or 
  otherwise private information. If you have received it in error, please notify 
  the sender immediately and delete the original. Any other use of the email by 
  you is prohibited.</P></DIV></BLOCKQUOTE><p></p><p><font size=1>-------------------------------------------------------------------<br>The information contained in this message may be CONFIDENTIAL and is<br>intended for the addressee only. Any unauthorised use, dissemination of the<br>information or copying of this message is prohibited. If you are not the<br>addressee, please notify the sender immediately by return e-mail and delete<br>this message.<br>Thank you.</font size></BODY></HTML>