<?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: FM K_ORDER_READ direct execution and program execution result different in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070700#M1811985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghavendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used conversion exits before passing the order number to this FM, so leading zeroes is out of question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Feb 2014 09:23:16 GMT</pubDate>
    <dc:creator>jeet_bhattacharjee</dc:creator>
    <dc:date>2014-02-21T09:23:16Z</dc:date>
    <item>
      <title>FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070695#M1811980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to fetch the details of a production order using FM K_ORDER_READ passing the production order number only in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'K_ORDER_READ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aufnr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;i_aufnr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_aufkv&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_aufkv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; erloese&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_erloese&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; not_found &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;01&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;The aufkv structure returned (l_aufkv) does not have the sales order number (KDAUF) and the item number (KDPOS) filled when the program is executed, but if I directly execute the FM from SE37 with the same input the result is different, the sales order number mapped is correctly fetched.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Really at loss for a possible explanation for the above behavior.&amp;nbsp; Please help!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Jeet&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070695#M1811980</guid>
      <dc:creator>jeet_bhattacharjee</dc:creator>
      <dc:date>2014-02-18T11:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070696#M1811981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope my question is clear enough. Does anyone have any idea on how to solve this problem???&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 05:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070696#M1811981</guid>
      <dc:creator>jeet_bhattacharjee</dc:creator>
      <dc:date>2014-02-19T05:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070697#M1811982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeet...just check if the input i_aufnr you are passing to FM through program has leading zeroes or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 07:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070697#M1811982</guid>
      <dc:creator>former_member182354</dc:creator>
      <dc:date>2014-02-19T07:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070698#M1811983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to pass the value NO_BUFFER = 'X' in the exporting parameter of the function module and check whether it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'K_ORDER_READ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aufnr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;i_aufnr&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO_BUFFER = 'X'&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_aufkv&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;l_aufkv&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; erloese&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;l_erloese&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; not_found &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;01&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11.818181991577148px; color: #333333;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanga&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 07:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070698#M1811983</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2014-02-19T07:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070699#M1811984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use conversion routines before passing the order number to the FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 07:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070699#M1811984</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2014-02-19T07:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070700#M1811985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghavendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used conversion exits before passing the order number to this FM, so leading zeroes is out of question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 09:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070700#M1811985</guid>
      <dc:creator>jeet_bhattacharjee</dc:creator>
      <dc:date>2014-02-21T09:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070701#M1811986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's great. Conversion routine worked. Please close the thread if the issue is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thanga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 09:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070701#M1811986</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2014-02-21T09:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070702#M1811987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to disappoint you but the issue is not solved, I meant that leading zeroes is not causing the issue. Anyways with some deep debugging I found that the issue is due to buffer (attribute of this fm) containing some values from the previous steps in the program, so your solution to pass No buffer parameter might actually work. But the problem is this fm is called inside another fm &lt;SPAN style="color: #3778c7; font-size: 12px;"&gt; WTYSC01_COLLECT_DIP_ITEMS. &lt;/SPAN&gt; So I can not change the call to fm k_order_read. I have opened a new thread to continue this discussion with topic &lt;SPAN style="color: #3778c7; font-size: 12px;"&gt; WTYSC01_COLLECT_DIP_ITEMS gives DYNAMIC_ITEM_ERROR&lt;/SPAN&gt; . Neverthless your answer was really helpful. Thanks!!&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;Jeet &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 09:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070702#M1811987</guid>
      <dc:creator>jeet_bhattacharjee</dc:creator>
      <dc:date>2014-02-21T09:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: FM K_ORDER_READ direct execution and program execution result different</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070703#M1811988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link to the new thread opened is &lt;A __default_attr="3504877" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="FM WTYSC01_COLLECT_DIP_ITEMS gives DYNAMIC_ITEM_ERROR" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking of using an enhancement to modify the code inside fm k_order_read to bypass the buffer entries (of course with a filter so that its hit only for the concerned flow). If any body else has any suggestion please post it in the new thread opened.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 09:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-k-order-read-direct-execution-and-program-execution-result-different/m-p/10070703#M1811988</guid>
      <dc:creator>jeet_bhattacharjee</dc:creator>
      <dc:date>2014-02-21T09:50:32Z</dc:date>
    </item>
  </channel>
</rss>

