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

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 Dung

    Hi 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
    Nikhil

    Hi 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

  • 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

  • Need Function Module to create Customer Master

    Hi,
       I need to create customer master data (T-Code: XD01) include the company code data and sales area data.
       Is there any function module that I can use? I tried to use BDC but since the screen is different for each account group, I'm thinking is there any FM that can use so that I do not need to create so much BDC.
    Hope someone can use.
    Thanks.

    hi there...
    Please find below some of the BAPIs, Function Modules and Direct Input Programs for Customer Master.
    RFBIDE00
    BAPI_CUSTOMER_CREATEFROMDATA1
    SD_CUSTOMER_MAINTAIN_ALL
    hope it helps...
    do reward if helpful or get bak if u hav further queries.

  • 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.
    Purna

    Check 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 to create customer master

    Hi,
    I am using BAPI function BAPI_BUSINESS_PARTNER_CREATE to create customer master. I have this error message “Activity category does not exist”.
    Please help.
    best regards,
    AL

    Nagaraj,
    1. I have import the parameter PARTNERCATEGORY but i still get the same error message.
    2. I have try BAPI_CUSTOMER_CREATEFROMDATA1, but this FM ask for Sales organization data which i don't have the sales area yet. Please advice.
    best regards,
    AL

  • "SYNTAX_ERROR" while creating customer Master T-code-"FD01

    Dear All,
    Getting an error "SYNTAX_ERROR" while creating customer Master T-code-"FD01". The error as follwoes
    Short text :Syntax error in program "CMD_EI_API_CHECK==============CP ".
    What happened? : Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLCMD_BTE_OUTBOUND" had to be terminated because it               
         has                                                                               
    come across a statement that unfortunately cannot be executed.                                                                               
    The following syntax error occurred in program                                                
         "CMD_EI_API_CHECK==============CP " in include                                               
         "CMD_EI_API_CHECK==============CM04T " in                                                    
        line 82:                                                                               
    ""LS_KNVP_NEW_PARTIAL-PERNR" and "<LS_KNVP_NEW>-PERNR" are not mutually"                      
        " convertible in a Unicode program. ."                                                        
    The include has been created and last changed by:                                             
        Created by: "SAP "                                                                               
    Last changed by: "SAP "                                                                       
        Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLCMD_BTE_OUTBOUND" had to be terminated because it               
         has                                                                               
    come across a statement that unfortunately cannot be executed. 
    Error analysis :The following syntax error was found in the program                                           
         CMD_EI_API_CHECK==============CP :                                                           
        ""LS_KNVP_NEW_PARTIAL-PERNR" and "<LS_KNVP_NEW>-PERNR" are not mutually"                      
        " convertible in a Unicode program. ."                                                        
    Information on where terminated :Termination occurred in the ABAP program "SAPLCMD_BTE_OUTBOUND" - in                          
         "CMD_CUSTOMER_BTE_1321_IMPL".                                                                
        The main program was "SAPMF02D ".                                                                               
    In the source code you have the termination point in line 330                                 
        of the (Include) program "LCMD_BTE_OUTBOUNDU01".                        
    Please help us on this,
    Thanks in Advance,
    Kumar.K

    Dear Kumar,
    please kindly apply the SAP note 1511101.
    I hope this helps.
    Mauri

  • Error while creating customer master data

    dear sir,
    i have created customer master and maintined all level general,compnay code and sales level data.and again deleted all areas thru t-code XD06.and thru se16n i have deleted the entires in kna1 knb1 knvv table
      again while creating one with same name showing error while maintaing sales level data
    Check: Table KNA1 does not exist, table KNVI does
    Message no. F2061
    plz help how do i rectify this problem and maintain the same cutomer no (external) again.
    regards,
    Debesh

    Hi,
    you did the wrong thing, don't remove the entries from standard table like KNA1, KNVV etc, SAP will maintained the entries in lot of tables same time.
    XD06 is used to set delete indicator, after wards you may create new customer master, if any problem for name you may change the name field as 'delete' for old customer.
    Now to solve your issue, i believe you need to first save the entries with maintainace of general data (KNA1) and then use XD02 to maintain the Sales area data, pl try this way it should work.
    If this way will not work, pl maintain the tax indicator in table KNVI manually to solve the issue.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Dec 7, 2009 6:41 PM

  • While creating customer master  i am getting the Communication error

    Hi experts,
    while creating customer master  i am getting the  Communication error with the external tax system (VERTEX_MS0018)    please tellme how to solve this issue
    Regards,
    Anil prasad
    Edited by: prasadanil on Sep 16, 2011 12:52 PM

    hI Prasad,
    It seems you are maintaining the address data for a country with jurisdiction code. Different external control systems can behave in different ways.
    1. You entered a jurisdiction code that matches the postal code but not the city (possibly due to a typo).
    a) Behavior when you use Taxware: There is no message and data can be saved.
    b) Behavior when you use Vertex: Due to the incorrect city, no comparison jurisdiction code can be determined and message TAX_TXJCD861 is issued with a text from the vertex system that may be unintelligible.
    2. You do not enter a jurisdiction code, but you do enter a postal code and a city that does not match the code (possibly due to a typo).
    a) For Taxware: If the jurisdiction code could not be explicitly determined, a selection dialog box containing the relevant tax jurisdiction codes for the postal code appears. You select one. This and the corresponding city are transferred.
    b) For Vertex: The TAX_TXJCD861 message is issued (behavior as in 1b). Other terms TAX_TXJCD861, TAX_TXJCD101, TAX_TXJCD107.
    For resolving this issue, you can check SAP Note 677850 - Address data: Check/new determination jurisdiction code.
    Hope you will resolve the above issue with these inputs.
    Let me know if you need any further details.
    Ravi.

  • Not able to create customer master data with country code US

    Hey All,
    I am not able to create customer master data in the Transaction Code XD01/FD01 with the country code as US.
    The error message for the same is NO JURISDICTION CODE COULD BE DETERMINED. I have checked the tax code settings but could not locate the problem.
    Request you to provide me with a solution.
    Thanks & Regards
    VK

    Hey all,
    I have checked the field in the account group(OBD2) but its in optional status
    and also checked the country settings for US in the transaction code OY17 still the same error message, but when i tried checking the settings for a differnt company code's customer data base i can see that there is a number mentioned in the address tab under tax jurisdiction feild (beside time zone) which is not populating for this company code.
    so, do anyone know where exaclty we mention this number so that it populates in that field of address.
    hope am clear
    hope to receive  a solution
    thanks & regards
    vinila

  • Ship to party is not available in account group while creating Customer Master

    Hello All.
    While creating customer master in account group there is no SH(ship to party) what is the purpose of it . I can see PY BP but not SH (XD01). We always use Sold to Party but i have seen Payer and Bill to party as well while creating customer master . Just got confused why we select such options when everything comes under sold to party.
    I cannot see SH while creating customer for the first time is it necessary that SH should there while creating customer master.
    Regards

    Hi ,,
    please do assign ship to party to account group .
    SPRO --> S&D --> BASIC FUNCTION --> PARTNER DETERMINATION--> SET UP PARTNER DETERMINATION --> FOR CUSTOMER MASTER -- > A/C GROUP - FUNCTION ASSIGNMENT
    Here assign ship to party(sh) to your account group.
    Now you will find sh in customer master.
    If you want further clarification , please let me know.
    Regards
    Patchala.

  • Why can't I find the field remark when I use LSMW to create customer master

    I want to create customer master data with LSMW.
    Object               0050   客户主记录
    Method               0000
    Program Name         RFBIDE00
    Program Type         B   Batch Input
    but I can't find the field 'Comments' which is in view general data -> address.
    pls help me to find it.
    tks!

    Hi,
    This is quiet simple.
    See when you enter your Tcode in LSMW & start recording, on the first screen where you enter the customer details to create, you see a tick below "Use central adress management"
    Just tick this & record you will get comment in your recording
    Hope this helps you
    Regards,
    Dhananjay

  • Automaticaly create customer master record

    Hi, can you create customer master record from employee data (HR) like you do with RPRAPA00 for vendors?
    Thanks

    Hello Madhu, can you elaborate your affirmation? I can only find references for vendors in that program and I need CUSTOMER master data creation. The documentation you mention does not clarify this or any identical functionality for customers!
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/b6/cd981949e911d189060000e8322f96/frameset.htm
    Thanks again.
    Sérgio.

  • Create customer master record with reference to existing division

    how to create customer master record with reference to existing division?

    what type of reports sd consultant configure in implementation project?and in supporting project?

Maybe you are looking for

  • Is there a way to force a window to stay in front?

    I was wondering if there was a way to force a window in OSX to stay in front? For example if I am watching a movie in Quicktime or iTunes is there a way to force the window to stay in front so when I work on other things the movie doesn't get pushed

  • Inserting pictures in Webi documents

    Hello, I would like to paste or to insert a picture in my webi document. This picture can be a company logo or something like that. But the functionality of inserting a URL which goes to a picture is not enough. Is there no other way of inserting a p

  • Double consolidation

    We have a client from furniture industry, and he / we have a problem with his client-structure. The company has clients with independent branches (e.g. BP no. 1), treated in SBO as business partners. The branches receive the goods, but the invoice mu

  • Slideshow as a background .. zooming on images

    hi @ all .. i'm making my website of wedding photography and i am still trying to create a beautyful background with some of my wedding photos .. the style i wanted to have was a slideshow of some of the pictures with a smooth and nice change between

  • Format: Mac OS Extended

    Hi. I'm new to iTunes and have started burning CDs. I'm burning as Audio CD because I want them to be universally playable on any CD player. But when I check the file under Get Info, Kind:= Volume, Format:= Mac OS Extended. What is this format and wi