<?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 I need a small help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066016#M726547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello i have used the following code i have declared the structure and from the structure i have made a work are and from that i have to pass the values but my progrma is going into dump please helo i am sending the example code &lt;/P&gt;&lt;P&gt;data : begin of itab,&lt;/P&gt;&lt;P&gt;       matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;       ersda like mara-ersda,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_itab type itab occurs 0,&lt;/P&gt;&lt;P&gt;       wa_itab type itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select matnr&lt;/P&gt;&lt;P&gt;        ersda&lt;/P&gt;&lt;P&gt;        from mara&lt;/P&gt;&lt;P&gt;        into table i_itab." upto single row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_ITAB into itab.&lt;/P&gt;&lt;P&gt;write : ITAB-MATNR.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dump error is &lt;/P&gt;&lt;P&gt; The current ABAP program "ZIM_TEST1" had to be terminated because it has&lt;/P&gt;&lt;P&gt; come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;analisys is &lt;/P&gt;&lt;P&gt;     An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not   &lt;/P&gt;&lt;P&gt;    caught and therefore caused a runtime error. &lt;/P&gt;&lt;P&gt;   The reason for the exception is:&lt;/P&gt;&lt;P&gt;   In a SELECT access, the read file could not be placed in the target field provided.&lt;/P&gt;&lt;P&gt;   Either the conversion is not supported for the type of the target field,  the target field is too small to include the value, or the data does not have the format required for the target field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE ROFRAM IS GOING IN TO DUM IN THE SELECT STATEMENTS&lt;/P&gt;&lt;P&gt;  &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; select matnr&lt;/P&gt;&lt;P&gt;                      ersda&lt;/P&gt;&lt;P&gt;                      from mara&lt;/P&gt;&lt;P&gt;                      into table i_itab." upto single row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2007 07:34:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-30T07:34:18Z</dc:date>
    <item>
      <title>I need a small help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066016#M726547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello i have used the following code i have declared the structure and from the structure i have made a work are and from that i have to pass the values but my progrma is going into dump please helo i am sending the example code &lt;/P&gt;&lt;P&gt;data : begin of itab,&lt;/P&gt;&lt;P&gt;       matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;       ersda like mara-ersda,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_itab type itab occurs 0,&lt;/P&gt;&lt;P&gt;       wa_itab type itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select matnr&lt;/P&gt;&lt;P&gt;        ersda&lt;/P&gt;&lt;P&gt;        from mara&lt;/P&gt;&lt;P&gt;        into table i_itab." upto single row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_ITAB into itab.&lt;/P&gt;&lt;P&gt;write : ITAB-MATNR.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dump error is &lt;/P&gt;&lt;P&gt; The current ABAP program "ZIM_TEST1" had to be terminated because it has&lt;/P&gt;&lt;P&gt; come across a statement that unfortunately cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;analisys is &lt;/P&gt;&lt;P&gt;     An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not   &lt;/P&gt;&lt;P&gt;    caught and therefore caused a runtime error. &lt;/P&gt;&lt;P&gt;   The reason for the exception is:&lt;/P&gt;&lt;P&gt;   In a SELECT access, the read file could not be placed in the target field provided.&lt;/P&gt;&lt;P&gt;   Either the conversion is not supported for the type of the target field,  the target field is too small to include the value, or the data does not have the format required for the target field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE ROFRAM IS GOING IN TO DUM IN THE SELECT STATEMENTS&lt;/P&gt;&lt;P&gt;  &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; select matnr&lt;/P&gt;&lt;P&gt;                      ersda&lt;/P&gt;&lt;P&gt;                      from mara&lt;/P&gt;&lt;P&gt;                      into table i_itab." upto single row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 07:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066016#M726547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T07:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: I need a small help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066017#M726548</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;change your code to &lt;/P&gt;&lt;P&gt;select matnr ersda from mara into corresponding fields of table i_itab.&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;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 07:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066017#M726548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T07:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: I need a small help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066018#M726549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types : begin of itab,&lt;/P&gt;&lt;P&gt;           matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;           ersda like mara-ersda,&lt;/P&gt;&lt;P&gt;          end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_itab type standard table of itab ,&lt;/P&gt;&lt;P&gt;          wa_itab type itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr&lt;/P&gt;&lt;P&gt;ersda into corrspondin field of table table i_itab&lt;/P&gt;&lt;P&gt;from mara." upto single row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_ITAB into wa.&lt;/P&gt;&lt;P&gt;write : wa-MATNR.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 07:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066018#M726549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T07:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: I need a small help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066019#M726550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Types : begin of itab,
matnr like mara-matnr,
ersda like mara-ersda,
end of itab.

data : i_itab type table of itab,
wa_itab type itab.


select matnr
ersda
from mara
into table i_itab." upto single row.


loop at i_ITAB into wa_itab.
write : wa-MATNR.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 07:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066019#M726550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T07:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: I need a small help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066020#M726551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;helo plz can u help me to solve the problem to write in a manual way  i mean the values to be displayed for a and b &lt;/P&gt;&lt;P&gt;TYPES : begin of itab,&lt;/P&gt;&lt;P&gt;        a(10) type c,&lt;/P&gt;&lt;P&gt;        b(8) type n,&lt;/P&gt;&lt;P&gt;        end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_itab type itab occurs 0.&lt;/P&gt;&lt;P&gt;data : wa_itab like itab.&lt;/P&gt;&lt;P&gt;wa_itab-a = '1000'.&lt;/P&gt;&lt;P&gt;wa_itab-b = '10102007'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab-a = '1001'.&lt;/P&gt;&lt;P&gt;wa_itab-b = '11102007'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab to wa_itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at I_ITAB into itab.&lt;/P&gt;&lt;P&gt;write : / wa_itab-a = '1000',&lt;/P&gt;&lt;P&gt;           wa_itab-b = '10102007'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;if i do so am getting the error as wa does not have a comonent a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 13:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066020#M726551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T13:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: I need a small help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066021#M726552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change data : wa_itab like itab.&lt;/P&gt;&lt;P&gt; to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wa_itab type itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab is a type and not a data object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 13:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066021#M726552</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-11-30T13:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: I need a small help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066022#M726553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i do so like that am getting the erroe as it is not an internal table ofcourse it is not an internal table its a structure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 13:46:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-a-small-help/m-p/3066022#M726553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T13:46:49Z</dc:date>
    </item>
  </channel>
</rss>

