‎2007 Nov 21 7:01 PM
Hi,
Go through the following.
write sy-uname into lw_user.
write sy-datum into lw_date.
write sy-pagno into lw_pagno.
append gw_top_of_page into gt_top_of_page.
concatenate lw_user lw_date lw_pagno into lw_heading seperated by space.
write lw_heading and the other stats.
When I use the above statements in top of page in ALV the display in the header part is as follows.
user:satya date:21-11-2007 pageno:1
If I want to increase the gap between each field as mentioned below what is to be done?
user:satya date:21-11-2007 pageno:1
simply i need to display with spaces in between.
regards
satya
‎2007 Nov 21 7:09 PM
Declare lw_use, lw_date & lw_pageno with more length.
Or
CONSTANTS: GC_SPACE(5) type c value ' '.
concatenate lw_user lw_date lw_pagno into lw_heading seperated by gc_space.
Reward Points if this helps,
Satish
‎2007 Nov 21 7:09 PM
Declare lw_use, lw_date & lw_pageno with more length.
Or
CONSTANTS: GC_SPACE(5) type c value ' '.
concatenate lw_user lw_date lw_pagno into lw_heading seperated by gc_space.
Reward Points if this helps,
Satish
‎2007 Nov 21 7:10 PM
Try this method.
data:wf1,
wf2,
wf3(20).
data : wf_4(10) type c.
wf1 = 'A'.
wf2 = 'B'.
concatenate wf1 wf2 into wf3 separated by wf_4.
I have declared the variable wf_4 with length of 10 spaces. Check if this works.
It works in Normal list output.
Reward Points if useful.
Regards,
Abhishek