Reading values in an object table
Fourn Patrick
FournPatrick at JohnDeere.com
Mon Jul 24 15:51:48 EDT 2000
I hope I understand your question.
Do you mean reading multiple records from a database table?
If yes, then read the contents of your table into an internal table then
append this table to a multiline virtual attribute, instead of creating
multiple single line virtual attributes for each field you are trying to
read.
Regards.
Patrick.
ABAP Developer
John Deere.
FournPatrick at JohnDeere.com
> -----Original Message-----
>> From: Mark Huffman [SMTP:m.r.huffman at worldnet.att.net]
> Sent: Monday, July 24, 2000 3:31 PM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Reading values in an object table
>
> I am wondering what the effort involved is to grab a value from an
> object table when the field is not defined as an Attribute.
>
> There are lots of business objects defined with only a handful of
> attributes, but the underlying table might have dozens of fields. Are
> these fields generally available within the object program because of
> the read that occurs near the beginning of the program or is the only
> way to read them to define new attributes and then read the values with
> a swc_get_property statement?
>
> Specifically I am interested in reading additional values from BSEG.
>
> Any comments? Don't tell me to write a new select statement because I am
> trying to use the macros and tools within object programming.
>
> Mark
More information about the SAP-WUG
mailing list