Customer Master Update using BAPI

Hi all,
    I am using class CMD_EI_API for updating customer master, but this class does not supports processing of  license data ( databaase table -> KNVL ) and Permitted Alternative Payee data ( database table -> KNZA ) for customer. Are there any BAPIs which support saving of KNVL and KNZA data.
Regards,
Kaushal Shah.

Not released too
@kaushal-Please read the doc of the class, it would have been mentioned that it will not do any validation and the correct data must be supplied.

Similar Messages

  • Customer -master upload using bapi

    hai ..
      can any body send me some example for customer master  creation using bapi ..
      in this account -group is mandatary..
    but i did.nt find  acc-group in bapi structures ..
    plz do helpful ..
    Tanx in advance ..

    Hi,
    Check the below links.
    [http://abaplovers.blogspot.com/2008/03/customer-master-bapis-function-modules.html|http://abaplovers.blogspot.com/2008/03/customer-master-bapis-function-modules.html]
    [http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CREATEFROMDATA1|http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CREATEFROMDATA1]
    Reward if found helpful.
    Regards,
    Boobalan Suburaj

  • I am unable to upload the customer master data using BAPI.?

    Hi Guru's,
    i am unable to upload the customer master data using BAPI.(BAPI_CUSTOMER_CREATEFROMDATA1)
    Please guide me how upload the data...
    Thanks in iadvance
    Srinivas...

    Hello Srinivas
    This BAPI does not allow to create a new customer from scratch but only to copy an existing customer to a new one and change its address data.
    The reference customer has to be provided using IMPORTING parameter PI_COPYREFERENCE. See also the BAPI documentation for more details.
    The BAPI does the same like transaction XD01 with Reference.
    Regards
      Uwe

  • Custom fields update using BAPI: BAPI_SALESORDER_CHANGE

    Hi,
          I have append one field into VBAP Table, and i want to update that filed value by using BAPI_SALESORDER_CHANGE FM. I have done all the coding but still its not updating the table. I have checked with SAP fields like order quantity, its upadating the database but the custom fileds are not upadting.
    steps i have done:  Append field to :           VBAP,BAPE_VBAP,VBAPKOZ
                                   Append Check field to : BAPE_VBAPX,VBAPKOZX
    Here is the code : plz check and add ur comments
      DATA : l_wa_bapiparex        TYPE bapiparex,
             l_wa_ord_header        TYPE bapisdh1x,
             l_itab_bapiparex      TYPE STANDARD TABLE OF bapiparex INITIAL SIZE 0,
             l_itab_return         TYPE STANDARD TABLE OF bapiret2   INITIAL SIZE 0,
             l_wa_item              TYPE bapisditm,
             l_itab_item           TYPE STANDARD TABLE OF bapisditm  INITIAL SIZE 0,
             l_wa_itemx             TYPE bapisditmx,
             l_itab_itemx          TYPE STANDARD TABLE OF bapisditmx INITIAL SIZE 0,
             ORDER_HEADER_IN       LIKE BAPISDH1.
      l_wa_ord_header-updateflag = 'U'.
      ORDER_HEADER_IN-REF_DOC = '0000000244'.
    *Populate Item detail
      l_wa_item-itm_number = '000010'.
      l_wa_item-NET_WEIGHT = '5000'.
      APPEND l_wa_item TO l_itab_item.
    *Populate Item detail checkbox
      l_wa_itemx-itm_number = '000010'.
      l_wa_itemX-NET_WEIGHT = 'X'.
      l_wa_itemx-updateflag = 'U'.
      APPEND l_wa_itemx TO l_itab_itemx.
      l_wa_bapiparex-structure = 'BAPE_VBAP'.
      l_wa_bapiparex-valuepart1+0(10) = '0000000244'.
      l_wa_bapiparex-valuepart1+10(6) = '000010'.
      l_wa_bapiparex-valuepart1+16(15) = 'ABCDEF'.
      APPEND l_wa_bapiparex TO l_itab_bapiparex.
      CLEAR l_wa_bapiparex.
      l_wa_bapiparex-structure = 'BAPE_VBAPX'.
      l_wa_bapiparex-valuepart1+0(10) = '0000000244'.
      l_wa_bapiparex-valuepart1+10(6) = '000010'.
      l_wa_bapiparex-valuepart1+17(1) = 'X'.
      APPEND l_wa_bapiparex TO l_itab_bapiparex.
      clear l_wa_bapiparex.
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = '0000000244'
          order_header_in  = ORDER_HEADER_IN
          order_header_inx = l_wa_ord_header
        TABLES
          return           = return
          order_item_in    = l_itab_item
          order_item_inx   = l_itab_itemx
         schedule_lines   = l_itab_schedule
         schedule_linesx  = l_itab_schedulex
          extensionin      = l_itab_bapiparex.
    IF SY-SUBRC = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          = 'X'
    IMPORTING
      RETURN        =
    ELSE.
       RAISE ERROR.
    ENDIF.
    I HAVE GONE THROUGH DEBUGGING AND FOUND ALL ARE GOING FINE...ITS UPDATING VBKOM AND VBKOMX STRUCTURE BUT AT LAST ITS NOT UPDATING THE CUSTOM FIELDS
    Thanks,
    Baidya

    Sorry guys........this code is correct one.......there is a problem in IDES....i tried in client server its working fine
    If anyone is having this type of requirement then copy this program.
    thanks,
    Baidya

  • Customer Master sales data BAPI

    Hi all,
    I am doing customer master updation process through RFC,for this i am using Bapi_customer_createfromdata1 fm for customer master General data,at he same time i need to update the sales related data like LIFNR,BZIRK,KONDA etc.. these fields also.For this which Bapi shall i use....
    Thanks in Advance...

    I closed this thread.

  • How to upload different views of customer master data using LSMW-IDOC

    I need to upload customer master data  using LSMW Idoc method for my client. Now customer will have different views like main view, Sales data, Company code data, Partner function data etc. And except main data all other data can be multiple for each customer. We are going to upload data from tab delimited .TXT file. Should I propose different LSMW for upload different views for the customer from different .TXT files? or we can upload all the customer related data (like main view data and partner function data )from a single .TXT file. Kindly suggest which one in convenient and how we can prepare the data file in both cases.

    convinient is the method that you can handle.
    but as the guy who loads the data you have to load the data like they are available, like it is convinient for others to prepare the data.
    In general there is no problem to use an IDOC method to load a customer master with multiple comany codes and several sales orgs in one shot.
    the data can be in one source file, but need then to be maintained in a certain way
    Example1: all data in 1 structure
    GD1 - CC1 - SO1
    GD1 - CC2 - SO2
    GD1 - CC2 - SO3
    in this case the GD (general data) is redundand in each line which has different Company code data or different Sales Org data
    Example2: all data in 3 sturcures but one file
    GD1
    .CC1
    .CC2
    ..SO1
    ..SO2
    ..SO3
    Example3: data delivered in 3 files - you join the files in LSMW, they must have a common identifier like the old customer number in the beginning of each file
    FILE General data:
    GD1
    GD2
    GD3
    file Compamy code data:
    CC1
    CC2
    CC3
    file Sales org data:
    SO1
    SO2
    SO3
    LSMW is flexible and can handle each of this scenarios, are you flexible too?

  • Customer Master Create using CRMXIF_PARTNER_SAVE (IDOC)-documentation

    HI All,
    please send me some documents related to the following question
    Customer Master Create using CRMXIF_PARTNER_SAVE (IDOC)
    Regards,
    Radha Krishna

    Hi Krishna,
    Check out the documentation available on http://ifr.sap.com/catalog/query.asp
    SAP CRM - 4.0 > Customer Relationship Management > Master Data > CRMXIF_PARTNER_SAVE
    In the meanwhile I shall check if I have something better and more detailed.
    Regards
    Binai

  • Customer master changes using DEBMAS/ DEBMAS-03

    hi All,
    Following is the scenario/ requirement:
    My client wants to use the standard Msg type DEBMAS and basic type DEBMAS03.
    We want to activate change pointers for the msg type. However, in the existing business, there would be lot of changes per day i.e. ~ 10 changes per day--which would trigger 10 IDocs. I want to put the partner profile in collect mode. However, I want your help in checking if its possible to collate / combine all the 10 IDocs and put it into 1 IDoc and send it at the end of day?
    If so, would also request a possible draft solution road map.
    Am sure, there are experts out here who can share their valuable inputs.
    Fast responses will be highly appreciated.
    Regards,
    Raghu.

    Hello,
           It would be again a lot of work in terms of coding and designing the IDoc Structure again.
           It should not be a problem while sending Customer Master changes using Change Pointers. As you said, you can set the Partner Profile Configuration to Collect IDocs and send it at the end of the Day.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • IS-RETAIL: How to update custom enhancement field using BAPI?

    Hi gurus,
    Like ECC BAPI: BAPI_MATERIAL_SAVEDATA,
    This BAPI(BAPI_MATERIAL_MAINTAINDATA_RT) is specific for IS-RETAIL to create and update material master data.
    But now If I append one custom field "ZFIELD" to end of table MARA, my question is how to update this custom enhancement field(ZFIELD) using BAPI(BAPI_MATERIAL_MAINTAINDATA_RT)
    Thanks in advance!

    Hi DongHai,
    I suggest you create your own BAPI. Just copy the codes in BAPI_MATERIAL_MAINTAINDATA_RT and add your custom fields. If you want to append the data of the custom field in table MARA, first, you have to create a structure table then goto SE11, type MARA and display. Click the APPEND STRUCTURE then choose the structure that you've created. Hope this will help.
    Rewards if useful
    Regards,
    Mark

  • Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)

    Hello everyone,
    I was writing a functional specs. Basically, I want to update the material master MM02 using an IDOC (MATMAS_BAPI01 - Basic Type & MATMAS_BAPI - Message Type). This is currently working.
    To my understanding, this currently uses function module - BAPI_IDOC_INPUT1 to update the material master after the IDOC is posted to SAP ECC from XI system.
    Now I want to add one small validation logic before it actually updates the material master (MM02).
    I looked around and found one exit - EXIT_SAPLMV02_002 in enhancement MGV00001. I was almost sure that this EXIT can be used to write the custom validation code before, actual MM02 updation.
    However while trying to establish a link between this EXIT and BAPI_IDOC_INPUT1, I found that EXIT_SAPLMV02_002 is actually a part of another function module - IDOC_INPUT_MATMAS01 and not BAPI_IDOC_INPUT1. I am stuck here if adding the custom logic in the exit really going to work.
    a bit of googling and I found from WE30 that the purpose of both these function modules are actually different. While BAPI_IDOC_INPUT1  actually create & updates the material master (also plant specific master data which is my need), IDOC_INPUT_MATMAS01 is just for maintenence of few fields in MM02 (may be custom fields).
    Can anyone point out if my thing is in right direction?
    Also please offer any solution where shall I put the Custom Logic in the EXIT or the some variants of
    BAPI_IDOC_INPUT1.
    A less technical explanation would be appreciated as I come from a functional background and invloved in this for writing the func specs. I want to make it sure that what I write is not useless and makes some sense.
    Thanks in advance,
    Arunesh

    Hi Lalit,
    Did some head breaking with the function module - BAPI_IDOC_INPUT1 to check whether it is calling the EXIT_SAPLMV02_002 internally. Couldn't get anywhere.
    On question of another EXIT in BAPI_IDOC_INPUT1, I don't see any. I am not very proficient in ABAP code, I must say though.
    I found the list of exits from google, almost same list everywhere.
    http://www.sapfans.com/forums/viewtopic.php?f=21&t=296637
    here I got the EXIT, I am talking about.
    Any other way to find either the EXIT or link the above?
    -- Arunesh

  • Bapi for customer master update

    hi everybody....
    can anyone tell me the bapi structure for table KNVV and KNVI.
    My requirement is to update the fields below using bapi...
    KUNNR     VKORG     VTWEG     SPART     BZIRK     VKBUR     VKGRP     KDGRP     KONDA     KALKS     PLTYP     VWERK     ZTERM     KNVI-TAXKD
    i need just the BAPI structure for the tables KNVV and KNVI and the function module that will change the datas in the table...
    Can anyone help me out....
    Thnx
    regds

    Look at the following BAPIs :
    <b>BAPI_CUSTOMER_CHANGEFROMDATA</b> alias Customer.ChangeFromData
    PI_ADDRESS     LIKE     BAPIKNA101                               Customer address to be changed
    PI_SALESORG     LIKE     BAPIKNA102-SALESORG                               Sales organization
    PI_DISTR_CHAN     LIKE     BAPIKNA102-DISTR_CHAN                               Distribution channel
    PI_DIVISION     LIKE     BAPIKNA102-DIVISION                               Division
    CUSTOMERNO     LIKE     BAPIKNA103-CUSTOMER                               Customer number of the customer to be changed
    <b>BAPI_CUSTOMER_CHANGEFROMDATA1</b> alias Customer.ChangeFromData1
    PI_PERSONALDATA     LIKE BAPIKNA101_1                          Customer personal data           
    PI_PERSONALDATAX    LIKE BAPIKNA101_1X                         X Customer Personal Data Struc   
    PI_OPT_PERSONALDATA LIKE BAPIKNA105                            Optional customer personal dat   
    PI_OPT_PERSONALDATAXLIKE BAPIKNA105X                           X Optional Customer Personal D   
    PI_COMPANYDATA      LIKE BAPIKNA106                            Customer company data            
    PI_COMPANYDATAX     LIKE BAPIKNA106X                           X Customer Company Data Struct   
    PI_OPT_COMPANYDATA  LIKE BAPIKNA105                            Optional customer company data   
    PI_OPT_COMPANYDATAX LIKE BAPIKNA105X                           X Optional Customer Company Da   
    PI_SALESORG         LIKE BAPIKNA102-SALE                       Sales organization               
    PI_DISTR_CHAN       LIKE BAPIKNA102-DIST                       Distribution channel             
    PI_DIVISION         LIKE BAPIKNA102-DIVI                       Division                         
    CUSTOMERNO          LIKE BAPIKNA103-CUST                       Customer Number of the Customer  
    Regards
    PS: These BAPI are obsolete.

  • Error while updating AFS weights & measures material master data using BAPI

    Hello ABAP experts,
    Please help me in finding the right way in updating AFS weights & measures data (/AFS/MARM) data using BAPI /AFS/BAPI_MATERIAL_SAVE_DATA.
    I'm populating the following table parameters of the BAPI,
    1. SKUUNITSOFMEASURE with /AFS/MARM records
    s_bapi_marm-ALT_UNIT = 'EA'.
    s_bapi_marm-ALT_UNIT_ISO = 'EA'.
    s_bapi_marm-grid_value = 'XXXXS'.
    *s_bapi_marm-STOCK_CATEGORY = '01000'.
    s_bapi_marm-volume  = '10'.
    s_bapi_marm-GROSS_WT  = '10'.
    s_bapi_marm-NET_WEIGHT  = '10'.
    append s_bapi_marm to t_bapi_marm.
    2. UNITSOFMEASURE with MARM records
    s_bapi_uom-ALT_UNIT = 'EA'.
    s_bapi_uom-ALT_UNIT_ISO = 'EA'.
    s_bapi_uom-NUMERATOR = '1'.
    s_bapi_uom-DENOMINATR = '1'.
    s_bapi_uom-UNIT_OF_WT = 'KG'.
    s_bapi_uom-VOLUMEUNIT = 'CCM'.
    append s_bapi_uom to t_bapi_uom.
    But the BAPI returns me an error "Stock Category & is not valid in Category structure  &"
    Let me know if you have any inputs on this one.
    Thanks,
    Partha.

    Hi VAMSHI,
    I have your same error but I don't know how to solve it. We have active "material split valuation" and valuation type is mandatory field if using ACCOUNTING and COSTING views.
    Please, let me know.
    Thanks in advance.
    GB

  • Reg: Customer Master Creation in BAPI

    Hi All,
    How can i find the fields, which are all used in
    BAPI_CUSTOMER_CREATEFROMDATA1 and in
    BAPI_CUSTOMER_CREATEFROMDATA...
    And how can i find the sap given sequential/flat file
    for customer master.
    Thanks & Regards
    arun

    most of the fields will be present in the BAPI function. some fields may not be avialable in that BAPI. first list out the fields what you want, then you check the fields in BAPI,  and also you can go for LSMW Recording method or LSMW batch input method.
    check this batch input program RFBIDE00 .
    For testing the BAPI you have to input the data manually in SE37. First create a sample customer in XD01, use the same data for testing the BAPI.

  • Customer master data using LSMW std batch input

    Hello all,
    i m using LSMW method to create customer master records in the SAP system.
    we need to cover all the fields for addresses.
    Following are my doubts :
    1. some address fields are gettng truncated while loading customer master using std batch input program (for ex name1,name2,name3,name4,street..)
    2. some fields are not part of std batch input program . how to load that fields
    3. if we load address data first and then other customer data ,how to handle internal number range?
    4. how to upload internation address data in the system? is there any bapi for that?
    5 . how to upload additional communication data in address (ex mail,URL)
    Please help asap. its required urgently.
    thanks
    Jigs
    note : helpful ans will be rewarded.

    Message type DEBMAS
    Idoc type DEBMAS**  where ** is highest number available in your system (check via WE30). e.g. DEBMAS06

  • Problem in customer master creation using BAPI_CUSTOMER_CREATEFROMDATA1

    Hi Guru's...
    i am unable to go forward...
    can you please help me out in this customer master creation....
    what are the fileds i am using while creating in XD01 (account group,name,country)then i am able create and the customer number is autogenerated.
    using same field values i am trying to test the BAPI initially but i am unable to execute the BAPI BAPI_CUSTOMER_CREATEFORMDATA1.
    in this one draw back is when compare to the XD01 peocess is account group.
    account group is mandataory in XD01 process and in BAPI test there i sno field for giving this account group field value.....may be this is one reason....(if it is mandatory where i have to provide in BAPI test..)
    and i tried in BAPI test using customer reference ID also....
    please guide me....
    please let me know if my question is not clear...
    Thanks in advance
    Srinivas...

    thanks rajani ur valuble reply..
    but i am looking for creating at a time 'n' number of customer's using BAPI (the coustomers data will be in flat file in presentation server....)
    please advise me ..
    let me know if my question is not clear...
    thanks in advance
    srinivas....

