<?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 String comparison in select clause and RFC import parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274081#M1019727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing one RFC which will retrieve some data from SAP HR module depending on First name. I have declared VALUE as a import parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i write below query is works properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT pernr cname gbdat FROM PA0002 INTO CORRESPONDING FIELDS OF TABLE wa_PA0002&lt;/P&gt;&lt;P&gt;       WHERE VORNA LIKE 'Prashant'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to accept the name from user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I write query like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT pernr cname gbdat FROM PA0002 INTO CORRESPONDING FIELDS OF TABLE wa_PA0002&lt;/P&gt;&lt;P&gt;       WHERE VORNA LIKE VALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me if anybody have any clue about the same. I have also tried with u2018=u2019 sigh, but no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2008 05:48:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-12T05:48:35Z</dc:date>
    <item>
      <title>String comparison in select clause and RFC import parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274081#M1019727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing one RFC which will retrieve some data from SAP HR module depending on First name. I have declared VALUE as a import parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i write below query is works properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT pernr cname gbdat FROM PA0002 INTO CORRESPONDING FIELDS OF TABLE wa_PA0002&lt;/P&gt;&lt;P&gt;       WHERE VORNA LIKE 'Prashant'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to accept the name from user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I write query like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT pernr cname gbdat FROM PA0002 INTO CORRESPONDING FIELDS OF TABLE wa_PA0002&lt;/P&gt;&lt;P&gt;       WHERE VORNA LIKE VALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me if anybody have any clue about the same. I have also tried with u2018=u2019 sigh, but no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 05:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274081#M1019727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T05:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: String comparison in select clause and RFC import parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274082#M1019728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think the value inside  VALUE field may be in captial letter.&lt;/P&gt;&lt;P&gt;plz check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 05:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274082#M1019728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T05:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: String comparison in select clause and RFC import parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274083#M1019729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  We too faced similar type of issues while we are developing RFCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    When you are executing the RFC standalone ( without calling from portal), then all the inputs that are given to the Function Module will be changed to UPPER CASE( standard working procedure of FM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Here in the value paramter if the input value is "Prashant",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will change to "PRASHANT" and will search for records with that particlar format, but not the records with "Prashant"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: But generally in tables there is some another field which stores the name in UPPER CASE whatever the format user enters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user is saving the record with name Prashant, then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VORNA contains the value "Prashant"&lt;/P&gt;&lt;P&gt;and another field wil be there in the same table which stores the vlaue as "PRASHANT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you get teh field, then change the select query as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT pernr cname gbdat FROM PA0002 INTO CORRESPONDING FIELDS OF TABLE wa_PA0002&lt;/P&gt;&lt;P&gt;WHERE &amp;lt; use the field which stores the name in UPPER CASE&amp;gt; LIKE VALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try checking with this field (VNAMC in PA0002 table). Iam not sure but i think it will save the first name in UPPSER CASE and try to use this filed name in the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&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;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Swarna Munukoti on Aug 12, 2008 8:07 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 06:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274083#M1019729</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2008-08-12T06:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: String comparison in select clause and RFC import parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274084#M1019730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks  Swarna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the condition with the VAMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points are awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 06:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-comparison-in-select-clause-and-rfc-import-parameter/m-p/4274084#M1019730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T06:20:10Z</dc:date>
    </item>
  </channel>
</rss>

