<?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 Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488121#M227417</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 designed an interface like SM31 to maintain a Z-table. My requirement is that I don't want to make Key fields input-enabled until user want to insert a new record and when user clicks on button in toolbar to insert a new row in table control to enter a new record in the Z-table the new row should have key-fields input enabled but not the existing rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me out in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jul 2006 09:24:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-31T09:24:56Z</dc:date>
    <item>
      <title>Table control in Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488121#M227417</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 designed an interface like SM31 to maintain a Z-table. My requirement is that I don't want to make Key fields input-enabled until user want to insert a new record and when user clicks on button in toolbar to insert a new row in table control to enter a new record in the Z-table the new row should have key-fields input enabled but not the existing rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me out in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 09:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488121#M227417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T09:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488122#M227418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For existing records, make your fields as screen-input = 0 for primary key. Put one button on the screen, which helps you to make toggle between change and display... and The button for new will come only in the change mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All other records, do like screen-input = 1. (when new rows are begin inserted )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 09:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488122#M227418</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-07-31T09:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488123#M227419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Go through the example program in the &lt;/P&gt;&lt;P&gt;    ABAPDOCU .."Table_control_with_modification"-&lt;/P&gt;&lt;P&gt; "Report - demo_dynpro_tabcont_loop_at" &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    You can access the Table control columns with the&lt;/P&gt;&lt;P&gt;    field name "cols" of the Table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    example :  controls : tab1 type tableview.&lt;/P&gt;&lt;P&gt;               "tab1-cols" will have columns&lt;/P&gt;&lt;P&gt;                within the cols we can use the&lt;/P&gt;&lt;P&gt;                Screen internal table to modify the&lt;/P&gt;&lt;P&gt;                attributes of the screen fields..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 09:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488123#M227419</guid>
      <dc:creator>Shivaji16</dc:creator>
      <dc:date>2006-07-31T09:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488124#M227420</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 gone thru that program already. My requirement is that I want to keep Key Fields input-disabled for existing records and input-enabled to insert new record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg. if there are 10 lines in table control and I insert an 11th line then only 11th line should have key fields as input-enabled and not the existing 10 rows. I am not able to modify screen attributes only for the new line without affecting the existing ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 09:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488124#M227420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T09:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488125#M227421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly check if you have hardcoded any checkboxes for the key field's screen attributes on the properties dialog box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: output only...or input disabled..such things..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 10:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488125#M227421</guid>
      <dc:creator>Shivaji16</dc:creator>
      <dc:date>2006-07-31T10:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488126#M227422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;First assign a screen group to the columns which are to be input disabled initially and in PBO have a flag set and input disable them using screen attributes. When a new entry is made, reset the flag and enable the fields with reference to the screen group.&lt;/P&gt;&lt;P&gt;You can enable/disable the entire column, row, particular cell of a table control using the screen groups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 12:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488126#M227422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T12:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488127#M227423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your table control PBO module you need the following code.  Loop at the screen.  If the field name is a key field and the key field has a value, then make the field non-input enable.  If it is a key field and the key field has no value, then make the field input enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your PAI module you need code to append a blank line to your internal table for the new input enable row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;SCREEN FLOW&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process Before Output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at control xyz.&lt;/P&gt;&lt;P&gt;    module process-control-xyz&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;&lt;/P&gt;&lt;P&gt;MODULE PROCES-CONTROL-XYZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read table itab index xyz-current_line.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name = 'ITAB-KEY_FIELD'. &lt;/P&gt;&lt;P&gt;    and not itab-key_field is initial.&lt;/P&gt;&lt;P&gt;      screen-input = 0.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;       screen-input = 1.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;exit from step-loop.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Jerrod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 22:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-screen/m-p/1488127#M227423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T22:46:26Z</dc:date>
    </item>
  </channel>
</rss>

