BAPI to create customer records (XD03)
Hi
I've seen some similar threads to this but I'm not sure the question is fully answered yet.
Is there a single, or are there multiple BAPI's available that will fully create a customer master record, by which I mean all the company code data as well as te Sales area data? I am aware of the BAPI_CUSTOMER_CREATEFROMDATA1, but this doesn't appear to meet the full requirement. Also I'm slightly alarmed by the 'Only for ONLINE Store!!!' comment in the documentation.
Previous posts on this forum and on others suggest that to fully create a customer record people have had to resort to writing their own BDC programs. Is there anyone who can confirm that this is the case?
Thanks for your help.
Dominic
Hi
Thanks for the welcome and the advice.
While researching this further I came across SAP note 390045 which is directing me away from using the BAPI route. I realise now that I didn't mention in the original post that the idea we're investigating is having the data for the customer accounts created externally to SAP and then call a BAPI to create the account in SAP.
I suspect we could achieve this but it's getting a bit messy so ALE might be the better option.
Thanks,
Dominic.
Similar Messages
-
BAPI function create Customer master(T-code XD01)??
Hi All,
i want to create BDC program using BAPI function create Customer master(upload customer master),but i do not know which BAPI function for create Customer master.
Does anyone know,please tell me which BAPI function i can use?
Thanks.
Van DungHi Amit Gujargoud,
I can use LSMW upload the data from legacy system to sap system., but my manager he did not want to use LSMW.He wants to use BAPI function for upload customer master.
I saw this BAPI function create customer master : BAPI_CUSTOMER_CREATEFROMDATA1,
BAPI_CUSTOMER_CREATEFROMDATA,
it is not enough field for input data.
example : if i want input : customer code,company code, Sales organiration,Distribution channel,Division.
So This BAPI function have not paramaters input this field.
Thanks for your answer
Van Dung. -
BAPI to create customer master record
Hi ,
I was looking for the BAPI to create the customer master record in R/3. we are using the ERP 2005 system .
I did find the BAPI but it will only creat the personal information of the customer .
I was looking for a BAPI that will create the whole record of customer including the company code . sales area record .
Hope someone knows abt this.
I have to use this in a sync interface with siebel system
Thanks
NikhilHi Michal ,
I had a loojk at this BAPi but this will only populate the customer personal data. we will have to make a refe to a existing cust to extract the company code data and the sales area data
Thanks
Nikhil -
Bapi to create customer Master
Dear all,
As far i know there is no standard bapi to create a customer. There i s standard fm used her is SD_CUSTOMER_MAINTAIN_ALL. I tried to create customer master using this and making the function module as remote enabled. i tried to created a zbapi and use this fm inside of this. Please tell me if any idea on this.If any body knows please help me in this.
Regards,
Madhu.Dear Alain
Once again thanks for your reply. I passed customer no to extract data of a customer . But it is not extracting any data .
I am thinking to fill all the fields of the table by seeing hoe it is extracting the data . can you give me some idea on this .
DATA: ls_i_main TYPE cmds_ei_main,
ls_e_main TYPE cmds_ei_main,
lt_custs TYPE cmds_ei_extern_t,
ls_cust TYPE cmds_ei_extern,
ls_head TYPE cmds_ei_header,
ls_instance TYPE cmds_ei_instance.
CONSTANTS: lc_obj_task TYPE cmd_ei_object_task VALUE 'M'.
ls_instance-kunnr = '0000100001'.
ls_head-object_instance = ls_instance.
ls_head-object_task = lc_obj_task.
ls_cust-header = ls_head.
APPEND ls_cust TO lt_custs.
ls_e_main-customers = lt_custs.
CALL METHOD cmd_ei_api_extract=>get_data
EXPORTING
is_master_data = ls_e_main
IMPORTING
es_master_data = ls_i_main.
"es_error = pe_error.
Regards,
madhu.
Edited by: madhurao123 on Mar 31, 2010 1:17 PM -
. bapi to create customer
Hi All,
I am having problem finding a right bapi for create a customer.
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.
Please help me. Feel free to ask me questions.
Thanks,
Diwakar.Hi,
The way is using multiple BAPI's.
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.
Still having problem passing parameters.
When i am sending partner information(knvp) to "sd_customer_maintain_all", it is giving abap dump assertion_failed.
I tried to debug the program but i couldn't find the error.
values i passed to bapi sd_customer_maintain_all
internal table of type <b>fknvp</b>.
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
Appended line by line to the table.
Reward points if found helpful....
Cheers,
Venkoji Babu. -
Problem in creating customer record thru xd01
1. I cant create CMR thru XD01
*Error : Account 101 already Exist*
2. In VL01N
error1: copying not possible because entry is missing in table TCPCL AKOR (sales order) TAN
Error 2. Number of copying routine for the TABLE LIPS is missing in table TVPCLYou seem to ask 2 different questions at the same time.
This is quite confusing.
I suggest you close this message and open 2 different posts with specific questions.
Regards,
Franck -
Dear all,
i need to use the BAPI 'BAPI_CUSTOMER_CREATEFROMDATA1' to create customer record . How and where to define the customer account group??
Or does this function is 'hardcoded' that can only create '0001-sold to party' customer account??
Or is there any other BAPI that can create different customer accounts?
Thanks in advance!Hello Winson,
I've looked through the source of 'BAPI_CUSTOMER_CREATEFROMDATA1' and it seems that it obtains account group from reference customer. -
Create customer master in Web dynpro abap
Hi Gurus,
i'm new to web dynpro abap...
My requirements is given below... which is the standard BAPI for create customer master data... then how to call workflow in web dynpro application without using portal server (uwl)... please reply as soon as possible
1) Create customer master
2) Change Customer master
3) Display customer master
4) When the customer master record is created it should trigger a workflow to another user for approval. Once approved, the customer master should be created in the system
5)The customer master record creation should be through a bapi call.
6) When the system master record is being created, duplication check should be performed for name, city, postal code,email I'd etc.
Regards
vijay.Dear Vijay,
HAVE YOU GOT THE SOLUTION FOR THE ABOVE REQUIREMENT.. i TOO HAVE GOT THE SAME REQUIREMENT AND I CAME ACROSS YOUR THREAD.
Please do reply with your answer.
Regards,
Sujit K karn -
Bapi to create cusomer accounting
Hi all,
can anyonre tel me the bapi to Create Customer (Accounting)
Thanks<b>BAPI_CUSTOMER_CREATE</b>
Create Customer Master Online
With this method, you can create or extend a customer.
<b>BAPI_CUSTOMER_CREATEFROMDATA</b>
Note: In SAP R/3 4.5A, this BAPI is replaced by BAPI
"<b><i>BAPI_CUSTOMER_CREATEFROMDATA1</i></b>", which takes full account of the
integration of customer address data in Central Address Management
(CAM). As this BAPI ("BAPI_CUSTOMER_CREATEFROMDATA") is being replaced,
it will only be supported for 2 releases after SAP R/3 4.5A.
This method of the "Customer" business object can be used to create a
customer in SAP R/3 on the basis of entered address data (import
parameter PI_ADDRESS).
The entered address data has a direct influence on the master data,
company code data and contact person data. One contact person record is
created for the customer to be created.
All the master data, company code data, sales area data, and tax code
data that is not entered is adopted from a reference customer, and from
sales area data (sales organization, distribution channel and division -
import parameter PI_COPYREFERENCE).
(Exception: Currency field of the sales area data. This field can be
transferred to the BAPI via structure PI_ADDRESS via the currency fields
(in R/3 or in ISO format).
If both currency fields are transferred to the BAPI, the currency field
in R/3 format has priority.
If both currency fields are blank when transferred to the BAPI, the
currency field is determined using table T005, on the basis of the
country that is specified.
Message was edited by:
Chandrasekhar Jagarlamudi -
Creating Customer from employee who is hired in HR
Hi
Please tell me if there is some way to create customer records from employee record created in HR
Is there any report or transaction available that will create a customer record by using/copying the HR employee record without entering data again.
regards
PravinHi Pravin,
let me correct you.
As the employee codeand you can maintain sales related data T-Code
PA30
and through info type 900 sales org.,sales office,sales group.
You can use sales employee code as a partner means who has taken order or during return who is responsible for return delivery.
You can create emloyee no. as vendor (FI & CO intgrtaion) e.g. for salary,travel advence,etc.
Hope this will help you the role of employee id and integrtaion.
Best Regards
Sainath -
Updating the field "relevant for POD" for customer in XD03 in R/3
Hi All,
Is there a way to update the field "relevant for POD" for newly created customer on XD03 in R/3 from CRM system. My requirement is customers will be created in CRM by interface from mainframe(legacy) system. Whenever a new customer is created thorugh this interface in CRM, the mentioned POD field needs to be checked in R/3 and also this field is not available in CRM on BP transaction( as I have observed till now) causing my main issue otherwise I believe that BDOC will take care of it to move to R/3 system.
Thanks in Advance.Hi,
Dear AYAZ,
as my knowledge " XD03 " is used for DISPLAY THE CUSTOMER,you may ask particular SD Consultant for required changes.
For changing the customer T.C is " XD02 " in Sales Area Section( SHIPPING Tab )you"ll find the Relevant for POD( Check Box ).
Plz give points if you feel valuable.
Regards
CR Gupta -
BAPI to create BP as a customer
Hello
I am unable to find a relevant BAPI that can update following fields in customer view while creating the BP in customer based role:
Company Code
Reconciliation Account
Record Payment History
Please advise
RakeshHi Rakesh,
I dont think u need a BAPI for your requirement. If u have done the configuration of BP group with customer account group correctly, the system will automatically create customer in the background with the relevant fields as soon as u create a BP in REFX.
Even for cutover BP u dont need to create customers just upload BPs and system will automatically create the customers no need to create them separately.
Regards,
Deepak -
Details regarding Create customer master record
Hi,
Can anyone gv info regarding Creating customer master record.
I need Existing Bapi's for the same.
Thanks in advance.
PurnaCheck out the bapi:BAPI_CUSTOMER_CREATEFROMDATA1.
To know of how to use it, check its documentation, it is very well documented.
hi karthik, shaik can not reward points as he did not mark this as a question.
Regards
Gopi -
FM or BAPI for creating/deleting condition records for an output type
Hi all,
what is the FM or BAPI for creating and deleting the condition records for a Z(custom) output type.You can use trasaction SXDA_TOOLS.....
object type BUS3003
program type BINP
program/method RM06IBI0
but the fields must be sequentially written in the txt, with every space inclusive.... -
BAPI create customer with search term 2?
Hi all,
I'm looking for a BAPI/FM, which can create customer master record with 'Search term 2' input field. Pls let me know the BAPI/FM name if you know.
Regards,
Hung.Hello Hung,
SD_CUSTOMER_MAINTAIN_ALL is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.
It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.
For the maintenance of customers, there is NO BAPI and NO direct function module.
There are some functions modules like the one above where the name is looking nice. But these should not be used.
Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]
Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
Hope this helps
BR
Alain
Maybe you are looking for
-
Windows 7 and network printing with printers with "built-in" win 7 drivers
I'm trying to get network printing (i.e. printing to a printer not attached to the PC) working. This works fine for newer printers that have a specific, new Win-7 64-bit driver written for them, but I can't get it to work for any printers (generally
-
Hi, I have the following requirement where i need to display a tree table. Here is how the initial implementation is: I have created the read only view for : ManagersVO > PoolsVO > MachinesVO. Where 'MachinesVO' is the destination view. And created v
-
Can't Change Plan Because of Pending Change
"You currently have a pending order for this line of service. You have the option to return to My Verizon to change your calling plan after the order has been completed" I need to cancel this pending change so I can change this months plan. Can any
-
HT1498 My rented movie won't play, even though it shows "rented". What gives?
My rented movie won't play, even though it shows "rented". What gives?
-
Trigger Automator action upon re-login from fast user switch?
I normally leave my account logged in on my Mac, and via fast user switching, return to the login window when I'm away from my Mac. (So my account stays logged in, but OS X remains at the user login window.) When I re-login, (how) can I trigger an Au