Object Services for Custom Object?

Roehlen, Peter PRoehlen at powercor.com.au
Tue Apr 30 23:31:28 EDT 2002


Hi Jocelyn,
 
We are on 4.6B and I don't see the floating toolbar button, is there
anything I specifically have to do to get this button to appear?  I assume
that I'm calling the Publish function correctly because the menu functions
work.
 
I'll have a look on OSS as well.
 
Thanks and regards
 
Peter Roehlen
Powercor Australia Ltd
(03) 9683 4613
0409 950 263
 
 
-----Original Message-----
From: Dart, Jocelyn [mailto:jocelyn.dart at sap.com]
Sent: Wednesday, 1 May 2002 06:22
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Object Services for Custom Object?
 
 
Hi Peter,
How the Generic Object Services appears in the menus and toolbars is
release dependent.  In 4.6 releases and above you do get a floating toolbar
button in the application toolbar area for generic object services.
I'm not sure if this is downgradeable though - you might want to put in
a query to OSS as well.
Regards,
Jocelyn Dart
SAP Australia (SRM, EBP, Workflow)
Ph: +61 412 390 267
e-mail: jocelyn.dart at sap.com
 
 
 
-----Original Message-----
From: Roehlen, Peter [mailto:PRoehlen at powercor.com.au]
Sent: Tuesday, 30 April 2002 3:48 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Object Services for Custom Object?
 
 
Hi Gavin & Jim,
 
Just want to thank you for asking the question Jim, and you for answering it
Gavin.  I looked high and low about six months ago for information on how to
do this and couldn't find any.  I think this is great functionality and I'm
really impressed with how easy it is to activate in customer developed
transactions.
 
One additional question:  The Generic Object Services functions that are
provided are kind of 'buried' in the System menu.  Some of these functions I
would like to make more visible by having a button on the application
toolbar.  What function code(s) do I need to use in my own buttons to
activate these system menu functions?
 
Regards
 
Peter Roehlen
Powercor Australia Ltd
(03) 9683 4613
0409 950 263
 
 
-----Original Message-----
From: Gavin West [mailto:sapworkflow at blueyonder.co.uk]
Sent: Sunday, 28 April 2002 00:21
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Object Services for Custom Object?
 
 
Hi Jim,
 
You need to call the SWU_OBJECT_PUBLISH at the beginning of the custom
transaction you have created to display or change the document that your
workflow is linked to. Also remember to call SWU_OBJECT_RESTORE when exiting
the transaction otherwise when you display a different document it will come
up with the previous documents workflow information as well.
 
The SWU_OBJECT_PUBLISH requires the key of the object if I remember
correctly. Usually I put it in the PAI module after the initial screen once
the user has typed in the document number and then you have the key.
 
Hope this helps.
 
Regards
Gavin West
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of Jim
Sauceman
Sent: Friday, April 26, 2002 15:16
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Object Services for Custom Object?
 
 
We created a custom business object and a workflow for it that works very
well. However, there is an additional feature we would like to activate.
For most workflow-enabled documents, one can click on
System-->Workflow-->Workflow overview and see the associated Workflow Log
for a document. This feature appears to fall under the category of "Generic
Object Services". I found documentation that said we need to "publish the
application document" by calling function module SWU_OBJECT_PUBLISH. We do
this immediately after the document's CREATE Event is raised. Debug shows
that we successfully call this routine and it inserts a record into a
table. For some reason, the Workflow overview feature still does not work
for these documents.
 
Has anyone developed a custom business object and implemented this feature?
Does anyone have any hints or suggestions?
 
Thank you in advance,
 
Jim Sauceman ...................... sauceman at utk.edu
University of Tennessee ................ Voice: (865) 974-2448
OIT Computer System Services ....... Fax: (865) 974-4810
Manager of Campus Database Administration
Project IRIS Workflow Team Leader
 
 
**********************************************************************
Powercor Australia Ltd. This email and any file attachments are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email in
error please tell us immediately by return email and delete the
document.
**********************************************************************
 


More information about the SAP-WUG mailing list