Unwanted Blank Line at Top of Page

Hello.
When a paragraph ends at a page bottom, the blank line (which normally appears between paragraphs) appears at the top of the next page.
But this looks stupid. And I don't see which setting can resolve all instances of this.
I really don't want to manually remove these - if I add a line of text somewhere in my book, it will affect all of the manual fixes.
Thanks very much!

Thanks for your endorsement, Yvan, but please don't rush so quickly into the future. I've lived through two-thirds of Century XX and so far have survived one decade of Century XXI but I have no desire to witness Century XXII. I'm guessing that your "I" key burped.
Seriously, there are still a surprising number of people who carry over the typewriter habits of double spacing after sentences and double returning after paragraphs. This causes them some grief, as shown by the problem reported by the OP.

Similar Messages

  • Unwanted blank lines inserted into the page bean

    For some reason after using the visual editor and then switching to the java view, I notice that there are extra blank lines inserted between lines in the file. The extra lines can accumulate making the file very large and unusable. This has only started happening after installing the latest hot fix. Is there a fix for this?
    Thanks,

    Hi mitsu,
    We did send out some updates via UpdateCenter just two days back. One of the fixes in there would fix the extra empty lines issue.
    Please get this update downloaded and installed on your Creator Installation.
    It should fix your issue.
    Could you please confirm if this fixes your issue?
    Regards,
    Sakthi

  • Print Apps won't print with C510a eStation. Prints thin line at top of page.

    My C510a eStation printer will not print using the Print Apps.  It just prints a thin line at top of page.  Everything works fine until I print.
    All other print functions work.  It prints from computer via WiFi.  It prints when I send an email to it.  It copies via the Zeen.  It just won't print using the Print Apps.
    Does anyone else have this problem?  What is the solution?
    12/23/2010 3:00PM.  I just got off the phone with an HP engineer.  She said that the eStation is still in the TESTING phase and to call to report problems so they can improve the product.  (I would have thought the product would have been fully tested before being released to the public!)
    She had me reset the Zeen display by holding down the volume keys while powering up.  This erased everything that had been done on the Zeen by me and resulted in no HOME screens, which will have to be set up by me.  The only app at the bottom of the blank home page was Yahoo!.  Even the printer app was missing.  I had to move it from the app tray to the home page.  Now, I have to spend hours, again, setting up the Zeen.
    After the reset, the printer apps seem to work now.  The Zeen will copy using the printer app.  My computer still seems able to print and scan to/from the eStation.
    The eStation C510a eStation printer and Zeen display are very exciting.  However, they are not for someone not willing to spend the time to get it to work properly.  If you have a cell phone, be prepared to use up a lot of minutes while on support.
    The HP engineer said that it will soon have a new release of Android operating on the Zeen which will allow it to be faster.
    This question was solved.
    View Solution.

    I have decided to return this printer to the store as it just has too many problems.  HP has essentially told me they will not issue updates to solve the problems.  I hate this, as I really loved the product.

  • Spool output conatins unwanted blank line

    Hi all,
    I've just written a new program that outputs a report to the spool when run in batch mode. The report looks great aside from an unwanted blank line that appears in the middle of the report when I view the spool...if I run the program from the command line and set the sy-batch variable to write the spool contents to the screen I see no blank line. how do I get rid of the blank line?  Thanks in advacne for any assitance provided.
    Mat

    Hi Mat,
    The blank line you see on the spool (as distinct from the screen) is probably a page break.  The spool will always apply a page format and split the list according to the length of the page.
    I guess you can get round this by creating a page format with the maximum number of lines (99999 lines).
    Regards,
    Nick

  • How to display horizontal line in top-of-page by using object oriented ALV?

    How to display horizontal line in top-of-page by using object oriented ALV.
    I am created top-of-page in object oriented alv.
    But not be successes in showing horizontal line in it.
    Can any one pls give solution for this..
    Thanks and regards..

    Hi
    Try like this
    data: gt_list_top_of_page type slis_t_listheader. " Top of page text. 
    Initialization. 
    perform comment_build using gt_list_top_of_page[]. 
    form top_of_page. 
    * Note to self: the gif must be loaded into transaction OAOR with 
    * classname 'PICTURES' AND TYPE 'OT' to work with ALV GRID Functions. 
    * I Loaded NOVALOGO2 into system. 
    call function 'REUSE_ALV_COMMENTARY_WRITE' 
         exporting 
    * I_LOGO = 'NOVALOGO2' 
    * i_logo = 'ENJOYSAP_LOGO' 
             it_list_commentary = gt_list_top_of_page. 
    endform. " TOP_OF_PAGE 
    form comment_build using e04_lt_top_of_page type slis_t_listheader. 
    data: ls_line type slis_listheader. 
          clear ls_line. 
          ls_line-typ = 'A'. 
          ls_line-info = 'Special'(001). 
          fgrant = xgrant. 
          concatenate ls_line-info fgrant 
          'Stock Option Report to the board'(002) 
                 into ls_line-info separated by space. 
                        condense ls_line-info. 
          append ls_line to e04_lt_top_of_page. 
    endform. " COMMENT_BUILD
    Use following syntex for footer print in alv:
    * For End of Page
    form END_OF_PAGE.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      write: sy-uline(50).
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    *  For End of Report
    form END_OF_LIST.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    check this link
    http://abapprogramming.blogspot.com/
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5dc3e690-0201-0010-1ebf-b85b3bed962d
    Changing width of a custom container dynamically
    Display Page numbers in ALV
    Insert picture in selection screen.
    Logo in OO ALV Grid
    Reward all helpfull answers
    Regards
    Pavan

  • How to suppress blank line in top and end of portlet

    I created one small report (portlet) however when i execute this one; i remarked there is one blank line in the top
    and another one at the end of the report. How can i eliminate these lines. I need this space to be able to see
    a lot of information in the same page.
    I use portal 3.0.9.2

    After developping a lot of portlet and read a lot of TAR on metalink and a lot of message on OTN i discovered the solution.
    Wnen you create one report with the wizard there is no way to erase the first line ( header ) in the result.
    Second for the last line of the results ( blank line ) ; the problem is with netsacpe 4.75 ( no problem with internet explorer )
    with Netscape you will see one blank line and not with internet explorer ( confirm with Oracle support )
    Anyway in the place of developping one report with the wizard ; you can copy and paste your sql statement of your report
    inside one dynamic page and control all you want.
    I will give you one example than i created; i hope it will help other persons like me
    ( we need to read a lot of thing to do something really simple with portal )
    <HTML>
    <HEAD>
    <style type="text/css">
    <!--
    .TabFontText {
    font-family: Arial, Helvetica;
    font-size: 9pt;
    -->
    </style>
    </HEAD>
    <BODY>
    <ORACLE>
    begin
    htp.p('<table cellspacing=0>');
    for c in ( select '<a TARGET="_blank" HREF="http://'||ssdw_portal.pkg_globl.
    fnc_get_server_port||'/pls/portal30/docs/FOLDER/SSDW_AIDE/'||replace(item.name,
    ' ','+')||'">'||item.display_name||'</a>' filename , to_char(item.updatedate,'dd/mm/yyyy hh24:mi') last_updated
    FROM portal30.wwsbr_all_items item ,
    portal30.wwsbr_all_folders folder
    WHERE folder.name = 'SSDW_AIDE'
    and folder.caid = item.caid
    and folder.id = item.folder_id
    and item.language = 'us'
    and item.name like 'GUIDE%ANG%'
    order by item.name ) loop
    htp.p('<tr>');
    htp.p('<td bgcolor=#CCCCCC width=325>');
    htp.p('<font class="TabFontText" >');
    htp.p(c.filename);
    htp.p('</td>');
    htp.p('</font>');
    htp.p('<td bgcolor=#CCCCCC width=125>');
    htp.p('<font class="TabFontText">');
    htp.p(c.last_updated);
    htp.p('</td>');
    htp.p('</font>');
    htp.p('</tr>');
    end loop;
    htp.p('</table>');
    end;
    </ORACLE>
    </BODY>
    </HTML>
    Marc Fortin
    [email protected]

  • Before header pl/sql process creates blank space at top of page

    Hi,
    I'm finding that w/v 1.6.1 I get a blank space at the top of my page that appears to be somewhat proportional to the amount of code and/or # processes on that page that are before header. moving to after header and before regions also shows this behavior.
    There are no blank line outputs happening in the pl/sql processes, so I've got no idea why htmldb is putting blank space there.
    Anyone seen anything like this? Oracle 9.2.0.7, winxp pro
    Thanks
    matt

    Hi,
    I've had the same problem. I'm assuming that you have a region in the "After Header" position?
    If so, you could add the following in the region's Region Header:
    &lt;div style="display:none"&gt;
    and put this in the Region Footer:
    &lt;/div&gt;
    The region is defined in a table, which by definition is a block object. Block objects always begin on a new line and end with a new line - the above will put the region into a div and then hide the div.
    Regards
    Andy

  • Unwanted Blank line appearing in the output

    Hi all,
    we are trying to print the line items of a Order.
    There is no issue in first page. But in second page, after prinitng the first record...a blank line is coming followed by the second record.
    Now, we need to remove this blank line.
    There is a check box at the end of each record and the field which is prior to this check box has got offset. Tried to remove this offset and check...but it didn't work.
    As the first page output is perfectly fine and the issue is with the second page ( output has got 2 pages in total ), I believe
    something has to do with the page break setting.
    Any inputs on this would be of great help.
    Thanks in advance,
    Narayan.

    Could be caused by many reasons.
    Is the paragraph format set to skip a line the first time it is printed (SPACE AFTER setting)?
    Is the data causing it to overflow across the line?
    Is there a line feed in the actual SAPscript (like a "/" paragraph format)?

  • Prevent Blank Lines at Top of Column

    So I create bi-weekly publications and I had a question that would make my job easer.
    I've been messing with widow & orphans, but I have a slightly different problem.
    We use hard returns between paragraphs (a blank line between paragraphs), and I was wondering if there was a way to use GREP or something to automatically prevent blank lines from showing at the top of a column.
    Right now, I have to delete & re-add returns throughout the editing process, which as you could guess, can get messy and easy to miss.
    I'd like to have it where I don't have to do any of that on my own, so the blank lines would "hide" automatically if at the top of a column, but would return if things get shifted around.
    Thoughts?
    Thanks for the help.

    I'm an idiot, that makes way more sense.
    Thank you for straightening me out.
    To think of the months i've been living my life all wrong.  . . . . .*puts hands in face*
    . . . excuse me while I go rethink all of my life choices.

  • When I try to print a web page, all I get is one line across top of page.

    When I try to print a web page in Firefox, the only thing that prints is a single line across the very top of the page. I can sometimes highlight and print my selection, but now that has stopped working.

    I did not have the HP printer software for Mac OSX installed properly. Once installed the problem went away.

  • Enormous Unwanted Gray Lines and Spaces Between Pages?

    Does anyone know how to get rid of those **** things? what happened to the thin, little dotted line that separate pages and kept everything tight & together?

    what happened to the thin, little dotted line that separate pages and kept everything tight & together?
    You are working within an object-oriented page description model. What you see on the display is the design space you defined in Page Setup. You then draw frames in this design space for area composition and area separation, and either save out the design space into the Portable Document Format or rasterize it to a PostScript or Printer Control Language device.
    In other words, the metaphor is pages displayed to a desired size the way physical paper that has been trimmed to a desired size. If you don't understand a word of this, then keep in mind that the Mac is the oldest platform for professional publishing. In order to make the most of your Mac, you may want to understand a bit of what is common knowledge in professional publishing.
    I can see why a metaphor of continuous form feed paper could be used in a continuous column wordprocessor. But it makes no sense in an application like Pages that lets you define any size design space and populate this space with columns in any position, the way one can in professional publishing.
    /hh

  • Extra blank line

    hi,
    i created one table in the main window.
    its displaying all the records.
    it is having 29 records.
    in the 1st page its showing 15 records and after that one blank line.
    in the next page its showing rest of the record.
    how can i remove that blank line from the first page.
    can any one suggest me. its very urgent.
    thanks.

    Hi,
    U can handle this as follows,
    don't give border to main window, in main window table must be there , then for each cell assign the border in such a way that table will have outer border only , this icons are nearby atble pattern icon , can use it.
    Pls reward , if found helpful.

  • How To Print Field Value in TOP-OF-PAGE During Line Selection.

    How To Print Field Value in TOP-OF-PAGE During Line Selection when double click on field.

    (If my memory serves me well (not used for long time ago)
    Assign values to system fields sy-tvar0 - sy-tvar9, they will replace the placeholders "&0" through "&9" in the list headers and column headers.
    TOP-OF-PAGE DURING LINE-SELECTION.
         WRITE: / 'Interactive Report &3'.
      WRITE record-vbeln TO sy-tvar3.
    Regards,
    Raymond

  • TOP-OF-PAGE During line-selection in alv report

    Hi Expart
    In intractive Alv report u using top-of-page during line-selection . If u using so u give me one example with codeing .
    Regards
    Bhabani

    Hi,
    try this code...
    *& Report  ZCS_PRG8
    REPORT  Z_SJALV__PRG8.
    TYPE-POOLS: SLIS.
    *type declaration for values from ekko
    TYPES: BEGIN OF I_EKKO,
           EBELN LIKE EKKO-EBELN,
           AEDAT LIKE EKKO-AEDAT,
           BUKRS LIKE EKKO-BUKRS,
           BSART LIKE EKKO-BSART,
           LIFNR LIKE EKKO-LIFNR,
           END OF I_EKKO.
    DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
          WA_EKKO TYPE I_EKKO.
    *type declaration for values from ekpo
    TYPES: BEGIN OF I_EKPO,
           EBELN LIKE EKPO-EBELN,
           EBELP LIKE EKPO-EBELP,
           MATNR LIKE EKPO-MATNR,
           MENGE LIKE EKPO-MENGE,
           MEINS LIKE EKPO-MEINS,
           NETPR LIKE EKPO-NETPR,
           END OF I_EKPO.
    DATA: IT_EKPO TYPE STANDARD TABLE OF I_EKPO INITIAL SIZE 0,
          WA_EKPO TYPE I_EKPO .
    *variable for Report ID
    DATA: V_REPID LIKE SY-REPID .
    *declaration for fieldcatalog
    DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
          WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    DATA: IT_LISTHEADER TYPE SLIS_T_LISTHEADER.
    declaration for events table where user comand or set PF status will
    be defined
    DATA: V_EVENTS TYPE SLIS_T_EVENT,
          WA_EVENT TYPE SLIS_ALV_EVENT.
    declartion for layout
    DATA: ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.
    declaration for variant(type of display we want)
    DATA: I_VARIANT TYPE DISVARIANT,
          I_VARIANT1 TYPE DISVARIANT,
          I_SAVE(1) TYPE C.
    *PARAMETERS : p_var TYPE disvariant-variant.
    *Title displayed when the alv list is displayed
    DATA:  I_TITLE_EKKO TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED'.
    DATA:  I_TITLE_EKPO TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED'.
    INITIALIZATION.
      V_REPID = SY-REPID.
      PERFORM BUILD_FIELDCATLOG.
      PERFORM EVENT_CALL.
      PERFORM POPULATE_EVENT.
    START-OF-SELECTION.
      PERFORM DATA_RETRIEVAL.
      PERFORM BUILD_LISTHEADER USING IT_LISTHEADER.
      PERFORM DISPLAY_ALV_REPORT.
    *&      Form  BUILD_FIELDCATLOG
          Fieldcatalog has all the field details from ekko
    FORM BUILD_FIELDCATLOG.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'EBELN'.
      WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'AEDAT'.
      WA_FIELDCAT-SELTEXT_M = 'DATE.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'BUKRS'.
      WA_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'BUKRS'.
      WA_FIELDCAT-SELTEXT_M = 'DOCMENT TYPE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'LIFNR'.
      WA_FIELDCAT-NO_OUT    = 'X'.
      WA_FIELDCAT-SELTEXT_M = 'VENDOR CODE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    "BUILD_FIELDCATLOG
    *&      Form  EVENT_CALL
      we get all events - TOP OF PAGE or USER COMMAND in table v_events
    FORM EVENT_CALL.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = V_EVENTS
    EXCEPTIONS
       LIST_TYPE_WRONG       = 1
       OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "EVENT_CALL
    *&      Form  POPULATE_EVENT
         Events populated for TOP OF PAGE & USER COMAND
    FORM POPULATE_EVENT.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'TOP_OF_PAGE'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-FORM.
      ENDIF.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'USER_COMMAND'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-NAME.
      ENDIF.
    ENDFORM.                    "POPULATE_EVENT
    *&      Form  data_retrieval
      retreiving values from the database table ekko
    FORM DATA_RETRIEVAL.
      SELECT EBELN AEDAT BUKRS BSART LIFNR FROM EKKO INTO TABLE IT_EKKO.
    ENDFORM.                    "data_retrieval
    *&      Form  bUild_listheader
          text
         -->I_LISTHEADEtext
    FORM BUILD_LISTHEADER USING IT_LISTHEADER TYPE SLIS_T_LISTHEADER.
      DATA HLINE TYPE SLIS_LISTHEADER.
      HLINE-INFO = 'this is my first alv pgm'.
      HLINE-TYP = 'H'.
    ENDFORM.                    "build_listheader
    *&      Form  display_alv_report
          text
    FORM DISPLAY_ALV_REPORT.
      V_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         I_CALLBACK_PROGRAM                = V_REPID
      I_CALLBACK_PF_STATUS_SET          = ' '
         I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
         I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
         I_GRID_TITLE                      = I_TITLE_EKKO
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         = ALV_LAYOUT
         IT_FIELDCAT                       = I_FIELDCAT[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
        i_default                         = 'ZLAY1'
         I_SAVE                            = 'A'
        is_variant                        = i_variant
         IT_EVENTS                         = V_EVENTS
        TABLES
          T_OUTTAB                          = IT_EKKO
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "display_alv_report
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = IT_LISTHEADER
       i_logo                   =
       I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN '&IC1'.
          READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
          PERFORM BUILD_FIELDCATLOG_EKPO.
          PERFORM EVENT_CALL_EKPO.
          PERFORM POPULATE_EVENT_EKPO.
          PERFORM DATA_RETRIEVAL_EKPO.
          PERFORM BUILD_LISTHEADER_EKPO USING IT_LISTHEADER.
          PERFORM DISPLAY_ALV_EKPO.
      ENDCASE.
    ENDFORM.                    "user_command
    *&      Form  BUILD_FIELDCATLOG_EKPO
          text
    FORM BUILD_FIELDCATLOG_EKPO.
      WA_FIELDCAT-TABNAME = 'IT_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'EBELN'.
      WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'EBELP'.
      WA_FIELDCAT-SELTEXT_M = 'LINE NO'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-SELTEXT_M = 'MATERIAL NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MENGE'.
      WA_FIELDCAT-SELTEXT_M = 'QUANTITY'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MEINS'.
      WA_FIELDCAT-SELTEXT_M = 'UOM'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'NETPR'.
      WA_FIELDCAT-SELTEXT_M = 'PRICE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    "BUILD_FIELDCATLOG_EKPO
    *&      Form  event_call_ekpo
      we get all events - TOP OF PAGE or USER COMMAND in table v_events
    FORM EVENT_CALL_EKPO.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = V_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG       = 1
      OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "event_call_ekpo
    *&      Form  POPULATE_EVENT
           Events populated for TOP OF PAGE & USER COMAND
    FORM POPULATE_EVENT_EKPO.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'TOP_OF_PAGE'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-FORM.
      ENDIF.
      ENDFORM.                    "POPULATE_EVENT
    *&      Form  TOP_OF_PAGE
          text
    FORM F_TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = IT_LISTHEADER
       i_logo                   =
       I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    *retreiving values from the database table ekko
    FORM DATA_RETRIEVAL_EKPO.
    SELECT EBELN EBELP MATNR MENGE MEINS NETPR FROM EKPO INTO TABLE IT_EKPO.
    ENDFORM.
    FORM BUILD_LISTHEADER_EKPO USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
    DATA: HLINE1 TYPE SLIS_LISTHEADER.
    HLINE1-TYP = 'H'.
    HLINE1-INFO = 'CHECKING PGM'.
    ENDFORM.
    FORM DISPLAY_ALV_EKPO.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = V_REPID
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = 'F_USER_COMMAND'
       I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = I_TITLE_EKPO
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       = I_FIELDCAT[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         =
       I_SAVE                            = 'A'
      IS_VARIANT                        =
       IT_EVENTS                         = V_EVENTS
      TABLES
        T_OUTTAB                          = IT_EKPO
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.
    reward if helpful
    regards
    Shashi

  • Page number in Top of page during line selection

    Hi All,
    I am generating an interactive report.
    I want to display the same header at each page break.
    How to restrict the page size in At line-selection?
    I want to display page in format Page X of Y for each page break?How to handle it?
    Thanks in advance.
    Regards,
    Sandy

    Hi,
    Try the code:
    REPORT ZPAGETEST NO STANDARD PAGE HEADING LINE-SIZE 40
    LINE-COUNT 20.
    DATA:COUNT(6) TYPE N.
    DATA: LAST_PAGE_NO LIKE SY-PAGNO.
    DATA: TOTPAGE(6) TYPE C .
    TOP-OF-PAGE.
    WRITE:20 SY-PAGNO ,'of', '££££££'.
    START-OF-SELECTION.
    DO 100 TIMES.
    WRITE: / COUNT.
    COUNT = COUNT + 1.
    ENDDO.
    LAST_PAGE_NO = SY-PAGNO.
    TOTPAGE = SY-PAGNO.
    DO LAST_PAGE_NO TIMES.
    READ LINE 1 OF PAGE SY-INDEX .
    REPLACE '££££££' WITH TOTPAGE INTO SY-LISEL.
    MODIFY CURRENT LINE.
    ENDDO.
    Regards,
    Sesh

Maybe you are looking for

  • IDVD launches, but doesn't function.

    It allows me to use that nifty menu to select how I can start the project, asks me where to save it, but from there it seems to stop responding. The menus on the top bar do not respond.

  • Using layers in cc

    I realize layers are a thing of the past in cc, but I am now updating my site I created in MX (yes, my program was that old), and I used layers...so, now I cannot create new ones. Is it easy to just convert the whole page to a table, hopefully creati

  • PrE 12.  How to deal with black screen "Created with Adobe Premiere Elements trial version"?

    I'm really considering purchasing PrE 12 and would like to try it out.  (I have another video editing software and would like to try this one.) When I add video, I get a black screen "Created with Adobe Premiere Elements trial version".  When I hit p

  • String function question

    In Sybase, I could use "LEFT" or "RIGHT" to return X number of characters in a string. Does PL/SQL have a similar function?

  • Activity Audit Space Error

    Hi, I was enabling "Activity Auditing" in BPC 5.1, after which i gave the specs in Manage Data Audit. When I clicked on Save Audit Data Now link to run the synchronization process right away it threw an error Run Error: There is insufficient disk spa