A small query on ALV.
I am having a having the following ITAB, which has an ITAB within it as shown below.
DATA : BEGIN OF I_OUT_ITAB OCCURS 0,
IDNRK LIKE STPO-IDNRK, "COMPONENT
OJTXP LIKE MAKT-MAKTX, "Object description (item)
MENGE LIKE STPO-MENGE, "QUANTITY
STPRS LIKE MBEW-STPRS, "PRICE
LIFNR LIKE EORD-LIFNR. "VENDOR
INCLUDE STRUCTURE I_TOPLVL.
DATA : QTY_NEEDED TYPE I,
EXPAND TYPE C,
END OF I_OUT_ITAB.
The structure of the I_TOPLVL is as follows
DATA : BEGIN OF I_TOPLVL OCCURS 0,
IDNRK1 LIKE STPO-IDNRK,
STLNR LIKE STPO-STLNR,
MATNR LIKE MARA-MATNR,
END OF I_TOPLVL.
I have populated the I_OUT_TAB. Then I am building the fieldcatalog using
reuse_alv_fieldcatalog_merge, in this case the fieldcatalog is not having the
fields STLNR, MATNR which is there in nested structure? How to resolve the issue?