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

Using OOPS ALV... problem in displaying Header

Former Member
0 Likes
393

Hi guys,

I am using class cl_salv_table to display the output.. and so creating the header using the below statement

"add_column_hdr 'STEXT' 'Job Title'(f22) pt_output_hdr."**

The probelm is that some of the headings are not coming properly...

for example The Text "job title" is getting over wriiten by the LABEL of the DATA ELEMENT of the field 'STEXT'.

i am facing this problem for 4 fields..

Hope to hear from you guys soon.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

franois_henrotte
Active Contributor
0 Likes
337

depending on the column width, header text can be short or long

you should set your header text with methods SET_SHORT_TEXT, SET_MEDIUM_TEXT and SET_LONG_TEXT

1 REPLY 1
Read only

franois_henrotte
Active Contributor
0 Likes
338

depending on the column width, header text can be short or long

you should set your header text with methods SET_SHORT_TEXT, SET_MEDIUM_TEXT and SET_LONG_TEXT