<?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: SQL query syntax error ....... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322608#M1394753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this keyword is not possible in open sql ABAP query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possibilites to make it happen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Native Sql&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables:pa0002.

EXEC SQL.


  SELECT PERNR VORNA NACHN GBDA
  INTO :PA0002
  FROM  PA0002
  WHERE UPPER(VORNA)  =  :STRU_USERIP-VORNA

ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write a conversion exit for that field at database level.&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;Uncheck the lowercase checkbox in domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since its a std db field only native sql you can try &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2009 09:15:37 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-11-02T09:15:37Z</dc:date>
    <item>
      <title>SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322601#M1394746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using following query &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT PERNR VORNA NACHN GBDAT FROM PA0002&lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE ITAB&lt;/P&gt;&lt;P&gt;    WHERE UPPER( VORNA )  = UPPER( STRU_USERIP-VORNA ) &lt;/P&gt;&lt;P&gt;    AND   ENDDA &amp;gt;= SY-DATUM&lt;/P&gt;&lt;P&gt;    AND   BEGDA &amp;lt;= SY-DATUM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I am geting syntax error as --&lt;/P&gt;&lt;P&gt;vorna is   not valid comparison operator .&lt;/P&gt;&lt;P&gt;can anyone plz suggest me solution over this problem .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 08:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322601#M1394746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T08:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322602#M1394747</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 way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT PERNR VORNA NACHN GBDAT FROM PA0002&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE ITAB&lt;/P&gt;&lt;P&gt;WHERE VORNA = STRU_USERIP-VORNA&lt;/P&gt;&lt;P&gt;AND ENDDA &amp;gt;= SY-DATUM&lt;/P&gt;&lt;P&gt;AND BEGDA &amp;lt;= SY-DATUM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322602#M1394747</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-11-02T09:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322603#M1394748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use UPPER in the Select Statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322603#M1394748</guid>
      <dc:creator>former_member222860</dc:creator>
      <dc:date>2009-11-02T09:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322604#M1394749</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;Remove the UPPER statement and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ginu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322604#M1394749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T09:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322605#M1394750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Replying  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         Query u replied works but I want ignore the case while compairing  so I i cant remove  the upper function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other solution for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: RUSHI123 on Nov 2, 2009 10:06 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: RUSHI123 on Nov 2, 2009 10:07 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322605#M1394750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T09:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322606#M1394751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this keyword is not possible in open sql ABAP query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possibilites to make it happen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Native Sql&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables:pa0002.

EXEC SQL.


  SELECT PERNR VORNA NACHN GBDA
  INTO :PA0002
  FROM  PA0002
  WHERE UPPER(VORNA)  =  :STRU_USERIP-VORNA

ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write a conversion exit for that field at database level.&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;Uncheck the lowercase checkbox in domain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322606#M1394751</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-02T09:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322607#M1394752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322607#M1394752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T09:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322608#M1394753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this keyword is not possible in open sql ABAP query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possibilites to make it happen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Native Sql&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables:pa0002.

EXEC SQL.


  SELECT PERNR VORNA NACHN GBDA
  INTO :PA0002
  FROM  PA0002
  WHERE UPPER(VORNA)  =  :STRU_USERIP-VORNA

ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write a conversion exit for that field at database level.&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;Uncheck the lowercase checkbox in domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since its a std db field only native sql you can try &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322608#M1394753</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-02T09:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322609#M1394754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing this query  in controllers method of  webdynpro abap application for retriving pernr of all records whose first name matches with inputed name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does above code lines will give internal  table containing matching records ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will be highely appericiated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks ,&lt;/P&gt;&lt;P&gt;Rushi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:22:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322609#M1394754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T09:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322610#M1394755</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; Does above code lines will give internal  table containing matching records ? &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No it wont give you an internal table in return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322610#M1394755</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-11-02T09:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322611#M1394756</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;Just try it once. It might work.&lt;/P&gt;&lt;P&gt;Since im not aware of concepts in webdynpro &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; i cant assure you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322611#M1394756</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-02T09:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322612#M1394757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Keshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read the SAP documention for EXEC SQL ... ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To populate the internal table, you have to write it in a separate subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXEC SQL PERFORMING SUBR. 
" Your SELECt stmt
ENDEXEC. 

