change appearance for the task TS00008267

Raskin, Alon (Soliance) ARaskin at cps-satx.com
Fri May 11 08:50:26 EDT 2001


I just wanted to add some more on what Kjetil has said.....
 
When you subtype and object, all the methods from the 'parent' automatically
'inherited' to the child. However, these methods can be redefined. For
example, you can have the DISPLAY method on object PARENT and then you
subtype it to ZCHILD. ZCHILD will also have a reference to the DISPLAY
method on PARENT. When you execute it will actually execute the same code as
when you call PARENT. However, you can re-define the DISPLAY method to call
your code by selecting the method and then hitting the
RE-DEFINE button (i have attached a picture of the icon so you know what I
am talking about). Once this occurs, you can add re-code the method to your
liking (e.g. you can add parameters, exception, or simply change the code).
This is not a modification but is the recommended way of enhancing BOR
methods.
 
A word of warning, the method that you are enhancing (in this case DISPLAY)
is possibly being used in other workflows so make sure you consider the
effects of you changes not just for your workflow but for all the others
that could be using it. Also, if you have Customer Interaction Centre (CRM,
IS-U, Etc) installed, it could also possibly be using that method. Consider
the impact of you changes on other pieces of code/workflows. One of the
biggest No-Nos is to add a new mandatory parameter to a method. This is
because all the existing code that uses the methodwill not be passing
through this new parameter and hence will fail.
 
Also, I would recommend not using a reference to the Z object when creating
new tasks. When an object is delegated to a subtype then the parent can
reference any method on the subtype. So If I create a new method on ZCHILD
called ZMyNewMethod. I can add the object PARENT to a task then then I
should be able to see the new method ZMyNewMethod on the Help List for the
methods.
 
I hope I havent confused the situation, just wanted to add my 5 cents.
 
Regards,
 
Alon Raskin (xtn. 3183)
Workflow Advisor - Soliance
 
 
-----Original Message-----
From: Kjetil Kilhavn [mailto:KJETILK at statoil.com]
Sent: May 11 2001 1:15
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: change appearance for the task TS00008267
 
 
That will work right out of the box. The decision task is special. Just try
to
make a new standard task (and a step in a workflow) using the same object
and
method (process->decision) to verify it. You won't see anything like the
decision task.
 
However, you could try to make your own method as suggested here (e.g. using
delegation of the process object type to a zProcess object type) and then
change
the reference in the standard taks itself. Or you could make a copy of the
standard task (test it without changing object and method first) and use
your
new object type there.
--
Kjetil Kilhavn
 
 
 
 
|--------+------------------------------>
|        |          Flavio Oliveira     |
|        |          <oliveiraflavio at hotm|
|        |          ail.com>            |
|        |          Sent by: SAP        |
|        |          Workflow            |
|        |          <Owner-SAP-WUG at MITVM|
|        |          A.MIT.EDU>          |
|        |                              |
|        |                              |
|        |          10.05.2001 18:02    |
|        |          Please respond to   |
|        |          "SAP Workflow Users'|
|        |          Group"              |
|        |                              |
|--------+------------------------------>
 
>---------------------------------------------------------------------------
-|
  |
|
  |       To:     SAP-WUG at MITVMA.MIT.EDU
|
  |       cc:     (bcc: Kjetil Kilhavn)
|
  |       Subject:     Re: change appearance for the task TS00008267
|
 
>---------------------------------------------------------------------------
-|
 
 
 
I do not know if there is an easiest way to do this, but you can copy the
method that the decision task is based on and change it (abap program) to
fit your requirements. Than you create a new standard task based on this new
method to be your new user decision task.
 
I never did this, but could be a solution.
Flavio.
 
>From: Pedro Bezerra <pedrobezerra at yahoo.com>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: change appearance for the task TS00008267
>Date: Thu, 10 May 2001 12:06:41 -0300
>
>Hi all Workflows Gurus,
>
>I use workflow in SAP R/3 40b version. I have a
>problem with the appearance of user decision task. The
>buttons in task are very close and user press the
>other button in mistake. Anybody knows how i can
>change appearance of user decision task ?
>
>Tks a lot
>
>Pedro Bezerra
>
>___________________________________________________________________________
____________________
 
>Yahoo! GeoCities
>Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo!
>GeoCites. I facil e gratis!
>http://br.geocities.yahoo.com/
 
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 
 
-------------------------------------------------------------------
Statoil: The information contained in this message may be CONFIDENTIAL and
is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this
message.
Thank you.
 


More information about the SAP-WUG mailing list