<?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: BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599631#M269248</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;do you also put in the currency?? if not this could be the reason of the increasing of the condition amount. Try to put in the currency in ORDER_ITEMS_IN-CURRENCY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now give me the points &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2006 11:26:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-22T11:26:19Z</dc:date>
    <item>
      <title>BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599630#M269247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to enhance a project where,&lt;/P&gt;&lt;P&gt;Webmethods triggers the BAPI_SALESORDER_CREATEFROMDAT1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially no price was added to this BAPI.&lt;/P&gt;&lt;P&gt;Now i added a condition price by defaulting the condition type.&lt;/P&gt;&lt;P&gt;The condition price is showing 10 times more, e.g 100 is shown as 1000.&lt;/P&gt;&lt;P&gt;Is this expected? in that case do i need to devide price by 10 and then send to BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also intially pricing condition use to appear by default to the SO created by this BAPI. This condition type still exists. How to remove it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that this BAPI is obsolete, but it is already in use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will be greately appreciated.&lt;/P&gt;&lt;P&gt;And points will be awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 08:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599630#M269247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T08:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599631#M269248</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;do you also put in the currency?? if not this could be the reason of the increasing of the condition amount. Try to put in the currency in ORDER_ITEMS_IN-CURRENCY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now give me the points &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 11:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599631#M269248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T11:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599632#M269249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow dude,it works. But can u explain me on this.&lt;/P&gt;&lt;P&gt;Even if i had not given the USD, it took it by default but mulityplied by 10. When i explicitly gave USD, it took the right amount, i am surprised. A lot thanks to you. Never realised this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my another question is still unanswered, hence did not give u full marks :P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i run this BAPI directly, (SE37) it works fine.&lt;/P&gt;&lt;P&gt;But when Webmethods calls this BAPI, then by default a condition type gets included. I am not able to understand wht settings i need to enable/disable to remove this default cond. type. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that , this calling on BAPI thru WM was written by somebody else. I checked all possible fields to this BAPI, did not get any hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any kind of help will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 01:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599632#M269249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T01:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599633#M269250</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;Since the BAPI is calling by 3rd party, that is very difficult for your to trace why does the defaulted condition type being included during the call. Thus i would suggest below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Check on the 3rd party side on the input passed in.&lt;/P&gt;&lt;P&gt;2. If confirm they didn't pass in any suspicious input, then you need to debug the BAPI FM during the 3rd party call. Under the BAPI u may need to code an infinity loop at the begining of the FM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: a type i value 0.
do.
  if a = 1.
    exit.
  endif.
enddo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after activate your FM, ask the 3rd party trigger the BAPI call, then you may need to goto tcode SM50 you will get a dialog session being hold for the BAPI. Note: you can determine the correct dialog work process by determine the program name or user id. Then highlight it, goto menu Program/session-&amp;gt;Program-&amp;gt;Debugging. Immediately an addition popup will bring you to the BAPI FM debugging mode. And you will notice you will stuck in the DO~ENDDO loop where you coded as above. change the value of variable A to 1, then you can continue debug the FM for where is the cause of defaulted condition type coming from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, above is applicable for the BAPI calling within SAP itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 05:27:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/1599633#M269250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T05:27:57Z</dc:date>
    </item>
  </channel>
</rss>