FORM SUBR. 
" Append the work area to Internal Table 
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if you can use Native SQL in webdynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322612#M1394757</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-11-02T09:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322613#M1394758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thks Keshu ,&lt;/P&gt;&lt;P&gt;       Code u provided is just fine  . It works in wdabap .  It retrives only one matching record and put it into structutre variable :pa0002 .&lt;/P&gt;&lt;P&gt;In my case if there are more than one matching records  then i want all of them in internal table so i can use them for further processesing  .&lt;/P&gt;&lt;P&gt;can u suggest any solution over this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322613#M1394758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T09:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322614#M1394759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rushi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do an F1 on EXEC SQL, read the SAP documentation. You get only one row for every EXEC SQL...ENDEXEC loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to populate the internal table in a separate subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322614#M1394759</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-11-02T09:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322615#M1394760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello  Suhas ,&lt;/P&gt;&lt;P&gt;        suggestion u provided wont work in webdynpro abap . I closing this thres and similar in webdynpro abap categeory .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rushi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 10:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322615#M1394760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322616#M1394761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi just try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can build combinations of the name like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name = fra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fra&lt;/P&gt;&lt;P&gt;fRa&lt;/P&gt;&lt;P&gt;frA&lt;/P&gt;&lt;P&gt;FRa&lt;/P&gt;&lt;P&gt;fRA&lt;/P&gt;&lt;P&gt;FrA ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the append it to ranges&lt;/P&gt;&lt;P&gt;and then use it in select query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 11:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322616#M1394761</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-02T11:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322617#M1394762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI  KESHU  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get these combinations . is there any std method or i hv to implement some logic .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can elaborate  , it would be really helpful .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks ,&lt;/P&gt;&lt;P&gt;rushi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 11:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322617#M1394762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T11:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: SQL query syntax error .......</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322618#M1394763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Logic must be written,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below logic is incomplete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Break your head and modify it &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;
TABLES:pa0002.
DATA:itab TYPE TABLE OF pa0002.
DATA:wa TYPE pa0002.
DATA:lv_vorna TYPE pa0002-vorna.
DATA:ra_vorna TYPE RANGE OF pa0002-vorna.
DATA:wa_vorna LIKE LINE OF ra_vorna .
DATA:lv_index TYPE i.
DATA:offset TYPE i.

DATA:pa_vorna TYPE pa0002-vorna VALUE 'Frank'.

DATA:len TYPE i.
len = STRLEN( pa_vorna ).
MOVE pa_vorna TO lv_vorna.
TRANSLATE lv_vorna TO LOWER CASE.
wa_vorna-low = lv_vorna.
APPEND wa_vorna TO ra_vorna.
MOVE pa_vorna TO lv_vorna.
TRANSLATE lv_vorna TO UPPER CASE.
wa_vorna-low = lv_vorna.
APPEND wa_vorna TO ra_vorna.
wa_vorna-low = PA_VORNA.
APPEND wa_vorna TO ra_vorna.

TRANSLATE PA_VORNA TO LOWER CASE.

DO len TIMES.
  lv_index = sy-index - 1.
  offset = lv_index + 1.
  DO len TIMES.
    MOVE pa_vorna TO lv_vorna.
    TRANSLATE lv_vorna+lv_index(offset) TO UPPER CASE.
    wa_vorna-low = lv_vorna.
    APPEND wa_vorna TO ra_vorna.
    ADD 1 TO lv_index.
  ENDDO.
ENDDO.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 11:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-query-syntax-error/m-p/6322618#M1394763</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-02T11:47:27Z</dc:date>
    </item>
  </channel>
</rss>

