<?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: Selection Screen PF-STATUS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993416#M74784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can write AT SELECTION-SCREEN event, but you have to check for the screen number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  if sy-dynnr = SEL_SCREEN_NUM.&lt;/P&gt;&lt;P&gt;    .......&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2005 10:25:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-14T10:25:15Z</dc:date>
    <item>
      <title>Selection Screen PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993413#M74781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;   I have a peculiar requirement.&lt;/P&gt;&lt;P&gt;   I have written and a module pool program. In the program I have attached an application toolbar. On clicking one of the button I have popped up a Selection-Screen. As selection-screen comes with default PF-STATUS (set of buttons), I want to change that.&lt;/P&gt;&lt;P&gt;   I have used function module 'RS_SET_SELSCREEN_STATUS' but it doesn't help in attaching any new PF-STATUS. Please help.&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;Deva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 09:55:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993413#M74781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T09:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993414#M74782</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;Have you done similar coding.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.[should be changed to that button]&lt;/P&gt;&lt;P&gt;IF SY-DYNNR = 1000.&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;        P_STATUS = 'SELK'"your status&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;        P_EXCLUDE = EXCLUDE&lt;/P&gt;&lt;P&gt;"tables of ok codes to be&lt;/P&gt;&lt;P&gt; "excluded&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS = 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is from documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sets own GUI status on selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module allows you to set your own status on a selection screen and exclude function codes from your own or from a standard status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, you can remove the Print function from the standard status by passing the SY-PFKEY field to the parameter P_STATUS, while the table P_EXCLUDE contains a line with the entry 'PRIN' (= function code for printing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module should be called only when processing selection screens, i.e. only under INITIALIZATION or AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note Before calling this function module, you should call the function module RS_SUBMIT_INFO to find out the current mode of the selection screen processing (normal execution, variant maintenance or background job scheduling) and then set the correct status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note The GUI status passed to P_STATUS must be defined in the program itself (if you do not supply a value for P_PROGRAM). You can set an externally defined status with the function module RS_EXTERNAL_SELSCREEN_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the demo program also.&lt;/P&gt;&lt;P&gt;DEMO_SEL_SCREEN_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 10:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993414#M74782</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-14T10:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993415#M74783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for the quick reply. But it is not the exact problem i'm facing.&lt;/P&gt;&lt;P&gt;   I have seen the program in ABAPDOCU 'DEMO_SEL_SCREEN_STATUS'. But the program is a report program where I can write AT SELECTION-SCREEN event. But I'm doing a module pool programming. Please refer to my earlier mail for exact details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 10:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993415#M74783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T10:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993416#M74784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can write AT SELECTION-SCREEN event, but you have to check for the screen number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  if sy-dynnr = SEL_SCREEN_NUM.&lt;/P&gt;&lt;P&gt;    .......&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 10:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993416#M74784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-14T10:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993417#M74785</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;Ok.If that's the case,then in PAI ,you can do that in USER_COMMAND for that particular screen(9000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module USER_COMMAND_9000 input.&lt;/P&gt;&lt;P&gt;data lv_ucomm type sy-ucomm.&lt;/P&gt;&lt;P&gt;lv_ucomm = sy-ucomm.&lt;/P&gt;&lt;P&gt;case lv_ucomm.&lt;/P&gt;&lt;P&gt;...coding for calling the function module&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endmodule.                 " USER_COMMAND_9000  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points for useful answers[click yellow star[2 points],green star[6 points] and blue star[10 points,problem solved] against the replies] and close the thread if your problem is solved.Otherwise get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2005 10:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-pf-status/m-p/993417#M74785</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-14T10:34:57Z</dc:date>
    </item>
  </channel>
</rss>

