<?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 Prob. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284418#M153510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DYNP_VALUES_READ&amp;lt;/b&amp;gt; Reads a screen field &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DYNP_VALUES_UPDATE&amp;lt;/b&amp;gt; Updates a screen field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            DYNAME                   = SY-CPROG&lt;/P&gt;&lt;P&gt;            DYNUMB                   = SY-DYNNR&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DYNPFIELDS               = DYFIELDS .&lt;/P&gt;&lt;P&gt;  READ TABLE DYFIELDS INDEX 1.&lt;/P&gt;&lt;P&gt;*--- get short text and update current field&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Mar 2006 05:12:11 GMT</pubDate>
    <dc:creator>vinod_gunaware2</dc:creator>
    <dc:date>2006-03-29T05:12:11Z</dc:date>
    <item>
      <title>Table Control Prob.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284417#M153509</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;Presently I am working with table control,I have got two date fields, I need to do the validation for the date fields,that can be done by me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the user enters the wrong date while entering multiple entries, how can we get the line number of the record in which wrong entry is being done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to write this In the Screen PAI with CHAIN and ENDCHAIN statements for this table fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or in the PAI screen if ok code equal to  save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 05:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284417#M153509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-29T05:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Prob.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284418#M153510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DYNP_VALUES_READ&amp;lt;/b&amp;gt; Reads a screen field &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DYNP_VALUES_UPDATE&amp;lt;/b&amp;gt; Updates a screen field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            DYNAME                   = SY-CPROG&lt;/P&gt;&lt;P&gt;            DYNUMB                   = SY-DYNNR&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DYNPFIELDS               = DYFIELDS .&lt;/P&gt;&lt;P&gt;  READ TABLE DYFIELDS INDEX 1.&lt;/P&gt;&lt;P&gt;*--- get short text and update current field&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 05:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284418#M153510</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-03-29T05:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Prob.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284419#M153511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you will need to write this validation in the PAI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you can do is call a module in pai, and within this module you loop on the internal table which you want to process...this is the internal table underlying for the table control....you can simply display a message with the number of the erroneous row (sy-tabix) of the internal table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this of course depends on when exactly you want to carry out the validation....catch the appropriate OK_CODE for this purpose and then process your internal table...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 05:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284419#M153511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-29T05:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Prob.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284420#M153512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it in a module in CHAIN.. ENDCHAIN in PAI. If an error is thrown at one particular table control line, the control stops and waits for a valid input for the further processing.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;    chain.&lt;/P&gt;&lt;P&gt;      field SFLIGHT-CARRID.&lt;/P&gt;&lt;P&gt;      field SFLIGHT-CONNID.&lt;/P&gt;&lt;P&gt;      field SFLIGHT-FLDATE.&lt;/P&gt;&lt;P&gt;      field SFLIGHT-PRICE.&lt;/P&gt;&lt;P&gt;      module TABCON1_modify on chain-request.&lt;/P&gt;&lt;P&gt;    endchain.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module pool program:&lt;/P&gt;&lt;P&gt;module TABCON1_modify input.&lt;/P&gt;&lt;P&gt; ....&lt;/P&gt;&lt;P&gt;  do certain validations of the field values entered&lt;/P&gt;&lt;P&gt;  message e001 with 'Please enter valid data'.&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;Message was edited by: Sravanthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 05:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-prob/m-p/1284420#M153512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-29T05:42:46Z</dc:date>
    </item>
  </channel>
</rss>

