<?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 to create customer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-create-customer/m-p/3213757#M766249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI creates the new customer based on a &lt;STRONG&gt;template&lt;/STRONG&gt; &lt;STRONG&gt;customer&lt;/STRONG&gt;. Most of the business-related data are copied from this reference customer which you have to provide in the mandatory IMPORTING parameter &lt;STRONG&gt;PI_COPYREFERENCE&lt;/STRONG&gt;. This structure contains the reference customer and the sales area:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALESORG	Sales Organization&lt;/P&gt;&lt;P&gt;DISTR_CHAN	Distribution Channel&lt;/P&gt;&lt;P&gt;DIVISION	Division&lt;/P&gt;&lt;P&gt;REF_CUSTMR	Reference customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;reference customer&lt;/STRONG&gt; must exist in the sales area. The new customer will be created in the same sales area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Dec 2007 23:40:50 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2007-12-23T23:40:50Z</dc:date>
    <item>
      <title>. bapi to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-create-customer/m-p/3213756#M766248</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;I am having problem finding a right bapi for create a customer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using "bapi_customer_createfromdata1" to create a customer. Problem is i couldn't find a structure to pass sales org. data as well as partner functions. &lt;/P&gt;&lt;P&gt;Please help me. Feel free to ask me questions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Diwakar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2007 09:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-create-customer/m-p/3213756#M766248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-23T09:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: . bapi to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-create-customer/m-p/3213757#M766249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI creates the new customer based on a &lt;STRONG&gt;template&lt;/STRONG&gt; &lt;STRONG&gt;customer&lt;/STRONG&gt;. Most of the business-related data are copied from this reference customer which you have to provide in the mandatory IMPORTING parameter &lt;STRONG&gt;PI_COPYREFERENCE&lt;/STRONG&gt;. This structure contains the reference customer and the sales area:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALESORG	Sales Organization&lt;/P&gt;&lt;P&gt;DISTR_CHAN	Distribution Channel&lt;/P&gt;&lt;P&gt;DIVISION	Division&lt;/P&gt;&lt;P&gt;REF_CUSTMR	Reference customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;reference customer&lt;/STRONG&gt; must exist in the sales area. The new customer will be created in the same sales area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2007 23:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-create-customer/m-p/3213757#M766249</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-12-23T23:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: . bapi to create customer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-create-customer/m-p/3213758#M766250</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;&lt;/P&gt;&lt;P&gt;The way is using multiple BAPI's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi "bapi_customer_createfromdata1" is used to create customer with reference customer number and then send the information to bapi "sd_customer_maintain_all" for changing the the values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still having problem passing parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i am sending partner information(knvp) to "sd_customer_maintain_all", it is giving abap dump assertion_failed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to debug the program but i couldn't find the error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;values i passed to bapi sd_customer_maintain_all &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table of type &amp;lt;b&amp;gt;fknvp&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MANDT sy-mandt 
KUNNR st_knvp-kunnr 
VKORG st_knvp-vkorg 
VTWEG st_knvp-vtweg 
SPART st_knvp-spart 
PARVW st_knvp-parvw 
PARZA 
KUNN2 st_knvp-sp_kunnr 
LIFNR 
PERNR 
PARNR 
KNREF 
DEFPA 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Appended line by line to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if found helpful....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Venkoji Babu.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 14:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-create-customer/m-p/3213758#M766250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T14:28:19Z</dc:date>
    </item>
  </channel>
</rss>

