<?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: please advise in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-advise/m-p/3265275#M780288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;slove&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 06:01:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-06T06:01:25Z</dc:date>
    <item>
      <title>please advise</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-advise/m-p/3265274#M780287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I_ITAB is same structure as a standard table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_itab INTO wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_itab-flag = 'X'.&lt;/P&gt;&lt;P&gt;    MODIFY i_ITAB FROM wa_itab.&lt;/P&gt;&lt;P&gt;    CLEAR wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if CB_TESTMODE is uncheck &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;It update the standard table by using a FM importing table i_ITAB same structure as standard table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;a report is display containing lines that have been updated and&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;also for which an error has occur&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;else. "run in only test mode&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;a report is display containing lines that have been updated and&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;also for which an error has occur &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i cater for the error message since my table I_ITAB can only contain structure as standard tabl;e&lt;/P&gt;&lt;P&gt;i was thinking of declaring a new table with same structure i_itab but with additional field error status (I_ITAB_STATUS)&lt;/P&gt;&lt;P&gt;LOOP AT i_itab INTO wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_itab-flag = 'X'.&lt;/P&gt;&lt;P&gt;    MODIFY i_ITAB FROM wa_itab.&lt;/P&gt;&lt;P&gt;    if sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;	update table i_ITAB_STATUS with msg successful.&lt;/P&gt;&lt;P&gt;    else&lt;/P&gt;&lt;P&gt;	update table i_ITAB_STATUS with msg unsuccessful.&lt;/P&gt;&lt;P&gt;    endif&lt;/P&gt;&lt;P&gt;    CLEAR wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if CB_TESTMODE is uncheck &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;It update the standard table by using a FM importing table i_ITAB same structure as standard table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;a report is display with internal table I_ITAB_STATUS (contain both successful and unsuccessful record)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;else. "run in only test mode&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;a report is display with internal table I_ITAB_STATUS (contain both successful and unsuccessful record)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 05:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-advise/m-p/3265274#M780287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T05:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: please advise</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-advise/m-p/3265275#M780288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;slove&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 06:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-advise/m-p/3265275#M780288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T06:01:25Z</dc:date>
    </item>
  </channel>
</rss>

