<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=998070805-29062007><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=998070805-29062007>Hi all,</SPAN></DIV>
<DIV><SPAN class=998070805-29062007></SPAN>&nbsp;</DIV>
<DIV><SPAN class=998070805-29062007>I have tried posting this query in sdn.sap 
in several places many times. But I have been continuously unsuccessful in 
obtaining a solution.</SPAN></DIV>
<DIV><SPAN class=998070805-29062007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=998070805-29062007>Also tried sending personal mails to several 
friends of mine, they donot know the solution.&nbsp; </SPAN></DIV>
<DIV><SPAN class=998070805-29062007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=998070805-29062007>Then I saw this group and thought, this is 
the best to post my query.</SPAN><SPAN class=998070805-29062007></DIV>
<DIV>
<P>I would be extremely grateful if&nbsp;<SPAN 
class=998070805-29062007>anyone</SPAN> could help me with the same:-</P>
<P>1. I am using Programming exits in my workflow step.</P>
<P>2. This step is linked to a Standard task that calls an OO 
method(courtesy:&nbsp;<SPAN class=998070805-29062007>Jocelyn's blog on sdn:- 
</SPAN>IF_WORKFLOW interface)</P>
<P>3. My ABAP method fetches the workflow container values directly as the 
container data is too huge to be bound.</P>
<P>4. WF container data is fetched and required master tables are updated 
successfully(MM in this case).</P>
<P>5. But my workflow errors displaying the message "the OO Method XYZ could not 
be executed". </P>
<P>6. The most interesting thing is:- The error persists even if i comment the 
whole code in the OO Method. </P>
<P>7. Am i going wrong anywhere??? Please help...</P>
<P>This is a problem that is lingering around me for a month now... I need the 
solution very badly...</P>
<P>Thanks a million in advance,</P>
<P>Best Regards,</P>
<P>Vinod<SPAN class=998070805-29062007> </SPAN><SPAN 
class=998070805-29062007>Viswanathan</SPAN></P>
<P><SPAN class=998070805-29062007>Fujtsu Consulting 
India.</SPAN></P></SPAN></DIV>
<DIV><SPAN class=998070805-29062007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> sap-wug-bounces@mit.edu 
  [mailto:sap-wug-bounces@mit.edu]<B>On Behalf Of </B>Dart, 
  Jocelyn<BR><B>Sent:</B> Friday, June 29, 2007 5:07 AM<BR><B>To:</B> SAP 
  Workflow Users' Group<BR><B>Subject:</B> RE: BOR - How to instantiate 
  EMPLOYEEI, EMPLOYEESU, ABSENCE, etc<BR><BR></FONT></DIV>
  <DIV id=idOWAReplyText78196 dir=ltr>
  <DIV dir=ltr><FONT face=Arial color=#000000 size=2>Well Cristina, If you are 
  on ECC 6.0&nbsp; how about... ditching the BOR altogether and creating ABAP OO 
  classess instead of BOR object types.&nbsp; You can then call HR_READ_INFOTYPE 
  or the equivalent BAPI where available (e.g. BAPI_EMPLOYEE_GETDATA, 
  BAPI_EMPLCOMM_GETDETAILEDLIST) from your class, completely control 
  whether&nbsp;HR Structural authorisation is used or not, and not have to deal 
  with a whole heap of historical red herrings from EMPLOYEET&nbsp;and BUS1065. 
  </FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>Cristina I know you are an ABAP-er - read 
  my blogs on ABAP OO for Workflow and you will find it is very simple to put a 
  class together quickly. </FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>Regards,</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2>Jocelyn </FONT></DIV></DIV>
  <DIV dir=ltr><BR>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu on behalf of 
  Cristiana D'Agosto<BR><B>Sent:</B> Thu 28/06/2007 3:10 PM<BR><B>To:</B> SAP 
  Workflow Users' Group<BR><B>Subject:</B> RE: BOR - How to instantiate 
  EMPLOYEEI, EMPLOYEESU, ABSENCE, etc<BR></FONT><BR></DIV>
  <DIV><BR><FONT face=sans-serif size=2>Hello Jocelyn,</FONT> <BR><BR><FONT 
  face=sans-serif size=2>I changed it as you suggested, logged out, logged on 
  again and still get the message 'Object does not exist'.</FONT> <BR><BR><FONT 
  face=sans-serif size=2>We are on ECC 6.0</FONT> <BR><BR><FONT face=sans-serif 
  size=2>Any other ideas? My new object was created by copying from EMPLOYEESU 
  (just like we did at Dept of Housing - gee that was sooooo long ago!) - I 
  generated the object, saved, refreshed buffers, the works. 
  </FONT><BR><BR><FONT face=sans-serif 
  size=2>Cheers,<BR><BR>Cristiana<BR>_________________________________<BR>Cristiana 
  d'Agosto<BR>IBM Global Business Services<BR></FONT><BR><BR><BR>
  <TABLE width="100%">
    <TBODY>
    <TR vAlign=top>
      <TD width="40%"><FONT face=sans-serif size=1><B>"Dart, Jocelyn" 
        &lt;jocelyn.dart@sap.com&gt;</B> </FONT><BR><FONT face=sans-serif 
        size=1>Sent by: sap-wug-bounces@mit.edu</FONT> 
        <P><FONT face=sans-serif size=1>28/06/2007 02:44 PM</FONT> 
        <TABLE border=1>
          <TBODY>
          <TR vAlign=top>
            <TD bgColor=white>
              <DIV align=center><FONT face=sans-serif size=1>Please respond 
              to<BR>"SAP Workflow Users' Group" 
              &lt;sap-wug@mit.edu&gt;</FONT></DIV></TD></TR></TBODY></TABLE><BR></P>
      <TD width="59%">
        <TABLE width="100%">
          <TBODY>
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
            <TD><FONT face=sans-serif size=1>"SAP Workflow Users' Group" 
              &lt;sap-wug@mit.edu&gt;</FONT> 
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
            <TD>
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
            <TD><FONT face=sans-serif size=1>RE: BOR - How to instantiate 
              EMPLOYEEI, EMPLOYEESU, ABSENCE, etc</FONT></TD></TR></TBODY></TABLE><BR>
        <TABLE>
          <TBODY>
          <TR vAlign=top>
            <TD>
            <TD></TD></TR></TBODY></TABLE><BR></TD></TR></TBODY></TABLE><BR><BR><BR><FONT 
  face=Arial size=2>Cristina, Check HR structural authorizations aren't killing 
  you. &nbsp;Put yourself in table T77UA with profile ALL. 
  <BR>Jocelyn<BR><BR>________________________________<BR><BR>From: 
  sap-wug-bounces@mit.edu on behalf of Cristiana D'Agosto<BR>Sent: Thu 
  28/06/2007 10:07 AM<BR>To: SAP Workflow Users' Group<BR>Subject: BOR - How to 
  instantiate EMPLOYEEI, EMPLOYEESU, ABSENCE, etc<BR><BR><BR><BR>Hi all, 
  <BR><BR>i am sure this is something silly that I might be forgetting to do... 
  <BR><BR>Several of the HR Objects have the following key: <BR>Personnel number 
  <BR>Subtype <BR>Object ID <BR>Lock indicator <BR>To <BR>&gt;From <BR>Record 
  number <BR><BR>I have created a new object type to represent Infotype 0019 and 
  set the key as above. I checked table PA0019 and entered the appropriated 
  values in the attributes when I tried to Create Instance via SWO1. <BR><BR>I 
  am in SWO1 and trying to 'test' the new object type but not getting anywhere. 
  I then tried to instantiate the SAP delivered ones (i.e. EMPLOYEEI, 
  EMPLOYEESU, ABSENCE) and getting nowhere as well. <BR><BR>Any ideas on what I 
  might be missing? <BR><BR>Sorry if this is a silly question &amp; thanks for 
  any help! 
  <BR><BR>Cheers<BR><BR>Cristiana<BR><BR><BR>_______________________________________________<BR>SAP-WUG 
  mailing 
  list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></FONT><BR></DIV></BLOCKQUOTE></BODY></HTML>