<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hi Kiran,<BR>
&nbsp;<BR>
Good to know that it is working, but just another suggestion: instead of using a new method, try to create a virtual attribute (with the same logic you've created on the method).<BR>
&nbsp;<BR>
It will work very similar and is better to use in this case.<BR><BR>Regards,<BR>
Flávio.<BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">
<HR id=EC_stopSpelling>
Date: Mon, 2 Oct 2006 22:15:38 -0700<BR>From: cool_dude2kin@yahoo.co.in<BR>Subject: Re: workflow relase purchase requisition<BR>To: sap-wug@mit.edu<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass DIV
{;}

</STYLE>

<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hi Flavio,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;Thanks for the info.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;In the case of PR release at the header level,all the items will be released when PR is released at the header level.So it's all or none&nbsp;scenario for the items in the PR(All will be released when PR header is released or None if&nbsp;PR is not released at the header level).</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">So I have created a subtype of &nbsp;BUS2105 and &nbsp;a method to check the above logic and return a flag.It works fine.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thanks,<BR>Kiran.<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Flavio Oliveira &lt;oliveiraflavio@hotmail.com&gt;<BR>To: cool_dude2kin &lt;sap-wug@mit.edu&gt;<BR>Sent: Thursday, September 28, 2006 6:17:37 AM<BR>Subject: RE: workflow relase purchase requisition<BR><BR>
<STYLE>
.ExternalClass P
{padding:0px;}
.ExternalClass
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Yes Kiran, that is the idea.<BR>&nbsp;<BR>The attribute is&nbsp;on the object BUS2009 (purchase requisition item). I've never worked on the requisition release at the header level, so I do not know how it really works.<BR>&nbsp;<BR>If you have to use the same field (that is on the item level), you can create a virtual attribute that will check if all items are released and, if so, you set it as the requisition is released. But this is an assumption, as I do not know how it works. You have to check how this really works on the requisition release at header level.<BR>&nbsp;<BR>Regards,<BR>Flávio.<BR><BR><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">
<HR id=EC_EC_stopSpelling>
Date: Wed, 27 Sep 2006 20:28:07 -0700<BR>From: cool_dude2kin@yahoo.co.in<BR>Subject: Re: workflow relase purchase requisition<BR>To: sap-wug@mit.edu<BR><BR>
<STYLE>
.ExternalClass DIV
{;}
</STYLE>

<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Hi Flavio,<BR>&nbsp; I have the same requirement.<BR>&nbsp; How do I access this attribute ?! I see that this is not an arrtribute of the business object BUS2105(Purchasing requisition).Did you mean to do a select on EBAN table to get the value 'SubjectToRelease' ?!<BR><BR>Thanks,<BR>Kiran.<BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">----- Original Message ----<BR>From: Flavio Oliveira &lt;oliveiraflavio@hotmail.com&gt;<BR>To: Yifat Bar &lt;sap-wug@mit.edu&gt;<BR>Sent: Thursday, September 14, 2006 6:46:18 AM<BR>Subject: RE: workflow relase purchase requisition<BR><BR>
<STYLE>
.ExternalClass P
{padding:0px;}
.ExternalClass
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Just use the attribute SubjectToRelease. It indicates if the PR is completely released or not.<BR>&nbsp;<BR>Regards,<BR>Flávio.<BR><BR><BR><BR><BR><BR><BR>
<HR id=EC_EC_stopSpelling>
<BR>&gt; Subject: RE: workflow relase purchase requisition<BR>&gt; To: sap-wug@mit.edu<BR>&gt; From: YIFATB@il.ibm.com<BR>&gt; Date: Fri, 15 Sep 2006 15:05:01 +0300<BR>&gt; <BR>&gt; <BR>&gt; Flavio&nbsp;hello!<BR>&gt; Thanks&nbsp;for&nbsp;your&nbsp;answer.<BR>&gt; how&nbsp;do&nbsp;i&nbsp;know&nbsp;that&nbsp;the&nbsp;pr&nbsp;is&nbsp;completly&nbsp;released?<BR>&gt; <BR>&gt; regards<BR>&gt; yifat<BR>&gt; Yifat&nbsp;Bar<BR>&gt; Sap&nbsp;developer&nbsp;IBM<BR>&gt; mail-:&nbsp;&nbsp;&nbsp;yifatb@il.ibm.com<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; SAP-WUG&nbsp;mailing&nbsp;list<BR>&gt; SAP-WUG@mit.edu<BR><SPAN>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank rel=nofollow>http://mailman.mit.edu/mailman/listinfo/sap-wug</A></SPAN><BR><BR><BR><SPAN style="OVERFLOW: hidden; WIDTH: 100%; HEIGHT: 2px; BACKGROUND-COLOR: black"></SPAN>Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today! <A href="http://www.toolbar.live.com/" target=_blank rel=nofollow>Try it now!</A> 
<DIV>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank rel=nofollow>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR></DIV></DIV><BR></DIV></DIV><BR></BLOCKQUOTE><BR><SPAN style="OVERFLOW: hidden; WIDTH: 100%; HEIGHT: 2px; BACKGROUND-COLOR: black"></SPAN>Call friends with PC-to-PC calling -- FREE <A href="http://get.live.com/messenger/overview" target=_blank rel=nofollow>Try it now!</A> 
<DIV>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></DIV><BR></BLOCKQUOTE><br /><hr />Windows Live Spaces is here! It’s easy to create your own personal Web site. <a href='http://spaces.live.com/signup.aspx' target='_new'>Check it out!</a></body>
</html>