Hi Expert,
This issue is with ALV Oops, while calling the method set_table_for_first_display, am passing the is_variant, i_save = 'X'.
Please find below code
*-----------------------------------------------------------------------
INITIALIZATION.
*-----------------------------------------------------------------------
G_REPID = SY-REPID. "Report
X_SAVE = 'A'. "The user may save all types of a layout
GS_VARIANT-REPORT = G_REPID.
CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = '/CRA/S_HOUSEHOLD'
IS_VARIANT = GS_VARIANT
I_SAVE = X_SAVE
IS_LAYOUT = GS_LAYOUT
I_DEFAULT = 'X'
CHANGING
IT_OUTTAB = GT_HEAD_OF_HOUSEHOLD.
This code is working fine in Development system but not working in quality system.
when i am passing blank structure to IS_VARIANT, its working fine in YEF system.
Could you please let me know, if i need to pass the blank structure to IS_VARIANT???
Or do i need to do something else.
I have debugged and found that
Set_table_for_first_display internally calls LOAD_VARIANT which finally calls
IMPORT LT_DBFIELDCAT TO RT_DBFIELDCAT
LT_DBSORTINFO TO RT_DBSORTINFO
LT_DBFILTER TO RT_DBFILTER
LT_DBLAYOUT TO RT_DBLAYOUT
FROM DATABASE LTDX(LT)
ID RS_VARKEY.
So this the final code which cause Dump in Quality system.
Please suggest me!!
Thanks and Regards,
Abhishek