<?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: customized table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319119#M1536637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Razia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any authorisation issue.put the code of the report here for filling the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bala Duvvuri&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Oct 2010 05:17:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-05T05:17:32Z</dc:date>
    <item>
      <title>customized table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319117#M1536635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a customized table and inserted records via ABAP  report. Its working fine at development server but at Production server, neither  table is filled nor its giving any error. I have executed it in Background processing as it gives timeout error on foreground .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 04:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319117#M1536635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T04:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: customized table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319118#M1536636</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;STRONG&gt;Welcome to SCN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please USE Meaningful Subject Line for next time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check may you have created index for table and the index field is going empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 04:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319118#M1536636</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2010-10-05T04:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: customized table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319119#M1536637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Razia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any authorisation issue.put the code of the report here for filling the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bala Duvvuri&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 05:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319119#M1536637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T05:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: customized table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319120#M1536638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No authorization issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA OBJNR LIKE ZCOST-OBJNR.
OBJNR = 0 .
SELECT COUNT(*)  INTO OBJNR FROM ZCOST.

LOOP AT T_FiNAL_DISP INTO wa.
   IF wa IS NOT  INITIAL.
    OBJNR = OBJNR + 1.
    wa-OBJNR = OBJNR.
    wa-GJAHR = p_GJAHR.
    wa-MONAT = p_PERIO.
    INSERT into ZCOST values wa.
  ENDIF.

ENDLOOP.

if sy-subrc = 0.
    MESSAGE 'Successfully Completed .' TYPE 'S'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Oct 5, 2010 7:36 AM - added  tags&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 05:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319120#M1536638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T05:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: customized table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319121#M1536639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Presumably T_FiNAL_DISP doesn't contain anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 05:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319121#M1536639</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-10-05T05:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: customized table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319122#M1536640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you change the message with a simple write statment and then execute in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If insertion fails, you can see the write message output in the log in SM37 tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the status of you current background exection in SM37.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 06:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319122#M1536640</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2010-10-05T06:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: customized table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319123#M1536641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Razia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code seems fine but please try modyfying it as below and check whether it works or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare one internal table (itab) of linetype wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA OBJNR LIKE ZCOST-OBJNR.
OBJNR = 0 .
SELECT COUNT(*)  INTO OBJNR FROM ZCOST.
 
LOOP AT T_FiNAL_DISP INTO wa.
   IF wa IS NOT  INITIAL.
    OBJNR = OBJNR + 1.
    wa-OBJNR = OBJNR.
    wa-GJAHR = p_GJAHR.
    wa-MONAT = p_PERIO.
    append wa to itab.
     ENDIF. 
ENDLOOP.
 
if not itab is initial.
INSERT ZCOST FROM TABLE itab.
commit work.
if sy-subrc = 0.
    MESSAGE 'Successfully Completed .' TYPE 'S'.
endif.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 06:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customized-table/m-p/7319123#M1536641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T06:05:38Z</dc:date>
    </item>
  </channel>
</rss>

