Skip to Content
0
Jan 27, 2011 at 08:45 AM

convert structure to list of fields

43 Views

I have a variable whose type is a structure with 10 fields.

I would like to convert this data into a table with 10 lines, with the format:

FIELD_NAME | FIELD_VALUE (type STRING or REF TO DATA)

Is there any standard FM or method for this?

As a next step, i would like to compare two variables with the same (structured) type.

I would like to get all fields that are different into a table with the format above:

FIELD_NAME | FIELD_VALUE (type STRING or REF TO DATA)

Is there anything for that too?