<?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 need tips on dialog programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-tips-on-dialog-programming/m-p/3496566#M841014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can any one give tips regarding Dialog programming?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 04:35:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-04T04:35:27Z</dc:date>
    <item>
      <title>need tips on dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-tips-on-dialog-programming/m-p/3496566#M841014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can any one give tips regarding Dialog programming?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-tips-on-dialog-programming/m-p/3496566#M841014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: need tips on dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-tips-on-dialog-programming/m-p/3496567#M841015</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;MODULE POOL PROGRAMMING:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This is also called as DIALOG PROGRAMMING.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;User can make use of multiple screens in this type of programming.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;These are type 'M' programs in SAP.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EVENTS IN DIALOG PROGRAMMING:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. PROCESS BEFORE OUTPUT (PBO)&lt;/P&gt;&lt;P&gt;2. PROCESS AFTER INPUT (PAI)&lt;/P&gt;&lt;P&gt;3. PROCESS ON VALUE REQUEST (POVR)&lt;/P&gt;&lt;P&gt;4. PROCESS ON HELP REQUEST (POHR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navigations to create a simple MPP program:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE80 -&amp;gt; Select Program from drop-down list -&amp;gt; Specify program name starting with SAPMZ or SAPMY -&amp;gt; Press Enter -&amp;gt; Click on Yes to create object -&amp;gt; Create Top Include File by clicking on Continue icon in pop-up screens -&amp;gt; Save under a package -&amp;gt; Assign a request number -&amp;gt; MPP program with specified name is created with Top include File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create screen, Right click on program name -&amp;gt; Select Create -&amp;gt; Screen -&amp;gt; Opens Screen Description page -&amp;gt; Enter short description for screen -&amp;gt; Select screen type as NORMAL -&amp;gt; Click on LAYOUT pushbutton from application toolbar -&amp;gt; Opens Screen Painter -&amp;gt; Drag and drop two input fields from toolbar -&amp;gt; Likewise, create two pushbuttons -&amp;gt; Double click on each component -&amp;gt; Opens Attributes box -&amp;gt; Specify attributes for each screen component -&amp;gt; For pushbutton, specify FCT code -&amp;gt; Save the screen -&amp;gt; Click on Flowlogic pushbutton from application toolbar -&amp;gt; Opens Flow logic editor to create event functionalities for screen components -&amp;gt; Decomment PAI module -&amp;gt; Double click on PAI module name -&amp;gt; Click on Yes to create PAI module object -&amp;gt; Opens PAI module -&amp;gt; Specify the following code within module-endmodule statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'DISPLAY'.&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; IO1, IO2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now double click on 'Includes' Folder (TOP INCLUDE FILE) -&amp;gt; Declare variables for input fields as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : IO1(10), IO2(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save -&amp;gt; Activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now To create Transaction Code, right click on Main Program Name -&amp;gt; Create -&amp;gt; Transaction -&amp;gt; Opens an interface -&amp;gt; Enter Tcode name starting with Z or Y -&amp;gt; Enter short description -&amp;gt; Continue -&amp;gt; Opens interface -&amp;gt; Enter Main program name and Screen number to be called first -&amp;gt; Save under a package -&amp;gt; Assign a request number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate all the objects of MPP program by right clicking on Main program Name -&amp;gt; Click on Activate -&amp;gt; Raises 'Objects Activated' message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To execute the MPP program, specify Tcode name in the Command Prompt area -&amp;gt; Press Enter.&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;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-tips-on-dialog-programming/m-p/3496567#M841015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:45:33Z</dc:date>
    </item>
  </channel>
</rss>

