<?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: Small problem in code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931080#M1796273</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;Can you check &lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;w_OBJID &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;JEST&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;OBJNR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Instead declare &lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;w_OBJID &lt;SPAN class="L0S52"&gt;TYPE CCOBJID. and try once again.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Atul Mohanty&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Dec 2013 11:05:24 GMT</pubDate>
    <dc:creator>atul_mohanty</dc:creator>
    <dc:date>2013-12-31T11:05:24Z</dc:date>
    <item>
      <title>Small problem in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931076#M1796269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;w_OBJID &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;JEST&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;OBJNR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;it_resb &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;wa_resb&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;it_resb2 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;wa_resb2 &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;matnr &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_resb&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;matnr&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; &lt;SPAN class="L0S52"&gt;select &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;single &lt;/SPAN&gt;OBJID &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;w_OBJID &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;AUFK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;aufnr &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_resb&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;aufnr &lt;/STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000000;"&gt;This select query does not fetch a value to &lt;/SPAN&gt;&lt;STRONG style="color: #000000;"&gt;w_OBJID.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #000000;"&gt;but when i debug, &lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;STRONG style="color: #000000;"&gt;wa_resb&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;STRONG style=": ; color: #000000;"&gt;-&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;STRONG style="color: #000000;"&gt;aufnr&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;STRONG style="color: #000000;"&gt; has a value and when i take that value and run in se11 the table shows a record.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000000;"&gt;but my code doesnt fetc the value.. Any thoughts on why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 10:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931076#M1796269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-31T10:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Small problem in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931077#M1796270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the value of&amp;nbsp; &lt;STRONG&gt;wa_resb-aufnr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and use Conversion routine i.e. if length of aufnr is 12 digites then it is converted into 12 digites number. So convert aufnr value to 12 digites with adding the preceding zeros&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;USE "&lt;/STRONG&gt; &lt;STRONG&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/STRONG&gt; &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 11:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931077#M1796270</guid>
      <dc:creator>former_member196157</dc:creator>
      <dc:date>2013-12-31T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Small problem in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931078#M1796271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure type of&amp;nbsp; "&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;OBJID" &lt;/STRONG&gt;&lt;/SPAN&gt;and "&lt;SPAN class="L0S52"&gt;JEST&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;OBJNR" are same. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 11:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931078#M1796271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-31T11:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Small problem in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931079#M1796272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check whether conversion exit is require for aufnr ? you need to convert aufnr using conversion exit before putting it in where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 11:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931079#M1796272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-31T11:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Small problem in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931080#M1796273</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;Can you check &lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;w_OBJID &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;JEST&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;OBJNR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Instead declare &lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;w_OBJID &lt;SPAN class="L0S52"&gt;TYPE CCOBJID. and try once again.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Atul Mohanty&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 11:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931080#M1796273</guid>
      <dc:creator>atul_mohanty</dc:creator>
      <dc:date>2013-12-31T11:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Small problem in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931081#M1796274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look on to your W_OBJID variable declaration (type) and&amp;nbsp; OBJID in AUFK table. Is it compatible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 11:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931081#M1796274</guid>
      <dc:creator>philipdavy</dc:creator>
      <dc:date>2013-12-31T11:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Small problem in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931082#M1796275</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; There are mainly two possibility .&lt;/P&gt;&lt;P&gt;1) &lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;w_OBJID &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;JEST&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;OBJNR&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; u declared in the ref of JEST table, but in that table data type is char and length is 1 but same field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;you are fetching from&amp;nbsp; AUFK and there is having same data type but lenth is differ there is length 1 only &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;2) for most of transactions&amp;nbsp; AUFK table dont have data .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thank You &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;shrikant &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 11:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/small-problem-in-code/m-p/9931082#M1796275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-31T11:40:50Z</dc:date>
    </item>
  </channel>
</rss>

