<?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 Table control in dialog programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926786#M1332463</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;I have a requirement in dialog programming as if I enter the value of a field exidv from vekp table in the first screen and click enter, then in the next screen the value of that field should be printed  along with the counter as 1.Again if I enter another value for that field in the second screen itself then the value of that field should also be displayed in the same screen along with the old value and the counter should be changed to 2.But the latest entered value should be at the top.In this way the user can enter any number of values in that field and the value of counter should be increasing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this?Is it possible to achieve this through table control?How to get scroll bar in table control?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2009 09:09:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-21T09:09:02Z</dc:date>
    <item>
      <title>Table control in dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926786#M1332463</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;I have a requirement in dialog programming as if I enter the value of a field exidv from vekp table in the first screen and click enter, then in the next screen the value of that field should be printed  along with the counter as 1.Again if I enter another value for that field in the second screen itself then the value of that field should also be displayed in the same screen along with the old value and the counter should be changed to 2.But the latest entered value should be at the top.In this way the user can enter any number of values in that field and the value of counter should be increasing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this?Is it possible to achieve this through table control?How to get scroll bar in table control?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 09:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926786#M1332463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T09:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926787#M1332464</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;when you set the number of lines for table control, you will get scroll bar automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;describe table itab lines n
tab_cntl-lines = n.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you press enter in the flow logic of the screen it goes through PBO and PAI,So&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;in pai 

loop at itab.
module modify_itab.
endloop.

module  modify_itab..
counter = counter + 1.
itab-counter = counter.
append itab.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shaik sajid on Jul 21, 2009 11:12 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 09:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926787#M1332464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T09:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926788#M1332465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can use the concept of memory-id to get a value which was entered previous screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nidhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 09:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926788#M1332465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926789#M1332466</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;when you enter the value in the 1st position if it is going to  second position all that is sap standard functionalty no need to very about that first enter the all the values and check in display mode..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for  scrolling  check with below link.&lt;/P&gt;&lt;P&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="7540936"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~linganna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 09:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926789#M1332466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T09:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926790#M1332467</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 this code for table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIALOG PROGRAMMING&lt;/P&gt;&lt;P&gt;TABLE CONTROL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN SE51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MODULE STATUS_0100.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT ITVBAK WITH CONTROL TABCTRL. ## TABLE CONTROL NAME &lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100.&lt;/P&gt;&lt;P&gt;LOOP AT ITVBAK.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;IN PAI FLOW LOGIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM YMODULE_PR4 .&lt;/P&gt;&lt;P&gt;TABLES : KNA1, VBAK.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITVBAK OCCURS 0,&lt;/P&gt;&lt;P&gt;VBELN LIKE VBAK-VBELN,&lt;/P&gt;&lt;P&gt;ERDAT LIKE VBAK-ERDAT,&lt;/P&gt;&lt;P&gt;ERNAM LIKE VBAK-ERNAM,&lt;/P&gt;&lt;P&gt;NETWR LIKE VBAK-NETWR,&lt;/P&gt;&lt;P&gt;END OF ITVBAK.&lt;/P&gt;&lt;P&gt;CONTROLS : TABCTRL TYPE TABLEVIEW USING SCREEN '0100'.&lt;/P&gt;&lt;OL&gt;&lt;OL&gt;&lt;LI level="2" type="ol"&gt;&lt;P&gt;TO ACTIVATE SCROLL BAR&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Module USER_COMMAND_0100 INPUT&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT.&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;WHEN SPACE.&lt;/P&gt;&lt;P&gt;SELECT VBELN ERDAT ERNAM NETWR&lt;/P&gt;&lt;P&gt;FROM VBAK&lt;/P&gt;&lt;P&gt;INTO TABLE ITVBAK&lt;/P&gt;&lt;P&gt;WHERE KUNNR = KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;TABCTRL-LINES = SY-DBCNT.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE. " USER_COMMAND_0100 INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Module STATUS_0100 OUTPUT&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;MODULE STATUS_0100 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;LI level="1" type="ul"&gt;&lt;P&gt;SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDMODULE. " STATUS_0100 OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh Goel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 09:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926790#M1332467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T09:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926791#M1332468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user enters the value of exidv field in the first screen and click enter the control has to go to 2nd screen and display the value of exidv in the table control and the counter value should be displayed as 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the code given below but the value is not getting displayed in the table control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 12:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926791#M1332468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T12:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926792#M1332469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the sample code with screen shot in following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 06:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-dialog-programming/m-p/5926792#M1332469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-22T06:57:04Z</dc:date>
    </item>
  </channel>
</rss>

