<?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: Function code variable on a BSP page in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024321#M1348191</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;&lt;/P&gt;&lt;P&gt;Please refer the link below....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Create a Application in BSP|http://wiki.sdn.sap.com/wiki/x/agTEB ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Events in BSP|http://wiki.sdn.sap.com/wiki/x/0gSXB ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Sample Program|http://wiki.sdn.sap.com/wiki/x/DoD8B ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LayoutCode:-&lt;/P&gt;&lt;P&gt;To Clear the Button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;htmlb:button text    = "Submit"
                    id      = "submit"
                    on Click = "on InputProcessing()" /&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event Handler-onInputProcessing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
      w_object  TYPE REF TO object,
      w_event	TYPE REF TO	cl_htmlb_event.

* To Get the Event Triggered.
CALL METHOD cl_htmlb_manager=&amp;gt;get_event
  EXPORTING
    request = runtime-&amp;gt;server-&amp;gt;request
  RECEIVING
    event   = w_event.

CASE w_event-&amp;gt;id.
  when 'submit'.
............Logic..........
  endcase.&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;Hope they are clear let me know if still have any concern.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 06:51:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-24T06:51:43Z</dc:date>
    <item>
      <title>Function code variable on a BSP page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024318#M1348188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have made use of the sy-ucomm variable in my BADI. The BADI executes on an appraisal form. When I run appraisal forms from ecc that is pahap_admin the sy-ucomm is set, but when I execute the BSP page I get the sy-ucomm variable as initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how do I capture function code from a BSP page. That is when I click on save where will the function code for save be available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 04:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024318#M1348188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T04:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function code variable on a BSP page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024319#M1348189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;    In BSP page you can get it under event handler -&amp;gt;oninput processing . &lt;/P&gt;&lt;P&gt;Here you can execute a code if the function code associated with Save button is activated.&lt;/P&gt;&lt;P&gt;Every button displayed on a BSP page has an id.&lt;/P&gt;&lt;P&gt;So this id with get displayed in the class  cl_htmlb_manager=&amp;gt;event_id.&lt;/P&gt;&lt;P&gt;SO just capture the event id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viquar Iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 05:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024319#M1348189</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-08-24T05:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function code variable on a BSP page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024320#M1348190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viquar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thanks for your reply but I am unable to get into the event handler. Can u please tell me how do I get into the event handler.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 06:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024320#M1348190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T06:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function code variable on a BSP page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024321#M1348191</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;&lt;/P&gt;&lt;P&gt;Please refer the link below....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Create a Application in BSP|http://wiki.sdn.sap.com/wiki/x/agTEB ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Events in BSP|http://wiki.sdn.sap.com/wiki/x/0gSXB ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Sample Program|http://wiki.sdn.sap.com/wiki/x/DoD8B ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LayoutCode:-&lt;/P&gt;&lt;P&gt;To Clear the Button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;htmlb:button text    = "Submit"
                    id      = "submit"
                    on Click = "on InputProcessing()" /&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event Handler-onInputProcessing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
      w_object  TYPE REF TO object,
      w_event	TYPE REF TO	cl_htmlb_event.

* To Get the Event Triggered.
CALL METHOD cl_htmlb_manager=&amp;gt;get_event
  EXPORTING
    request = runtime-&amp;gt;server-&amp;gt;request
  RECEIVING
    event   = w_event.

CASE w_event-&amp;gt;id.
  when 'submit'.
............Logic..........
  endcase.&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;Hope they are clear let me know if still have any concern.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 06:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024321#M1348191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T06:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function code variable on a BSP page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024322#M1348192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  go to SE80 select BSP application, enter the name of your BSP program .&lt;/P&gt;&lt;P&gt;go to pages with flow logic-&amp;gt; expand the page and youll find event handler .&lt;/P&gt;&lt;P&gt;Hope this resolves your query&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viquar Iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 08:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-code-variable-on-a-bsp-page/m-p/6024322#M1348192</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-08-24T08:47:45Z</dc:date>
    </item>
  </channel>
</rss>

