04-24-2006 6:42 PM
Hi Friends,
My list width changes dynamically. So how to pass a variable to Line-Size addition of Report Statement.
Tnks,
rajesh
04-24-2006 6:51 PM
hi Rajesh,
You can use the command
new-page line-size <line-width>.
thanks and regards,
Kunal.
Please mark the helpful answer.
04-24-2006 6:50 PM
Checkout the system variable sy-LINSZ. Dont declare line size in report statmnet .
pass the line size to it and see its wokrs or not ..
<b>var = 150 or 250 max = 1023 ...</b>sy-LINSZ = var.
I hope this`ll give you some clue!!!
Thanks
Saquib
04-24-2006 6:51 PM
hi Rajesh,
You can use the command
new-page line-size <line-width>.
thanks and regards,
Kunal.
Please mark the helpful answer.
04-24-2006 6:51 PM
Hi Rajesh,
try if this works..Do not specify the line-size in the Report statement & pass the variable value to SY-LINSZ.
Regards,
Suresh Datti
04-24-2006 7:20 PM
Thanks for your response.
i am passing width to sy-linsz. but still some part of my list is not visible. and there is no horizontal scroll bar to scroll right side to check if my complete list is displayed. When i debugged it list width which i am passing is 166 but it is getting reassigned as 142.
04-24-2006 7:32 PM
04-24-2006 7:43 PM
I assigned in End of Selection just before displaying the list. because i know the list width only after my final internal table is ready to display.
04-25-2006 2:06 PM
Hi ,
If you want Horizontal Scroll Bar you can also use the following statement,
scroll list to column <column number>.
This will display your list starting with column number,so you can see your complete list and you will also get Horizontal Scroll bar.