‎2006 Feb 06 11:38 AM
Hi,
Someone Know any bapi to create a customer?
I'm trying BAPI_CUSTOMER_CREATEFROMDATA1, but it doesn't have all fields that I need.
I'm working with 4.6C.
Thanks in advance.
Alexandre Nogueira.
‎2006 Feb 06 11:41 AM
‎2006 Feb 06 11:48 AM
Hi Alex,
maximum information you can create using <b>BAPI_CUSTOMER_CREATEFROMDATA1</b>,but what is the data you are missing,
check these BAPI's..
<b>/SAPNEA/SMAPI_CUSTOMER_CREATE2
/SAPNEA/SMAPI_CUSTOMER_CREATE</b>
those are also BAPI's.
you can have a try with them..
regards
vijay
‎2006 Feb 06 11:52 AM
For example, the first field I notice that is missing is KNA1-KTOKD.
‎2006 Feb 06 12:05 PM
Hi alex,
did you check the BAPI <b>/SAPNEA/SMAPI_CUSTOMER_CREATE2</b>
in that if you look in to line number 398 there is comment , please check it.
*
*-(2) Fill Customer-tables --------------------------------------------*
*
* Fill "KNA1"
*
* Comment: Fields form reference customer or in the consumer case
* from the reference customer of the consumer
* Important Fields are account group (number range = ktokd)
* and transportation zone (lzone)
*regards
vijay
‎2006 Feb 06 12:18 PM
I don't have this CREATE2 in 4.6c, only the simple CREATE.
I Found this comment that you set, it's is relevant when you are coping a customer.
I think I will try a call transaction, those bapis have few fields, they don't have fields from KNVV for example, sales organization, etc...
‎2006 Feb 06 3:11 PM
Hi ,
use BAPI_CUSTOMER_GETSALESAREAS bapi to update your sales organization data , this bapi will contain your KNVV structure.
this may solve you problem. use this bapi once you customer created.
feel free to mail on shaik0079@yahoo.com