<?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 Dump is comming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074736#M1613952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As i am getting dump with the below code .cany any one suggest me what to do.&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;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   sort lt_0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  * FROM pa0001 INTO TABLE lt_0001 FOR ALL ENTRIES IN lt_0000 WHERE pernr eq lt_0000-pernr AND abkrs ne 'FP' or abkrs ne 'Z1'&lt;/P&gt;&lt;P&gt;          AND endda eq '99991231'.&lt;/P&gt;&lt;P&gt;endif.&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;mdaddu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines for your posts.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Aug 7, 2011 9:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Aug 2011 10:16:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-06T10:16:25Z</dc:date>
    <item>
      <title>Dump is comming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074736#M1613952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As i am getting dump with the below code .cany any one suggest me what to do.&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;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   sort lt_0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  * FROM pa0001 INTO TABLE lt_0001 FOR ALL ENTRIES IN lt_0000 WHERE pernr eq lt_0000-pernr AND abkrs ne 'FP' or abkrs ne 'Z1'&lt;/P&gt;&lt;P&gt;          AND endda eq '99991231'.&lt;/P&gt;&lt;P&gt;endif.&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;mdaddu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines for your posts.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Aug 7, 2011 9:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2011 10:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074736#M1613952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-06T10:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dump is comming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074737#M1613953</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-subrc = 0.
sort lt_0000.

select * FROM pa0001 INTO TABLE lt_0001 FOR ALL ENTRIES IN lt_0000 WHERE pernr eq lt_0000-pernr AND abkrs ne 'FP' or abkrs ne 'Z1'
AND endda eq '99991231'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write  Like this  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-subrc = 0.

sort lt_0000 .

select * FROM pa0001 INTO CORRESPONDING FIELDS OF TABLE lt_0001 
 FOR ALL ENTRIES IN lt_0000
WHERE pernr eq lt_0000-pernr 
AND  ( abkrs ne 'FP' or abkrs ne 'Z1' )
AND endda eq '99991231'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem  in your code was  that  when you are  moving data to another table  the fields type were not matching  &lt;/P&gt;&lt;P&gt;as it will copy data  in order type of columns  in your declaration  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so need to add Corresponding fields of table   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2011 10:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074737#M1613953</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-08-06T10:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dump is comming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074738#M1613954</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;Modify your code like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-subrc = 0.

sort lt_0000.

select * 
           FROM pa0001 
           INTO TABLE lt_0001 
           FOR ALL ENTRIES IN lt_0000 
           WHERE pernr eq lt_0000-pernr 
           AND abkrs not in ( 'FP' , 'Z1' )
           AND endda eq '99991231'.

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Dep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2011 11:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074738#M1613954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-06T11:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dump is comming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074739#M1613955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MdAddu &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-subrc = 0.
  sort lt_0000.
  select * 
*  INTO TABLE lt_0001 
  INTO CORRESPONDING FIELDS OF TABLE lt_0001 " ALWAYS!
  FROM pa0001 
  FOR ALL ENTRIES IN lt_0000 
  WHERE 
    pernr eq lt_0000-pernr AND abkrs ne 'FP' or 
    abkrs ne 'Z1' AND endda eq '99991231'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[How to post code in SCN, and some things NOT to do...|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1170968"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yolu did not format your coide, you did not say where or why or what kind of dump occurs, you did not give valuable informatuon as i.e. the definition of lt_0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could ask Santa Claus as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2011 18:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074739#M1613955</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-08-06T18:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dump is comming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074740#M1613956</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;I can't understand how people can help you without to know which kind of dump occurs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump is very generic word, several kind of dump can occur in a sql selection but which is yours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your selection I can see only one error in WHERE condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WHERE pernr eq lt_0000-pernr
     AND abkrs ne 'FP' or abkrs ne 'Z1'    "&amp;lt;------It's always true
    AND endda eq '99991231'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ABKRS is equal to FP then it's not equal to Z1 and if it's equal to Z1 then it's not equal to FP: that means this condition will be always true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tou have to use AND instead of OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the dump......assumptions only (I'm not a magician): perhaps your problem is in the target workarea because its structure is not the same of the table source; perhaps too many records are loaded in your internal table.....but perhaps it's better you give us more details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2011 22:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074740#M1613956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-06T22:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dump is comming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074741#M1613957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is solved thank's to everyone.&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;mdaddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 07:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074741#M1613957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-07T07:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dump is comming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074742#M1613958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND has higher prority then OR, so I thought&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WHERE 
    pernr eq lt_0000-pernr AND abkrs ne 'FP' or 
    abkrs ne 'Z1' AND endda eq '99991231'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is the same as &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WHERE 
    ( pernr eq lt_0000-pernr AND abkrs ne 'FP'  ) or 
    ( abkrs ne 'Z1' AND endda eq '99991231' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though it's hard to understand why he wants to select all records for PERNR in table lt_pernr for all ABKRS except FP and additionally all data from all ABKRS except Z1 with and ENDDA that is not limited ('99991231' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Search Condition (search_condition) Locate this document in the navigation structure|http://help.sap.com/saphelp_nw73/helpdata/en/45/4c3b3046991798e10000000a1553f6/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the (abstract) explanation:  'pernr eq lt_0000-pernr' is a comparison_predicate that counts as boolean factor. boolean factors combined with AND for a boolean_term,  boolean_terms can be combined with OR to count as search_condition. The evaluation goes from predicates to terms to factors to condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thinks it is good practice to use brackets to make it clear at first glance - but this is not always necessary for evaluation of terms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 14:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-is-comming/m-p/8074742#M1613958</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-08-07T14:51:49Z</dc:date>
    </item>
  </channel>
</rss>

