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
809

hi guyz ,i cant see two names on the header of the alv report.i can see only dots(...) .........but when i drag it i can see the names on the header.........why is it so.....plz advise

thanks

sudheer

1 ACCEPTED SOLUTION
Read only

anversha_s
Active Contributor
0 Likes
777

hi,

chk this eg.

  fieldcatalog-fieldname   = 'EBELN'.
  fieldcatalog-seltext_m   = 'Purchase Order'.        "medium
  fieldcatalog-seltext_l   = 'Purchase Order'.          "long
  fieldcatalog-seltext_s   = 'Purchase Order'.        "small
  fieldcatalog-col_pos     = 0.
  fieldcatalog-outputlen   = 10.                             "output length
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.

pls refer this link.

http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm

Regards

Anver

hi guyz ,i cant see two names on the header of the alv report.i can see only dots(...) .........but when i drag it i can see the names on the header.........why is it so.....plz advise

thanks

sudheer

6 REPLIES 6
Read only

Former Member
0 Likes
777

You should increase the length of the coloumn output i.e. OUTPUTLEN of your field catalogoue.

Refer below link for more information:

/people/alvaro.tejadagalindo/blog/2006/11/27/dynamic-alv-list-display

Thanks,

Santosh

Read only

0 Likes
777

hi santosh,

thanks for ur answer........but it is not for every other fied on the header......they r alright ....its just for two fields............

Read only

0 Likes
777

just increase the ouput length of those fields and checkout

wa_fieldcat-outputlen   = 15.

Read only

Former Member
0 Likes
777

I believe you are displaying your column names in SELTEXT_L?

Thanks,

Santosh

Read only

anversha_s
Active Contributor
0 Likes
778

hi,

chk this eg.

  fieldcatalog-fieldname   = 'EBELN'.
  fieldcatalog-seltext_m   = 'Purchase Order'.        "medium
  fieldcatalog-seltext_l   = 'Purchase Order'.          "long
  fieldcatalog-seltext_s   = 'Purchase Order'.        "small
  fieldcatalog-col_pos     = 0.
  fieldcatalog-outputlen   = 10.                             "output length
  append fieldcatalog to fieldcatalog.
  clear  fieldcatalog.

pls refer this link.

http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm

Regards

Anver

Read only

0 Likes
777

thanks a lot guyz.........i gave u full points.........and am closing the thread

thanks once again.