<?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: internal tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481553#M225242</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;Loop at it_ckis into wa_ckis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table it_ckit into wa_ckit with key &lt;/P&gt;&lt;P&gt;                             LEDNR = wa_ckis-lednr.&lt;/P&gt;&lt;P&gt;"If u want, u can add some more key fields while reading &lt;/P&gt;&lt;P&gt;"the CKIT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_ckis-ltext = wa_ckit-ltext.&lt;/P&gt;&lt;P&gt;modify i_ckis from wa_ckis transporting ltext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But instead of doing like this, U can directly put an inner join between these 2 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Sep 2006 09:21:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-05T09:21:10Z</dc:date>
    <item>
      <title>internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481547#M225236</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;&lt;/P&gt;&lt;P&gt;good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have one internal table IT_CKIS, with some 10 fields,&lt;/P&gt;&lt;P&gt;LTEXT,is one of them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and,i have second internal table IT_CKIT,with only one field LTEXT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have populated these internal table with two separate SELECT statements,not used INNER JOIN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have some values of LTEXT in my second internal table,IT_CKIT,that i want to move to LTEXT of first internal table IT_CKIS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please,let me know,how&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;amp; regards,&lt;/P&gt;&lt;P&gt;kcc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481547#M225236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-05T09:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481548#M225237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i will tell u ow to move..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before that tell me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose if u got 20 entries in IT_CKIS&lt;/P&gt;&lt;P&gt;             and 10 entries in IT_CKIT..&lt;/P&gt;&lt;P&gt;(there may b chace to get like this)&lt;/P&gt;&lt;P&gt;how can u move 20 into 10 entries table...   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then also u want move 20 entries into 10 entries table,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481548#M225237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-05T09:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481549#M225238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Both 2 internal tables must have a key field. Using the key field u can move the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at IT_CKIT.&lt;/P&gt;&lt;P&gt;LTEXT = IT_CKIT-LTEXT.&lt;/P&gt;&lt;P&gt;MODIFY IT_CKIS FROM WA_IT_CKIS TRANSPORTING LTEXT WHERE&lt;/P&gt;&lt;P&gt;                  Keyfield = IT_CKIT-keyfield.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_IT_CKIS  - Workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try out this logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481549#M225238</guid>
      <dc:creator>baskaran00</dc:creator>
      <dc:date>2006-09-05T09:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481550#M225239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  do this way ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; loop at IT_CKIS.

  read table IT_CKIT with key field-IT_CKIS-field.

  it_ckis-ltext = it_ckit-ltext.
  append it_ckis.
 Endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481550#M225239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-05T09:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481551#M225240</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;loop at it_ckit.&lt;/P&gt;&lt;P&gt;move it_ckit-ltext to it_ckis-ltext.&lt;/P&gt;&lt;P&gt;append it_ckis.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Please award points for useful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:16:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481551#M225240</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-09-05T09:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481552#M225241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   You can move entries from it_ckit to it_ckis &lt;/P&gt;&lt;P&gt;   as follows&lt;/P&gt;&lt;P&gt;    loop at it_ckit.&lt;/P&gt;&lt;P&gt;     it_ckis-ltext = it_ckit-ltext &lt;/P&gt;&lt;P&gt;     append it_ckis.&lt;/P&gt;&lt;P&gt;    endloop.  &lt;/P&gt;&lt;P&gt;   it_ckis will have contents of it_ckit but&lt;/P&gt;&lt;P&gt;   only ltext field will have value all other&lt;/P&gt;&lt;P&gt;   fields will be blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481552#M225241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-05T09:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481553#M225242</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;Loop at it_ckis into wa_ckis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table it_ckit into wa_ckit with key &lt;/P&gt;&lt;P&gt;                             LEDNR = wa_ckis-lednr.&lt;/P&gt;&lt;P&gt;"If u want, u can add some more key fields while reading &lt;/P&gt;&lt;P&gt;"the CKIT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_ckis-ltext = wa_ckit-ltext.&lt;/P&gt;&lt;P&gt;modify i_ckis from wa_ckis transporting ltext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But instead of doing like this, U can directly put an inner join between these 2 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481553#M225242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-05T09:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481554#M225243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the MOVE-CORRESPONDING statement for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax-&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING address TO name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481554#M225243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-05T09:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481555#M225244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaandramouli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are saying your second IT has only LTEXT field.&lt;/P&gt;&lt;P&gt;so on which basis u r going to get LTEXT from IT_CKIT?&lt;/P&gt;&lt;P&gt;while gettting IT_CKIT it self get primary key of text also.&lt;/P&gt;&lt;P&gt;so u can do the following.&lt;/P&gt;&lt;P&gt;loop at it_ckis.&lt;/P&gt;&lt;P&gt;  v_tabix = sy-tabix.&lt;/P&gt;&lt;P&gt;  read table it_ckit with key xxx = it_ckit-xxx.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   modify table it_ckis with ltext using v_tabix.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&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;-Anu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2006 09:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1481555#M225244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-05T09:46:07Z</dc:date>
    </item>
  </channel>
</rss>

