<?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: Calling internal table and values dynamically to read and modify in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713896#M1947740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort is an option in the pricing report configuration, so I'm confused why do you need an enhancement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/962322" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2016 21:59:55 GMT</pubDate>
    <dc:creator>Jelena_Perfiljeva</dc:creator>
    <dc:date>2016-05-26T21:59:55Z</dc:date>
    <item>
      <title>Calling internal table and values dynamically to read and modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713893#M1947737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am enhancing the standard program using implicit enhancement (for Pricing report in V/LD).&lt;/P&gt;&lt;P&gt;This is Pricing report program which displays number of ALV lists based on selection parameters. The requirement is to make this ALV list with a new sorting order type such as condition type value, country name. &lt;/P&gt;&lt;P&gt;In my enhancement point, all the data (internal tables) are available like Fieldcat tables (FIELDCAT_AXX), sorting tables(IT_SORT_AXXX) and final data tables (T_POS_AXXX). &lt;/P&gt;&lt;P&gt;This AXXX can be derived from SORTTAB table, based on that I need to pick the other table values and do my modification. &lt;/P&gt;&lt;P&gt;For example, if i need to modify the record in T_POS_A100 then I have to READ or Loop this table and modify the record. &lt;/P&gt;&lt;P&gt;The data I have only condition tables like A100, A101 then using concatenate statement I will write FIELDCAT_ or IT_SORT_ to variable. After I need to use this variable as internal table for my read and loop statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So kindly help how to do this using dynamic internal table class statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note, I tried with following commands but no use and going run-time error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_SORT_A004 type slis_t_sortinfo_alv (declared in the standard program and can't be changed)/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa type w_tabname.&lt;/P&gt;&lt;P&gt;wa = IT_SORT_A004&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE DATA new_line TYPE (wa) OR&lt;/P&gt;&lt;P&gt;CREATE DATA cl_employees LIKE LINE OF ( wa ).&lt;/P&gt;&lt;P&gt;ref_descr ?= cl_abap_typedescr=&amp;gt;describe_by_data( p_name = wa ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 13:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713893#M1947737</guid>
      <dc:creator>manikandan_rajasekaran2</dc:creator>
      <dc:date>2016-05-25T13:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calling internal table and values dynamically to read and modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713894#M1947738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; MANIKANDAN RAJASEKARAN,&lt;/P&gt;&lt;P&gt;please give details od Report and form name, enhance at end of or at begin of block. What ist produced result of report now, what is the expected result?&lt;/P&gt;&lt;P&gt;I do not understand what the above code lines are good for, your questions subject is misleading. Could be "ENHANCEMENT for standard report &lt;SPAN style="font-size: 13.3333px;"&gt;ALV sort&lt;/SPAN&gt; needed"&lt;/P&gt;&lt;P&gt;Regards Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 14:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713894#M1947738</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2016-05-25T14:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calling internal table and values dynamically to read and modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713895#M1947739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if the subject is not clear , yes you are right it is an enhancement but the actual goal is modifying the internal table records of the standard program using dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating the implicit enhancement for writing the standard program of Pricing report into new sorting order types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the standard Pricing report program V/LD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached for better understanding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exit point : where we can able to do changes using implicit enhancement&lt;/P&gt;&lt;P&gt;Alvlist: output of the Pricing report (current one)&amp;nbsp; - 2 ALV list&lt;/P&gt;&lt;P&gt;cond table: Two condition tables so 2 alv list as output&lt;/P&gt;&lt;P&gt;Internal table with values : new sorting to happen for the two condition tables, here we need to call these tables dynamically and do our modification&lt;/P&gt;&lt;P&gt;I am able to concatenate with the condition table values like&lt;/P&gt;&lt;P&gt;Concatenate 'T_POS'&amp;nbsp; sorttab-axxx into variable, now I have the internal table name as T_POS_A925 in my variable. I need to call these internal table records and do my changes (sorting new list based on country name instead country key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/961264" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/961271" width="450" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/961272" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/961273" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/961275" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 14:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713895#M1947739</guid>
      <dc:creator>manikandan_rajasekaran2</dc:creator>
      <dc:date>2016-05-25T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calling internal table and values dynamically to read and modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713896#M1947740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort is an option in the pricing report configuration, so I'm confused why do you need an enhancement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/962322" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 21:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713896#M1947740</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2016-05-26T21:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calling internal table and values dynamically to read and modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713897#M1947741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you just missed quotation marks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa = 'IT_SORT_A004'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa = IT_SORT_A004&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-internal-table-and-values-dynamically-to-read-and-modify/m-p/11713897#M1947741</guid>
      <dc:creator>ThomasKruegl</dc:creator>
      <dc:date>2016-06-01T15:31:25Z</dc:date>
    </item>
  </channel>
</rss>