Maybe you are looking for

  • Backup of iMovie

    If I make changes to a clip in the time line in iMovie, does time machine just make changes in the individual clip in the package or does it  backup the whle  package even though only a single change was made?  If the whole package, do you have any s

  • ITunes 10.01 crashes when trying to connect to iTunes store.

    I am wondering what is happening that my iTunes app crashes when it is connecting to the iTunes store. I recently had to reinstall the OS when my laptop stopped booting. I then re-populated my Mac with Migration assistant from a Time Machine back-up

  • Palm Desktop on Windows 7, 64-bit

    My Palm Vx broke long ago but I still have been using Palm Desktop 4.1 on an XP desktop as a rolodex. I am soon to get a 64-bit Windows 7 machine. How can I continue to access my Palm address book on the new machine?  I already made archives in .aba,

  • CAT2 - Personnel Selection

    Hi all, When I'm entering CAT2 transaction with the option "Enter for Several Personnel Numbers", in the screen appears a table with employees data: Personnel No. / Name / Pers. area / Subarea / ... Can I define which data should appears here? Thx! M

  • Default Permissions & Sharing setup

    I currently have an iMac and MacBook which are both set up with File Sharing turned on. I have 2 problems at the moment: 1) The biggest problem is that all files created on either machine have defualt permissions set as User(Me): Read & Write, Everyo