<?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: Re : Error in look up code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194163#M1714575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you smruthi and Aniket &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 20:36:59 GMT</pubDate>
    <dc:creator>sri_harsha2</dc:creator>
    <dc:date>2013-01-21T20:36:59Z</dc:date>
    <item>
      <title>Re : Error in look up code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194160#M1714572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with the code, I wanted to do a look up for the code my requirement is that in order to fill the field called end user I need to do a look up on condition below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;COPA table&amp;gt;- customer is&amp;nbsp;&amp;nbsp; initial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then fill up the value end user from the field ZZ_LISD&amp;nbsp; from ZGLT( custom table )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not&amp;nbsp; then fill the value of end user from the field ZZ_KUNE from ZGLT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end user = ZEND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this requirement I have written the look up code as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF &amp;lt;COPA&amp;gt;- ZCUST =&amp;nbsp; 'initial'&amp;nbsp; ( throwing error in this line )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select ZZ_LISD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;into &amp;lt;COPA&amp;gt;-ZEND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from ZGLT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;else&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select ZZ_KUNE &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;into &amp;lt;CO-PA&amp;gt;-ZEND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from ZGLT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this was the code I tried to write for the look up but it was throwing syntax&amp;nbsp; errors. I have declared the fields above the code. I request you know if I am making any mistakes in the code. Thanks in advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 04:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194160#M1714572</guid>
      <dc:creator>sri_harsha2</dc:creator>
      <dc:date>2013-01-15T04:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Error in look up code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194161#M1714573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking Whether a Field Symbol is Assigned.&lt;/P&gt;&lt;P&gt;&amp;lt;COPA&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or Check dis Sample Programs given by SAP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_ASSIGN_COMP&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_ASSIGN_DECI&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_ASSIGN_ERR&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_ASSIGN_TYPE&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_CASTING&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_CASTING_TYP&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_DYNAMI_AS_1&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_DYNAMI_AS_2&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_DYNAMI_AS_3&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_STAT_AS_OF2&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_STAT_AS_OFF&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_STAT_ASSIGN&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_STRUCTURE&lt;/P&gt;&lt;P&gt;DEMO_FIELD_SYMBOLS_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 05:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194161#M1714573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-15T05:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Error in look up code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194162#M1714574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if the Field symbol&amp;nbsp; &amp;lt;COPA&amp;gt; is of same type of the table COPA or any fully typed structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the syntax is wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try writing it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF &amp;lt;COPA&amp;gt;- ZCUST IS&amp;nbsp; INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answers above are based on assumption. Please copy and paste the syntax error you are getting(if possible) and also the declaration part of the field symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. Do revert back you require anything &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 06:48:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194162#M1714574</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-15T06:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Error in look up code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194163#M1714575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you smruthi and Aniket &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 20:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-error-in-look-up-code/m-p/9194163#M1714575</guid>
      <dc:creator>sri_harsha2</dc:creator>
      <dc:date>2013-01-21T20:36:59Z</dc:date>
    </item>
  </channel>
</rss>

