Business Object in 4.6c
John A Haworth
jhoworth at csc.com
Fri May 17 08:43:57 EDT 2002
Alon
Thanks for your speedy response. I created and delegated my subtype. I
redefined two of the methods that had been inherited from IFARCH21,
although not adding any new code, I implemented and released them. They
then worked correctly, I guess that they hadnt been implemented and
released on the original.
John
Alon Raskin
<araskin To: SAP-WUG at MITVMA.MIT.EDU
@3i-consultin cc:
g.com> Subject: Re: Business Object in 4.6c
Sent by: SAP
Workflow
<Owner-SAP-WU
G
17/05/2002
12:05
Please
respond to
SAP Workflow
Users' Group
Hi John,
For some reason I can not see the pcx you have attached but I will say
this.
Methods that are inherited from an interface will never have code in them.
When
an Object inherits from an interface all it does is 'take on' the
attributes,
methods and events of that interface. You will need to redefine the methods
yourself on a delegated subtype.
Regarding the 'Local Implementation Recommended' method : You do not need
to do
this. It is simply suggested.
Also It is important to uderstand that you can not just create a method on
a
subtype with the same name. When you create the subtype of ECM you will see
all
the methods that are inherited. Select the method and hit the REDEFINE
button.
This will 'create' the method with all the inherited parameters and
exceptions
on your subtype. You can now define the code. You can add new parameters,
exceptions to the method but make sure that new parameters are not
MANDATORY as
this could cause problems (i dont think SAP will let you do this but just
in
case).
Kindest Regards,
Alon Raskin
3i Consulting Group
http://www.3i-consulting.com
Quoting John A Haworth <jhoworth at csc.com>:
> Hi all
>
> i get the following screen when i test the method Confirm on the
> business
> object ECM (Engineering Change Master)
>
> (Embedded image moved to file: pic24084.pcx)
>
> it looks as though this method is inherited from the interface IFARCH21,
> I
> get the same error for the Parameter method inherited from IFARCH2,
> can
> anyone help? (these methods are not ticked release in this BO) Neither
> have
> any code behind the method, do I have to create a delegated BO to
> IFARCH21
> with these methods Confirm and Parameter coded (do i use the same
> name?)
>
> Also looking at the same business object one method is displayed in
> dark
> red colour 'Local Implementation Recommended' does this mean, I
> should
> create a delegated BO with a method of the same name??
>
> Thanks
>
> John
>
More information about the SAP-WUG
mailing list