<?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: module poll in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688691#M302905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GO to SE38 and give your program name .&lt;/P&gt;&lt;P&gt;Now go to SE51 and give the same name.give your screen number too( screen number except 1000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have severeal elements ,go to Layout editor.&lt;/P&gt;&lt;P&gt;Now you  can choose the  push buttons and create them as you want.&lt;/P&gt;&lt;P&gt;For the Pushbuttons give the function codes(they should be at the max  4 character in length) For eg say as fun1 and fun2 for your requirement.&lt;/P&gt;&lt;P&gt;Now got to the  Flow logic element in the SE51.&lt;/P&gt;&lt;P&gt;There you will have a PAI module.&lt;/P&gt;&lt;P&gt;Here write the code that you want to happen when u press the pushbuttons.&lt;/P&gt;&lt;P&gt;The function codes that you press would get stored in SY-UCOMM.&lt;/P&gt;&lt;P&gt;so write as&lt;/P&gt;&lt;P&gt;CASE  SY-UCOMM.  &lt;/P&gt;&lt;P&gt;WHEN  'FUN1'.&lt;/P&gt;&lt;P&gt;/*do some operations.&lt;/P&gt;&lt;P&gt;WHEN  'FUN2'.&lt;/P&gt;&lt;P&gt;/*do some operations.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other option is u can make use of OK_CODE too instead of SY-UCOMM .&lt;/P&gt;&lt;P&gt;Do reward point if it was useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sudha kumarappan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 08:04:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-17T08:04:30Z</dc:date>
    <item>
      <title>module poll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688688#M302902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want add the filed in modulepool progrram if pai&lt;/P&gt;&lt;P&gt;field name mwskx -&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;and i want put enter button and cancel button&lt;/P&gt;&lt;P&gt;can you help in this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 05:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688688#M302902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T05:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: module poll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688689#M302903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;goto SE51 give the prog Name and screen Number and check the radio button Layout Editor.&lt;/P&gt;&lt;P&gt;there u can jsut drag drop the controls on the left side of the window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can see a control Input / Output Field &lt;/P&gt;&lt;P&gt;and PushButton.&lt;/P&gt;&lt;P&gt;fill in the properties for the controls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in PAI and PBO u need to wirte the logic for the buttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For examples on Dialog Programming see the tcode ABAPDOCU and DWDM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 05:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688689#M302903</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-11-17T05:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: module poll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688690#M302904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is very simple to create Push bottons in the module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the screen painter choose 2 push buttons, (1 for Enter, 2 for cancel), for those 2 push buttons specify the Text's and Function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this come to the Flow logic area and create one include program under PAI event. and write the logic as follows....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OKCODE = SY-UCOMM.&lt;/P&gt;&lt;P&gt;CLEAR SY-UCOMM.&lt;/P&gt;&lt;P&gt;CASE OKCODE.&lt;/P&gt;&lt;P&gt;WHEN 'ENTER' . (function code)&lt;/P&gt;&lt;P&gt;   LEAVE TO SCREEN 200.&lt;/P&gt;&lt;P&gt;WHEN 'CANCEL'. (Function code)&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;if helpful reward me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 05:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688690#M302904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T05:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: module poll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688691#M302905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GO to SE38 and give your program name .&lt;/P&gt;&lt;P&gt;Now go to SE51 and give the same name.give your screen number too( screen number except 1000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have severeal elements ,go to Layout editor.&lt;/P&gt;&lt;P&gt;Now you  can choose the  push buttons and create them as you want.&lt;/P&gt;&lt;P&gt;For the Pushbuttons give the function codes(they should be at the max  4 character in length) For eg say as fun1 and fun2 for your requirement.&lt;/P&gt;&lt;P&gt;Now got to the  Flow logic element in the SE51.&lt;/P&gt;&lt;P&gt;There you will have a PAI module.&lt;/P&gt;&lt;P&gt;Here write the code that you want to happen when u press the pushbuttons.&lt;/P&gt;&lt;P&gt;The function codes that you press would get stored in SY-UCOMM.&lt;/P&gt;&lt;P&gt;so write as&lt;/P&gt;&lt;P&gt;CASE  SY-UCOMM.  &lt;/P&gt;&lt;P&gt;WHEN  'FUN1'.&lt;/P&gt;&lt;P&gt;/*do some operations.&lt;/P&gt;&lt;P&gt;WHEN  'FUN2'.&lt;/P&gt;&lt;P&gt;/*do some operations.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other option is u can make use of OK_CODE too instead of SY-UCOMM .&lt;/P&gt;&lt;P&gt;Do reward point if it was useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sudha kumarappan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 08:04:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-poll/m-p/1688691#M302905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T08:04:30Z</dc:date>
    </item>
  </channel>
</rss>

