<br><font size=2 face="sans-serif">Hi Jocelyn,</font>
<br>
<br><font size=2 face="sans-serif">I am not an ABAP-er...I used to be an
SAP HR Functional Consultant that got so frustrated with a Workflow Consultant
that kept telling me that things couldn't be done that I decided to learn
Workflow (that was at Westpac!) - and here I am - 6 years later, still
learning Workflow!</font>
<br>
<br><font size=2 face="sans-serif">With the assistance of your OO Blogs,
I have already built 2 classes that I am using in my workflows. </font>
<br>
<br><font size=2 face="sans-serif">SAP delivers several classes for HR
e.g. CL_HRPA_INFOTYPE_0019 but I couldn't figure out how to 'use' this
class either - hence we built a BOR for it. I really don't know why I haven't
been able to instantiate any of the standard delivered SAP BOR that has
the key attributes:</font>
<br><font size=2 face="Arial">Personnel number <br>
Subtype <br>
Object ID <br>
Lock indicator <br>
To <br>
>From <br>
Record number </font>
<br>
<br><font size=2 face="sans-serif">I must be doing something really silly.</font>
<br>
<br><font size=2 face="sans-serif">I might build the class for it instead,
but I am still curious as to why i can't instantiate the SAP standard BOR...</font>
<br>
<br><font size=2 face="sans-serif">Any other ideas are more than welcomed!</font>
<br>
<br><font size=2 face="sans-serif">Cheers</font>
<br><font size=2 face="sans-serif"><br>
Cristiana<br>
_________________________________<br>
Cristiana d'Agosto<br>
IBM Global Business Services<br>
Mobile: &nbsp;+61 417 927 224<br>
cristiana.dagosto@au1.ibm.com</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Dart, Jocelyn&quot;
&lt;jocelyn.dart@sap.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">29/06/2007 09:37 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: BOR - How to instantiate EMPLOYEEI,
EMPLOYEESU, ABSENCE, etc</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Arial">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 HR Structural authorisation
is used or not, and not have to deal with a whole heap of historical red
herrings from EMPLOYEET and BUS1065. <br>
 <br>
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. <br>
 <br>
Regards,<br>
Jocelyn <br>
<br>
________________________________<br>
<br>
From: sap-wug-bounces@mit.edu on behalf of Cristiana D'Agosto<br>
Sent: Thu 28/06/2007 3:10 PM<br>
To: SAP Workflow Users' Group<br>
Subject: RE: BOR - How to instantiate EMPLOYEEI, EMPLOYEESU, ABSENCE, etc<br>
<br>
<br>
<br>
Hello Jocelyn, <br>
<br>
I changed it as you suggested, logged out, logged on again and still get
the message 'Object does not exist'. <br>
<br>
We are on ECC 6.0 <br>
<br>
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. <br>
<br>
Cheers,<br>
<br>
Cristiana<br>
_________________________________<br>
Cristiana d'Agosto<br>
IBM Global Business Services<br>
<br>
<br>
<br>
<br>
&quot;Dart, Jocelyn&quot; &lt;jocelyn.dart@sap.com&gt; <br>
Sent by: sap-wug-bounces@mit.edu <br>
<br>
28/06/2007 02:44 PM <br>
Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;<br>
<br>
<br>
To<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt; <br>
cc<br>
Subject<br>
RE: BOR - How to instantiate EMPLOYEEI, EMPLOYEESU, ABSENCE, etc &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
<br>
<br>
<br>
<br>
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>
<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font>
<br>