<?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 BAPI_CUSTOMER_CREATEFROMDATA1 - Previous Account Number  field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-previous-account-number-field/m-p/1935355#M386917</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;I have a requirement to create customers in SAP from an external system. We need to store the customer numbers of the external system to the 'Previous account number' field(KNB1-ALTKN). (This field is in the Account management tab of Company Code details in XD03 transaction. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use the SAP provided BAPI -BAPI_CUSTOMER_CREATEFROMDATA1 -to create the customers in SAP. But, I don't see a field in the bapi where I can input the existing customer number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your expert and detailed advice.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2007 19:56:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-27T19:56:51Z</dc:date>
    <item>
      <title>BAPI_CUSTOMER_CREATEFROMDATA1 - Previous Account Number  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-previous-account-number-field/m-p/1935355#M386917</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;I have a requirement to create customers in SAP from an external system. We need to store the customer numbers of the external system to the 'Previous account number' field(KNB1-ALTKN). (This field is in the Account management tab of Company Code details in XD03 transaction. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use the SAP provided BAPI -BAPI_CUSTOMER_CREATEFROMDATA1 -to create the customers in SAP. But, I don't see a field in the bapi where I can input the existing customer number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your expert and detailed advice.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 19:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-previous-account-number-field/m-p/1935355#M386917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-27T19:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDATA1 - Previous Account Number  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-previous-account-number-field/m-p/1935356#M386918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ani,  the BAPI_CUSTOMER_CREATEFROMDATA1 create a customer from an existing customer (reference). I think that the function module SD_CUSTOMER_MAINTAIN_ALL help you. This FM is use into BAPI_CUSTOMER_CREATEFROMDATA1 and it has the parameters that you need to happed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_kna1                  = i_kna1 " General part&lt;/P&gt;&lt;P&gt;      i_knb1                  = i_knb1 " Company code details&lt;/P&gt;&lt;P&gt;      i_knvv                  = i_knvv  " Sales area info&lt;/P&gt;&lt;P&gt;      i_bapiaddr1             = i_bapiaddr1 " Address&lt;/P&gt;&lt;P&gt;      pi_postflag             = pi_postflag " X=Post document&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;      e_kunnr                 = e_kunnr "Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create un FM: Z_ and you can do it RFC anable. Then implement SD_CUSTOMER_MAINTAIN_ALL FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-previous-account-number-field/m-p/1935356#M386918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T18:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDATA1 - Previous Account Number  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-previous-account-number-field/m-p/1935357#M386919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Victor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the FM 'SD_CUSTOMER_MAINTAIN_ALL' to create the customer and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 05:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdata1-previous-account-number-field/m-p/1935357#M386919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T05:21:50Z</dc:date>
    </item>
  </channel>
</rss>

