<?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: To read table control values at runtime while running BDC for XD02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938800#M387957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Query the Table KNVA. Pass KUNNR to get multiple ABLADs (Loading or Unloading points).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2007 13:34:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-22T13:34:34Z</dc:date>
    <item>
      <title>To read table control values at runtime while running BDC for XD02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938799#M387956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im using the Transaction code XD02 to change the details of a customer based on the details in the spreadshhet. I have written a BDC for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There can be more than one Unloading Points for a customer, but only one will be checked as default Unloading point. I need to modify only that unloading point which is Checked as Default. I need to identify the default unloading point at runtime while running BDC to update it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 13:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938799#M387956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T13:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: To read table control values at runtime while running BDC for XD02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938800#M387957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Query the Table KNVA. Pass KUNNR to get multiple ABLADs (Loading or Unloading points).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 13:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938800#M387957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T13:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: To read table control values at runtime while running BDC for XD02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938801#M387958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have  done something similar for xk02 . In oder to change the records in a table control u will have to query and find how many records are there and postion the index on that record which has to be changed.  i can give u a similar code to find the number of records. You can use some help from the code below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward with points if found useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT lifnr banks bankl bankn FROM lfbk INTO TABLE tbl_lfbk_tmp&lt;/P&gt;&lt;P&gt;  FOR ALL ENTRIES IN tbl_input&lt;/P&gt;&lt;P&gt;  WHERE lifnr = tbl_input-lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    SORT tbl_lfbk_tmp BY lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT tbl_lfbk_tmp.&lt;/P&gt;&lt;P&gt;      AT NEW lifnr.&lt;/P&gt;&lt;P&gt;        CLEAR tbl_lfbk-cnt.&lt;/P&gt;&lt;P&gt;        tbl_lfbk-lifnr = tbl_lfbk_tmp-lifnr.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;      tbl_lfbk-cnt = tbl_lfbk-cnt + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      AT END OF lifnr.&lt;/P&gt;&lt;P&gt;        APPEND tbl_lfbk.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 14:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938801#M387958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T14:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: To read table control values at runtime while running BDC for XD02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938802#M387959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I have to update only default unloading point in XD02. &lt;/P&gt;&lt;P&gt;At runtime i have to know the index of the default unloading point so as to pass that index to bdcdata.&lt;/P&gt;&lt;P&gt;For example: If there are three unloading points and the second is checked as default, I have to update the second record.&lt;/P&gt;&lt;P&gt;My query is how to know that the second record is checked as default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried by selecting data from KNVA, but the records will not be retrived into the internal table in the same as order as they are maintained in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope Im clear with my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 09:45:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-read-table-control-values-at-runtime-while-running-bdc-for-xd02/m-p/1938802#M387959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T09:45:53Z</dc:date>
    </item>
  </channel>
</rss>

