Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV- reading from fixed values

former_member196517
Contributor
0 Likes
607

Hi Colleagues,

what field shall i set in field catalogue so that a description of fixed value key shall come in ALV and not the fixed value itself .. i think it is possible

Regards

Anuj

Hi Colleagues,

what field shall i set in field catalogue so that a description of fixed value key shall come in ALV and not the fixed value itself .. i think it is possible

Regards

Anuj

4 REPLIES 4
Read only

Former Member
0 Likes
580

field-col_pos = 4 .

afield-fieldname = 'LKAPV'.

afield-seltext_M = 'BIN CAPACITY'.

append afield to fieldcat.

CLEAR AFIELD.

try like this the field catalogue seltext_m will solve your problem i think so correct me if am wrong.

Read only

0 Likes
580

Hi Suresh,

there is no field called as seltext_m in the structure..LVC_S_FCAT

thanks

Anuj

Read only

0 Likes
580

hi,

try

SELTEXT

Read only

former_member386202
Active Contributor
0 Likes
580

Hi,

Do like this.

*--Call funtion module to build the field catalog

it_fieldcat-fieldname = 'ERDAT'.

it_fieldcat-seltext_m = text-005.

it_fieldcat-col_pos = 0.

it_fieldcat-outputlen = 8.

it_fieldcat-emphasize = 'X'.

it_fieldcat-key = 'X'.

APPEND it_fieldcat TO it_fieldcat.

Regards,

Prashant