<?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: PUSH BUTTON in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876161#M675109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;u can set pf-status &lt;/P&gt;&lt;P&gt;by simply writing the following code:&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'GUI'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on GUI and define all the functions n keys u need.&lt;/P&gt;&lt;P&gt;below is the example code .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: spfli, sbook.

DATA: num TYPE i,
dat TYPE d.

START-OF-SELECTION.
num = 0.
SET PF-STATUS 'FLIGHT'.

GET spfli.
num = num + 1.
WRITE: / spfli-carrid, spfli-connid,
spfli-cityfrom, spfli-cityto.
HIDE: spfli-carrid, spfli-connid, num.

END-OF-SELECTION.
CLEAR num.

TOP-OF-PAGE.
WRITE 'List of Flights'.
ULINE.
WRITE 'CA CONN FROM TO'.
ULINE.

TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'BOOKING'.
WRITE sy-lisel.
ULINE.
WHEN 'WIND'.
WRITE: 'Booking', sbook-bookid,
/ 'Date ', sbook-fldate.
ULINE.
ENDCASE.

AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'SELE'.
IF num NE 0.
SET PF-STATUS 'BOOKING'.    " This is for the Secondary List
CLEAR dat.
SELECT * FROM sbook WHERE carrid = spfli-carrid
AND connid = spfli-connid.
IF sbook-fldate NE dat.
dat = sbook-fldate.
SKIP.
WRITE / sbook-fldate.
POSITION 16.
ELSE.
NEW-LINE.
POSITION 16.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 10:28:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-24T10:28:15Z</dc:date>
    <item>
      <title>PUSH BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876159#M675107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the interactive alv report,&lt;/P&gt;&lt;P&gt;In the second screen how to Keep a push button,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876159#M675107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T10:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: PUSH BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876160#M675108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer std prog:&lt;/P&gt;&lt;P&gt;BCALV_GRID_05&lt;/P&gt;&lt;P&gt;BCALV_GRID_08&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/P&gt;&lt;P&gt;Manish&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876160#M675108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T10:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: PUSH BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876161#M675109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;u can set pf-status &lt;/P&gt;&lt;P&gt;by simply writing the following code:&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'GUI'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on GUI and define all the functions n keys u need.&lt;/P&gt;&lt;P&gt;below is the example code .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: spfli, sbook.

DATA: num TYPE i,
dat TYPE d.

START-OF-SELECTION.
num = 0.
SET PF-STATUS 'FLIGHT'.

GET spfli.
num = num + 1.
WRITE: / spfli-carrid, spfli-connid,
spfli-cityfrom, spfli-cityto.
HIDE: spfli-carrid, spfli-connid, num.

END-OF-SELECTION.
CLEAR num.

TOP-OF-PAGE.
WRITE 'List of Flights'.
ULINE.
WRITE 'CA CONN FROM TO'.
ULINE.

TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'BOOKING'.
WRITE sy-lisel.
ULINE.
WHEN 'WIND'.
WRITE: 'Booking', sbook-bookid,
/ 'Date ', sbook-fldate.
ULINE.
ENDCASE.

AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'SELE'.
IF num NE 0.
SET PF-STATUS 'BOOKING'.    " This is for the Secondary List
CLEAR dat.
SELECT * FROM sbook WHERE carrid = spfli-carrid
AND connid = spfli-connid.
IF sbook-fldate NE dat.
dat = sbook-fldate.
SKIP.
WRITE / sbook-fldate.
POSITION 16.
ELSE.
NEW-LINE.
POSITION 16.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876161#M675109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: PUSH BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876162#M675110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you call the basic list using REUSE_ALV_GRID_DISPLAY or list_display, in the importing parameters, you will have I_CALLBACK_PF_STATUS_SET and I_CALLBACK_USER_COMMAND. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a pf-status with the pushbutton you want to add in the routine and give name of the routine to I_CALLBACK_PF_STATUS_SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the code in a routine and assign the name to the parameter I_CALLBACK_USER_COMMAND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876162#M675110</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2007-09-24T10:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: PUSH BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876163#M675111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u r displaying the data is a container,&lt;/P&gt;&lt;P&gt;use the fn mod,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ADD_PUSH_CONTAINER&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:30:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876163#M675111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T10:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: PUSH BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876164#M675112</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;go to menu painter &lt;/P&gt;&lt;P&gt;make a menu for the program and attach the button on application toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the menu by writting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF STATUS "your pf status"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vivekanand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876164#M675112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T10:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: PUSH BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876165#M675113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;For the 2nd screen ,u will be calling the FM "REUSE_ALV_GRID_DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that pass the partemeter  " I_CALLBACL_PF_status_set"  = y_pf &amp;lt;--- routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form  y_pf using extab type slis_extab.&lt;/P&gt;&lt;P&gt;set pf-status stat2 excluding extab.&lt;/P&gt;&lt;P&gt;endform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double clik on stat2 and create push buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Revert back if any issues.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876165#M675113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T10:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: PUSH BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876166#M675114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I_CALLBACK_PF_STATUS_SET. pass value to this in the function module, where ever u call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 10:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button/m-p/2876166#M675114</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-09-24T10:32:31Z</dc:date>
    </item>
  </channel>
</rss>

