‎2007 Jul 17 6:03 AM
fieldcat-fieldname = 'REMNG'.
fieldcat-tabname = 'IT_OUT'.
fieldcat-ref_fieldname = 'GRIR_LIST_ITEM'.
fieldcat-qfieldname = 'MEINS'.
APPEND fieldcat TO p_fieldcat.
CLEAR : fieldcat.
fieldcat-fieldname = 'DMENG'.
fieldcat-tabname = 'IT_OUT'.
fieldcat-ref_fieldname = 'GRIR_LIST_ITEM'.
fieldcat-qfieldname = 'MEINS'.
APPEND fieldcat TO p_fieldcat.
CLEAR : fieldcat.
fieldcat-fieldname = 'DWERT'.
fieldcat-tabname = 'IT_OUT'.
fieldcat-ref_fieldname = 'GRIR_LIST_ITEM'.
fieldcat-qfieldname = 'DWERT'.
APPEND fieldcat TO p_fieldcat.
CLEAR : fieldcat.
Here in the fieldcatlog I am assigning values as mentioned in the above
So when I am executing in the background it is giving dump error GETWA_NOT_ASSIGNED in the following statements
assign component gs_fc-qfieldname
of structure t_outtab <unit>.
The reason for dump is qfieldname(ie qantity field name is MEINS)
But in the strutute t_outtab it consist of the field REMNG,DMENG
Any solution for this
‎2007 Jul 17 6:08 AM
Hi,
It is while creating a ALV list, you have to check and refer field names once again.
Check spelling, or Check strucutre properly.
Reward if useful!