Line-size line-count.

Hi frnds,
   I need to change the values of line-size and line-count dynamically. If option 1 is selected, then the line size should be 132 and line count 60 . if option 2 is selected then line size should be 60 and line count 90.
   How can i do. Please help me.
   Thanks in advance

Hi pankaj ,
   Thanks for ur reply. It works fine.
But in report statement i had
    Line-count 60(3).
How can i specify here. I can use new-page line-count 90.
But if i specify new-page line-count 90(3). It throughs an error.
How can i specify 3 value in newpage statement.
Please clarify my doubt. Whether the (3) value changes while specifying new-page or only 60 changes to 90 and (3) still remains for 90 line-count too.
Thanks in advance

Similar Messages

  • How to allocate space for headers in reports through line size r line count

    hi ,
    may i know how to allocate space for a header ( we do the same for footer through line-count ( footer space ) ) through line size or line count in reports...
    thanks in advance..

    Hi..,
    There is no need to reserve any space for the header. TOP-OF-PAGE can by default allocates the space for the header.
    If you still having confusion just  go ahead with this link. This is the research on same thing in defferent way.
    [Link|lines reservation for TOP-OF-PAGE & END-OF-PAGE;
    Thanks,
    Naveen.I

  • Line size and line count

    Hi all,
    May i know about line size and line count impact on reports ?
    i mean depending on line sizes values i.e 200 etc hw it will effect report either in output display  or length ?
    and also ablout line count too.
    Thanks in advance.

    This information may help you
    *... LINE-SIZE width *
    Effect
    This addition specifies the line width of the basic list and details list of the program to width characters, and sets the system field sy-linsz to this value. 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.
    Note
    The current maximum line width is stored in the constants slist_max_linesize of the type group SLIST. Also defined there is a type slist_max_listline of type c with length slist_max_linesize.
    *... LINE-COUNT page_lines[(footer_lines)] *
    Effect
    This addition specifies the page length for the basic list of the program to page_lines lines and fills the system field sy-linct with this value. If the LINE-COUNT is not specifed, and if page_lines are less than or equal to 0 or greater than 60,000, then the page length is set internally to 60,000. This setting overwrites the passed value of the like-named LINE-SIZE addition to the statement SUBMIT and can be overwritten during list creation with the like-named LINE-COUNT addition to the statement NEW-PAGE.
    If you optionally specify a number for footer_lines, a corresponding number of lines are reserved for the page footer, which can be described in the event block END-OF-PAGE.
    You must specify page_lines and footer_lines as numeric literals.
    Notes
    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.

  • LINE-SIZE setting

    Hi ,
    I have an output with a number of fields
    I have given the page setting like this ...
    REPORT zvms_purchasing
                LINE-SIZE 255
                LINE-COUNT 60
                NO STANDARD PAGE HEADING.
    But I need the line-size atleast upto 365 . How can I do it ? I think I can do it only till 255.
    Anyone please tell me how to increase this...
    Thanks
    Edited by: ramana peddu on Feb 23, 2008 1:12 AM

    Hi,
    try like dis.........
    REPORT zvms_purchasing
    LINE-SIZE 370
    LINE-COUNT 60
    NO STANDARD PAGE HEADING.
    Cheers,
    jose.

  • 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.

  • 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

  • How to define our line size in module pool?

    Dear Friends,
    I have requirment to increse the length or size of a list which is calling itself from a module pool using leave list processing.
    Please suggest me the way?
    Regards
    Ricky

    It is very much same like report programming.
    Report z******       Message-id 38       Line-Size  190       Line-Count 0       No Standard Page Heading.
    use this report command on top of page to define the line size.

  • Report Line Size

    hi
    Due to certain requirements I had to add a new field to the existing report, the report works fine but I had to increase the line size of the window...
    This works fine in foreground mode but when the user processes the report in the background mode and then takes the printout he sees that the data is scrambled and the last 2 fields come to the next line
    Please let me know what I need to do to now so that the data doesnt overflow to the next line...
    Points to every helpful answer as always

    Hi!
    Try using the standard sizes, they will work in background also.
    REPORT myreport LINE-SIZE 80 LINE-COUNT 65.
    REPORT myreport LINE-SIZE 120 LINE-COUNT 90.   "this is my favourite btw
    REPORT myreport LINE-SIZE 255 LINE-COUNT 65.
    REPORT myreport LINE-SIZE 132 LINE-COUNT 65.
    Regards
    Tamá

  • 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

  • How to increase line-size in Function module

    Hi All,
        How to increase line-size in function module..
    I am displaying a list in function module.The output is of width more than 150..
    Regards,
    Srinivas

    Hi Srini,
    U can try by setting the system variable SY-LINSZ = 150.
    or
    Use new page command.
    Vasanth

  • 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

  • Dbms_lob and line size problem

    Hi,
    below is a simple function which returns a CLOB.
    When I call this function from sqlplus and spool the result in a
    file via the SPOOL command I get a line break after 80 characters.
    When I replace in the function the CLOB type with a VARCHAR2 type
    the whole TESTSTRING is printed on ONE line.
    I do specify 'SET LINESIZE 200' in both cases and the length of
    TESTSTRING is smaller than 200 characters.
    How can I increase the line size for the CLOB case ?
    CREATE OR REPLACE FUNCTION GetSimple (
    RETURN CLOB
    IS
    RESULT CLOB;
    TESTSTRING CONSTANT VARCHAR2(4000) := '123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_AFTER_LINEBREAK' ;
    BEGIN
    -- create CLOB for RETURN
    dbms_lob.createtemporary(RESULT, TRUE);
    dbms_lob.writeappend(RESULT, length(TESTSTRING), TESTSTRING);
    RETURN RESULT;
    END GetSimple;
    /

    problem solved !
    I had to add
    SET LONGCHUNKSIZE 4096;
    default is 80

  • Line size in Spool output

    Hi
    in spool, wen i get the out put only upto line 255 is getting printed.Rest are getting truncated.How can I change the line size.Can it be done through the programmimg.In report if we define line size then it is valid only for the foreground job and not reflected in the back ground report.Please suggest the needful.

    Hi Rudra Prasanna ... 
    When u r select print button for printing a report.In output device give the output Device and then click on properties button below .
    It will take u to Spool request attributes.
    Now double click on format and press F4 on format
    Differt formats are available now select the format which gives Maximum coloums for printing.Then u can get the Maxi
    Fields at output.
    Hope this solves u r problem.
    Reward points if found helpful.
    Rajesh.

  • Maximum line size for OO ALV

    Hi,
    1) What is the maximum line size for OO ALV?
    Or in the other way round, how is the maximum column size for OO ALV when i using the method below:
      DATA: r_grid TYPE REF TO cl_salv_form_layout_grid.
      CREATE OBJECT r_grid.
      r_grid->create_text(
          row     = 2
          column  = 2
          text    = sy-mandt ).
    2) Another question, how to change the below time format:
    223801 -> 22:38:01?
    When I try to use sy-uzeit to display the header in ALV like below:
      CREATE OBJECT r_grid.
      r_grid->create_text(
          row     = 2
          column  = 2
          text    = sy-uzeit ).
    The ALV will be displaying 223801. How i can convert to format 22:38:01 and display it in ALV?
    Thanks.

    Hi,
    For your second qn.,try by declaring an extra field of type character of length 10 in the structure you are using for ALV.
    After that ,after you appended the records,just try the follg...
    loop at itab into wa.
    concatenate f10(2) ':' f12(2) ':' f1+4(2) into f2.
    modify itab from wa transporting f2 index sy-tabix.
    endloop.

  • How to maintain line size when converting word2007 to PDF?

    I use border and shading to make lines. When I converted, the line size just randomly change. The file looks really bad. I have tried lots of PDF printer softweare, but it keeps same problem. Does anyone know how to solve it?

    Hi Jenny,
    Please try changing following Preference Setting.
    Go to Edit -> Preferences -> Page Display -> Check "Enhance thin lines"
    Regards,
    Anoop

Maybe you are looking for

  • Plugin GUIs not showing up in Logic Pro 8

    Eg Multipressor only shows settings sliders....no interface view. Any ideas? Cheers Sty

  • Facing problem in hibernate

    I am writing following piece of code List<Address> li=session.createQuery("select p.id,p.name from Address p").list(); for(int i=0;i<li.size();i++) Address address=li.get(i); ------------(1) The code at line 1 is showing classcast exception Plz sugge

  • Photoshop CS5.5 extended and XP sp3 PAINFULLY SLOW

    I've reinstalled Photoshop to clear up the errors. Windows XP is fully updated. Disk is regularly cleaned and defragged But working in Photoshop is PAINFULLY slow with lots of processes just hanging for several minutes.  Mini-bridge will sometimes co

  • Unable to open e-mail since updating firefox yesterday

    updated firefox yesterday. since updating i have been unable to open e-mails in my account. I am able to open emails using google chrome. but would prefer to use firefox, when i log into my account it states i have undeffined mail and will not allow

  • Oracle 7.x connection through Java application.

    I have Win98 and Oracle 7.x on my P.C., I am developing an application in Java Menus where under one menu one can get a connection with the underlying Oracle DB. But even after proper JDBC coding I am not able to get the connection. Please help. Thna