<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using fm REUSE? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321498#M509717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot have the top and below lines as the part of the ALV.&lt;/P&gt;&lt;P&gt;But they can be displayed as HEADER and FOOTER of the ALV.&lt;/P&gt;&lt;P&gt;But again for Header, it can only be displayed on the left side of the screen with the maximum of 60 characters in a line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 15:04:47 GMT</pubDate>
    <dc:creator>amit_khare</dc:creator>
    <dc:date>2007-05-23T15:04:47Z</dc:date>
    <item>
      <title>using fm REUSE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321497#M509716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use REUSE_GRID_DISPLAY function module to display like the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
--------------------------------------------------------------------------------------------------------------------------
List of material numbers that don't have plant associated with that, please change the material using 
transaction MM02

10001      TEST
10002      TEST2
10003      TEST3
10004      TEST4

Please add correct values to the fields shown above and save the Material
-----------------------------------------------------------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give your suggestions on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 14:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321497#M509716</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-05-23T14:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: using fm REUSE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321498#M509717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot have the top and below lines as the part of the ALV.&lt;/P&gt;&lt;P&gt;But they can be displayed as HEADER and FOOTER of the ALV.&lt;/P&gt;&lt;P&gt;But again for Header, it can only be displayed on the left side of the screen with the maximum of 60 characters in a line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 15:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321498#M509717</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-05-23T15:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: using fm REUSE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321499#M509718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you can do this in the fm REUSE_ALV_LIST_DISPLAY..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using WRITE: / SY-ULINE..in the top_of_page event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 15:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321499#M509718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T15:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: using fm REUSE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321500#M509719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any example program already available in ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 15:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321500#M509719</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-05-23T15:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: using fm REUSE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321501#M509720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPE-POOLS: slis.

DATA: gt_fieldcat TYPE slis_t_fieldcat_alv.
DATA: BEGIN OF wa_ekko,
ebeln like ekko-ebeln,
ekorg like ekko-ekorg,
ekgrp like ekko-ekgrp,
END OF wa_ekko.

DATA: v_repid TYPE syrepid.
v_repid = sy-repid.

DATA it_ekko LIKE STANDARD TABLE OF wa_ekko WITH HEADER LINE.

SELECT * UP TO 100 ROWS
FROM ekko
INTO CORRESPONDING FIELDS OF TABLE it_ekko.

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
     EXPORTING
          i_program_name     = v_repid
          i_internal_tabname = 'WA_EKKO'
          i_inclname         = v_repid
     CHANGING
          ct_fieldcat        = gt_fieldcat.


* Events
  DATA: t_events TYPE  slis_t_event,
        s_events LIKE LINE OF t_events.

  s_events-name = 'TOP_OF_PAGE'.
  s_events-form = 'TOP_OF_PAGE'.
  APPEND s_events TO t_events.

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
     EXPORTING
          i_callback_program      = v_repid
          it_fieldcat             = gt_fieldcat
          it_events               = t_events[]
     TABLES
          t_outtab                = it_ekko.

*---------------------------------------------------------------------*
*       FORM TOP_OF_PAGE                                              *
*---------------------------------------------------------------------*
*       ........                                                      *
*---------------------------------------------------------------------*
FORM top_of_page.
  WRITE: / 'My alv report'.
  WRITE: / SY-ULINE.
ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 15:19:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-fm-reuse/m-p/2321501#M509720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T15:19:02Z</dc:date>
    </item>
  </channel>
</rss>

