<?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: Problem with Internal Table Assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table-assignment/m-p/6163155#M1370513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge Alonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply. But the problem is, suppose the destination sturcture has some numeric fields or currency fields, how do we do the assignment.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I got a class CL_ABAP_CONTAINER_UTILITIES, which has two methods. &lt;/P&gt;&lt;P&gt;1. READ_CONTAINER_C - This converts a string to a structure.&lt;/P&gt;&lt;P&gt;2. FILL_CONTAINER_C - This converts a structure to a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I used READ_CONTAINER_C, the source string is converted to destination structure properly except for the currency, quantity values. It gives some junk values there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one have idea on how to use this class or any alternate method to solve my problem please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Praveen Tangirala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Nov 2009 13:19:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-05T13:19:01Z</dc:date>
    <item>
      <title>Problem with Internal Table Assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table-assignment/m-p/6163153#M1370511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;We are upgrading from 4.6C to 6.0.&lt;/P&gt;&lt;P&gt;In 4.6C version, I came across a code where two internal tables of different structures are assigned. This is obselete in 6.0&lt;/P&gt;&lt;P&gt;How do we fix this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my senario, a variable of type TEXT1000 is assigned to an internal table. I am taking based on offset and assigning to the destination fields. But how to do that for decimal fields? &lt;/P&gt;&lt;P&gt;In debugging mode, I checked source and destination values.&lt;/P&gt;&lt;P&gt;In the source variable, in the place of numeric values, there are some special characters.&lt;/P&gt;&lt;P&gt;Once the assignment is done, all the fields are having their respective values.&lt;/P&gt;&lt;P&gt;How to do this in 6.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 09:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table-assignment/m-p/6163153#M1370511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T09:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Internal Table Assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table-assignment/m-p/6163154#M1370512</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;you must read documentation about the new functionality in ECC 6.0 but it deals with the following topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in 4.6:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: myline type text1000.
data: begin of int_table occurs 0.
        include structure mara.
data end of int_table.
loop at int_table into myline.
endloop&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that generates an error message in 6.0, so you change the code to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: int_table type table of mara with header line,
         myline type mara.

loop at int_table into myline.
endloop&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 12:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table-assignment/m-p/6163154#M1370512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T12:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Internal Table Assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table-assignment/m-p/6163155#M1370513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge Alonso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply. But the problem is, suppose the destination sturcture has some numeric fields or currency fields, how do we do the assignment.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I got a class CL_ABAP_CONTAINER_UTILITIES, which has two methods. &lt;/P&gt;&lt;P&gt;1. READ_CONTAINER_C - This converts a string to a structure.&lt;/P&gt;&lt;P&gt;2. FILL_CONTAINER_C - This converts a structure to a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I used READ_CONTAINER_C, the source string is converted to destination structure properly except for the currency, quantity values. It gives some junk values there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any one have idea on how to use this class or any alternate method to solve my problem please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Praveen Tangirala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 13:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table-assignment/m-p/6163155#M1370513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T13:19:01Z</dc:date>
    </item>
  </channel>
</rss>

