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

Similar Messages

  • Vertical Lines in Classical Report

    Hi,
    I am doing a Classical Report and I need a vertical line to be drawn between the fields. i.e. I want the coloumns to be separated by vertical lines but not the rows. Hope I am clear with my requirement. This is urgent please advice.
    Rgds,
    Manju

    Hi
    write sy-vline statement where u want vertical line.
    loop at it_kna1 into wa_kna1.
        write:/1 sy-vline,
              3 wa_kna1-kunnr,
              20 sy-vline,
              30 wa_kna1-name1,
              100 sy-vline.
      endloop.
    Edited by: Chaithanya A on Mar 19, 2008 8:15 AM

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

  • 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  2 increase line size of  classical report displayed thru  modular prog

    Hi guys,
    I have displayed a classical report through a modular program using LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 130.
    But now i want to increase the line-size of my classical report as only half of the report is getting displayed.
    I tried the following thing:-
    SY-LINSZ = 125.
    perform f_report_pass.
    *Print repost showing records which were not saved
    perform f_report_fail.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 130.
    but that did not work.
    Please help me increase the line size.
    Regards
    Rahul Gambhir

    Hi Vasanth
    I am using a modular program hence there isnt any statement :-
    REPORT ZXXX NO STANDARD PAGEHEADING LINE-SIZE 255
    This is the code that I am using :-
    SY-LINSZ = 200.
    perform f_report_pass.
    *Print repost showing records which were not saved
    perform f_report_fail.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 130.
    Regards
    Rahul

  • Decreasing the font size in a Classical report

    Hi all,
    i have to decrease the font size in the output of a classical report while printing. I have tried the following snippet:
    NEW-PAGE PRINT ON LINE-SIZE zeichen_pro_zeile
                        LINE-COUNT zeilen_pro_seite
                        NEW LIST IDENTIFICATION rl04i-prnew
                        KEEP IN SPOOL rl04i-prrel
                        IMMEDIATELY rl04i-primm
                        LIST NAME rl04i-plist
                        DESTINATION drucker
                        NO DIALOG.
    *PRINT-CONTROL  LPI 6.
       PRINT-CONTROL  LPI 10.
    but this is not working fine.
    Can anybody suggest something about it?
    Regards,
    Divya

    Hi,
    It is not possible to decrease the font-size in a classical report.
    We don't have any option to format the output in the reports..
    As per my knowledge, it is not possible to decrease or increase the font size in a classical report..
    one thing u can do is to do some setings at the printer side...
    Cheers,
    Simha.

  • Lines truncated in classical report when called from an interactive alv rep

    hi experts,
      i have an alv report after clicking a field in that alv report it has to go another screen(interactive) which is shown in classical format.
    the problem is when i am moving to classical format the columns  are getting truncated ...i tried increasing the line size of the report but no use.can any one guide me?
    with thanks in advance,
    syed

    Hi,
        The only option what you have is to write like below ...
    loop at itab.
    if v_count = 0.
       perform write_top_of_page.
    endif.
    ".... write your report ...
    v_count = v_count + 1.
    if v_count = 60. "<-- you want top-of-page after 60 lines (60 records per page.)
      clear v_count.
    endif.
    endloop.
    Regards,
    Srini.

  • 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

  • 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

  • Increase line width in classical report

    Hi
    I am customizing the ME2N  transaction, here I want to increase the line width and add few more fields to the output.
    How to do this?
    ..urgent help requiered please......

    Hello there,
    Make the changes as folows :::
    REPORT <Report Name> no standard page heading line-size 1023.
    This will solve your problem.
    Bu 1023 isthe maximum. Cannot go beyond this.
    reward if useful.
    regards,

  • Dynamic setting of line count and footer in classical report

    Hi all,
    In classical report,we can set line count and footer at the beginning of the report  as Line-count 6(2), here out of 6 lines 4 lines is for content and 2 lines is for footer (assume no standard heading), but if my report produces less content than 4 say 3 at run time ,then footer will not be displayed .Here again i have to set line count and footer as 5(2) in order to get the footer to be displayed ,so How can i achieve dynamic setting of the line count and footer,
    Thanks,
    Avinash

    Use RESERVE,
    START-OF-SELECTION.
    RESERVE 6 LINES.           "at the last of your code
    This will trigger a page-break & footer will be displayed.

  • 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

  • Header size in classical report

    Hi all,
       I  made a classical report. I want to give header font size 12 with italic.My Header title is 'PURCHASE DETAILS'. but header is comming in small font. can anybody tell me how can I give font size 12 with italic.
    Thanks,
    Rakesh

    Hi Rakesh,
    Refer to this link.
    ALV_LIST_DISPLAY Report Header Font Size
    Thanks!!

  • Line number in Classical Report

    Hi All,
    How to get current line number in Classical Report?
    i want to show that in my o/p.
    regards,
    Anuj

    Hi Anuj
    Please try like this
    there are 2 ways.
    READ CURRENT LINE FIELD VALUE <fieldname>.
    READ CURRENT LINE.
    first statement does'nt work on numeric type fields especially when there are commas ',' like 5,600,00.
    it'll give you dump.
    but always works on CHAR type.
    so in your case use second statement. though you're reading entire row but use only single field what ever you want.
    check this example.
    DATA : BEGIN OF itab OCCURS 0,
    matnr LIKE eban-matnr,
    menge LIKE eban-menge,
    END OF itab.
    AT LINE-SELECTION.
    READ CURRENT LINE.
    WRITE :/ itab-menge.
    START-OF-SELECTION.
    SELECT matnr menge INTO TABLE itab FROM eban UP TO
    10 ROWS WHERE matnr NE space.
    LOOP AT itab.
    WRITE :/ itab-matnr, itab-menge.
    HIDE : itab-matnr, itab-menge.
    ENDLOOP.
    Thanks
    venkat

  • LIST REPORT with line-size 279 to PDF document

    Hi,
      I have a classical report outputting dynamic internal table contents, I wanted this to be in PDF document. I have used LIST to PDF conversion technique to get PDF document, which is successful. But I see the font size is small.
    I have used FM: CONVERT_ABAPSPOOLJOB_2_PDF with the following values being passed.
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = l_id
          no_dialog                = space
         PDF_DESTINATION          = 'X'
         get_size_from_format     = 'X'
        IMPORTING
          pdf_bytecount            = l_bytecount
        TABLES
          pdf                      = t_pdf
        EXCEPTIONS
          err_no_abap_spooljob     = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_destdevice       = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          OTHERS                   = 12.
    when I make use of get_size_from format parameter in the FM, I'm able to get bigger font but layout is not proper (like page format should have been in LANDSCAPE but it is display PDF in PORTRAIT ).
    I'm trying to build PDF with LETTER format in LANDSCAPE orientation.
    I had searched enough threads in forum but no relevant answers for this type of issue.
    Appreciate your quick responses. Thank you.
    Best Regards,
    Babu

    So, you want to display the list in PDF in Lanscape format, right? You can do this:
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          layout               = 'X_65_132'
          no_dialog            = gc_x
          line_count           = 60
        IMPORTING
          out_parameters       = gs_print_params
          valid                = gv_valid
        EXCEPTIONS
          invalid_print_params = 2
          OTHERS               = 4.
      SUBMIT ztest_report TO SAP-SPOOL
                        SPOOL PARAMETERS gs_print_params
                        WITHOUT SPOOL DYNPRO
                        WITH p_date eq p_date
                        AND RETURN.
    * After getting the spool id, do the below
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = gv_rqident
          no_dialog                = space
          dst_device               = gs_print_params-pdest
        IMPORTING
          pdf_bytecount            = gv_bytecount
        TABLES
          pdf                      = gt_pdf
        EXCEPTIONS
          err_no_abap_spooljob     = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_destdevice       = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          OTHERS                   = 12.
      IF sy-subrc NE 0.
    *    MESSAGE text-e02 TYPE gc_e.
      ENDIF.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = gv_file
          filetype                = 'BIN'
        IMPORTING
          filelength              = gv_binsize
        TABLES
          data_tab                = gt_pdf
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.

Maybe you are looking for

  • Ichat can't see buddy

    i'm confused, i used to use ichat to video chat with friends regularly and for some reason recently cannot see the person i am chatting with when i attempt a video chat.  the other user can see/hear me, but i can't see/hear them.  help!

  • Different result from same SQL statement

    The following SQL statement brings back records using query analyzer on the SQL server. However when I run it in a cold fusion page it comes back with no results. Any idea why???????? SELECT COUNT(h.userID) AS hits, u.OCD FROM dbo.tbl_hits h INNER JO

  • Having Two Operating Systems on the same computer.

    Is it possible to have two operating system on one computer? I would like to have both Mac OSX 10.411 and Mac OSX 10.5 on my Power Mac G4. I would like to be able to access each system independently. So that I may use my editing software which is 10.

  • Status Bar Issue

    I have iChat, Bluetooth, Timemachine, VPN, Airport, and the battery status indicator all showing in the status bar, but if I want to change something, like set my status in iChat, all of the options in the drop down from the status bar are greyed out

  • PC USB Drive Problems

    I have an external Maxtor USB Drive 250 Gb formatted as NTFS with apart from other things pictures and mp3 files on it. They are in a folder called media. That folder is about 40 Gb. Every other folder except this folder appears in the Finder folder