<?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 CALLING SCREEN THROUGH MENU BAR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872350#M367191</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 created a menu bar with 3 items &lt;/P&gt;&lt;P&gt;New &lt;/P&gt;&lt;P&gt;1.open&lt;/P&gt;&lt;P&gt;2.save.&lt;/P&gt;&lt;P&gt;3.exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when clicking open menu item i want display data's through select query. For that in function type  what i want to mention and also to call another screen what is the function type and code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly give me the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg&lt;/P&gt;&lt;P&gt;R.Vijai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2007 11:27:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-05T11:27:26Z</dc:date>
    <item>
      <title>CALLING SCREEN THROUGH MENU BAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872350#M367191</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 created a menu bar with 3 items &lt;/P&gt;&lt;P&gt;New &lt;/P&gt;&lt;P&gt;1.open&lt;/P&gt;&lt;P&gt;2.save.&lt;/P&gt;&lt;P&gt;3.exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when clicking open menu item i want display data's through select query. For that in function type  what i want to mention and also to call another screen what is the function type and code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly give me the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg&lt;/P&gt;&lt;P&gt;R.Vijai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 11:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872350#M367191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T11:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING SCREEN THROUGH MENU BAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872351#M367192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   while creating the menu item we have to specify the function code and text, for eg, function code - OPEN and text Open for the menu item.&lt;/P&gt;&lt;P&gt;   Normaly we have to specify function type as ' ' - Normal application function , for menu items, push butons, icons, etc.,.&lt;/P&gt;&lt;P&gt;   Function type 'E' - Exit command, can be used for Exit button. which help you to overcome input validation which will be trigered in the PAI event of the screen.&lt;/P&gt;&lt;P&gt;   Function type 'P' - Local gui functions will be used with TABS of tabstrip control for local selection of tabs without triggering the PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your example you can select function type ' ' and  the necessary coding can be given in the PAI event of screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the PAI event of screen call a module &lt;/P&gt;&lt;P&gt;eg: module validat_input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can create this module by double clicking and create it either in the include file or the main program itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the module, check the function code using the case statement , and you can call a transaction or you can write an open SQL querry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 11:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872351#M367192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T11:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING SCREEN THROUGH MENU BAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872352#M367193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code you can give any four character field ex .. FICA. function type = '' (space'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'FICA'.&lt;/P&gt;&lt;P&gt;CALL SCREEN.. (LOGIC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 11:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872352#M367193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T11:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING SCREEN THROUGH MENU BAR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872353#M367194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In PAI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'open'.&lt;/P&gt;&lt;P&gt;select -- -- --  from -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; into table itab where --- = -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;when 'save'.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;when 'exit'.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 11:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-screen-through-menu-bar/m-p/1872353#M367194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T11:56:20Z</dc:date>
    </item>
  </channel>
</rss>

