Skip to Content
0
Former Member
Mar 10, 2009 at 02:53 PM

How to refer the fields of a nested structure

1120 Views

Hi friends,

I am facing problem in assigning value to nested structure fields.

I have import parameter in FM which is a Table type and line type (structure).

in this structure there are 4 fields.

Out of these 4 fields 1 is again a table type and line type(structure).

I need to populate this inner structures fields and then assign the values back to main table type.

e.g import parameter is zinput_detail type zdetail.

zdetail is a table type and has zdetail_line as structure.

zdetail_line fields are

salesorder

customer

date

weight is a field here and has table type as type i.e zweights.

again zweights has a line type zweight_line.

fields of zweight_line are

weight1

weight2.

Now i need to populate weight1 and weight 2 and then assign these values back to main field weight.

Kindly let me know, what to declare for referring to the inner structure this and how to access this.

Regards,

pradeep