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
Rakesh

Hi 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

Similar Messages

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

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

  • 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

  • BAPI to create conatct for a ERP customer

    hi all,
    can  we create contact for a customer using RFC or BAPI in  ERP,if yes please help me by providing the FM(bapi or RFC) details.
    regards,
      goutham

    Hello Goutham,
    You can try BAPI_PARTNEREMPLOYEE_GETINTNUM and BAPI_ADDRCONTPART_SAVEREPLICA.
    For mass updating of contact persons data it might be better to update such data from customer master transactions like VAP2 or XD02. The reason why I would not recommend to use BAPI_ADDRCONTPART is because it will not update the contact person table (KNVK) which is the main contact person table. VAP2 or XD02 will assure a consisten update on
    both tables KNVK and ADRP. Therefore, you may use SXDA or LSMW or SM35 via batch input
    Please have a look to notes 384462 and 306275.
    If you still want to use directly Bapi_AddrcontPart-savereplica, please check the documentation or in the BOR (Transaction SWO1, Object BUS4003, method SAVEREPLICA and menu goto/documentation).
    Hope this information could help you.
    Thanks
    Amber

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

  • Which BAPI is creating BP in consumer role,  reference to customer, su01 us

    Hello,
       which BAPI is creating
            BP in consumer role, 
             reference to customer,
            su01 user.
    please tell me
    regards
    ram

    Hi Jacob,
    When i am going to save the BP the details i filled in like name of the BP and all information goes blank. Asd i have mentioned.
    So in error it is saying "An exception has occured during progranm processing, Make an entry in the name field".
    In error dignosis i got below information:-
    Exception Details--> CX_SY_REF_IS_INITIAL - Derefrencing of the Null reference.
    Method: ZL_BP_HEAD_BPHEADOVERVIEW_IMPL=>EH_ONSAVE
    Source Text Row: 38.
    It is all because the information is getting removed which we enter for our BP. And i am not getting why it is not getting saved in the system. I have debugged the code for the event handler jsut after which all the valeus are getting removed but dint get anything.
    Regards.

  • BAPI to create Excise Invoice and Commercial Invoice

    Hi All,
    Can u tell me the BAPI for creating Excise and Commercial Invoice.
    Moderator message: please do some research before asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Mar 2, 2011 5:56 PM

    Hi,
    You can make the appropriate setting in Customizing for Excise Duty, by choosing Basic Settings -> Maintain Excise Groups, and selecting Create EI (Create Excise Invoice Automatically)
    Also maintain the default excise and series group in the configuration.
    Logistics general>Tax on Goods Movement>India>Basic Settings>Maintain Excise groups. For your Excise group maintain the check Excise invoice during Billing.
    After maintaining the same also maintain the default values in Logistics general>Tax on Goods Movement>India>Business transactions>Outgoing Excise invoices-->Maintain Default Excise groups and Series groups.
    Regards,

  • BAPI for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

  • Func. Mod's, BAPI's, IDoc's Related to Customer Master

    Hi,
    I need Func. Mod's, BAPI's, IDoc's Related to Customer Master. For creation, modification, Deletion, Updation of master data records.
    Regards,
    Sudheer

    Hi,
    Bapi to create customer master
    BAPI_CUSTOMER_CREATEFROMDATA
    BAPI_CUSTOMER_CREATEFROMDATA1
    Or you can use FM SD_CUSTOMER_MAINTAIN_ALL
    customer master idoc is DEBMAS05
    Hope this helps
    Please reward points if useful.
    Regards
    Rose

  • Create Service Request for Customer

    hi,
    can u pls tell me how to create Service Requset for Customer using BAPI??????
    regards
    Guru

    hi,
    thanks for ur response
    how to assign a service request to person who is suitable for service.
    (for example customer faced problem with our product so he will make a complaint on that product, i think this is service request ,  we need to resolve that problem  as we assign that service request to some other person who can able to solve .
    <b>Am i thinking in Correct way</b>)
    i need bapis to ful fill for the above senario
    regards
    Guru

  • Bapi to create Invoice with reference to SalesOrder

    Hi All,
    I want to create Invoice with reference to SalesOrder ,
    can anybody help me regarding
    --> what is the Bapi to Create Invoice with reference to SalesOrder
    --> what are the import parameters
    Thanks in Advance
    Regards
    Srinivas

    Hi Giuseppi,
    Thanks to your reply,
    i have used BAPI_BILLINGDOC_CREATEMULTIPLE , i have given the following input values in the BILLINGDATAIN
      -- salesorg,distrchan,division,doc-type,sold-to,plant,material,doc-number,item-number , when  i execute the Bapi , i got the DocNo:0090021983 , but i did not find that DocNo. by executing the Bapi BAPI_BILLINGDOC_GETLIST.
    i found the short description for
    BAPI_BILLINGDOC_CREATEMULTIPLE -- is for Individual Customer Billing Document, is it the correct Bapi to create invoice
    what is the correct Bapi to create invoice based on the salesorder.
    RV_INVOICE_CREATE OR GN_INVOICE_CREATE OR BAPI_BILLINGDOC_CREATEMULTIPLE.
    Can u specify the import parameters for that Bapi.
    Thanks & Regards
    Srinivas

  • Should i Map thecommon bapi's to component controller or custom controller?

    Hey Can any body give the clarification for this doubt
    we have one web dynpro component , It contains some views. Created some BAPIs. Now we have two different applications in the same component. So we have created the two controllers for each application. the created BAPI's are mapped to o each controllers with respect to application.   . Now we have a small doubt, the Bapis  which common are common to both application not binding to any of that two controllers. so the common bapis should be map to the component controller or created one more controller like util Controller.
    Once bapis  mapped to any of this we can add this controllers to views. Please suggest which one is better, either mapping bapi's to component controller or custom controller.
    vijay

    Hi Raj, thks for the quick responce again.  I made small mistake in the sentence.Plz look at now again
    In my webDynpro project , under that i have created only single WebDynpro component with two applications .I have two modules(applications) one is DirectCustomer and another one is InDirectCustomer. so i have set of RFS's in a single RFC model. In this RFS's some are common to both the views. some are independent to each other. so i have created two custom controllers one for directCustomer another for Indirectcustomer.Then i mapped the RFC' model objects to each custom controller seperately . But now the RFC's which are common to both views to map, Better, should i map common RFC model objects  to existing Componentcontroller(which comes by default when create the webDynpro component) or should i create new customcontroller (like commoncontroller).
    which i option is better, can u suggest me. I feel that, The common RFC's will be mapped to component controller, bcz, it the Base controller for the both customcontroller , indrectly to the viewcontroller.
    Wht is your suggestion on this disign issue?

  • Is there any BAPI for creating Debit memo request

    Hi all,
    I used BAPI_ACC_BILLING_POST ,but it does not seems to help me.Is there any other BAPI for creating Debit memo request which takes.
    Thanks and regards,
    Meena.

    hi,
    I could find the following
    Exit Name           Description
    J_3RSINV
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Regards,
    Manish

