<?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: problem in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696226#M1103669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PBO&lt;/P&gt;&lt;P&gt;write like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If first_time_200(varible of type c) is initial.&lt;/P&gt;&lt;P&gt;Refresh 'TC(tc name)' from screen 200.&lt;/P&gt;&lt;P&gt;first_time_200 = 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you going back  &lt;/P&gt;&lt;P&gt; clear first_time_200.&lt;/P&gt;&lt;P&gt;It will definately work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alpesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alpesh on Nov 14, 2008 5:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 11:39:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-14T11:39:39Z</dc:date>
    <item>
      <title>problem in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696220#M1103663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirment in table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my initial screen is 100&lt;/P&gt;&lt;P&gt;in that i have table control with only one column which displays VBELN data.&lt;/P&gt;&lt;P&gt;now when i select any one sales order number and click on a button it takes me to screen 200 and displays the details about that sales order number in another table control in screen 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the table control in my screen 200 ie : details screen is in display mode except one particular field &lt;/P&gt;&lt;P&gt;NOTE QUANTITY in changed mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In screen 100 in table control i have following sales order numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1000&lt;/P&gt;&lt;P&gt;2000&lt;/P&gt;&lt;P&gt;3000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now when i select sales order number 1000 and clcik on the button it is displaying 5 line items in the next table control in screen 200.&lt;/P&gt;&lt;P&gt;now when i clcik back button on screen 200 it navigates back to screen 100 and now  iam selecting sales order number 2000 and click on the button it is diaplaying 3 line items for that sales order number 2000 in screen 200 table control. &lt;/P&gt;&lt;P&gt;now here iam facing a problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since ist the sales order number 1000 contains 5 line items in 1st 5 coloumns now when iam going back to sceen 100 and slecting sales order number 200 its showing 3 lines in ist 3 lines but for the field NOTE QUANTITY it is showing in change mode for 5 rows but it should show only for those rows which it has items ie : 3 rows in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie :  when iam going back the screen is not refreshing .&lt;/P&gt;&lt;P&gt;how can i refresh screen when i go back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get this..&lt;/P&gt;&lt;P&gt;Can any one suggest me.&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>Thu, 13 Nov 2008 11:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696220#M1103663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T11:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696221#M1103664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Problem would be solve be in 2-3 ways......It depends on you which appraoch would be best catchable by you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are going back from screen 200 to 100 and then selecting next one order 2000 you are getting 5 line insted of 3 ..........The solutions are follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)you have to refresh all that Table control before going to dispaly.&lt;/P&gt;&lt;P&gt;2)check whether the table used by for table control still have 5 rows if yes the make sure at that time table would be refresh so it's contain 3 rows for that 2000 order.&lt;/P&gt;&lt;P&gt;3)If you can also used the attribute of table control....but it complex too.&lt;/P&gt;&lt;P&gt;4)Make sure the screen should be refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have the same problem then reply to me....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 13:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696221#M1103664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T13:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696222#M1103665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can  u please tell me any one approach.... how to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 13:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696222#M1103665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T13:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696223#M1103666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For choose out the exact approach you should require depth knwoledge of modulepool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do as below.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Go to screen 200..&lt;/P&gt;&lt;P&gt;2)check which table r u using for table control?&lt;/P&gt;&lt;P&gt;3)Make sure that it should be populate at time of selection of order at screen 100 only and before it should be blank.&lt;/P&gt;&lt;P&gt;4) when you r going back screen 200 to 100 ,refresh/clear all the fields of screen 200.&lt;/P&gt;&lt;P&gt;5) For consitency check jus in devugg mode check whether table fo display have data before selecting 200 at screen 100...........if yes then above approach would be better for you.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still face proble then let me now your code .....so i can suggest you more.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 13:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696223#M1103666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T13:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696224#M1103667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my internal table is getting cleared......when iam going back from 200 to 100 screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the problem is with only the screen ie : NOTE QUANTITY field is in changed mode in my table control .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now for ist selection iam getting 5 rows in screen 200 and when i go back to screen 100 and select another entry and click excute iam getting 3 values for that 2nd entry now the changed field  NOTE QUATITY should be 3 rows but intead it is showing the next 2 rows also in change mode for that note quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do that can u please explain me.&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>Thu, 13 Nov 2008 14:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696224#M1103667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T14:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696225#M1103668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whatever you are explaining.........its showing that in table control for first order you are getiing 3 rows as in change mode and while you are coming back to screen 100 and again selecting 2000 order you geting total 5 rows in change mode.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do two things&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) at time of Table control display you can check the attribute of NOTE QUATITY against the field value or your internal table field value.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) just use 'SPACE' key word as below explanation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  you have 3 rows for 2000&lt;/P&gt;&lt;P&gt;it mean ur internal table have only 3 rows so update the value with 'SPACE' for rest of two rows which u r getting extra.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can give me your table control code..........then i can expalin you in more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 14:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696225#M1103668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T14:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696226#M1103669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PBO&lt;/P&gt;&lt;P&gt;write like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If first_time_200(varible of type c) is initial.&lt;/P&gt;&lt;P&gt;Refresh 'TC(tc name)' from screen 200.&lt;/P&gt;&lt;P&gt;first_time_200 = 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you going back  &lt;/P&gt;&lt;P&gt; clear first_time_200.&lt;/P&gt;&lt;P&gt;It will definately work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alpesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alpesh on Nov 14, 2008 5:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 11:39:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696226#M1103669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T11:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: problem in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696227#M1103670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;try this out.&lt;/P&gt;&lt;P&gt;Once you select a sale order in screen 100 and before selecting the corresponding item data (may be) using select query into another internal table you refresh the internal table that is going to display the item details of the selected sales order.&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;Ramchander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 12:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-table-control/m-p/4696227#M1103670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T12:23:40Z</dc:date>
    </item>
  </channel>
</rss>

