Changing Line-size of report dynamically

Dear all,
I want to have different line-size on my report for different options on selection screen.
can I get it ?
please let me know how to do it?
Thanks,
Amit

Hi Amit,
1. NEW-PAGE Line-Size xyz.
   This command will achieve what u want.
2. Try this code (just copy paste)
   we can specify the line size as input
   try with 7, 10, 5 etc.
3.
REPORT abc .
PARAMETERS : lsize TYPE i.
DATA : a(100) TYPE c.
a = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
NEW-PAGE LINE-SIZE lsize.
WRITE :/ a.
I hope it helps.
Regards,
Amit M.

Similar Messages

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • How to change line size in ABAP list

    Dear:
        As subject.
        My code as below:
       TOP-OF-PAGE.
        NEW-PAGE LINE-SIZE g_line LINE-COUNT 65.
       variable g_line dynamic.
       In my testing the 'NEW-PAGE LINE-SIZE' is not work.

    Hi,
    LINE-SIZE you have to define with report statement.
    report .......................     LINE-SIZE 255.
    Reagrds,
    Jyothi CH.

  • Line-size classical report

    The total no of characters in the report are 90. But when I set the line-size to 90, the print out comes out in landscape instead of portrait. I also changed the format to 65x132.  Is it possible to have 90 chars and print in portrait?

    You can check in trx SPAD. Click "Full Administration" in appli. toolbar. Go to "Device type" tab and specify X_65_132 under "Format types" field and click "Display".
    On the detail screen, click on "Edit" on the menu bar and choose "List Driver attributes". You can see the orientation there (Landscape or Portrait). I think by default it is Landscape.
    Hope this helps.
    Best regards,
    Hadiman

  • Change font size in reports

    Hi friends,
             I want to change the font size in  reports.
    i want example program for that.

    Hi,
    You can create workbook. Change the font size of the displayed result and save it. So every time you open the workbook and refresh the query output, the result will be displayed in the changed font size.
    Regards,
    Dinesh D

  • Change image size dynamically in BIP report

    Can we change the size of image dynamically in bip report. If yes can I get some doccument or samples on it.
    Thanks
    Aj

    I am doing small POC
    I have a rtf template with three sample images on it with three different sizes for 1” by 1” , 3” by 3” and 5” by 5”.
    I have a standard size of 2” by 2” image in my server (Could change size in future depending on req)
    Now when I run the report the template should call the standard image from server and replace the sample images on the rtf and show the the standard image in three different sizes.
    Pls let me know if i am missing something

  • Hi ,Maximum line size in the report

    What is the maximum line size inthe report.Some are saying 1023.Some are saying 255 characters.I am full confusing this concept.
    And if the line size mentiones in less than the length of the data in the write statement ,what happened?
    Sometimes it is coming in the next line , sometimes it is coming in the next line
    Please anyone provide the solutin

    hi,
    The line width determines the number of characters in the line buffer as well as the number of columns in the list displayed. The value width must be a positive numeric literal. The maximum line width is 1,023 characters.
    When the LINE-SIZE is not specified, the line width of the basic list is set to a standard width based on the window width of the current Dynpro, but is at least as wide as a standard size SAP window. For the standard width, the contents of sy-linsz is 0. The LINE-SIZE overwrites the value of the like-named LINE-SIZE addition to the statement SUBMIT and can be overwritten during list creation with the like-named LINE-SIZE addition to the statement NEW-PAGE.
    For screen lists, you should use the standard value since, as a rule, page breaks defaulted through LINE-COUNT are not adjusted to the window size.
    You should also use the standard value for print lists, so that you can still select the page size on a printer-specific basis. A print list should be created in such a way so that it can handle every page size.
    Specifying a fixed line count is only useful for form-type lists with a fixed page layout. Here, however, you should always check whether such forms can be created by other means, such as SAPScript forms.
    when line size is more than your data... your ouput screen will be dragging after all your output display..So bettery ou should use the standard value .
    Regards,
    Muhammed Safel

  • Adding extension "line-size 255" to a standard report on the first line

    Hi Experts,
    i want to modify the statment  from Report ztest1 message-id zm to Report ztest1 message-id zm and line-size 255.
    I am going to add the extension line-size 255 to the report statement in a standard report. There are no enhancement points near the first line. I have access key available, so i can make the changes to core mod.
    The problem is that if i run the report in background, out of the 8 fields, i only see the first 6 columns in the spool. remaining 2 fields are truncated.
    The reason for truncation is bcoz the line-size extension is not given to the report. What procedure do i have to follow to add the extension line-size 255?

    HI,
    You do not need any enhancement for it.
    If you have the access key then just add the additon line-size 255 to the repport statement.
    Regards,
    Ankur Parab

  • Change font size in Z-Report created from template

    A Z-report is being created from template which uses WWI.INI file integration to generate the report in Microsoft Word. In that report the text from phrases is passing over the specified text box. So all the phrases are not displayed.
    Now user either want the size of font to decrease or change the size of the box.
    We are going ahead with changing the font size. To do so we are editing the template in CG42. Is this approach is correct or we can change the font size from somewhere else??. If yes ,then how to proceed ??
    Your help will be greatly appreciated as I am new to EHS and have very limited knowledge.

    Hello Aasim,
    Just try it out
    If you are afraid to destroy something on the WWI template create a copy of the template and do your testing there....
    Read the SAP help on WWI.
    Can I edit font in the Microsoft Word file which is generated after I click "Document (F7)" button??
    Yes you can.
    If yes , then suppose I change the font size in a text box there.Does the font of phrase's text also changes accordingly when the report is generated.
    Yes.
    And does that change is for all the phrases in that text box ( since no. of phrases varies according to the specification)???
    Yes it will change the font size for all phrases in that text box.
    There is an option in WWI where you can change the text size dynamically if the text is in a real text box.
    However I'm currently not sure if this works for all kind of WWI templates or only for labels.
    Hope this helps
    Mark

  • Dynamically change in size of the custom container using ALV GRID (OOPS)

    Hi Gurus!!!!
    I have an issue with the output of the report which is developed using ALV GRID (OOPS). I have used the custom container occupying full screen (Screen painter). When I execute the report using my PC the output displays report as expected in full screen. The problem is when we execute this report in 19 INCH monitor then there is always gap below the report.
    As per my understanding we should have a code to change the size of custom container dynamically.
    Please suggest some help on this.
    Thanks,
    Hemal Shah

    Hi,
    If you set the attributes, Resizing - Vertical and Horizontal for the customer container, than system will resize the size of the custome continer as per the resolution.
    Hope it helps,
    Sumana

  • [Q] how to change lines in dynamic textfield

    Hi, I am struggling to change lines of loaded text from xml.
    Basically I wrote few sentences in one child of xml file but
    when i loaded it to dynamic textfield I cant change the lines.
    (i tried with <br> /n both didnt work, textfield was
    multilined)
    thank you for your time

    how much text are we talking about?
    What parameters have you set for the text field? multilane?
    html?
    What size is your text field?
    Just some basic questions to think about. I actually link to
    an external text file if I have too much text to deal with. However
    I usually write text box's in the code.
    You already have the text field, so you shouldn't need the
    create command, which I probably got wrong anyway.
    my_TXT.createTextFeild(name,depth, x, y, width, hight)
    my_TXT = new textformat ("my_format")
    my_format.size = 27
    my_format.mutilne = ture
    my_TXT.html = true
    my_TXT.htmltxt = "bla bla <b>bla</b>"
    my_TXT.format(my_format)
    Again I can't be sure I got all the names right, but
    that’s about how it works.
    Again you don't have to use that, but to get the text to work
    you at least need mutiline to be on. To get html to work, you need
    html to be on, and you need to use the htmltxt to write it to the
    txt field in code. However I’m not 100% on if that’s
    the correct way to write it.

  • ALV Report Print problem after 255 character line size

    Hi ABAP Gurus,
    I have created one alv report where i am getting output more then 255 character line size.
    so whenever i tried to print this report it print only line upto first 255 character and truncated after it in printing.
    is there any way i can print this report without truncation ....
    Thanks,
    Jack

    no there is no such way because you acan print at most 99 columns and utmost 255 characters .
    and alternative is take your filed in separate screen and make it appear through hotspot in another filedcatalog.then u will get more space .
    reward if useful
    keep rockin
    vivek

  • Changing the Size of generated graph in excel report generation toolkit

    Hi, i am trying to build a report generation vi for my Structural health monitoring system in which i need to export 3 graphs in to an excel report. The idea is to have the report on a single page, but when i paste them along with the ceiling and pillar deviation percentages, the report just exceeds the page limit. I wanted to know whether one can change the size of the graphs in excel? One can do it in word(tried that), but i dont want to use the bookmark option as it intend to put this up as a webservice in the next step. I am using LabVIEW 2009 Thanks.
    LabVIEW 8.2,8.6,2009...still learning
    Attachments:
    Report Generation SHM.vi ‏30 KB

    Hi,
    I haven't tried this myself, but looking through the report generation toolkit the "Excel format image VI" (in the Excel specific tab of the Report Genertaion window) looks to be the one you are after. The help entry for the VI says to: "Use this VI to format any type of image in a worksheet, including front panel images, images from a file, and graphs"
    Hopefully this will help.
    -CC 
    "If anyone needs me, I'll be in the Angry Dome!"

  • Can i  change font  size  in  jasper  exported  Html  report

    how can i change font size in jasper exported Html report.
    i also want table in that html report.

    So when is it going to be possible, I ask, as this is a question I and many others ask after each update!

  • How to change marker size in line graphs

    Hello,
    I'm using line graph and i show markers for the user know where to see a tooltip. I observed that the line markers are very big and clutter my graph when points are very close one anothers. I would like to make them smaller, but I don't know how to do it.
    Any help is appreciated.
    Thanks,
    Plan.
    <dvt:lineGraph ...>
    <dvt:seriesSet markerDisplayed="true">
    </dvt:seriesSet>
    </dvt:lineGraph>

    >System Preference>General
    this will change text size and associated icon size.

Maybe you are looking for