<?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 Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595949#M267705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do we handle a BUTTON in a table control? This is purely a Z application&lt;/P&gt;&lt;P&gt;Initially the table control is empty. The table control is to allow the user enter RFQ items and update in Ztable. And the Button is to enter a long text for each item created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How do make the BUTTON invisible if table control is empty?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How to show the BUTTON for a particular row only if the key column of that table control is not initial? This means that if the user enters a value in the table control then only the BUTTON should be visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats happening till now is, i am able to create Longtext for the items, but say, when i enter 2 rows in the table control i get the same Logntext, since the USER COMMAND in either cases is the same and i dont want the Longtext for each row, i want teh LT different for each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide help&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Pratyusha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Oct 2006 01:33:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-02T01:33:34Z</dc:date>
    <item>
      <title>Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595949#M267705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do we handle a BUTTON in a table control? This is purely a Z application&lt;/P&gt;&lt;P&gt;Initially the table control is empty. The table control is to allow the user enter RFQ items and update in Ztable. And the Button is to enter a long text for each item created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How do make the BUTTON invisible if table control is empty?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How to show the BUTTON for a particular row only if the key column of that table control is not initial? This means that if the user enters a value in the table control then only the BUTTON should be visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats happening till now is, i am able to create Longtext for the items, but say, when i enter 2 rows in the table control i get the same Logntext, since the USER COMMAND in either cases is the same and i dont want the Longtext for each row, i want teh LT different for each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide help&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Pratyusha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 01:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595949#M267705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-02T01:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595950#M267706</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;For 1 and 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT T_DATA INTO S_DATA WITH CONTROL..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE DISABLE_BUTTON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE DISABLE_BUTTON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF S_DATA-KEY_FIELD IS INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF SCREEN-FIELD = 'DDD'.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&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;3. For long text for each row you have to declare your internal table like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF LONG_TEXT,&lt;/P&gt;&lt;P&gt;        TEXT(72),&lt;/P&gt;&lt;P&gt;       END OF LONG_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: T_LONG_TEXT TYPE STANDARD TABLE OF LONG_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF T_TABLE_CONTROL OCCURS 0,&lt;/P&gt;&lt;P&gt;        KEYFIELD1,&lt;/P&gt;&lt;P&gt;        ....&lt;/P&gt;&lt;P&gt;        ....&lt;/P&gt;&lt;P&gt;        LONG_TEXT TYPE T_LONG_TEXT,&lt;/P&gt;&lt;P&gt;      END OF T_TABLE_CONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For storing the values..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: WA           LIKE T_TABLE_CONTROL.&lt;/P&gt;&lt;P&gt;DATA: WA_LONG_TEXT TYPE LONG_TEXT.&lt;/P&gt;&lt;P&gt;DATA: T_LTEXT_TEMP TYPE STANDARD TABLE OF LONG_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;POPULATING THE LONG TEXT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WA_LONG_TEXT-TEXT = 'THIS IS IN LONG TEXT'.&lt;/P&gt;&lt;P&gt;APPEND WA_LONG_TEXT TO T_LTEXT_TEMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;POPULATE THE TABLE CONTROL INTERNAL TABLE.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WA-KEYFIELD1  = 'AA'.&lt;/P&gt;&lt;P&gt;WA-LONG_TEXT  = T_LTEXT_TEMP[].&lt;/P&gt;&lt;P&gt;APPEND WA TO T_TABLE_CONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 02:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595950#M267706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-02T02:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595951#M267707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi can u please help me in the table control problem where i have created a table control this is purely customised screen where i need to enter the data inside the table control and after all data entered on pressing save button i need to have data in ztable created what should i do how it can be done,&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ujwala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 07:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595951#M267707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T07:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595952#M267708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ujwala,&lt;/P&gt;&lt;P&gt;try to open a new thread rather than going in the same, that would be better for you to get the quick answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GNk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 07:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1595952#M267708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T07:53:41Z</dc:date>
    </item>
  </channel>
</rss>

