Updating Virtual attribute
Michael Pokraka
workflow at quirky.me.uk
Tue Feb 10 12:57:48 EST 2004
Hi,
Is the attribute set to implemented?
Cheers
Mike
Wiz David wrote:
> Hi,
>
>
> I work on business object bus2045 that contain bus2045.Material .
>
> I created a customer object ybus2045 and new virtual attribute
> ybus2045.Vmatnr
>
> This virtual attribute store the first two characters of the bus2045.M=
aterial
>
> The code is:
>
> ****
>
> GET_PROPERTY PREMATNR CHANGING CONTAINER.
>
> DATA: L_MATERIAL LIKE QALS-MATNR.
>
>
>
> SWC_GET_ELEMENT CONTAINER 'Material' L_MATERIAL.
>
> OBJECT-PREMATNR =3D L_MATERIAL (2(.
>
> SWC_SET_ELEMENT CONTAINER 'PreMatnr' OBJECT-PREMATNR.
>
> END_PROPERTY.
>
> ****
>
> My question is while I tested the workflow the Material container is fu=
ll but
> the parameter L_MATERIAL is empty and PreMatnr also empty, What isn t o=
k in
> this code?
>
>
>
> TIA
>
>
>
> Wiz
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online
>
>
More information about the SAP-WUG
mailing list