<?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 Criteria in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665893#M294757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;iT MATTERS THATS THE REASON WHY YOU ARE NOT ABLE TO FETCH DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_zero3(10) type c value '0000000000',&lt;/P&gt;&lt;P&gt;      v_count(3) type n,&lt;/P&gt;&lt;P&gt;      v_count2(3) type n ,&lt;/P&gt;&lt;P&gt;      v_zerot(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_zzsd0010.&lt;/P&gt;&lt;P&gt;SHIFT it_zzsd0010-KUNNR LEFT DELETING LEADING '0'.&lt;/P&gt;&lt;P&gt; v_count = strlen( it_zzsd0010-KUNNR ).&lt;/P&gt;&lt;P&gt; v_count2 = 10 - v_count.&lt;/P&gt;&lt;P&gt; if not  v_count2 is initial.&lt;/P&gt;&lt;P&gt;              move v_zero3+0(v_count2) to v_zerot.&lt;/P&gt;&lt;P&gt;            else .&lt;/P&gt;&lt;P&gt;              v_zerot = ' '.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;concatenate v_zerot it_zzsd0010-KUNNR into it_zzsd0010-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY it_zzsd0010.&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;&lt;/P&gt;&lt;P&gt;SELECT kunnr&lt;/P&gt;&lt;P&gt;kdgrp&lt;/P&gt;&lt;P&gt;INTO TABLE it_knvv&lt;/P&gt;&lt;P&gt;FROM knvv&lt;/P&gt;&lt;P&gt;WHERE kunnr = it_zzsd0010-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if helpful.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2006 21:34:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-20T21:34:07Z</dc:date>
    <item>
      <title>Select Criteria</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665889#M294753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;I am writing a  select querry,and this querry is not fetching any data.&lt;/P&gt;&lt;P&gt;          SELECT kunnr&lt;/P&gt;&lt;P&gt;                 kdgrp&lt;/P&gt;&lt;P&gt;            INTO TABLE it_knvv&lt;/P&gt;&lt;P&gt;            FROM knvv&lt;/P&gt;&lt;P&gt;           WHERE kunnr = it_zzsd0010-kunnr.&lt;/P&gt;&lt;P&gt;I looked into Debug mode and for it_zzsd0010-kunnr there is data in KNVV-kunnr.&lt;/P&gt;&lt;P&gt;But i observed that &lt;/P&gt;&lt;P&gt;KNVV-KUNNR = 10 char and &lt;/P&gt;&lt;P&gt;ZZSD0010-KUNNR = 8 char. does it matter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shejal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 21:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665889#M294753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T21:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select Criteria</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665890#M294754</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;Is the customer a number or a alpha numeric...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it just number...try using the FM CONVERSION_EXIT_ALPHA_INPUT to modify the customer to internal format and then use if the KNVV select...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 21:18:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665890#M294754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T21:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select Criteria</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665891#M294755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren, But do u think is it because of the the length of char.&lt;/P&gt;&lt;P&gt;Both are KUNNR and are 10 char length, IN KNVV-KUNNR the data has leading zeros to make it to 10 char length and in ZZSD0010 table the Kunnr field is 10 char length but it does not always have 10 char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shejal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 21:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665891#M294755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T21:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select Criteria</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665892#M294756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;iT MATTERS THATS THE REASON WHY YOU ARE NOT ABLE TO FETCH DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_zero3(10) type c value '0000000000',&lt;/P&gt;&lt;P&gt;      v_count(3) type n,&lt;/P&gt;&lt;P&gt;      v_count2(3) type n ,&lt;/P&gt;&lt;P&gt;      v_zerot(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_zzsd0010.&lt;/P&gt;&lt;P&gt;SHIFT it_zzsd0010-KUNNR LEFT DELETING LEADING '0'.&lt;/P&gt;&lt;P&gt; v_count = strlen( it_zzsd0010-KUNNR ).&lt;/P&gt;&lt;P&gt; v_count2 = 10 - v_count.&lt;/P&gt;&lt;P&gt; if not  v_count2 is initial.&lt;/P&gt;&lt;P&gt;              move v_zero3+0(v_count2) to v_zerot.&lt;/P&gt;&lt;P&gt;            else .&lt;/P&gt;&lt;P&gt;              v_zerot = ' '.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;concatenate v_zerot it_zzsd0010-KUNNR into it_zzsd0010-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY it_zzsd0010.&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;&lt;/P&gt;&lt;P&gt;SELECT kunnr&lt;/P&gt;&lt;P&gt;kdgrp&lt;/P&gt;&lt;P&gt;INTO TABLE it_knvv&lt;/P&gt;&lt;P&gt;FROM knvv&lt;/P&gt;&lt;P&gt;WHERE kunnr = it_zzsd0010-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if helpful.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 21:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665892#M294756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T21:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Select Criteria</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665893#M294757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;iT MATTERS THATS THE REASON WHY YOU ARE NOT ABLE TO FETCH DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_zero3(10) type c value '0000000000',&lt;/P&gt;&lt;P&gt;      v_count(3) type n,&lt;/P&gt;&lt;P&gt;      v_count2(3) type n ,&lt;/P&gt;&lt;P&gt;      v_zerot(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_zzsd0010.&lt;/P&gt;&lt;P&gt;SHIFT it_zzsd0010-KUNNR LEFT DELETING LEADING '0'.&lt;/P&gt;&lt;P&gt; v_count = strlen( it_zzsd0010-KUNNR ).&lt;/P&gt;&lt;P&gt; v_count2 = 10 - v_count.&lt;/P&gt;&lt;P&gt; if not  v_count2 is initial.&lt;/P&gt;&lt;P&gt;              move v_zero3+0(v_count2) to v_zerot.&lt;/P&gt;&lt;P&gt;            else .&lt;/P&gt;&lt;P&gt;              v_zerot = ' '.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;concatenate v_zerot it_zzsd0010-KUNNR into it_zzsd0010-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY it_zzsd0010.&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;&lt;/P&gt;&lt;P&gt;SELECT kunnr&lt;/P&gt;&lt;P&gt;kdgrp&lt;/P&gt;&lt;P&gt;INTO TABLE it_knvv&lt;/P&gt;&lt;P&gt;FROM knvv&lt;/P&gt;&lt;P&gt;WHERE kunnr = it_zzsd0010-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if helpful.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 21:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665893#M294757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T21:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select Criteria</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665894#M294758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the field it_zzsd0010-kunnr if it is padded with zeros...Otherwise you have to use the function module which I have mentioned in my earlier reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 21:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665894#M294758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T21:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select Criteria</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665895#M294759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone.&lt;/P&gt;&lt;P&gt;Shejal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 22:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665895#M294759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T22:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select Criteria</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665896#M294760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you dont want to use the function module,you can use the the code below:(no need calculate and concatenate).&lt;/P&gt;&lt;P&gt;OVERLAY will take care of appending variable number of zeros. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lc_overlay(10) value '0000000000'.&lt;/P&gt;&lt;P&gt;Shift kunnr right deleting trailing space.&lt;/P&gt;&lt;P&gt;OVERLAY kunnr with lc_overlay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark points if you find answer useful.&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Ags..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2006 05:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-criteria/m-p/1665896#M294760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-22T05:04:43Z</dc:date>
    </item>
  </channel>
</rss>

