Prob with Drill down ALV's Layout
I have developed a report with class based ALV grid.
First screen 100 - has an ALV for header details.
CALL METHOD G_GRID_100->SET_TABLE_FOR_FIRST_DISPLAY EXPORTING IS_VARIANT = GS_DISVARIANT IS_LAYOUT = GS_LAYOUT IT_TOOLBAR_EXCLUDING = GT_EXCLUDE I_SAVE = 'A' CHANGING IT_OUTTAB = GT_DATA IT_FIELDCATALOG = GT_FIELDCAT100.
on double click of any record in primary ALV, another screen 200 is called with line item details of that header in screen 100.
CALL METHOD G_GRID_200->SET_TABLE_FOR_FIRST_DISPLAY EXPORTING IS_VARIANT = GS_DISVARIANT1 IS_LAYOUT = GS_LAYOUT1 IT_TOOLBAR_EXCLUDING = GT_EXCLUDE I_SAVE = 'A' CHANGING IT_FIELDCATALOG = GT_FIELDCAT200 IT_OUTTAB = GT_LINEITEM.
Problem: what ever layout is set in header alv is being copied in lineitem alv.
I want to have independent layouts for primary and secondary ALVs.
How to do that.
Any help on this is highly appreciated.