Maybe you are looking for

  • Mode DFU, can not update error 14

    this is the log: 2011-01-18 15:49:38.193 [5272:149c]: restore library built Oct 15 2010 at 22:47:15 2011-01-18 15:49:38.193 [5272:149c]: iTunes: iTunes 10.1.1.4 2011-01-18 15:49:38.193 [5272:149c]: iTunes: Software payload version: 8C148 2011-01-18 1

  • Html special characters

    when using the Dreamweaver 'Set Text of Layer' behavior, Dreamweaver correctly converts all html special characters, such as accents like � and &, and quotes and double quotes, so that it is safe as a javascript string, and will display properly. I a

  • Wrong Tax Classification Taken from Material Master

    Hi Experts, I have a problem with Tax classification when determining the tax % at sales order entry.  Below is the scenario: 1) There are two taxes applicable: Output Tax (15%) and Excise Duty (1%) 2) Customer 01 is liable for both Output Tax and Ex

  • Having issues connecting to folders - with a twist!

    Hi there Im new to the world of macs, and quite frankly loving it so far, however i have a small problem which i would love some hlep with please. anyway, my problem i see is well documented on a lot of forums and websites, but ive yet to find a solu

  • Do I need to give my apple password to the tech

    I have been having a few problems with my macbook and have given it to the Apple service centre for repair and the guy insisted I gave him my apple ID and password. Is this normal ? I have lots of emails and documents in my icloud that are private an