<?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: Adding field dynamically on screen. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798823#M343121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write your code as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for making data set 2# inactive&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF rdt1 = c_x.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-name EQ 'S_BELNR-LOW' OR&lt;/P&gt;&lt;P&gt;         screen-name EQ 'S_BELNR-HIGH' OR&lt;/P&gt;&lt;P&gt;         screen-name EQ 'P_GJAHR'.&lt;/P&gt;&lt;P&gt;        screen-input ='0'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for making data set 1# inactive&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF rdt2 = c_x.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-name EQ 'S_BUDAT-LOW'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'S_BUDAT-HIGH'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'S_KUNNR-LOW'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'S_KUNNR-HIGH'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'RDS1'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'RDS2'.&lt;/P&gt;&lt;P&gt;        screen-input ='0'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&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;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2007 05:27:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-04T05:27:04Z</dc:date>
    <item>
      <title>Adding field dynamically on screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798818#M343116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;I have to add fields dynamically on screen based on the no. of data records.&lt;/P&gt;&lt;P&gt;Is there any way to add field dynamically.&lt;/P&gt;&lt;P&gt;I need field like this:&lt;/P&gt;&lt;P&gt;first a check box       second not editable field  third editable field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table control is another way to solve the problem but only constraint about check box.&lt;/P&gt;&lt;P&gt;Please help me find out any solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Piyush Mathur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 04:03:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798818#M343116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T04:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding field dynamically on screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798819#M343117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello piyush&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want check box for selection of row u can create table control with selection columan . and the column name for the selection column will be same column for which u want to create check box. u can enable multiselect of table control and handle same as u handle check box. but this will not work in case u have to handle some events on checkbox selection. u have to provide some button for that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see if it works for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 04:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798819#M343117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T04:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding field dynamically on screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798820#M343118</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;Check this link for table control.Here I am explaining database manipulation using table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table%20control%20in%20abap.pdf" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table%20control%20in%20abap.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 04:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798820#M343118</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-01-04T04:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding field dynamically on screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798821#M343119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your question is not clear.. are you dealing with table controls or just some fields in the screen...&lt;/P&gt;&lt;P&gt;instead dynamically adding try hiding and displaying the fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-name = 'CHECK1'.&lt;/P&gt;&lt;P&gt;      screen-invisible = 1.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 04:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798821#M343119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T04:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding field dynamically on screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798822#M343120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the fields to be displayed in this manner you can do it PBO of the screen &lt;/P&gt;&lt;P&gt;like at selection-screen output event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you have to write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt; if screen-name = 'S_FIELD-LOW' or screen-name = 'S_FIELD-HIGH' &lt;/P&gt;&lt;P&gt;   screen-output = '1'.&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;&lt;/P&gt;&lt;P&gt;i have given the example for selection screen.&lt;/P&gt;&lt;P&gt;but for your own screen you have to code in PBO  module and there you have to use loop at screen and screen fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 05:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798822#M343120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T05:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding field dynamically on screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798823#M343121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write your code as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for making data set 2# inactive&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF rdt1 = c_x.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-name EQ 'S_BELNR-LOW' OR&lt;/P&gt;&lt;P&gt;         screen-name EQ 'S_BELNR-HIGH' OR&lt;/P&gt;&lt;P&gt;         screen-name EQ 'P_GJAHR'.&lt;/P&gt;&lt;P&gt;        screen-input ='0'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for making data set 1# inactive&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF rdt2 = c_x.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-name EQ 'S_BUDAT-LOW'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'S_BUDAT-HIGH'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'S_KUNNR-LOW'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'S_KUNNR-HIGH'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'RDS1'&lt;/P&gt;&lt;P&gt;         OR screen-name EQ 'RDS2'.&lt;/P&gt;&lt;P&gt;        screen-input ='0'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&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;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 05:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-field-dynamically-on-screen/m-p/1798823#M343121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T05:27:04Z</dc:date>
    </item>
  </channel>
</rss>

