‎2008 Aug 12 4:28 AM
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.
‎2008 Aug 12 5:26 AM
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.
‎2008 Aug 12 11:16 AM
hihi,
thanks for fast respone.
however, im using ALV.
please kindly advise.
thanks alot.
‎2008 Aug 12 11:21 AM
Hi
Grid title in ALV is 70 characters long. Pls check the same.
‎2008 Aug 14 5:08 AM
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.