Business Object Repository : acccess to object in my object

Caillet, Eric Eric.Caillet at logicacmg.com
Tue Apr 12 10:55:04 EDT 2005


Ok, the attribut is called MANAGER but his type is BOR object, after i want
to access to attributs to MANAGER object like :

MANAGER-NAME
MANAGER-ADDRESS
... 

-----Original Message-----
From: Mark Pyc
To: SAP Workflow Users' Group
Sent: 12/04/2005 16:26
Subject: Re: Business Object Repository : acccess to object in my object

If your attribute is called MANAGER than the code must be:

swc_get_property SELF 'MANAGER' lv_emplt.

Have fun,
Mark

On Apr 12, 2005 3:12 PM, Caillet, Eric <Eric.Caillet at logicacmg.com>
wrote:
> Hi,
> 
> thanks for answer but your sample code don't work. My customer owns
SAP 4.5B
> version
> 
> I've created a BOR object named Z_myobject :
> 
> - Attributs :
> 
>  . START_DATE (type SYST-DATUM)
>  . END_DATE   (type SYST-DATUM)
>  . MANAGER    (type BOR EMPLOYEET)
>  ...
> 
> - Methods
> 
>  . Check_actors
> 
> In the Check_actors method i want to access to the MANAGER attribut.
So i
> must do this ? ->
> 
> BEGIN_METHOD CHECK_ACTORS CHANGING CONTAINER.
> DATA : lv_emplt    TYPE swc_object.
> 
> swc_get_property SELF 'MANAGER-NAME' lv_emplt.
> ...
> 
> END_METHOD
> 
> 
> This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


More information about the SAP-WUG mailing list