<?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: Select Statement Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510406#M1066752</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 have modified the code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: zs type marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: zstruct type standard table of marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select strgr from marc into table zstruct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at zstruct into zs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write zs-strgr.&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;Still, the values are not getting populated in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2008 19:40:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-22T19:40:47Z</dc:date>
    <item>
      <title>Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510403#M1066749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to read values from MARC table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code i wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data zstruct type marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select strgr into zstruct from marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the program is run, the values of strgr are not getting populated in zstruct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 18:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510403#M1066749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T18:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510404#M1066750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: zstruct type marc.

select strgr into corresponding fields of zstruct from marc.

endselect.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this it is not performance efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should take the values in the internal table and than process it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: zstruct type standard table of marc.

select * from marc into table zstruct where .....
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 18:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510404#M1066750</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-09-22T18:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510405#M1066751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are trying to insert ONE field into a structure.&lt;/P&gt;&lt;P&gt;Better to declare a variable for strgr an move it into that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 18:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510405#M1066751</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-09-22T18:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510406#M1066752</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 have modified the code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: zs type marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: zstruct type standard table of marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select strgr from marc into table zstruct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at zstruct into zs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write zs-strgr.&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;Still, the values are not getting populated in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 19:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510406#M1066752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T19:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510407#M1066753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your code.&lt;/P&gt;&lt;P&gt;Data: zstruct type marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you declare like this, zstruct will have  structure of marc. which contains all fields available in MARC table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you retriving only one field ie &lt;STRONG&gt;strgr&lt;/STRONG&gt;  from the table MARC and passing to the structure. now system will get confuse where to place this field in the given &lt;STRONG&gt;zstruct&lt;/STRONG&gt; structure . so you have to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select strgr into corresponding fields of zstruct from marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the sap system will put the outputdata from the select statement into structure field zstruct-strgr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select strgr into corresponding fields of zstruct from marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; zstruct-strgr.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you will get the proper result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got it.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vardhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 19:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510407#M1066753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T19:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510408#M1066754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: zs TYPE marc.

DATA: zstruct TYPE STANDARD TABLE OF marc.

SELECT strgr
  FROM marc
  INTO CORRESPONDING FIELDS OF TABLE zstruct.

LOOP AT zstruct INTO zs.

  WRITE zs-strgr.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 19:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510408#M1066754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T19:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510409#M1066755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the select statement you have to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select strgr from marc into corresponding fields of table zstruct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vardhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 19:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510409#M1066755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T19:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510410#M1066756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are selecting only one field from the MARC and your target (ZSTRUCT) has all the fields of the MARC you need to use the CORRESPONDING FIELDS OF addition in the Select query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have modified your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: zs type marc.
data: zstruct type standard table of marc.

select strgr 
   from marc 
   into corresponding fields of table zstruct.

loop at zstruct into zs.
  write / zs-strgr.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 20:07:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510410#M1066756</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-09-22T20:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510411#M1066757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried running your code, but there is no output when your code is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 20:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510411#M1066757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T20:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510412#M1066758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because you don't have the '/' after the WRITE. (See Naimesh's code.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 20:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510412#M1066758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T20:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510413#M1066759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the table whether it contains data or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: zs type marc.&lt;/P&gt;&lt;P&gt;data: zstruct type standard table of marc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select strgr &lt;/P&gt;&lt;P&gt;   from marc &lt;/P&gt;&lt;P&gt;   into corresponding fields of table zstruct.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if not ztruct[] is  initial.&lt;/P&gt;&lt;P&gt;loop at zstruct into zs.&lt;/P&gt;&lt;P&gt;  write / zs-strgr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;message z(i001) with 'No Data in table'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you will get the output now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vardhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 20:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510413#M1066759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T20:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510414#M1066760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should also select all the key fields from the marc table into the internal table,&lt;/P&gt;&lt;P&gt;other than the strgr field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 06:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510414#M1066760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T06:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510415#M1066761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not necessary to select any key field.&lt;/P&gt;&lt;P&gt;Please try the following syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select strgr from marc into CORRESPONDING FIELDS OF zstruct .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will get values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have tested it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 06:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510415#M1066761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T06:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510416#M1066762</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 declaring internal table of type marc why don't you declare internal table with only one field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:begin of t_marc occurs 0,&lt;/P&gt;&lt;P&gt;        field1 type marc-field1,&lt;/P&gt;&lt;P&gt;       end of t_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1 from marc into table t_marc where 'condition'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 07:01:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510416#M1066762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T07:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510417#M1066763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'/' is a formatting character to display items line by line. I dont think that would affect the logic of the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 00:37:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510417#M1066763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T00:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510418#M1066764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;abap_inter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error message when i use your code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Tables with headers are no longer supported in OO context"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 01:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510418#M1066764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T01:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510419#M1066765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since i am using the code in web Dynpro, i have posted this question in WDA forum. I am closing this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 01:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510419#M1066765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T01:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510420#M1066766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPES: BEGIN OF is_marc,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         matnr TYPE matnr,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  strgr TYPE strgr,&lt;/P&gt;&lt;P&gt;       END OF is_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: zstruct TYPE STANDARD TABLE OF is_marc.&lt;/P&gt;&lt;P&gt;DATA: zs TYPE is_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT strgr FROM marc INTO CORRESPONDING FIELDS OF TABLE zstruct WHERE strgr ne ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT zstruct INTO zs.&lt;/P&gt;&lt;P&gt;  WRITE: / zs-strgr.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 08:17:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510420#M1066766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T08:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510421#M1066767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; '/' is a formatting character to display items line by line. I dont think that would affect the logic of the program.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It absolutely does affect the output of the program. If not there, it will put all output on the same line. Using it causes each WRITE to go to a new line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 12:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510421#M1066767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T12:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510422#M1066768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right. It affects the output of the program no doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My reply specifically mentioned  "logic of the program."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table is not getting populated with values and thats where the problem lies. Not in the program output where "/" has its effects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 13:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-error/m-p/4510422#M1066768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T13:07:00Z</dc:date>
    </item>
  </channel>
</rss>

