<?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: Help with adding a push button to call a transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051892#M1174306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assign a function code to it and in PAI check the function code and call the transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2009 16:29:18 GMT</pubDate>
    <dc:creator>Sm1tje</dc:creator>
    <dc:date>2009-01-12T16:29:18Z</dc:date>
    <item>
      <title>Help with adding a push button to call a transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051890#M1174304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a push button to a customised infotype I have created. I would like the push button to call a transaction when a user clicks it. I know how to draw the button etc in transaction SE51 but how do I assign a transaction to it and call it when the user clicks on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:25:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051890#M1174304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T16:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with adding a push button to call a transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051891#M1174305</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;You need to write the code in PAI event of the screen for the Function code assigned to the Push button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS AFTER INPUT.

* Module for processing User command
  MODULE user_command_0110.

MODULE user_command_0110 INPUT.

If SY-UCOMM EQ &amp;lt;Pustbutton-Fcode&amp;gt;.
CALL TRANSACTION &amp;lt;TCODE&amp;gt;.
ENDIF.

ENDMODULE.                 " USER_COMMAND_0110  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Avinash Kodarapu on Jan 12, 2009 9:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051891#M1174305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T16:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with adding a push button to call a transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051892#M1174306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assign a function code to it and in PAI check the function code and call the transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051892#M1174306</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-01-12T16:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with adding a push button to call a transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051893#M1174307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alec,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you design the button there is a field to assign a Function Code to it... Giv any 4letter name..&lt;/P&gt;&lt;P&gt;This function code is what you capture in sy-ucomm when user hits the button..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI of your program there should be already a CASE/ENDCASE block on sy-ucomm.. where you can check for WHEN 'ABCD' (ur function code.)&lt;/P&gt;&lt;P&gt;CALL TRANSACTION or whatever processing u want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 16:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-adding-a-push-button-to-call-a-transaction/m-p/5051893#M1174307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T16:32:55Z</dc:date>
    </item>
  </channel>
</rss>

