<?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: Verify the code! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054887#M723379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You defined ZSECO as a structure. Not as a Data base table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify zseco from table it_zseco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement tells the system to UPDATE database table ZSECO. That's why u r getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remove the statement or declare ZSECO as a DB table depending on requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2007 06:45:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-19T06:45:29Z</dc:date>
    <item>
      <title>Verify the code!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054886#M723378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below I am giving you the  code, which I have got from one friend of mine. In this particular code you will see zseco. Now as its defined as 'Z'. So when I copied my program I also define zseco in se11 as a structure. But this program is not generating and showing the error "ZSECO" is not defined in the ABAP Dictionary as a table, projection view or database view.	"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me what is wrong I am doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhay.	&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;**********************************************************************&lt;/P&gt;&lt;P&gt;tables:bseg.&lt;/P&gt;&lt;P&gt;data: it_bseg like bseg occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data: it_zseco like zseco occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;select-options:s_bukrs for bseg-bukrs,&lt;/P&gt;&lt;P&gt;               s_gjahr for bseg-gjahr,&lt;/P&gt;&lt;P&gt;               s_belnr for bseg-belnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  perform get_data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  get_data&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_data .&lt;/P&gt;&lt;P&gt;  select *&lt;/P&gt;&lt;P&gt;        from bseg into table it_bseg&lt;/P&gt;&lt;P&gt;        where  belnr in s_belnr and&lt;/P&gt;&lt;P&gt;               bukrs in s_bukrs and&lt;/P&gt;&lt;P&gt;               gjahr in s_gjahr.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    loop at it_bseg .&lt;/P&gt;&lt;P&gt;      move-corresponding it_bseg to it_zseco.&lt;/P&gt;&lt;P&gt;      it_zseco-bupla_old = it_bseg-bupla.&lt;/P&gt;&lt;P&gt;      it_zseco-zdate = sy-datum.&lt;/P&gt;&lt;P&gt;      it_zseco-usernam = sy-uname.&lt;/P&gt;&lt;P&gt;      it_zseco-ztime = sy-uzeit.&lt;/P&gt;&lt;P&gt;      if it_bseg-bupla ne '1001'.&lt;/P&gt;&lt;P&gt;        it_bseg-bupla = '1001'.&lt;/P&gt;&lt;P&gt;        modify it_bseg.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;     it_zseco-bupla_new = '1001'.&lt;/P&gt;&lt;P&gt;      append it_zseco.&lt;/P&gt;&lt;P&gt;      clear it_zseco.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;    modify bseg from table it_bseg.&lt;/P&gt;&lt;P&gt;    modify zseco from table it_zseco.&lt;/P&gt;&lt;P&gt;    message i000 with 'tables BSEG &amp;amp; ZSECO updated successfully'.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    message i000 with 'No data found'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                    " get_data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054886#M723378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T06:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Verify the code!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054887#M723379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You defined ZSECO as a structure. Not as a Data base table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify zseco from table it_zseco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement tells the system to UPDATE database table ZSECO. That's why u r getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remove the statement or declare ZSECO as a DB table depending on requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054887#M723379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T06:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Verify the code!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054888#M723380</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;Instead of using it as a structure define it as table in SE11 and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:46:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054888#M723380</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-11-19T06:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Verify the code!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054889#M723381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ZSECO should be a Table and not a structure, cause :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;modify zseco from table it_zseco.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; try to insert/update records in this database table. So this explains the error message which give you the file types allowed to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:47:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054889#M723381</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-11-19T06:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Verify the code!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054890#M723382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all do not use like any more, use type. Second to not use tables with header lines any more, use standard tables and working areas which are separated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To your problem: If the compiler says he cant find your structure it is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- not defined&lt;/P&gt;&lt;P&gt;- not activated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check the spelling O versus 0 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054890#M723382</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-11-19T06:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Verify the code!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054891#M723383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_zseco &amp;lt;b&amp;gt;type&amp;lt;/b&amp;gt; zseco occurs 0 with header line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054891#M723383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T06:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Verify the code!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054892#M723384</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;ZSECO this as the TABLE in in SE11 so that your problem will solve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/verify-the-code/m-p/3054892#M723384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T06:52:57Z</dc:date>
    </item>
  </channel>
</rss>

