<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 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: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: Tahoma; TEXT-DECORATION: none
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>Hi David,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>Thanks it worked fine!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>Why I had to do it (cf MARK mail)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>I had object1 with attributes 1, 2 , 3 and
4</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>Attributes 2, 3, 4 are based on attribute
4.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>This object is used in different
workflows.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>Then I realised that for one of the workflows, attribute 1
is empty (PO number in case of parked invoice because no GR has bee done yet
;-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>So no attributes 2, 3, and 4.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>The solution was to get attribute1 in the workflow
container (import parameter of the workflow container) by another way(... too
long to explain), and when calculating attribute1 do a check: if attribute1 is
initial then read the one from workflow container.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>So now, in all cases I have my attribute 1, 2, 3 and 4
without having to develop new verions of attributes 2, 3, 4 to handle this
specific case.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>Hope it is clear&nbsp;&nbsp; ;-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>Cheers</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=282400319-16022005><FONT face=Arial
color=#0000ff size=2>Miguel.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT size=1>
<P>___________________________________________________________________________<BR></FONT><FONT
face=Tahoma size=2><A href="mailto:s@mit.edu">mit.edu</A>
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Yung. David<BR><B>Sent:</B>
16 February 2005 16:58<BR><B>To:</B> 'SAP Workflow Users'
Group'<BR><B>Subject:</B> RE: Reading worflow container
element<BR></FONT><BR></P></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Try using FM
"SAP_WAPI_READ_CONTAINER".&nbsp; To use it you must know the workitem id from
which you intend to read the container.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">In order to get the
workitem ID, a suggestion is to use FM "SAP_WAPI_WORKITEMS_TO_OBJECT", this will
give you all the workflows related to the object.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Cheers</SPAN></FONT></P>
<DIV>
<P><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">David</SPAN></FONT><FONT
color=blue><SPAN style="COLOR: blue"> </SPAN></FONT></P></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Tahoma size=2><SPAN
lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original
Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Adao-Cruz, Miguel<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> 16 February 2005 16:35<BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> SAP-WUG@mitvma.mit.edu<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Reading worflow container
element</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Hello,</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Did someone already tried to read a
workflow container from a virtual attribute?</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I tried the standard
way:</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">SWC_GET_ELEMENT CONTAINER 'element'
object-attribute.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">but in this case the container is
empty.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt">Any idea?</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN
style="FONT-SIZE: 12pt">Cheers</SPAN></FONT></P></DIV></DIV><CODE><FONT
size=3><BR><BR>* ** *** ** * ** *** ** * ** *** ** * <BR>This email and any
files transmitted with it are confidential and <BR>intended solely for the use
of the individual or entity to whom they <BR>are addressed. <BR>Any views or
opinions presented are solely those of the author, and do not necessarily
<BR>represent those of ESB. <BR>If you have received this email in error please
notify the sender. <BR><BR>Although ESB scans e-mail and attachments for
viruses, it does not guarantee <BR>that either are virus-free and accepts no
liability for any damage sustained <BR>as a result of viruses. <BR><BR>* ** ***
** * ** *** ** * ** *** ** *<BR></FONT></CODE>
<TABLE>
  <TBODY>
  <TR>
    <TD bgColor=#ffffff><FONT color=#000000>This message contains information
      that may be privileged or confidential and is the property of the
      Capgemini Group. It is intended only for the person to whom it is
      addressed. If you are not the intended recipient, you are not authorized
      to read, print, retain, copy, disseminate, distribute, or use this message
      or any part thereof. If you receive this message in error, please notify
      the sender immediately and delete all copies of this
      message.<BR><BR></FONT></TD></TR></TBODY></TABLE></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000>This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.<br>
<br>
</font></td></tr></table>