<?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: dialog programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489291#M561710</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;Features:&lt;/P&gt;&lt;P&gt;Data is displayed in the form of table.&lt;/P&gt;&lt;P&gt;Table control gives user the feeling of an actual table.&lt;/P&gt;&lt;P&gt;You can scroll through the table vertically as well as horizontally.&lt;/P&gt;&lt;P&gt;You can select rows and columns.&lt;/P&gt;&lt;P&gt;You can resize the with of columns.&lt;/P&gt;&lt;P&gt;You can have separator lines between rows and columns.&lt;/P&gt;&lt;P&gt;Automatic resizing of the table when the user resizes the window.&lt;/P&gt;&lt;P&gt;You can update information in the table control and it can be updated in the database table by writing code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a step by step example. you can learn by following the steps:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/online_pgm_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/online_pgm_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check out these demo programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSDEMO_TABLE_CONTROL&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab031.htm" target="test_blank"&gt;http://www.sap-img.com/ab031.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;through this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table control scrolling:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2957007"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2400693"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="741023"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3338799"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Check following link for the same.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&amp;amp;content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D52%26threadID%3D45079%26messageID%3D459011%23459011" target="test_blank"&gt;https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&amp;amp;content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D52%26threadID%3D45079%26messageID%3D459011%23459011&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table control with wizard&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/6d/150d67da1011d3963800a0c94260a5/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/6d/150d67da1011d3963800a0c94260a5/content.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Have a look at below link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 05:07:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-13T05:07:24Z</dc:date>
    <item>
      <title>dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489289#M561708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anybody help me out regarding dialog programming with table controls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 05:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489289#M561708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T05:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489290#M561709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See this&lt;/P&gt;&lt;P&gt;syntax:&lt;/P&gt;&lt;P&gt;CONTROLS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.&lt;/P&gt;&lt;P&gt;Go through this urls.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.saptechnical.com" target="test_blank"&gt;www.saptechnical.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sap-img.com" target="test_blank"&gt;www.sap-img.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/howdo_a.htm" target="test_blank"&gt;http://www.planetsap.com/howdo_a.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id25.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id25.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can see the below examples...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to se38 and give demo&lt;STRONG&gt;dynpro&lt;/STRONG&gt; and press F4.&lt;/P&gt;&lt;P&gt;YOu will get a list of demo module pool programs.&lt;/P&gt;&lt;P&gt;One more T-Code is ABAPDOCU.&lt;/P&gt;&lt;P&gt;YOu can find more examples there.&lt;/P&gt;&lt;P&gt;See the prgrams:&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1&lt;/P&gt; Table Control with LOOP Statement &lt;BR /&gt;&lt;B&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2&lt;/P&gt;&lt;/B&gt; Table Control with LOOP AT ITAB &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.geocities.com/ZSAPcHAT" target="test_blank"&gt;http://www.geocities.com/ZSAPcHAT&lt;/A&gt; &lt;BR /&gt;&lt;A href="http://www.allsaplinks.com/files/using_table_in_screen.pdf" target="test_blank"&gt;http://www.allsaplinks.com/files/using_table_in_screen.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 05:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489290#M561709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T05:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489291#M561710</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;Features:&lt;/P&gt;&lt;P&gt;Data is displayed in the form of table.&lt;/P&gt;&lt;P&gt;Table control gives user the feeling of an actual table.&lt;/P&gt;&lt;P&gt;You can scroll through the table vertically as well as horizontally.&lt;/P&gt;&lt;P&gt;You can select rows and columns.&lt;/P&gt;&lt;P&gt;You can resize the with of columns.&lt;/P&gt;&lt;P&gt;You can have separator lines between rows and columns.&lt;/P&gt;&lt;P&gt;Automatic resizing of the table when the user resizes the window.&lt;/P&gt;&lt;P&gt;You can update information in the table control and it can be updated in the database table by writing code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a step by step example. you can learn by following the steps:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/online_pgm_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/online_pgm_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check out these demo programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSDEMO_TABLE_CONTROL&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab031.htm" target="test_blank"&gt;http://www.sap-img.com/ab031.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;through this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table control scrolling:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2957007"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2400693"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="741023"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3338799"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Check following link for the same.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&amp;amp;content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D52%26threadID%3D45079%26messageID%3D459011%23459011" target="test_blank"&gt;https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&amp;amp;content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D52%26threadID%3D45079%26messageID%3D459011%23459011&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table control with wizard&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/6d/150d67da1011d3963800a0c94260a5/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/6d/150d67da1011d3963800a0c94260a5/content.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Have a look at below link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 05:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489291#M561710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T05:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489292#M561711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the below link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm" target="test_blank"&gt;http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.mis.cmich.edu/sap-abap/abap09/index.htm" target="test_blank"&gt;http://sap.mis.cmich.edu/sap-abap/abap09/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check the transaction ABAPDOCU which gives you lot of sample programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can see the below examples...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to se38 and give demo&lt;STRONG&gt;dynpro&lt;/STRONG&gt; and press F4.&lt;/P&gt;&lt;P&gt;YOu will get a list of demo module pool programs.&lt;/P&gt;&lt;P&gt;One more T-Code is ABAPDOCU.&lt;/P&gt;&lt;P&gt;YOu can find more examples there.&lt;/P&gt;&lt;P&gt;See the prgrams:&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement &lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/ZSAPcHAT" target="test_blank"&gt;http://www.geocities.com/ZSAPcHAT&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/files/using_table_in_screen.pdf" target="test_blank"&gt;http://www.allsaplinks.com/files/using_table_in_screen.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZBHMOD1 .&lt;/P&gt;&lt;P&gt;DATA:OKCODE1 LIKE SY-UCOMM,&lt;/P&gt;&lt;P&gt;OKCODE2 LIKE SY-UCOMM.&lt;/P&gt;&lt;P&gt;DATA:N1(10) TYPE N,N2(10) TYPE N,RES(12) TYPE N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1000 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OKCODE1.&lt;/P&gt;&lt;P&gt;WHEN 'NEXT'.&lt;/P&gt;&lt;P&gt;RES = N1 + N2.&lt;/P&gt;&lt;P&gt;SET SCREEN 1001.&lt;/P&gt;&lt;P&gt;WHEN 'CLEA'.&lt;/P&gt;&lt;P&gt;CLEAR:N1,N2.&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;SET SCREEN '0'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " USER_COMMAND_1000 INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1000 OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SET PF-STATUS 'xxxxxxxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SET TITLEBAR 'TIT1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " STATUS_1000 OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1001 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OKCODE2.&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;SET SCREEN 1000.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " USER_COMMAND_1001 INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1001 OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SET PF-STATUS 'xxxxxxxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SET TITLEBAR 'TIT2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " STATUS_1001 OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLOW LOGIC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_1000.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_1001.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************************************************************************&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZBHMOD2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: OKCODE1 TYPE SY-UCOMM,&lt;/P&gt;&lt;P&gt;OKCODE2 TYPE SY-UCOMM,&lt;/P&gt;&lt;P&gt;ENAME(10) TYPE C,&lt;/P&gt;&lt;P&gt;DNAME(10) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1000 OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SET PF-STATUS 'xxxxxxxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SET TITLEBAR 'TIT1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " STATUS_1000 OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1001 OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SET PF-STATUS 'xxxxxxxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SET TITLEBAR 'TIT2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " STATUS_1001 OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1000 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OKCODE1.&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;SET SCREEN '0'.&lt;/P&gt;&lt;P&gt;WHEN 'NEXT'.&lt;/P&gt;&lt;P&gt;DNAME = ENAME.&lt;/P&gt;&lt;P&gt;SET SCREEN '1001'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " USER_COMMAND_1000 INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1001 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OKCODE2.&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;SET SCREEN '1000'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " USER_COMMAND_1001 INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ON_CTMENU_FORM USING ZDEMO1 TYPE REF TO CL_CTMENU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD ZDEMO1-&amp;gt;LOAD_GUI_STATUS&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;PROGRAM = 'ZDEMO1'&lt;/P&gt;&lt;P&gt;STATUS = 'ZDEMO1'&lt;/P&gt;&lt;P&gt;MENU = ZDEMO1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " ON_CTMENU_FORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLOW LOGIC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_1000.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_1001.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every Screen has a pbo and a pai.&lt;/P&gt;&lt;P&gt;Screen elements are the textbox, buttons, radio buttons and check boxes .....&lt;/P&gt;&lt;P&gt;If we want to pass data from a abap program to a screen element, we have to create a variable with the name we have given in the screen.So whatever the value is present in that variable is reflected on to the screen element.&lt;/P&gt;&lt;P&gt;Here is an example :&lt;/P&gt;&lt;P&gt;Using subscreens and some of the screen elements &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_dynpro_subscreens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;save_ok TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: number1(4) TYPE n VALUE '0110',&lt;/P&gt;&lt;P&gt;number2(4) TYPE n VALUE '0130',&lt;/P&gt;&lt;P&gt;field(10) TYPE c, field1(10) TYPE c, field2(10) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_100 OUTPUT.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'SCREEN_100'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE fill_0110 OUTPUT.&lt;/P&gt;&lt;P&gt;field = 'Eingabe 1'(001).&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE fill_0120 OUTPUT.&lt;/P&gt;&lt;P&gt;field = field1.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE fill_0130 OUTPUT.&lt;/P&gt;&lt;P&gt;field = 'Eingabe 2'(002).&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE fill_0140 OUTPUT.&lt;/P&gt;&lt;P&gt;field = field2.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE cancel INPUT.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE save_ok INPUT.&lt;/P&gt;&lt;P&gt;save_ok = ok_code.&lt;/P&gt;&lt;P&gt;CLEAR ok_code.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0110 INPUT.&lt;/P&gt;&lt;P&gt;IF save_ok = 'OK1'.&lt;/P&gt;&lt;P&gt;number1 = '0120'.&lt;/P&gt;&lt;P&gt;field1 = field.&lt;/P&gt;&lt;P&gt;CLEAR field.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0130 INPUT.&lt;/P&gt;&lt;P&gt;IF save_ok = 'OK2'.&lt;/P&gt;&lt;P&gt;number2 = '0140'.&lt;/P&gt;&lt;P&gt;field2 = field.&lt;/P&gt;&lt;P&gt;CLEAR field.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_100 INPUT.&lt;/P&gt;&lt;P&gt;CASE save_ok.&lt;/P&gt;&lt;P&gt;WHEN 'SUB1'.&lt;/P&gt;&lt;P&gt;number1 = '0110'.&lt;/P&gt;&lt;P&gt;WHEN 'SUB2'.&lt;/P&gt;&lt;P&gt;number1 = '0120'.&lt;/P&gt;&lt;P&gt;CLEAR field1.&lt;/P&gt;&lt;P&gt;WHEN 'SUB3'.&lt;/P&gt;&lt;P&gt;number2 = '0130'.&lt;/P&gt;&lt;P&gt;WHEN 'SUB4'.&lt;/P&gt;&lt;P&gt;number2 = '0140'.&lt;/P&gt;&lt;P&gt;CLEAR field2.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;flow logic for screen 100 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_100.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN: AREA1 INCLUDING SY-REPID NUMBER1,&lt;/P&gt;&lt;P&gt;AREA2 INCLUDING SY-REPID NUMBER2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE CANCEL AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;MODULE SAVE_OK.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN: AREA1,&lt;/P&gt;&lt;P&gt;AREA2.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;flow logic for screen 110 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE FILL_0110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;flow logic for screen 120 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE FILL_0120.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;flow logic for screen 130 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE FILL_0130.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0130. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;flow logic for screen 140 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE FILL_0140.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 05:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489292#M561711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T05:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489293#M561712</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;Check these demo programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;demo_dynpro_tabcont_loop&lt;/P&gt;&lt;P&gt;demo_dynpro_tabcont_loop_at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To handle table controls in ABAP programs, you must declare a control in the declaration part of the program for each table control using the following statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROLS &amp;lt;ctrl&amp;gt; TYPE TABLEVIEW USING SCREEN &amp;lt;scr&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &amp;lt;ctrl&amp;gt; is the name of the table control on a screen in the ABAP program. The control allows the ABAP program to read the attributes of the table control and to influence the control. The statement also declares a deep structure of name &amp;lt;ctl&amp;gt;. The data type of the structure corresponds to the type CXTAB_CONTROL defined in the type group CXTAB in the ABAP Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At runtime the components of the structure contain the attributes of the table control. Several of the initial values are determined in the Screen Painter. The initial value for the control &amp;lt;ctl&amp;gt; is taken from the screen which is determined using the addition USING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you write the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH CONTROL &amp;lt;ctrl&amp;gt; FROM SCREEN &amp;lt;scr&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can initialize a table control at any time with the initial value of a screen &amp;lt;scr&amp;gt;. Values that are not taken from the settings in the Screen Painter, are set to the current status of the table control at PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure CXTAB_CONTROL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The deep structure CXTAB_CONTROL contains the general attributes of the table control on the highest level. The component CXTAB_CONTROL is a table of the structure CXTAB_COLUMN and contains the attributes of a column. The component CXTAB_CONTROL-COLS-SCREEN is a flat structure of the same type as system table SCREEN and contains the attributes of the individual screen elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 05:09:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489293#M561712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T05:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489294#M561713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/online_pgm_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/online_pgm_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sts1.sts.tu-harburg.de/teaching/sap_r3/ABAP4/contro02.htm" target="test_blank"&gt;http://sts1.sts.tu-harburg.de/teaching/sap_r3/ABAP4/contro02.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Point if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 05:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/2489294#M561713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T05:16:08Z</dc:date>
    </item>
  </channel>
</rss>

