<?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 Insert statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371996#M1235728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kemmer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the statement but again the same probs. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2009 07:54:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-02T07:54:20Z</dc:date>
    <item>
      <title>Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371990#M1235722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem when updating the values into database table from workarea, I am using this statement to update it but when I execute it throwing me into dump. Can any one please help me out what is the error and what I need to change my coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO ZCAT3_MOV VALUES LW_ITAB.&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;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371990#M1235722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371991#M1235723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert will dump if record already exists.&lt;/P&gt;&lt;P&gt;Use Modify statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371991#M1235723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371992#M1235724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;INSERT LW_ITAB INTO ZCAT3_MOV .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371992#M1235724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371993#M1235725</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;But is a new record to be inserted, Can I use the modify statement for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371993#M1235725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371994#M1235726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If a record exists modify works as update otherwise it will insert a new record. Modify works for both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Phanindra Annaparthi on Apr 2, 2009 9:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:46:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371994#M1235726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371995#M1235727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this statement even its shooting me dump&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ZCAT3_MOV FROM table LT_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371995#M1235727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371996#M1235728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kemmer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the statement but again the same probs. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371996#M1235728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371997#M1235729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Use this...&lt;/P&gt;&lt;P&gt;INSERT INTO ZCAT3_MOV VALUES LW_ITAB accepting duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371997#M1235729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371998#M1235730</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;Use this syntex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"MODIFY &amp;lt;database table&amp;gt; from &amp;lt;work area&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are inserting any new record then it will insert the new record and if the record is already there then it will modify the existing one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you want to insert data from an internal table then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"MODIFY &amp;lt;database table&amp;gt; from table &amp;lt;internal table&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Digvijay Singh Pawar on Apr 2, 2009 10:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 07:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371998#M1235730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T07:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371999#M1235731</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;use the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODIFY &amp;lt;TABLE NAME&amp;gt; from &amp;lt;Work Area&amp;gt;. " if using Work Area
MODIFY &amp;lt;TABLE NAME&amp;gt; from table &amp;lt;Internal Table&amp;gt;." if using Internal Table&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope will help you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 08:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5371999#M1235731</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-04-02T08:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372000#M1235732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi alex &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u have to loop on internal table. and then use&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;modify ZCAT3_MOV  from wa.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 08:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372000#M1235732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T08:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372001#M1235733</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 can use &lt;STRONG&gt;Modify Statement&lt;/STRONG&gt; eg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODIFY ZTABLE FROM WORK AREA.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no record exits present in the work area then this&lt;/P&gt;&lt;P&gt;statement will insert that value else it will update&lt;/P&gt;&lt;P&gt;that value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&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;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 08:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372001#M1235733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T08:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372002#M1235734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried but cannot execute it sucessfully?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 08:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372002#M1235734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T08:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372003#M1235735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some input from my side.. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODIFY &amp;lt;TABLE NAME&amp;gt; from &amp;lt;Work Area&amp;gt;. "From Work Area
MODIFY &amp;lt;TABLE NAME&amp;gt; from table &amp;lt;Internal Table&amp;gt;. "From Internal Table&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When you modifying from Work Area:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When a wa work area that is not table-type is specified, which meets the requirements for use in Open SQL statements, a line is searched for in the database table that has the same content in the primary key as the corresponding beginning part of the work area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If such a line is not found, a new line is inserted according to the same rules as for the INSERT statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If such a line is found, this line is overwritten according to the same rules as for the UPDATE statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the change would lead to a double entry in a unique secondary index, then it is not executed and sy-subrc is set to 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA message_wa TYPE t100. 

message_wa-sprsl = 'EN'. 
message_wa-arbgb = 'MYMSGCLASS'. 
message_wa-msgnr =  '111'. 
message_wa-text =  'Alex is always happy'. 

MODIFY t100 FROM message_wa.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When you modifying from Internal Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an itab internal table is specified, the system processes all lines in the internal table according to the rules for the wa work area. The line type of the internal table has to meet the requirements for use in Open SQL statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the change to a line in the internal table would lead to a double entry in a unique secondary index, the corresponding line is not inserted and sy-subrc is set to 4. If the internal table is empty, sy-subrc is set to 0. The sy-dbcnt system field is always set to the number of lines that were actually processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using UPDATE statement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;UPDATE &amp;lt;TABLE NAME&amp;gt; from &amp;lt;Work Area&amp;gt;. "From Work Area
UPDATE &amp;lt;TABLE NAME&amp;gt; from table &amp;lt;Internal Table&amp;gt;. "From Internal Table&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;E.g. for UPDATE from internal table#&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_carrid TYPE sflight-carrid, 
            percent(1) TYPE p DECIMALS 0. 

DATA sflight_tab TYPE TABLE OF sflight. 
FIELD-SYMBOLS &amp;lt;sflight&amp;gt; TYPE sflight. 

SELECT * 
       FROM sflight 
       INTO TABLE sflight_tab 
       WHERE carrid = p_carrid AND 
             fldate = sy-datum. 

IF sy-subrc = 0. 
  LOOP AT sflight_tab ASSIGNING &amp;lt;sflight&amp;gt;. 
    &amp;lt;sflight&amp;gt;-price = 
      &amp;lt;sflight&amp;gt;-price * ( 1 - percent / 100 ). 
  ENDLOOP. 
ENDIF. 

UPDATE sflight FROM TABLE sflight_tab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sayak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 09:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372003#M1235735</guid>
      <dc:creator>RoySayak</dc:creator>
      <dc:date>2009-04-02T09:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372004#M1235736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the followig example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_SCHEME INTO WK_SCHEME.&lt;/P&gt;&lt;P&gt;INSERT INTO ZTMP_SCH VALUES WK_SCHEME.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put insert statement in loop as per example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: krupa jani on Apr 2, 2009 11:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 09:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372004#M1235736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T09:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372005#M1235737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first u check the declaration of ur work area (or) internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ur internal table (or) work area declaration should be in line with Table fields -- ZCAT3_MOV,, in terms of fields &lt;STRONG&gt;order of the fields&lt;/STRONG&gt; as well as in terms of &lt;STRONG&gt;data type of the fields&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 10:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372005#M1235737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T10:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Insert statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372006#M1235738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the entry already exists in the ztable and if you try to insert the same record once again, &lt;/P&gt;&lt;P&gt;it will go into dump.&lt;/P&gt;&lt;P&gt;Please use the below statement, it will work fine (accepting duplicate keys is must to avoid dump), .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT ZCAT3_MOV VALUES FROM TABLE LW_ITAB ACCEPTING DUPLICATE KEYS&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 11:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-insert-statement/m-p/5372006#M1235738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T11:08:27Z</dc:date>
    </item>
  </channel>
</rss>

