2011 Jul 27 11:03 AM
Hello,
I want to configure the output list of IW38, which uses an ALV Grid. Therefore I call the User Exit for ALVs IWOC0004.
After changing concrete variables (Layout, Fieldcat table), everything works fine. But when I use a Variant (field "Layout" at the end block of the Selection Screen), all user exit changes are gone (overriden by the variant).
What could I do to solve this?
Thank you,
Ivson
2011 Jul 27 11:34 AM
2011 Jul 27 12:04 PM
&----
*& Include ZXCSVU09 *
&----
field-symbols <FWA_FIELDCAT> type SLIS_FIELDCAT_ALV.
if IS_PROGRAM eq 'RIAUFK20'.
read table IT_FIELDCAT assigning <FWA_FIELDCAT>
with key FIELDNAME = 'GSBER'.
if SY-SUBRC eq 0.
<FWA_FIELDCAT>-COL_POS = 1.
<FWA_FIELDCAT>-NO_OUT = ' '.
<FWA_FIELDCAT>-HOTSPOT = 'X'.
endif.
endif.
2011 Aug 04 8:50 AM
I suppose that no variant should be used, in order to keep the changes.
Thank you.