<?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: Error, no customer master record exist when create sales order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001506#M76576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that you would fill up the ORDER_CONDITIONS_IN table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark this post as a question, and if the previous answers were helpful, pleae reward points accordingly.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jul 2005 20:32:57 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-07-05T20:32:57Z</dc:date>
    <item>
      <title>Error, no customer master record exist when create sales order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001503#M76573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I am using BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create a sale order from a IDES R/3 server.&lt;/P&gt;&lt;P&gt;  The following are data that I enter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Partner information&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;German code AG for partner role Sold-to-party SP&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;orderPartners-PARTN_ROLE = 'AG'.&lt;/P&gt;&lt;P&gt;orderPartners-PARTN_NUMB = '3930'.&lt;/P&gt;&lt;P&gt;APPEND orderPartners.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ORDER HEADER&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;German code TA for standard order OR&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;orderHeaderIn-DOC_TYPE   = 'TA'.&lt;/P&gt;&lt;P&gt;orderHeaderIn-SALES_ORG  = '3000'.&lt;/P&gt;&lt;P&gt;orderHeaderIn-DISTR_CHAN = '10'.&lt;/P&gt;&lt;P&gt;orderHeaderIn-DIVISION   = '00'.&lt;/P&gt;&lt;P&gt;orderHeaderIn-PURCH_NO_C = '4500014633'.&lt;/P&gt;&lt;P&gt;APPEND orderHeaderIn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orderHeaderInX-UPDATEFLAG = 'I'.&lt;/P&gt;&lt;P&gt;orderHeaderInX-DOC_TYPE   = 'X'.&lt;/P&gt;&lt;P&gt;orderHeaderInX-SALES_ORG  = 'X'.&lt;/P&gt;&lt;P&gt;orderHeaderInX-DISTR_CHAN = 'X'.&lt;/P&gt;&lt;P&gt;orderHeaderInX-DIVISION   = 'X'.&lt;/P&gt;&lt;P&gt;orderHeaderInX-PURCH_NO_C = 'X'.&lt;/P&gt;&lt;P&gt;APPEND orderHeaderInX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Order Items&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;orderItemsIn-ITM_NUMBER = '10'.&lt;/P&gt;&lt;P&gt;orderItemsIn-MATERIAL   = 'V114203967'.&lt;/P&gt;&lt;P&gt;orderItemsIn-COMP_QUANT = '1'.&lt;/P&gt;&lt;P&gt;APPEND orderItemsIn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orderItemsInX-UPDATEFLAG = 'I'.&lt;/P&gt;&lt;P&gt;orderItemsInX-ITM_NUMBER = '10'.&lt;/P&gt;&lt;P&gt;orderItemsInX-MATERIAL   = 'X'.&lt;/P&gt;&lt;P&gt;orderItemsInX-COMP_QUANT = 'X'.&lt;/P&gt;&lt;P&gt;orderItemsInX-GROSS_WGHT = 'X'.&lt;/P&gt;&lt;P&gt;orderItemsInX-NET_WEIGHT = 'X'.&lt;/P&gt;&lt;P&gt;orderItemsInX-UNTOF_WGHT = 'X'.&lt;/P&gt;&lt;P&gt;APPEND orderItemsInX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'BAPI_SALESORDER_CREATEFROMDAT2'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        ORDER_HEADER_IN  = orderHeaderIn&lt;/P&gt;&lt;P&gt;        ORDER_HEADER_INX = orderHeaderInX&lt;/P&gt;&lt;P&gt;        testrun          = 'X'&lt;/P&gt;&lt;P&gt;      importing&lt;/P&gt;&lt;P&gt;        SALESDOCUMENT    = salesDoc&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        RETURN           = myReturn&lt;/P&gt;&lt;P&gt;        ORDER_ITEMS_IN   = orderItemsIn&lt;/P&gt;&lt;P&gt;        ORDER_ITEMS_INX  = orderItemsInX&lt;/P&gt;&lt;P&gt;        ORDER_PARTNERS   = orderPartners&lt;/P&gt;&lt;P&gt;      .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I execute this program, it generates error: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  No customer master record exist for customer 3930, eventhough I am sure it's there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tbluong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thaiba Luong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2005 18:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001503#M76573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-01T18:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error, no customer master record exist when create sales order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001504#M76574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sure that the system does not store the customer number like 3930.  In the table, it is stored as 0000003930.   You must put zeros in front of your number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this with a function module.  It's something like CONVERSION_ALPHA_INPUT.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a search in SE37 for CON*&lt;STRONG&gt;ALPHA&lt;/STRONG&gt;&lt;STRONG&gt;INPUT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of cousre since you are hard coding in your program, you could just....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

orderPartners-PARTN_NUMB = '0000003930'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2005 18:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001504#M76574</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-01T18:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error, no customer master record exist when create sales order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001505#M76575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thank you so much for suggest.  It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    However, now, it says "Missing data: Pricing".  Do you have any idea where to fill it up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thank a lot for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tbluong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2005 20:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001505#M76575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-05T20:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error, no customer master record exist when create sales order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001506#M76576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that you would fill up the ORDER_CONDITIONS_IN table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark this post as a question, and if the previous answers were helpful, pleae reward points accordingly.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2005 20:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001506#M76576</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-05T20:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error, no customer master record exist when create sales order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001507#M76577</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;Pricing data may not necessarily be passed in the BAPI. Most of the times it is the customozation settings. so, pls check with your SD consultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak Charanyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2005 20:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-no-customer-master-record-exist-when-create-sales-order/m-p/1001507#M76577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-05T20:56:52Z</dc:date>
    </item>
  </channel>
</rss>

