<?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_CUSTOMER_CREATEFROMDATA1 to create customer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585953#M264186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information. I always endup getting wrong combination. i.e, if I get the right refrence customer it would say the sales record does not exist in the master table. If every thing else is fine I would get tax related error. I know I am asking very trivial question but is there any way I can get good data to pass so all the interdepandancy not creating any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again I am new to this and I am trying to demonstarte the capability to integrate with BEA WebLogic and ALSB to SAP using BAPI/WebService and IDOC XML transport. But in order to demo those I need to figure out the right combination of the data to create the customer so I can popluate the xml with right data using WS or IDOC/XML over HTTP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Sep 2006 21:38:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-29T21:38:36Z</dc:date>
    <item>
      <title>BAPI_CUSTOMER_CREATEFROMDATA1 to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585950#M264183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to SAP. I am trying to create a customer in SAP 4.7 using BAPI_CUSTOMER_CREATEFROMDATA1 and running into all kinds of problem on sales org does not exist in master record, to copy customer does not exist in the master record, to tax code and address text relate problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there simple way to find out required data to create new cusomer using that bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 17:13:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585950#M264183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T17:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDATA1 to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585951#M264184</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;you can use PI_COPYREFERENCE parameter to create customer using the reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass BAPIKNA102 structure and populate &lt;/P&gt;&lt;P&gt;Sales Organization,&lt;/P&gt;&lt;P&gt;Distribution Channel,&lt;/P&gt;&lt;P&gt;Division and Reference customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA1'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    PI_PERSONALDATA              = PI_PERSONALDATA&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PI_OPT_PERSONALDATA          = PI_OPT_PERSONALDATA&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PI_COMPANYDATA               = PI_COMPANYDATA&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PI_OPT_COMPANYDATA           = PI_OPT_COMPANYDATA&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PI_CONSUMEREN                = PI_CONSUMEREN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PI_COPYREFERENCE             = PI_COPYREFERENCE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PI_CREDIT_CONTROL_FLAG       = PI_CREDIT_CONTROL_FLAG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CUSTOMERNO                   = CUSTOMERNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN                       = RETURN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye &lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 18:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585951#M264184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T18:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDATA1 to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585952#M264185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanjay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the mandatory address fields (either for PI_PERSONALDATA or PI_COMPANYDATA):&lt;/P&gt;&lt;P&gt;- LASTNAME (if you have a personal address)&lt;/P&gt;&lt;P&gt;- NAME (if you have a company address)&lt;/P&gt;&lt;P&gt;- CITY&lt;/P&gt;&lt;P&gt;- POSTL_COD1&lt;/P&gt;&lt;P&gt;- STREET&lt;/P&gt;&lt;P&gt;- COUNTRY&lt;/P&gt;&lt;P&gt;- LANGU_P&lt;/P&gt;&lt;P&gt;- CURRENCY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, you &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; provide a reference customer in order to create a new debitor (PI_COPYREFERENCE, all fields must be filled and this reference customer must exist for this sales area). All debitor-specific data (&amp;lt;&amp;gt; address data) are copied from the reference customer. This is sample like using transaction XD01 with a template debitor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 19:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585952#M264185</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-29T19:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDATA1 to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585953#M264186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information. I always endup getting wrong combination. i.e, if I get the right refrence customer it would say the sales record does not exist in the master table. If every thing else is fine I would get tax related error. I know I am asking very trivial question but is there any way I can get good data to pass so all the interdepandancy not creating any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again I am new to this and I am trying to demonstarte the capability to integrate with BEA WebLogic and ALSB to SAP using BAPI/WebService and IDOC XML transport. But in order to demo those I need to figure out the right combination of the data to create the customer so I can popluate the xml with right data using WS or IDOC/XML over HTTP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 21:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585953#M264186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T21:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDATA1 to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585954#M264187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanjay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have access to the SAP system where you want to create the new customers (or if you have a SAP user at hand) then call transaction &amp;lt;b&amp;gt;XD01&amp;lt;/b&amp;gt; (Create customer) and create a new customer using an existing customer as template (= reference customer). &amp;lt;b&amp;gt;The reference customer must exist in a company code and a sales area (combination of sales organisation, distribution channel and division)&amp;lt;/b&amp;gt; of this company code. When you enter the adress data of the new customer you will see that only the fields I mentioned before are required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this works fine, i.e. the new customer is created within the company code and the sales area then you can use these data for feeding the BAPI. However, be careful to vary the address every time because otherwise the BAPI might complain that a customer with similiar address exists already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Sep 2006 16:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585954#M264187</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-30T16:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDATA1 to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585955#M264188</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;I also would like to create a customer with BAPI_CUSTOMER_CREATEFROMDATA1. I looked up some customers in XD01 to use as a reference, but am not able to get the SalesOrg, Division, and other sales parameter. I tried BAPI_CUSTOMER_GETSALESAREAS. But what I always get back is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"No sales area data has been maintained for customer number XXXX"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I look up this information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I find documentation about what is a mandatory field for a structure I need to give to a function module? I mean there are tons of fields and nobody really knows which one to fill and which not and what constraints exist between fields and structures and tables. That drives me nuts &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you guys have some answers ready.&lt;/P&gt;&lt;P&gt;Looking forward to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 17:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-to-create-customer/m-p/1585955#M264188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T17:03:29Z</dc:date>
    </item>
  </channel>
</rss>

