<?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: IDOC_INPUT_ORDERS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214700#M1378190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which user exit did you use? Did you verify that it is not written within any condition that checks sy-batch = 'X'.  Because if the code is written only for sy-batch = 'X', it will run only in background.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Oct 2009 22:49:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-03T22:49:59Z</dc:date>
    <item>
      <title>IDOC_INPUT_ORDERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214697#M1378187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;My developer has built a logic to error out  Incoming 850 Idoc in case of multiple Ship to Customers. This logic works fine when I process the Idoc (we19)in Background using standard function module IDOC_INPUT_ORDERS, however when I process the Idoc (we19) in foreground using the same function module the logic seems not working  and the Idoc gets status 53. I am not sure why this is happng. Please advise.&lt;/P&gt;&lt;P&gt;Same function module giving different results when processed in foregroung and background.&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;&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answers will be rewarded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2009 01:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214697#M1378187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-02T01:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC_INPUT_ORDERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214698#M1378188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean Multiple Ship-to customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In VA01 there will be only one Ship-to customer. I am not sure what you are referring to Multiple-ship-to customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user-exit will be triggered whether you execute the program through background or foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In foreground may be you are missing/putting some correct data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, why do you worry about the foreground mode. Always your IDocs will be executed background. when it is working fine why worry about WE19/foreground. After all, it is a test tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2009 04:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214698#M1378188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-02T04:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC_INPUT_ORDERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214699#M1378189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creasy... Don't worry about the multiple ship to logic it has got nothing to do with my question. I repaeat my logic doesn't work when I process the Idoc in foreground.&lt;/P&gt;&lt;P&gt;Yes I have to worry... When my Idocs fail in background because of the condition not being fulfilled.. it's comes to my workflow, and I have to process them in foreground after assigning the correct Ship to.. but in thic case it doesn't stop at the error, but instead processes the Idoc Succesfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2009 12:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214699#M1378189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-02T12:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC_INPUT_ORDERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214700#M1378190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which user exit did you use? Did you verify that it is not written within any condition that checks sy-batch = 'X'.  Because if the code is written only for sy-batch = 'X', it will run only in background.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2009 22:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214700#M1378190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-03T22:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC_INPUT_ORDERS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214701#M1378191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pikle is right. Check out the code whether the code in user-exit has dependency on batch mode flag SY-BATCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The multiple ship-to scenario is very akward to think of. Even if some outer system is sending the multiple Ship to. Logic should be built in Source or middleware to error out if such scenario exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, I would suggest to describe your scenario once more probably with code snippets also.&lt;/P&gt;&lt;P&gt;This will help us to get the hold of issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 06:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-input-orders/m-p/6214701#M1378191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-04T06:25:21Z</dc:date>
    </item>
  </channel>
</rss>

