<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
tt
        {font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:2012558508;
        mso-list-template-ids:-1411896094;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Nat,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><br>
I think you are onto something. Thanks!!! I will sniff around this method some
more.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><br>
Alon</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Nat 4 Govender<br>
<b><span style='font-weight:bold'>Sent:</span></b> 03 July 2006 08:32<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Cc:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName>; sap-wug-bounces@mit.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: PR Rejection Mystery</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Hi Alon,<br>
<br>
If your reject is &quot;DELETE&quot;<br>
<br>
this is our code in object Z_BUS2009<br>
<br>
begin_method delete changing container. <br>
CONSTANTS: <br>
$del_indicator_set LIKE bapieband-delete_ind VALUE 'X'. <br>
DATA: <br>
lns TYPE i, <br>
o_bus2105 TYPE swc_object, <br>
return LIKE TABLE OF bapireturn WITH HEADER LINE, <br>
del_items LIKE TABLE OF bapieband WITH HEADER LINE. <br>
MOVE: object-key-item TO del_items-preq_item, <br>
$del_indicator_set TO del_items-delete_ind. <br>
APPEND del_items. <br>
swc_container call_container. <br>
swc_set_table call_container 'RequisitionItemsToDe' del_items. <br>
swc_create_object o_bus2105 'BUS2105' object-key-number. <br>
swc_call_method o_bus2105 'Delete' call_container. <br>
swc_get_table call_container 'Return' return. <br>
DESCRIBE TABLE return LINES lns. <br>
IF lns NE 0. <br>
READ TABLE return WITH KEY code = 'ME006'. <br>
IF sy-subrc EQ 0. <br>
exit_return 9001 return-message_v1 return-message_v2 space space. <br>
ELSE. <br>
READ TABLE return WITH KEY type = 'E'. <br>
IF sy-subrc EQ 0. <br>
exit_return 9002 return-message space space space. <br>
ENDIF. <br>
ENDIF. <br>
ENDIF. <br>
end_method.<br>
<br>
Regards<br>
<br>
Nat Govender<br>
<st1:City w:st="on">Toyota</st1:City> <st1:country-region w:st="on"><st1:place
 w:st="on">South Africa</st1:place></st1:country-region><br>
IT - SAP Workflow Specialist<br>
Internal Ext. : 32645<br>
Direct Line : +27 031 910 2645<br>
Fax : +27 031 902 9633<br>
E-mail : ngovender4@toyota.co.za<br>
<br>
=============================================<br>
Never forget that you are unique, like everyone else. <br>
=============================================<br>
<img width=16 height=16 id="_x0000_i1025"
src="cid:image001.gif@01C69EA7.64B8AF70"
alt="Inactive hide details for &quot;Alon Raskin&quot; &lt;araskin@3i-consulting.com&gt;">&quot;Alon
Raskin&quot; &lt;araskin@3i-consulting.com&gt;<br>
<br>
<o:p></o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="40%" valign=top style='width:40.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal style='margin-left:144.0pt'><b><font size=2
  face="Times New Roman"><span style='font-size:10.0pt;font-weight:bold'>&quot;Alon
  Raskin&quot; &lt;araskin@3i-consulting.com&gt;</span></font></b><font size=2><span
  style='font-size:10.0pt'> </span></font><br>
  <font size=2><span style='font-size:10.0pt'>Sent by: sap-wug-bounces@mit.edu</span></font>
  <o:p></o:p></p>
  <p style='margin-left:144.0pt'><font size=2 face="Times New Roman"><span
  style='font-size:10.0pt'>2006/07/03 02:13 PM</span></font> <o:p></o:p></p>
  <table class=MsoNormalTable border=1 cellpadding=0 style='margin-left:144.0pt'>
   <tr>
    <td width=168 valign=top bgcolor=white style='width:126.0pt;background:
    white;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=center style='text-align:center'><font size=2
    face="Times New Roman"><span style='font-size:10.0pt'>Please respond to<br>
    &quot;<st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName>&quot;
    &lt;sap-wug@mit.edu&gt;</span></font><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'><o:p></o:p></span></font></p>
  </td>
  <td width="60%" valign=top style='width:60.0%;padding:0cm 0cm 0cm 0cm'>
  <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="1%" valign=top style='width:1.0%;padding:0cm 0cm 0cm 0cm'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'><img width=58 height=1 id="_x0000_i1026"
    src="cid:image002.gif@01C69EA7.64B8AF70" border=0><o:p></o:p></span></font></p>
    <p class=MsoNormal align=right style='text-align:right'><font size=2
    face="Times New Roman"><span style='font-size:10.0pt'>To</span></font><o:p></o:p></p>
    </td>
    <td width="100%" valign=top style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'><img width=1 height=1 id="_x0000_i1027"
    src="cid:image003.gif@01C69EA7.64B8AF70" border=0><br>
    </span></font><font size=2><span style='font-size:10.0pt'>&quot;<st1:PersonName
    w:st="on">SAP Workflow Users' Group</st1:PersonName>&quot;
    &lt;sap-wug@mit.edu&gt;</span></font><o:p></o:p></p>
    </td>
   </tr>
   <tr>
    <td width="1%" valign=top style='width:1.0%;padding:0cm 0cm 0cm 0cm'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'><img width=58 height=1 id="_x0000_i1028"
    src="cid:image002.gif@01C69EA7.64B8AF70" border=0><o:p></o:p></span></font></p>
    <p class=MsoNormal align=right style='text-align:right'><font size=2
    face="Times New Roman"><span style='font-size:10.0pt'>cc</span></font><o:p></o:p></p>
    </td>
    <td width="100%" valign=top style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'><img width=1 height=1 id="_x0000_i1029"
    src="cid:image003.gif@01C69EA7.64B8AF70" border=0><o:p></o:p></span></font></p>
    </td>
   </tr>
   <tr>
    <td width="1%" valign=top style='width:1.0%;padding:0cm 0cm 0cm 0cm'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'><img width=58 height=1 id="_x0000_i1030"
    src="cid:image002.gif@01C69EA7.64B8AF70" border=0><o:p></o:p></span></font></p>
    <p class=MsoNormal align=right style='text-align:right'><font size=2
    face="Times New Roman"><span style='font-size:10.0pt'>Subject</span></font><o:p></o:p></p>
    </td>
    <td width="100%" valign=top style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'><img width=1 height=1 id="_x0000_i1031"
    src="cid:image003.gif@01C69EA7.64B8AF70" border=0><br>
    </span></font><font size=2><span style='font-size:10.0pt'>PR Rejection
    Mystery</span></font><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>
  <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0>
   <tr>
    <td width=58 valign=top style='width:43.5pt;padding:0cm 0cm 0cm 0cm'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'><img width=1 height=1 id="_x0000_i1032"
    src="cid:image003.gif@01C69EA7.64B8AF70" border=0><o:p></o:p></span></font></p>
    </td>
    <td width=336 valign=top style='width:252.0pt;padding:0cm 0cm 0cm 0cm'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'><img width=1 height=1 id="_x0000_i1033"
    src="cid:image003.gif@01C69EA7.64B8AF70" border=0><o:p></o:p></span></font></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'><o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
</span></font><font color=navy face=Arial><span style='font-family:Arial;
color:navy'>I have been asking around some fairly knowledgeable people and no
one seems to have the answer to this. </span></font><br>
<br>
<font color=navy face=Arial><span style='font-family:Arial;color:navy'>Therefore
I throw down this challenge to the good people of the WUG (that means you). </span></font><br>
<br>
<font color=navy face=Arial><span style='font-family:Arial;color:navy'>As every
school child knows, if you want to release a Purchase Requisition <b><span
style='font-weight:bold'>in the background</span></b> you call
BAPI_REQUISITION_RELEASE_GEN </span></font><br>
<font color=navy face=Arial><span style='font-family:Arial;color:navy'>But what
do you do if you want to REJECT a Purchase Requisition? There does not seem to
be a reject FM anywhere.</span></font><br>
<br>
<font color=navy face=Arial><span style='font-family:Arial;color:navy'>Alon</span></font><br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>_______________________________________________</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">SAP-WUG mailing list</font></tt><br>
<tt><font face="Courier New">SAP-WUG@mit.edu</font></tt><br>
<tt><font face="Courier New"><a
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></font></tt></span></font><o:p></o:p></p>

</div>

</body>

</html>
<table><tr><td bgcolor=#ffffff><font color=#000000>This message is a privileged and private communication and may be read, copied and used only by <br>
the intended recipient(s). If you are not an intended recipient, please let us know by return email. <br>
Please then delete the message and do not disclose its contents to any person. Neither the sender nor <br>
Toyota South Africa Motors accepts any liability whatsoever as a result of the further dissemination <br>
of this message. Whilst all reasonable steps are taken to avoid corruption of data or information, <br>
we do not accept any liability should such corruption occur.<br>
</font></td></tr></table>