<?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: reading field from screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332909#M798715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELF ANSWERED..........Adding 1 more column in ITAB and check X where ever menge field is filled while fetching data from DB table.&lt;/P&gt;&lt;P&gt;Thanks to all for help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2008 10:37:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-23T10:37:09Z</dc:date>
    <item>
      <title>reading field from screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332905#M798711</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;                I have fetched the records from ztable and shown on screen.. it has five columns. In Qty column few cells has entry &amp;amp; few dont have. The cells which has entries are in disable mode and rest are in input mode for user to enetr qty. &lt;/P&gt;&lt;P&gt;After that I need to save the records only which are in input mode. What is the condition for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially I am using below code to read the field value for all rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;line_num = 11 + N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ LINE line_num FIELD VALUE ITAB-WERKS ITAB-MONTH ITAB-MATNR ITAB-MAKTX XMENGE ITAB-MEINS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ZFORDATA-WERKS = ITAB-WERKS.&lt;/P&gt;&lt;P&gt;        ZFORDATA-ZMONTH = ITAB-MONTH.&lt;/P&gt;&lt;P&gt;        ZFORDATA-ZYEAR = ITAB-YEAR.&lt;/P&gt;&lt;P&gt;        ZFORDATA-MATNR = ITAB-MATNR.&lt;/P&gt;&lt;P&gt;        ZFORDATA-MAKTX = ITAB-MAKTX.&lt;/P&gt;&lt;P&gt;        ZFORDATA-PQTY = ITAB-MENGE.&lt;/P&gt;&lt;P&gt;        ZFORDATA-MEINS = ITAB-MEINS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          INSERT ZFORDATA.&lt;/P&gt;&lt;P&gt;          XMSG = 'X'.&lt;/P&gt;&lt;P&gt;          n =  n + 2.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;******************************************************&lt;/P&gt;&lt;P&gt;PLZ HELP. URGENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kHAN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 09:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332905#M798711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T09:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: reading field from screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332906#M798712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take on e more field of checkbox user shud check before entering quantity&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;loop at itab where checkbox = 'x'.&lt;/P&gt;&lt;P&gt;modify itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz.reward&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 10:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332906#M798712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T10:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: reading field from screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332907#M798713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In your output add checkbox field to each record as first fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ LINE line_num FIELD VALUE ITAB-WERKS ITAB-MONTH ITAB-MATNR ITAB-MAKTX XMENGE ITAB-MEINS where checkbox = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you will get the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 10:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332907#M798713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T10:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: reading field from screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332908#M798714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use another internal as check table.&lt;/P&gt;&lt;P&gt;At the start when you select data in ITAB ,store ITAB int IT_CHKTAB.&lt;/P&gt;&lt;P&gt;i.e. IT_CHKTAB[] = ITAB[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are updating database table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at ITAB into WA_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ind = sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table IT_CHKTAB into wa_CHKTAB index Ind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  WA_CHKTAB NE  WA_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_ZFORDATA-WERKS = wa_ITAB-WERKS.&lt;/P&gt;&lt;P&gt;wa_ZFORDATA-ZMONTH = wa_ITAB-MONTH.&lt;/P&gt;&lt;P&gt;wa_ZFORDATA-ZYEAR = wa_ITAB-YEAR.&lt;/P&gt;&lt;P&gt;wa_ZFORDATA-MATNR = wa_ITAB-MATNR.&lt;/P&gt;&lt;P&gt;wa_ZFORDATA-MAKTX = wa_ITAB-MAKTX.&lt;/P&gt;&lt;P&gt;wa_ZFORDATA-PQTY = wa_ITAB-MENGE.&lt;/P&gt;&lt;P&gt;wa_ZFORDATA-MEINS = wa_ITAB-MEINS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update ZFORDATA from wa_ZFORDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear : wa_ITAB, wa_CHKTAB, wa_ZFORDATA.&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;Edited by: sagar kekare on Jan 23, 2008 3:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 10:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332908#M798714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T10:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: reading field from screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332909#M798715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELF ANSWERED..........Adding 1 more column in ITAB and check X where ever menge field is filled while fetching data from DB table.&lt;/P&gt;&lt;P&gt;Thanks to all for help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 10:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-field-from-screen/m-p/3332909#M798715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T10:37:09Z</dc:date>
    </item>
  </channel>
</rss>

