<!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.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=594455014-02072007><FONT face=Arial
color=#0000ff size=2>Cristiana,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594455014-02072007><FONT face=Arial
color=#0000ff size=2>Please try the object EMPLOYEET, you only need
the personnel number and date. Also be certain that you have all required
security to view the employee, including structural on your position if
required.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594455014-02072007><FONT face=Arial
color=#0000ff size=2>Best of Luck,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594455014-02072007><FONT face=Arial
color=#0000ff size=2>Sherie</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Cristiana
D'Agosto<BR><B>Sent:</B> Thursday, June 28, 2007 8:00 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></DIV><BR><FONT face=sans-serif size=2>Hi Jocelyn,</FONT> <BR><BR><FONT
face=sans-serif size=2>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 face=sans-serif size=2>With the assistance of your OO Blogs, I
have already built 2 classes that I am using in my workflows.
</FONT><BR><BR><FONT face=sans-serif size=2>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 face=Arial size=2>Personnel number <BR>Subtype
<BR>Object ID <BR>Lock indicator <BR>To <BR>>From <BR>Record number
</FONT><BR><BR><FONT face=sans-serif size=2>I must be doing something really
silly.</FONT> <BR><BR><FONT face=sans-serif size=2>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 face=sans-serif size=2>Any other ideas are
more than welcomed!</FONT> <BR><BR><FONT face=sans-serif size=2>Cheers</FONT>
<BR><FONT face=sans-serif
size=2><BR>Cristiana<BR>_________________________________<BR>Cristiana
d'Agosto<BR>IBM Global Business Services<BR>Mobile: +61 417 927
224<BR>cristiana.dagosto@au1.ibm.com</FONT> <BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>"Dart, Jocelyn"
<jocelyn.dart@sap.com></B> </FONT><BR><FONT face=sans-serif
size=1>Sent by: sap-wug-bounces@mit.edu</FONT>
<P><FONT face=sans-serif size=1>29/06/2007 09:37 AM</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"
<sap-wug@mit.edu></FONT></DIV></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"
<sap-wug@mit.edu></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></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT face=Arial
size=2>Well Cristina, If you are on ECC 6.0 how about... ditching the BOR
altogether and creating ABAP OO classess instead of BOR object types. 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>"Dart, Jocelyn"
<jocelyn.dart@sap.com> <BR>Sent by: sap-wug-bounces@mit.edu
<BR><BR>28/06/2007 02:44 PM <BR>Please respond to<BR>"SAP Workflow Users' Group"
<sap-wug@mit.edu><BR><BR><BR>To<BR>"SAP Workflow Users' Group"
<sap-wug@mit.edu> <BR>cc<BR>Subject<BR>RE: BOR - How to instantiate
EMPLOYEEI, EMPLOYEESU, ABSENCE, etc
<BR><BR>
<BR><BR><BR><BR><BR>Cristina, Check HR structural authorizations aren't
killing you. 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>>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 & 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></BODY></HTML>