Application Development 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: 

alv

Former Member
0 Kudos

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

anversha_s
Active Contributor
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

0 Kudos

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............

0 Kudos

just increase the ouput length of those fields and checkout

wa_fieldcat-outputlen   = 15.

Former Member
0 Kudos

I believe you are displaying your column names in SELTEXT_L?

Thanks,

Santosh

anversha_s
Active Contributor
0 Kudos

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

0 Kudos

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

thanks once again.