<?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 Create Sales Order using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945205#M389680</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;&lt;/P&gt;&lt;P&gt;Apparently, I am using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order. However, before any sales order being created, there is a condition that I need to apply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If customer is paying by 'CASH', payment terms of header data will be set to empty, see below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order_header_in-pmnttrms = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If customer is paying by 'Bank Transfer', payment terms of header data will be refer to customer's payment terms from customer master sales data (KNVV) that set in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the above conditions, item (2) works well for me, but not for item (1). I tried to set the payment term as empty but it still referring to customer sales data's payment terms after sales order creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this caused by sales order type (where standard sales order is created)? or otherwise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advise will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2007 04:20:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-02T04:20:20Z</dc:date>
    <item>
      <title>Create Sales Order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945205#M389680</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;&lt;/P&gt;&lt;P&gt;Apparently, I am using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order. However, before any sales order being created, there is a condition that I need to apply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If customer is paying by 'CASH', payment terms of header data will be set to empty, see below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order_header_in-pmnttrms = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If customer is paying by 'Bank Transfer', payment terms of header data will be refer to customer's payment terms from customer master sales data (KNVV) that set in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the above conditions, item (2) works well for me, but not for item (1). I tried to set the payment term as empty but it still referring to customer sales data's payment terms after sales order creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this caused by sales order type (where standard sales order is created)? or otherwise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advise will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 04:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945205#M389680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T04:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945206#M389681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;       For Item No 1 it won't work because payment terms is taken from customer master data when you enter the customer is sales order .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case item 2 works because you take customer master data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case to work you will have code in the userexit and change the value of payment terms to work .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or take from customer master .&lt;/P&gt;&lt;P&gt;This are the userexits or enhancement .&lt;/P&gt;&lt;P&gt;SDTRM001            Reschedule schedule lines without a new ATP check&lt;/P&gt;&lt;P&gt;V45A0001            Determine alternative materials for product selection&lt;/P&gt;&lt;P&gt;V45A0002            Predefine sold-to party in sales document&lt;/P&gt;&lt;P&gt;V45A0003            Collector for customer function modulpool MV45A&lt;/P&gt;&lt;P&gt;V45A0004            Copy packing proposal&lt;/P&gt;&lt;P&gt;V45E0001            Update the purchase order from the sales order&lt;/P&gt;&lt;P&gt;V45E0002            Data transfer in procurement elements (PRreq., assembly)&lt;/P&gt;&lt;P&gt;V45L0001            SD component supplier processing (customer enhancements)&lt;/P&gt;&lt;P&gt;V45P0001            SD customer function for cross-company code sales&lt;/P&gt;&lt;P&gt;V45S0001            Update sales document from configuration&lt;/P&gt;&lt;P&gt;V45S0003            MRP-relevance for incomplete configuration&lt;/P&gt;&lt;P&gt;V45S0004            Effectivity type in sales order&lt;/P&gt;&lt;P&gt;V45W0001            SD Service Management: Forward Contract Data to Item&lt;/P&gt;&lt;P&gt;V46H0001            SD Customer functions for resource-related billing&lt;/P&gt;&lt;P&gt;V60F0001            SD Billing plan (customer enhancement) diff. to billing plan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 04:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945206#M389681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T04:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945207#M389682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order and change payment term as empty value (for CASH payment), can we still using an user exits in conjuction with the use of above BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 05:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945207#M389682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T05:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create Sales Order using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945208#M389683</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;User has decided not to apply the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 16:38:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-using-bapi/m-p/1945208#M389683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T16:38:06Z</dc:date>
    </item>
  </channel>
</rss>

