<?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: Doubt in Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379572#M527958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use table control in the screen and called internal table. Use input/output attribute for fileds NETPR ,PEINT . You can get codes from abap examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2007 11:05:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-01T11:05:37Z</dc:date>
    <item>
      <title>Doubt in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379571#M527957</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;it_tab1: (Po number) EBELN, (Line item number) EBELP , (vendor) LIFNR, (plant) WERKS, (material number) MATNR,NETPR ,PEINT.&lt;/P&gt;&lt;P&gt;IT_tab2: (Po number) EBELN, (Line item number) EBELP , (vendor) LIFNR, (plant) WERKS, (material number) MATNR. etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_tab1 internal table gets value from EXCEL .&lt;/P&gt;&lt;P&gt;it_tab2 internal table gets value from header and line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to change value for fileds NETPR ,PEINT in internal table it_merge from it_excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 10:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379571#M527957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T10:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379572#M527958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use table control in the screen and called internal table. Use input/output attribute for fileds NETPR ,PEINT . You can get codes from abap examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 11:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379572#M527958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T11:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379573#M527959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ty this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ow i need to change value for fileds NETPR ,PEINT in internal table it_merge from it_excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      loop at it_excel.&lt;/P&gt;&lt;P&gt;                it_excel-netpr = 'changed value'.&lt;/P&gt;&lt;P&gt;                it_excel-peint = 'changed value'.&lt;/P&gt;&lt;P&gt;                modify it_excel transporting netpr peint.&lt;/P&gt;&lt;P&gt;                append it_merge from it_excel.&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;reward point if useful&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 12:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379573#M527959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T12:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379574#M527960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_excel.&lt;/P&gt;&lt;P&gt;it_excel-netpr = 'changed value'.&lt;/P&gt;&lt;P&gt;it_excel-peint = 'changed value'.&lt;/P&gt;&lt;P&gt;modify it_excel transporting netpr peint.&lt;/P&gt;&lt;P&gt;move it_excel it_iab1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 12:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379574#M527960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T12:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379575#M527961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sample code is better then using MODIFY:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs_tab2&amp;gt; LIKE LINE OF it_tab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_tab2 ASSIGNING &amp;lt;fs_tab2&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read corresponding document/item combo from the EXCEL table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  READ TABLE it_tab1 INTO wa_tab1&lt;/P&gt;&lt;P&gt;        WITH KEY ebeln = &amp;lt;fs_tab2&amp;gt;-ebeln&lt;/P&gt;&lt;P&gt;                         ebelp = &amp;lt;fs_tab2&amp;gt;-ebelp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This directly modifies the 2 fields in IT_TAB2 without using the MODIFY statement&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      &amp;lt;fs_tab2&amp;gt;-NETPR = wa_tab1-NETPR.&lt;/P&gt;&lt;P&gt;      &amp;lt;fs_tab2&amp;gt;-PEINT = wa_tab1-PEINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ENDIF.&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;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roel van den Berge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 12:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379575#M527961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T12:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379576#M527962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. l function module -  &amp;#145;ALSM_EXCEL_TO_INTERNAL_TABLE&amp;#146; to get the excel sheet data into internal table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. sort the itab ebeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. declare a structure with netpr and perint. let it be stab for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. loop at itab.&lt;/P&gt;&lt;P&gt;     read table i_ekko_ekpo with key ebeln = itab=eblen.&lt;/P&gt;&lt;P&gt;      if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;       move:   stab-netpr to i_ekko_ekpo-netpr ,&lt;/P&gt;&lt;P&gt;                  stab-peint  to i_ekko_ekpo-peint.&lt;/P&gt;&lt;P&gt;        modify i_ekko_ekpo from stab transporting netnr peint where ebeln = itab-eblen.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;5,. now check the  values in the i_ekko_ekpo table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 12:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-internal-table/m-p/2379576#M527962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T12:36:22Z</dc:date>
    </item>
  </channel>
</rss>

