Access to the attributes of an object reference

Zmudzin,Tomasz,VEVEY,GL-IS/IT Tomasz.Zmudzin at nestle.com
Mon May 19 10:52:07 EDT 2003


...
data: wa_versions type SWC_OBJECT.
...
...
loop at versions into wa_versions.
  SWC_GET_PROPERTY wa_versions 'MY_ATTRIB' my_variable.
endloop.
 
 
Of course instead of the loop you can also "read table ... into =
wa_versions
where ..."
 
Kind regards,
Tomasz
 
-----Original Message-----
From: Werner K=F6=DFl [mailto:werner.koessl at hirschvogel.de]
Sent: Monday,19. May 2003 15:02
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Access to the attributes of an object reference
 
 
Hi workflow experts,
 
i created a delegated subtype ZDRAW of the supertype DRAW.
In the implementation of ZDRAW i want to access to the multiline =
attribute
'DocumentVersions'.
 
I did it the following way:
  DATA document TYPE swc_object.
  DATA versions TYPE swc_object OCCURS 0.
 
  swc_create_object document 'DRAW' object-key.
  swc_get_table_property document 'DocumentVersions' versions.
 
But how can i access to the attributes of the object reference =
'versions'
now???
 
Thanks in advance!
Werner.
 


More information about the SAP-WUG mailing list