Create customer master

Hi Gurus,
I have a requirement to create customer,i have used the following bapis but cudnt help o create.
but tried all the bapis like :
/SAPNEA/SMAPI_CUSTOMER_CREATE2
/SAPNEA/SMAPI_CUSTOMER_CREATE
BAPI_CUSTOMER_CREATEFROMDATA1
BAPI_CUSTOMER_CREATEFROMDATA
SD_CUSTOMER_MAINTAIN_ALL,
bapi_customer_create,
these are not suitable for my requiement.
i have to pass customer,address,control data,shipping and billing details of xd01.
please help me to sort out this problem.
thanks & regards,
sap8752.

Hi,
Have u tried this FM
go for this /SAPNEA/SMAPI_CUSTOMER_CREATE
CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA1'
       EXPORTING
            pi_personaldata        = pi_personaldata
            pi_opt_personaldata    = pi_opt_personaldata
            pi_companydata         = pi_companydata
            pi_opt_companydata     = pi_opt_companydata
            pi_consumeren          = pi_consumeren
            pi_copyreference       = pi_copyreference
            pi_credit_control_flag = pi_credit_control
       IMPORTING
            customerno             = customer_code
            return                 = return.
  IF return IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
              wait = pi_wait_commit.
  ELSE.
    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
  ENDIF.
For creation of classification data you can use below one
'BAPI_OBJCL_CREATE'.

Similar Messages

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

  • 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

  • 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?

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

  • Steps to create customized Master  data infoobjects in BI 7

    Hi all,
    Can anyone please send the detailed steps to create customized master data infoobject in BI7,and also the data is to be extracted from two different datasources from two different source systems.
    Regards,
    G.Monica Roja Flora.

    Some data modelling tips while creating master data infoobject and extracting data from different source systems -
    If there are identical characteristic values describing different objects for the same characteristic in various source systems, you have to convert the values in such a way in SAP BW so as to make them unique.
    For example, the same customer number may describe different customers in different source systems.
    You can carry out conversion in the transfer rules for this source system or in the transfer routine for the characteristic.
    If work involved in conversion is too great, you can compound the characteristic to the InfoObject Source System ID (0SOURSYSTEM). This means it is automatically filled with master data. The Source System ID is a 2-character identifier for a source system or a group of source systems in BW. The source system ID is updated with the ID of the source systems that provides the data. Assigning the same ID to more than one source system creates a group of source systems. The master data is unique within each group of source systems.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a6399e07211d2acb80000e829fbfe/content.htm
    Hope it Helps
    Chetan
    @CP..

  • File to IDOC scenario: Create customer master and then return customer no

    Hi all.
    I have a scenario to pass xml file to sap XI to generate IDOC to create customer master in SAP. My problem is that I need to return customer no. created in SAP from IDOC. Is there any solution to do this? Someone told me that BPM could be used for doing this but I don't know the steps.I have no problem in create customer master in SAP. My only problem is how to return customer no.  Any help would be appreciate. Thank you.
    Best Regards,
    Pavin

    >>u can use synch-Asynch bridge using BPM
    This can not be done via sync-async bridge.There are 2 reasons for this
    1.He has file adapter as sender and that doesn't support synchronous scenarios.
    2.He has standard IDOC as receiver.there is no way you can fetch customer# from IDOC without writing a custom program,Thats why i said he need to either use RFC/Proxy or do some custom development.
    Thanx
    Aamir

  • Unable to create Customer master in ECC 6

    Hii Gurus
    I am unable to create customer master in ECC 6 version as system says that sales area defined even though it is defined. if i am going to XD01 when i click on All sales area Button it is showing only sales organisaiton and rest distribution channel and division is not appearing. is there any activation required for distribution channels or at divisions so that i can appear in avalible sales area.
    i have tried to enter it manually but it is not accepting. when i check at enterprise structure it is defined and assinged
    can any body help me oout?
    thanks in advance
    sur

    Hello,
    This is an issue by non-assigning on common distribution channel and common division.
    Go to SPRO --> Sales & Distribution --> Masterdata --> Define Common Distribution channel (Txn : VOR1).
    Give you distribution channel to the fields Reference distribution channle for conditions and Reference DC for customer and material masters
    Go to SPRO --> Sales & Distribution --> Masterdata --> Define Common Division (Txn : VOR2)
    Maintian Common division 00 agaist your sales org as well as the fields Reference Division for conditions and Reference Division for customer and material masters
    Prase

  • Create Customer master across company

    I can create Customer master across company which I didn't assign Sales org to.
    Ex. I have 2 company code, "1001" and "1002"  and I assign Sales org "1001" to company code "1001" but I can create customer master in Sales org "1001" at Company code "1002". How can I solve this problem?? All advises are welcome.

    Hi,
    One customer can belong to any number of companies. So same customer master can be created for any number of company codes; provided unique combination of company code & sales org is maintained.
    <b>A sales organisation is uniquely assigned to a company code.</b>ie: a sales org can belong to only one company code.
    <u>Taking your example:</u>
    company code 1001 & sales org 1001- assigned. so Sales org 1001 cannot be assigned to 1002 at all. so  question of creating customer master for combination  company code1002 & sales org 1001  does not even arise.

  • 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

Maybe you are looking for