Skip to Content
0
Feb 23, 2007 at 06:29 PM

Accessing an included structure .

18 Views

I have an internal table that has an included structure. This structure has 45 fields of the same type. I need to get a specific entry from this table and then read, and eventually modify, a field in the included structure. I assumed I could read it like the code below but it gives me a syntax error. wa_detail is a work area and days is the structure with index_days being the index.

FORM updatedaystructure .

DATA: temp_quantity TYPE i.

temp_quantity = wa_detail-days INDEX index_day.

ENDFORM.

Regards,

Davis