<?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: not working.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456018#M215568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After declaring the internal table, did you fill it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amiya Shrivastava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jun 2006 03:28:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-16T03:28:39Z</dc:date>
    <item>
      <title>not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456008#M215558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;for the below code i am getting o/p as nothing(null)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_knttp(25) TYPE c.&lt;/P&gt;&lt;P&gt;   SHIFT v_knttp LEFT DELETING LEADING space.&lt;/P&gt;&lt;P&gt;CASE lt_ekpo-knttp.&lt;/P&gt;&lt;P&gt;      WHEN 'K'.&lt;/P&gt;&lt;P&gt;        MOVE lt_ekkn-kostl TO v_knttp.&lt;/P&gt;&lt;P&gt;      WHEN 'P'.&lt;/P&gt;&lt;P&gt;        MOVE lt_ekkn-ps_psp_pnr TO v_knttp.&lt;/P&gt;&lt;P&gt;      WHEN  'O'.&lt;/P&gt;&lt;P&gt;        MOVE lt_ekkn-aufnr TO v_knttp.&lt;/P&gt;&lt;P&gt;      WHEN OTHERS.&lt;/P&gt;&lt;P&gt;        MOVE lt_ekpo-knttp TO v_knttp.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;write: v_knttp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 22:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456008#M215558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T22:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456009#M215559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vj,&lt;/P&gt;&lt;P&gt;  Try this way out it works only if there exists data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_knttp(25) TYPE c.&lt;/P&gt;&lt;P&gt;SHIFT v_knttp LEFT DELETING LEADING space.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;loop at lt_ekpo.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CASE lt_ekpo-knttp.&lt;/P&gt;&lt;P&gt;  WHEN 'K'.&lt;/P&gt;&lt;P&gt;    v_knttp = lt_ekkn-kostl.&lt;/P&gt;&lt;P&gt;  WHEN 'P'.&lt;/P&gt;&lt;P&gt;    v_knttp = lt_ekkn-ps_psp_pnr.&lt;/P&gt;&lt;P&gt;  WHEN 'O'.&lt;/P&gt;&lt;P&gt;    v_knttp = lt_ekkn-aufnr.&lt;/P&gt;&lt;P&gt;  WHEN OTHERS.&lt;/P&gt;&lt;P&gt;    v_knttp = lt_ekpo-knttp.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;write: v_knttp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456009#M215559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T23:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456010#M215560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi u need to loop through it_ekpo if it is an internal table. also it is meaningless to SHIFT v_knttp since it doesnt contain any value.Check the below code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_knttp(25) TYPE c.&lt;/P&gt;&lt;P&gt;LOOP AT it_ekpo.&lt;/P&gt;&lt;P&gt;CASE lt_ekpo-knttp.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-kostl TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'P'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-ps_psp_pnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'O'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-aufnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;MOVE lt_ekpo-knttp TO v_knttp.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;write: v_knttp. &lt;/P&gt;&lt;P&gt;clear v_knttp.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456010#M215560</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-06-15T23:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456011#M215561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_knttp(25) TYPE c.&lt;/P&gt;&lt;P&gt;SHIFT v_knttp LEFT DELETING LEADING space.&lt;/P&gt;&lt;P&gt;CASE lt_ekpo-knttp.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;write&amp;lt;/b&amp;gt; lt_ekkn-kostl TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'P'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;write&amp;lt;/b&amp;gt; lt_ekkn-ps_psp_pnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'O'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;write&amp;lt;/b&amp;gt; lt_ekkn-aufnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;write&amp;lt;/b&amp;gt; lt_ekpo-knttp TO v_knttp.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;write: v_knttp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456011#M215561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T23:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456012#M215562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello experts....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i declared internal table....but see the code i think...there is some more thing to be attached????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:06:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456012#M215562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T23:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456013#M215563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you are not looping thru your internal table so plz loop thru it as i have mentioned above and update here with the result..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456013#M215563</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-06-15T23:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456014#M215564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still it is not showing...please help me ...give other suggestions....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456014#M215564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T23:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456015#M215565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post the complete code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456015#M215565</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-15T23:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456016#M215566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you plz give ur complete code here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456016#M215566</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-06-15T23:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456017#M215567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are checking values of 'K', 'O', etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug your program and see if there is such values for lt_ekpo-knttp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise if it is your requirement to check only the first letter, declare another field with a single character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_knttp(25) TYPE c,&lt;/P&gt;&lt;P&gt;       v_sing(1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHIFT v_knttp LEFT DELETING LEADING space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move lt_ekpo-knttp to v_sing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE v_sing.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-kostl TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'P'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-ps_psp_pnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'O'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-aufnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;MOVE lt_ekpo-knttp TO v_knttp.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;write: v_knttp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 01:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456017#M215567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T01:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456018#M215568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After declaring the internal table, did you fill it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amiya Shrivastava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 03:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456018#M215568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T03:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456019#M215569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your code :&lt;/P&gt;&lt;P&gt;DATA : v_knttp(25) TYPE c.&lt;/P&gt;&lt;P&gt;*Is v_knttp already populated.Chk in debug. If yes, then *in case statement,why are you again moving value into *this field.&lt;/P&gt;&lt;P&gt;SHIFT &amp;lt;b&amp;gt;v_knttp&amp;lt;/b&amp;gt; LEFT DELETING LEADING space.&lt;/P&gt;&lt;P&gt;*lt_ekkn-knttp should be coming from internal table *loop. Check if there is an loop before it.&lt;/P&gt;&lt;P&gt;CASE &amp;lt;b&amp;gt;lt_ekpo-knttp&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-kostl TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'P'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-ps_psp_pnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'O'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-aufnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;MOVE lt_ekpo-knttp TO v_knttp.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;write: v_knttp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get a better picture thru code debug. Still if there is any issue, i think..you should paste the entire code piece.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward for helpful replies!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 03:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456019#M215569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T03:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: not working....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456020#M215570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA : v_knttp(25) TYPE c.&lt;/P&gt;&lt;P&gt;LOOP AT it_ekpo.&lt;/P&gt;&lt;P&gt;CASE lt_ekpo-knttp.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-kostl TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'P'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-ps_psp_pnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN 'O'.&lt;/P&gt;&lt;P&gt;MOVE lt_ekkn-aufnr TO v_knttp.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;MOVE lt_ekpo-knttp TO v_knttp.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;write: v_knttp. &lt;/P&gt;&lt;P&gt;clear v_knttp.&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;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 03:58:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-working/m-p/1456020#M215570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T03:58:59Z</dc:date>
    </item>
  </channel>
</rss>

