<?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: Table Control and Buttons in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637799#M1283215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soluton to Question 1.&lt;/P&gt;&lt;P&gt;In PBO Module loop and check the tablecontrol is having data or not if its initial loop at screen and disable the push button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. let GT_NEW_ABAN be your tbcl Variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at GT_NEW_ABAN&lt;/P&gt;&lt;P&gt;into GT_NEW_ABAN_WA&lt;/P&gt;&lt;P&gt;with control TAB_FAC_ABAND&lt;/P&gt;&lt;P&gt;cursor TAB_FAC_ABAND-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module hide_buttons.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE hide_button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if GT_NEW_ABAN_WA is initial.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;hide the corresponding button.&lt;/P&gt;&lt;P&gt;modify screen&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Scenario you can use a MODAL SCREEN which works as a popup.&lt;/P&gt;&lt;P&gt;    for all the push buttons you need to have same function code.&lt;/P&gt;&lt;P&gt;    just need to clear the popup screen everytime.&lt;/P&gt;&lt;P&gt;5. in PBO of the modal screen you acn put the codes to save the data to your database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR saving the data from screen to internal table you need to transfer the screen data to internal table inside the LOOP of PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;loop at GT_NEW_ABAN&lt;/P&gt;&lt;P&gt;into GT_NEW_ABAN_WA.&lt;/P&gt;&lt;P&gt;MODULE capture_data_from_screen.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE capture_data_from_screen.&lt;/P&gt;&lt;P&gt;move-corresponding GT_NEW_ABAN_WA to wa.&lt;/P&gt;&lt;P&gt;append wa into itab.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will get some idea from the above discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Suvendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2009 06:43:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-14T06:43:55Z</dc:date>
    <item>
      <title>Table Control and Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637797#M1283213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;This is my scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;            1. I have a table control ready with me, which contains 6 fields, 2 radio buttons and 1 push button. &lt;/P&gt;&lt;P&gt;                This is for 'N' number of rows.&lt;/P&gt;&lt;P&gt;            2. The position of the radio buttons is in between these 6 fields, exactly at the center.&lt;/P&gt;&lt;P&gt;                The position of the push button is at the end of the row.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;These are my requirements:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;             1. All the push buttons for all rows should be in disable mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             2. After the user has entered data in first 3 fields, the radio buttons come into picture. &lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;             3. If rad1 = 'X', then the user continues entering data for remaining 3 fields and goes&lt;/P&gt;&lt;P&gt;                 to the next row to the next row to enter more data or else he/she presses save and&lt;/P&gt;&lt;P&gt;                 the data is saved in the Internal Table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                 If rad2 = 'X', then the push button for that row gets enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            4. When the Push button is clicked, a pop-up screen is populated and the &lt;/P&gt;&lt;P&gt;                user enters more info for that row.&lt;/P&gt;&lt;P&gt;            5. After entering data in the pop-screen , the user presses enter and the data is saved for that row.&lt;/P&gt;&lt;P&gt;            6. Like this the process has to continue as long as the user wants to enter data for each row.&lt;/P&gt;&lt;P&gt;            7. Please do stress on how to save the data from screen to Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really facing lot of problems and I need solution desperately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: chandan sinha on May 13, 2009 7:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 05:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637797#M1283213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T05:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control and Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637798#M1283214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really need your help guys, there is no one who can help me ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 05:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637798#M1283214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T05:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control and Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637799#M1283215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soluton to Question 1.&lt;/P&gt;&lt;P&gt;In PBO Module loop and check the tablecontrol is having data or not if its initial loop at screen and disable the push button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. let GT_NEW_ABAN be your tbcl Variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at GT_NEW_ABAN&lt;/P&gt;&lt;P&gt;into GT_NEW_ABAN_WA&lt;/P&gt;&lt;P&gt;with control TAB_FAC_ABAND&lt;/P&gt;&lt;P&gt;cursor TAB_FAC_ABAND-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module hide_buttons.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE hide_button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if GT_NEW_ABAN_WA is initial.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;hide the corresponding button.&lt;/P&gt;&lt;P&gt;modify screen&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Scenario you can use a MODAL SCREEN which works as a popup.&lt;/P&gt;&lt;P&gt;    for all the push buttons you need to have same function code.&lt;/P&gt;&lt;P&gt;    just need to clear the popup screen everytime.&lt;/P&gt;&lt;P&gt;5. in PBO of the modal screen you acn put the codes to save the data to your database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR saving the data from screen to internal table you need to transfer the screen data to internal table inside the LOOP of PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;loop at GT_NEW_ABAN&lt;/P&gt;&lt;P&gt;into GT_NEW_ABAN_WA.&lt;/P&gt;&lt;P&gt;MODULE capture_data_from_screen.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE capture_data_from_screen.&lt;/P&gt;&lt;P&gt;move-corresponding GT_NEW_ABAN_WA to wa.&lt;/P&gt;&lt;P&gt;append wa into itab.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will get some idea from the above discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Suvendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 06:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637799#M1283215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T06:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control and Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637800#M1283216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Suvendu, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if u dont mind, can u please share your email address, where I can reach u immediately ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please this is a high priority case for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need ur help mate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 06:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637800#M1283216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T06:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control and Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637801#M1283217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 04:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-buttons/m-p/5637801#M1283217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T04:15:29Z</dc:date>
    </item>
  </channel>
</rss>

