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

Former Member
0 Likes
530

hi to all when iam displaying output alv

the output field name is displaying from data base,

iwant to display here foe job no

but it is displaying refernce key from database

help me in this issue

WA_FCAT-COL_POS = W_VAR.

WA_FCAT-TABNAME = 'IT_FINAL'.

WA_FCAT-FIELDNAME = 'XREF1'.

WA_FCAT-KEY = 'X'.

WA_FCAT-HOTSPOT = 'X'.

WA_FCAT-REF_FIELDNAME = 'XREF1'.

WA_FCAT-REF_TABNAME = 'BSEG'.

WA_FCAT-SELTEXT_L = 'Job no'.

APPEND WA_FCAT TO IT_FCAT.

CLEAR WA_FCAT.

ADD 1 TO W_VAR.

thanks in advance

kiran kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
509

Hi

Set

WA_FCAT-SELTEXT_M = 'Job no'.

And see the result. It will surely display on the ALV list output.

Regards,

Raj

hi to all when iam displaying output alv

the output field name is displaying from data base,

iwant to display here foe job no

but it is displaying refernce key from database

help me in this issue

WA_FCAT-COL_POS = W_VAR.

WA_FCAT-TABNAME = 'IT_FINAL'.

WA_FCAT-FIELDNAME = 'XREF1'.

WA_FCAT-KEY = 'X'.

WA_FCAT-HOTSPOT = 'X'.

WA_FCAT-REF_FIELDNAME = 'XREF1'.

WA_FCAT-REF_TABNAME = 'BSEG'.

WA_FCAT-SELTEXT_L = 'Job no'.

APPEND WA_FCAT TO IT_FCAT.

CLEAR WA_FCAT.

ADD 1 TO W_VAR.

thanks in advance

kiran kumar

2 REPLIES 2
Read only

Former Member
0 Likes
510

Hi

Set

WA_FCAT-SELTEXT_M = 'Job no'.

And see the result. It will surely display on the ALV list output.

Regards,

Raj

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
509

Try setting the REPTEXT.

wa_fcat-REPTEXT = 'Job No.'.

Regards,

Rich Heilman