Business Object Repository : acccess to object in my object
Mark Pyc
mark.pyc at gmail.com
Tue Apr 12 10:26:20 EDT 2005
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
>
More information about the SAP-WUG
mailing list