Skip to Content
Mar 25, 2010 at 02:17 PM

Customize col text is not working with


Hi Friends,

To call the conversion routine attached in the domain (removing leading zeros OR shows the formatted output) we use ref_fieldname property in the field catalog. At the same time, we want to display our column text for this field/col in ALV.

Now, the conversion routine is working fine, it takes the input from the internal table format it and display in ALV output screen. But, it takes the col text from Data Element Short Text. Instead we want to display our col. text.

How do we do this ? (When we add ref_fieldname property, it overrides the seltext_l property)

Below are our field cat code.

wa_fieldcat-seltext_l = 'GODOWN MATERIAL'

wa_fieldcat-fieldname = 'MATERIAL'.

wa_fieldcat-outputlen = 15.

wa_fieldcat-tabname = 'IT_RESULT'.

wa_fieldcat-ref_tabname = 'MARA'.

wa_fieldcat-ref_fieldname = 'MATNR'.

We are using ECC 6.0 and using the FM 'REUSE_ALV_GRID_DISPLAY' to display output in ALV.

Kindly reply.

Kind regards,

Jegathees P.