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

Header Data in Report

Former Member
0 Likes
535

hi gurus,

my header data is too long and when i display my report, the header data gets truncated. May i know how can it be solved?

Please advise and hopefully with sample codes.

Thanks very much.

Example: header data:

Waiting for engr assigned/ Received - not assigned;request to change engr

truncated to: Waiting for engr assigned/ Received - not assi

thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
506

take taht dta in internal table nad display.

e.g.

data: begin of itab,

name(300),

end of itab.

loop at zemp.

itab-name = zemp-name.

endloop.

write:/ itab-name.

Read only

0 Likes
506

hihi,

thanks for fast respone.

however, im using ALV.

please kindly advise.

thanks alot.

Read only

0 Likes
506

Hi

Grid title in ALV is 70 characters long. Pls check the same.

Read only

0 Likes
506

hi ,

data: city(150),

city1(75),

city2(75),

city3(75).

&----


*& Form top_of_page

&----


  • text

----


form top_of_page.

select * from zemp into CORRESPONDING FIELDS OF itab where empno = '111'.

*****************************************************************

suppose u displaying city in header

suppose itab city is 150 char long u take it in a variable

suppose city (150) then first 75 chars u can take in other var

suppose city1(75) and next 75 char u can take in other var

city2(75).and display both var in top of page event

see the code below.

****************************************************************

city = ITAB-city.

city1 = city+0(75).

city2 = city+75(150).

ls_line-typ = 'H'.

ls_line-info = city1.

append ls_line to vn_top.

clear ls_line.

ls_line-typ = 'H'.

ls_line-info = city2.

append ls_line to vn_top.

clear ls_line.

endselect.