Workflow error while using ABAP OO Methods
Alon Raskin
araskin at 3i-consulting.com
Fri Jun 29 04:07:08 EDT 2007
Is it possible that the problem is in the programming exit?
Alon Raskin
e: araskin at 3i-consulting.com <mailto:araskin at 3i-consulting.com>
p: +1 207 523 3489
c: +1 207 409 4983
f: +1 806 403-4983
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Vinod Viswanathan
Sent: Friday, June 29, 2007 2:08 AM
To: SAP Workflow Users' Group
Subject: Workflow error while using ABAP OO Methods
Hi all,
I have tried posting this query in sdn.sap in several places
many times. But I have been continuously unsuccessful in obtaining a
solution.
Also tried sending personal mails to several friends of mine,
they donot know the solution.
Then I saw this group and thought, this is the best to post my
query.
I would be extremely grateful if anyone could help me with the
same:-
1. I am using Programming exits in my workflow step.
2. This step is linked to a Standard task that calls an OO
method(courtesy: Jocelyn's blog on sdn:- IF_WORKFLOW interface)
3. My ABAP method fetches the workflow container values directly
as the container data is too huge to be bound.
4. WF container data is fetched and required master tables are
updated successfully(MM in this case).
5. But my workflow errors displaying the message "the OO Method
XYZ could not be executed".
6. The most interesting thing is:- The error persists even if i
comment the whole code in the OO Method.
7. Am i going wrong anywhere??? Please help...
This is a problem that is lingering around me for a month now...
I need the solution very badly...
Thanks a million in advance,
Best Regards,
Vinod Viswanathan
Fujtsu Consulting India.
-----Original Message-----
From: sap-wug-bounces at mit.edu
[mailto:sap-wug-bounces at mit.edu]On Behalf Of Dart, Jocelyn
Sent: Friday, June 29, 2007 5:07 AM
To: SAP Workflow Users' Group
Subject: RE: BOR - How to instantiate EMPLOYEEI,
EMPLOYEESU, ABSENCE, etc
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.
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.
Regards,
Jocelyn
________________________________
From: sap-wug-bounces at mit.edu on behalf of Cristiana
D'Agosto
Sent: Thu 28/06/2007 3:10 PM
To: SAP Workflow Users' Group
Subject: RE: BOR - How to instantiate EMPLOYEEI,
EMPLOYEESU, ABSENCE, etc
Hello Jocelyn,
I changed it as you suggested, logged out, logged on
again and still get the message 'Object does not exist'.
We are on ECC 6.0
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.
Cheers,
Cristiana
_________________________________
Cristiana d'Agosto
IBM Global Business Services
"Dart, Jocelyn" <jocelyn.dart at sap.com>
Sent by: sap-wug-bounces at mit.edu
28/06/2007 02:44 PM
Please respond to
"SAP Workflow Users' Group" <sap-wug at mit.edu>
To
"SAP Workflow Users' Group" <sap-wug at mit.edu>
cc
Subject
RE: BOR - How to instantiate EMPLOYEEI, EMPLOYEESU, ABSENCE, etc
Cristina, Check HR structural authorizations aren't
killing you. Put yourself in table T77UA with profile ALL.
Jocelyn
________________________________
From: sap-wug-bounces at mit.edu on behalf of Cristiana
D'Agosto
Sent: Thu 28/06/2007 10:07 AM
To: SAP Workflow Users' Group
Subject: BOR - How to instantiate EMPLOYEEI, EMPLOYEESU,
ABSENCE, etc
Hi all,
i am sure this is something silly that I might be
forgetting to do...
Several of the HR Objects have the following key:
Personnel number
Subtype
Object ID
Lock indicator
To
>From
Record number
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.
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.
Any ideas on what I might be missing?
Sorry if this is a silly question & thanks for any help!
Cheers
Cristiana
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070629/c0aa98bc/attachment.htm
More information about the SAP-WUG
mailing list