BP not updating in Customer Master data KNA1

Guys,
I am creating a BP in CRM 7.0. Once the BP is saved & created successfully entry is present in all CRM tables as well as in the ECC side.
But for few cases the Customer Master data Table KNA1, KNVV is not getting updated, i.e no value for the BP in KUNNR.
Any idea as to what should I be checking to resolve this ? Plesae share the config details.
Also do you know how the Customer Master data gets updated ? Is it from the BAdI's or the GenIL class for CL_CRM_BUIL for componenet BP ?
I checked the methods of this dedicated GenIL class in hope to find an RFC for updating KNA1 but not successful. Is the RFC call made in BAdI ?
Tough to replicate the scenario as wheneevr I do BP gets updated in SD. But sometimes in PROD it does not happen so.
Plesae share some light.

Hi Rohit,
Put a breakpoint in FM COM_BUPA_MAIN_INBOUND_ISU in ECC system. Inside this FM it first create customer using FM  PI_BP_PROXY_BAPI_CUSTOMER at line 187.
IS_CUSTOMER flag you can find in b-doc structure LS_BP_EXTERN-CRM_DATA-SALESCLASS-DATA-IS_CUSTOME.
Before calling FM PI_BP_PROXY_BAPI_CUSTOMER system perfroms multiple checks if they all went succesfull then you have to debug inside FM PI_BP_PROXY_BAPI_CUSTOMER for finding out the root cause.
Thanks,
Ashish

Similar Messages

  • Dunning not updating in Customer Master

    Dear All,
    We have an issue- once we completed F150, it did not update dunning level in customer master data.
    The customer have an overdue invoice and the number of days also reached
    Do suggest.
    Regards

    How did you get it? I am having the same issue , Can you please post your solution ?
    Thanks

  • Tax code is not valid in customer master data - creating customer

    Dear Sirs,
    Could you please help me with this problem. When I try to create a customer - acc.group "Payer" (standard from SAP) I don't have any problems. But when I try to do this with customized one, the system gives message "Tax code 1 is not valid". For condition MWST 1 is Full tax.
    Thank you in advance.
    Best Regards,
    Dani

    Hi Jagsap,
    We do all this things. In IMG-SD-BF-Taxes-Define Tax Determination Rules the sequence for Romania and condition type MWST is 1. The sequence for customers and materials for condition MWST 1 is Taxable Domestic. And that's why we can not find the reason for this message.
    Thanks,
    Dani
    PS!!! Hi, I understand what is the reason. I find that in field "Tax code 1" I entered personal ID without check "natural person". Thank you
    Regards,
    Dani
    Edited by: Daniela Vaskova Petkova on Jul 14, 2009 12:49 PM

  • Migration of customer master data

    hi guys
    while uploading the customer master data from legacy to sap r/3 with lsmw
    if some files are not uploaded, in which transaction code we see that files

    Hi Krishna,
    You can use the standard batch input program RFBIDE00 in LSMW to update the customer master data. However, there might be scenarios where you might be required to update the fields which do not get updated by the standard bacth input program. If any of such fields are defined as mandatory, then you wont be able to use this method directly.
    In such cases you will have to either create a recording to poplate the fields which do not get updated by the standard program and use both the recording and the standard batch input program to update the customer master data OR create a recording for customer master create and use the same in LSMW.
    Best regards,
    Harsh

  • Customer Master data.. Bank Account No.

    Hi
    In customer master data ( XD01) > General Data > Payment Transaction > Bank Details 
    we maintain. Bank key , Bank Account and other details.
    my concern is , by maintaining customer bank account number in customer master data, what are the integrated effects to FI > Bank Accounting > House Bank ?  ( On Invoice Creation, Payment Receipt , Credit note, Debit note all FI Transaction ).
    Actually we want to use it just for information & reporting purpose.   NOT  FOR ANY AUTOMATIC RECEIPT \  Integration to FI > BANK Accounting \ House Bank.
    Thanks

    Hi.
    'customer master data, what are the integrated effects to FI > Bank Accounting > House Bank ?' House bank not linked with Customer master data(only if customer affiliated company).
    Bank details in customer could be used eg for invoicing(printing form)

  • Dunning could not update dunning level in customer master data!

    Dear experts,
    I have an issue-that after I ran F150, it did not update dunning level in customer master data. The customer have an overdue invoice and the number of days reached the one of the dunning level. And I did not set the ammount limitation.
    Could anyone tell me the reason?
    Thank you in advance~
    Flora

    Hi Linda,
    You can block the items of a customer without blocking his account completely by allowing his account for dunning program.
    1. Allow the customer account for dunning
    2.Edit the dunning proposal and block the items individually to the customer and save.
    3.Now you can see the dunning notices for only unblocked items of the customer.
    Thank you,
    Ramesh.

  • Customer master data updation from one system to another system

    HI  Experts,
    I have an issue with customer master data updation from one system to another system. And here only one field is not updating properly from one system to another system. and we found this is through idoc , but we don't find field in any segment.
    and the field is called ADDR1_DATA-HOME_CITY.
    and this will displayed as different city in address column.
    but as per the notes given in help , it is by program , form through only passing. but not able to trace and as per my analysis ADRC table , ADRNR  had this field HOME CITY.
    And this is for some customers updating wrong one from one system to another system , and for some customers field itself not updating in address column.
    please can you suggest any one. here are screenshot for your reference.

    that is not enough, it was enough in times before 40b release, but this was in the  last century
    Please read OSS note 384462 - Master data and addresses
    it explains what you have to do for ALE

  • XD01 assertion failed error while updating customer master data

    Hi Guys,
    This is an error when I use transaction XD01 to create customers accounts, If you have any ideas do let me and we'll try it....
    The error does not let an BDC or LSMW progress as well. There are also no recent sap notes on the same.
    The error is as follow
    ASSERTION_FAILED
    Short text
    The ASSERT condition was violated.
    What happened?
    In the running application program, the ASSERT statement recognized a
    situation that should not have occurred.
    The runtime error was triggered for one of these reasons:
    - For the checkpoint group specified with the ASSERT statement, the
    activation mode is set to "abort".
    - Via a system variant, the activation mode is globally set to "abort"
    for checkpoint groups in this system.
    - The activation mode is set to "abort" on program level.
    - The ASSERT statement is not assigned to any checkpoint group.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    The following checkpoint group was used: "No checkpoint group specified"
    If in the ASSERT statement the addition FIELDS was used, you can find
    the content of the first 8 specified fields in the following overview:
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    I have a company code CG01 with sales organization CTS0 and I want to transfer or extend all the customer master data to another company code CG03 with the sales organization CTS0
    The things that I have tried and not work
    using xd01, fd15, fd16, fd01, does not wok and gives the error as above
    The things that I have tried and it works
    Change the sales organization from CTS0 to CTS1 I am able to post the customer master data, using any of the above tcodes and it does not give any error, however the client wants to sales organization to remain CTS0
    So please give me any ideas as per your experience as this transfer of master data has to happen by Monday, else I'll be fried by my boss
    My number is 9820029197
    Will also keep you'll posted on any developments on this case,
    Ronan Pinto

    >
    > Firstly I am from SAP FI, so totally new to SAP SD
    >
    Then you are best person to explain the reason on why the same sales organization, can't be assigned to different company codes. When a sales is done through one sales organization, then will the  profit/loss be accounted in different company codes. Is it legally allowed in the country, where your customer is doing business? How you are going to develop the  balance sheet? Again being the FI person, you are best judge to provide the details to your customer and not a SD guy.
    >
    > 1) How did the system not give an error while putting the data inside CG02 with sales organisaton same as CST0 same as in company code CG01.
    >
    I dont see any other method than removing the assignments in the backend and uploading the data. You can consult a Basis person to find the  change logs for the assignment table. In my opinion, removing the sales organization from a company code assignment just for loading a customer master data and then reassigning to original sales org is  a crooked method and/or not a professional method.
    >
    > 2) Since I have limited experience of SD, If I have to convince my client about the use of CTS1 sales organisation or a unique sales organisation against his argument that it worked for company code CG02, how should I do it.......
    >
    As explained above, how the sales will be accounted  in different company codes (even if the system allows  to assign the same sales org to different company codes)?
    I would recommend you to post this question in FI forum (after closing here) to check what are the legal implications for this scenario.
    Regards,

  • 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

  • Updating customer master data after invocing

    Hello Gurus,
                       Is there any procedure that after the customer is INVOICED or after the completion of billing the customer master data field needs to be updated.
    Thanks in advance
    sameer

    hai gurus,
    For the above question, is it possible to create a extra feild in customer sales tab.
    sothat whenever the invoice is saved for bill to party,(the extra feild is for either sold tp party or bill tp party) that feild to going to update automatically.
    Is it possible to get trasaction data to be displayed in customer master data, like the one in material master data, where stock valuation is going to update in accounting 1 veiw.
    thanx in advance
    sukumar

  • Dunning block on Line item but not in customer master data

    Hi,
    What is the procedure to block a customer for the dunning process?
    I have following example:
    1. A dunning block was entered in an invoice line item (there was no dunning block in the customer master data)
    2. A dunning run was made
    3. A dunning letter was printed for the customer
    Is the block in the master data required for preventing a dunning for a customer?
    Thank you for your feedback.
    Kind regards,
    Linda

    Hi Linda,
    You can block the items of a customer without blocking his account completely by allowing his account for dunning program.
    1. Allow the customer account for dunning
    2.Edit the dunning proposal and block the items individually to the customer and save.
    3.Now you can see the dunning notices for only unblocked items of the customer.
    Thank you,
    Ramesh.

  • What are the tables will update while loading Master data ?

    Hello Experts,
    What are the tables will update while loading Master data ? And requesting you to provide more information about Master data loading and its related settings in the beginning of creation infoobjects. 

    It depends upon the type of Master data u r loading....
    In all the master data loadings, for every new value of master data an SID will be created in the SID table /BI*/S<INFOOBJECT NAME> irrespective of the type of master data.
    But the exceptional tables that get updated depending on the type of master data are.....
    If it is a time Independent master data then the /BI*/P<INFOOBJECT NAME> table gets updated with the loaded data.
    If it is a time dependent master data then the /BI*/Q<INFOOBJECT NAME> table gets updated with the loaded data.
    If the master data is of time Independent Navigational attributes then for every data load the SID table will get updated first and then the /BI*/X<INFOOBJECT NAME> table gets updated with the SID's created in the SID table (NOT WITH THE MASTER DATA).
    If the master data is of time dependent navigational attributes then for every data load the SID table will get updated first and then the /BI*/Y<INFOOBJECT NAME> table gets updated with the SID's created in the SID table (NOT WITH THE MASTER DATA).
    NOTE: As said above, For all the data in P, Q, T, X, Y tables the SID's will be created in the S table /BI*/S<INFOOBJECT NAME>
    NOTE: Irrespective of the time dependency or Independency the VIEW /BI*/M<INFOOBJECT NAME> defined on the top of /BI*/P<INFOOBJECT NAME> & /BI*/Q<INFOOBJECT NAME> tables gives the view of entire master data.
    NOTE: it is just a View and it is not a Table. So it will not have any physical storage of data.
    All the above tables are for ATTRIBUTES
    But when it comes to TEXTS, irrespective of the Time dependency or Independency, the /BI*/T<INFOOBJECT NAME> table gets updated (and of course the S table also).
    Naming Convention: /BIC/*<InfoObject Name> or /BI0/*<InfoObject Name>
    C = Customer Defined Characteristic
    0 = Standard or SAP defined Characteristic
    * = P, Q, T, X,Y, S (depending on the above said conditions)
    Thanks & regards
    Sasidhar

  • Customer Master Data Report

    Hi,
        How can i see the report of customer master data..
    Like for sale order it is va05...
    So how for a customer master data?
    Ashis

    Hi
    there is no standard report for that...
    go to SE16... enter table KNA1  -- for all customers please note this gives all customers in your client
                                        KNB1 -- for company code wise list
                                        KNVV -- for sales area wise list..
    after entering the table press enter ... give the selection criteria.. and execute.. this will fetch you the list of customers
    Muthu
    Edited by: Muthupandiyan on Feb 21, 2008 12:31 PM

  • Query in customer master data upload ....?

    Hi Guru's,
    I am uploading the customer master data from presentaion server to customer tables using functional module SD_CUSTOMER_MAINTAIN_ALL.
    while check the Function module separatly and it working properley and i am able to ctere customer...
    and i am using the same function module in the program i am unable to upload ..could please check and let me know where i am doing mistake in the below program logis..and values also moving properly before calling function module..while calling the functinal module the controle comming out of the loop and program went to dump i am able to see the message in dump as like this(it may helpfull for resolve):
    Name of function module...............: "SD_CUSTOMER_MAINTAIN_ALL"
    Name of formal parameter..............: "O_KNA1"
    Technical type of actual parameter....: "C"
    Technical length of actual parameter..: 20 bytes
    Technical type of formal parameter....: "u"
    Technical length of formal parameter..: 3634 bytes
    Name of formal parameter at caller....: "O_KNA1"
    *& Report  ZERP_CUSTOMER_CREATE_UPLOAD
    REPORT  zerp_customer_create_upload.
    PARAMETERS:p_files        TYPE string.
    *DATA :xkunnr(10)      LIKE kna1-kunnr.  "unique KUNNR
    DATA: gs_i_kna1           TYPE kna1,
          gs_i_knb1             TYPE knb1,
          gs_i_knvv           TYPE knvv,
          gs_return           TYPE bapireturn1,
          gs_i_bapiaddr1      TYPE   bapiaddr1,
          gt_t_xknvi          TYPE STANDARD TABLE OF fknvi,
          gwa_t_xknvi         TYPE fknvi,
          gt_t_xknbk          TYPE STANDARD TABLE OF fknbk,
          gwa_t_xknbk         TYPE fknbk,
          gt_t_yknvp          TYPE STANDARD TABLE OF fknvp,
          gwa_t_xknvp         TYPE fknvp.
    TYPES:BEGIN OF gty_itab1,
          abc(305),
          END OF gty_itab1.
    DATA: gt_itab1 TYPE STANDARD TABLE OF gty_itab1,
          gwa_itab1 TYPE gty_itab1.
    TYPES :BEGIN OF gty_itab2,
           ktokd(4),        "customer account grp      kna1
           kunnr(10),       "customer                  kna1
           name1(35),       "name1                     kna1
           sortl(10),       "sort filed                kna1
           stras(35),       "house number and adres    kna1
           pstlz(10),       "postal code               kna1
           ort01(35),       "city                      kna1
           land1(3),        "country                   kna1
           telf1(16),       "tele phone no             kna1
           telfx(31),       "fax num                   kna1
           kukla(2),        "cust classificaion        kna1
           bukrs(4),        "company code              knb1
           akont(10),       "reconcilation acct        knb1
           vkorg(4),        "sales org                 knvv
           vtweg(2),        "distr chan                knvv
           spart(2),        "division                  knvv
           zterm(4),        "terms of payment          knvv
           bzirk(6),        "sales district            knvv
           vkbur(4),        "sales office              knvv
           vkgrp(3),        "sales grp                 knvv
           kdgrp(2),        "cust grp                  knvv
           waers(5),        "currency                  knvv
           konda(2),        "price grp                 knvv
           kalks(1),        "pricing procedure assign  knvv
           lprio(2),        "delivery plant            knvv
           vsbed(2),        "shipping conditions       knvv
           vwerk(4),        "delivering plant          knvv
           inco1(3),        "inco1                     knvv
           inco2(28),       "inco2                     knvv
           kkber(4),        "cred control area         knvv
           ktgrd(2),        "acc assgn grp             knvv
           taxkd(1),        "tax classification 4 cust knvi
           bankn(18),       "bank account number       knbk -
            xkunnr(10),
           END OF gty_itab2.
    DATA: gt_itab2 TYPE STANDARD TABLE OF gty_itab2,
          gwa_itab2 TYPE gty_itab2.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = p_files
        filetype                = 'ASC'
      TABLES
        data_tab                = gt_itab1
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT gt_itab1 INTO gwa_itab1.
      gwa_itab2 = gwa_itab1-abc(305).
      APPEND gwa_itab2 TO gt_itab2.
    ENDLOOP.
    LOOP AT gt_itab2 INTO gwa_itab2.
      SPLIT gwa_itab2 AT ',' INTO gwa_itab2-ktokd
                                  gwa_itab2-kunnr
                                  gwa_itab2-name1 gwa_itab2-sortl
                                  gwa_itab2-stras gwa_itab2-pstlz
                                  gwa_itab2-ort01 gwa_itab2-land1
                                  gwa_itab2-telf1 gwa_itab2-telfx
                                  gwa_itab2-kukla gwa_itab2-bukrs
                                  gwa_itab2-akont gwa_itab2-vkorg
                                  gwa_itab2-vtweg gwa_itab2-spart
                                  gwa_itab2-zterm gwa_itab2-bzirk
                                  gwa_itab2-vkbur gwa_itab2-vkgrp
                                  gwa_itab2-kdgrp gwa_itab2-waers
                                  gwa_itab2-konda gwa_itab2-kalks
                                  gwa_itab2-lprio gwa_itab2-vsbed
                                  gwa_itab2-vwerk gwa_itab2-inco1
                                  gwa_itab2-inco2 gwa_itab2-kkber
                                  gwa_itab2-ktgrd
                                  gwa_itab2-taxkd
                                  gwa_itab2-bankn.
    *moving files values from ITAB2 work area to global structure related to FM.
      gs_i_kna1-ktokd   = gwa_itab2-ktokd.
      gs_i_kna1-kunnr   = gwa_itab2-kunnr.
      gs_i_kna1-name1   = gwa_itab2-name1.
      gs_i_kna1-sortl   = gwa_itab2-sortl.
      gs_i_kna1-stras   = gwa_itab2-stras.
      gs_i_kna1-pstlz   = gwa_itab2-pstlz.
      gs_i_kna1-ort01   = gwa_itab2-ort01.
      gs_i_kna1-regio   = gwa_itab2-land1.
      gs_i_kna1-telf1   = gwa_itab2-telf1.
      gs_i_kna1-telfx   = gwa_itab2-telfx.
      gs_i_kna1-kukla   = gwa_itab2-kukla.
      gs_i_knb1-bukrs   = gwa_itab2-bukrs.
      gs_i_knb1-akont   = gwa_itab2-akont.
    *I FOR GOT TO INCLUDE THE ZTERM VALUE IN EXCELL SHEET SO INCLUDED HARD CODE HERE
      gs_i_knb1-zterm   = '0001'.
      gs_i_knvv-vkorg   = gwa_itab2-vkorg.
      gs_i_knvv-vtweg   = gwa_itab2-vtweg.
      gs_i_knvv-spart   = gwa_itab2-spart.
      gs_i_knvv-zterm   = gwa_itab2-zterm.
      gs_i_knvv-bzirk   = gwa_itab2-bzirk.
      gs_i_knvv-vkbur   = gwa_itab2-vkbur.
      gs_i_knvv-vkgrp   = gwa_itab2-vkgrp.
      gs_i_knvv-kdgrp   = gwa_itab2-kdgrp.
      gs_i_knvv-waers   = gwa_itab2-waers.
      gs_i_knvv-konda   = gwa_itab2-konda.
      gs_i_knvv-kalks   = gwa_itab2-kalks.
      gs_i_knvv-lprio   = '02'.             "gwa_itab2-lprio.
      gs_i_knvv-vsbed   = gwa_itab2-vsbed.
      gs_i_knvv-vwerk   = gwa_itab2-vwerk.
      gs_i_knvv-inco1   = gwa_itab2-inco1.
      gs_i_knvv-inco2   = gwa_itab2-inco2.
      gs_i_knvv-kkber   = gwa_itab2-kkber.
      gs_i_knvv-ktgrd   = gwa_itab2-ktgrd.
      gwa_t_xknvi-tatyp  = 'UTXJ'.          "HARD CODE
      gwa_t_xknvi-aland  = 'US'.            "HARD CODED
      gwa_t_xknvi-kz     = '0'.             "HADR CODE
      gwa_t_xknvi-taxkd  = '0'.             "gwa_itab2-taxkd.
      APPEND gwa_t_xknvi TO gt_t_xknvi.
      gwa_t_xknbk-bankn  = gwa_itab2-bankn.
      APPEND gwa_t_xknbk TO gt_t_xknbk.
      gs_i_knb1-lockb          = 'X'.
      gs_i_knvv-kzazu          = 'X'.
      gs_i_knvv-kztlf          = 'X'.
      gs_i_knvv-perfk          = 'X'.
      gs_i_knvv-prfre          = 'X'.
      gs_i_kna1-spras          = 'EN'.
      CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
       EXPORTING
         i_kna1                              = gs_i_kna1
         i_knb1                              = gs_i_knb1
         i_knvv                              = gs_i_knvv
      I_BAPIADDR1                         =
      I_BAPIADDR2                         =
      I_MAINTAIN_ADDRESS_BY_KNA1          = ' '
      I_KNB1_REFERENCE                    = ' '
      I_FORCE_EXTERNAL_NUMBER_RANGE       = ' '
      I_NO_BANK_MASTER_UPDATE             = ' '
      I_CUSTOMER_IS_CONSUMER              = ' '
      I_RAISE_NO_BTE                      = ' '
      PI_POSTFLAG                         = ' '
      PI_CAM_CHANGED                      = ' '
      PI_ADD_ON_DATA                      =
      I_FROM_CUSTOMERMASTER               = ' '
    IMPORTING
      e_kunnr                             = xkunnr
      o_kna1                              = xkunnr
      E_SD_CUST_1321_DONE                 =
       TABLES
      T_XKNAS                             =
         t_xknbk                             = gt_t_xknbk
      T_XKNB5                             =
      T_XKNEX                             =
      T_XKNVA                             =
      T_XKNVD                             =
         t_xknvi                             = gt_t_xknvi
      T_XKNVK                             =
      T_XKNVL                             =
      T_XKNVP                             =
      T_XKNZA                             =
      T_YKNAS                             =
      T_YKNBK                             =
      T_YKNB5                             =
      T_YKNEX                             =
      T_YKNVA                             =
      T_YKNVD                             =
      T_YKNVI                             =
      T_YKNVK                             =
      T_YKNVL                             =
       t_yknvp                             = gt_t_yknvp
      T_YKNZA                             =
      T_UPD_TXT                           =
       EXCEPTIONS
         client_error                        = 1
         kna1_incomplete                     = 2
         knb1_incomplete                     = 3
         knb5_incomplete                     = 4
         knvv_incomplete                     = 5
         kunnr_not_unique                    = 6
         sales_area_not_unique               = 7
         sales_area_not_valid                = 8
         insert_update_conflict              = 9
         number_assignment_error             = 10
         number_not_in_range                 = 11
         number_range_not_extern             = 12
         number_range_not_intern             = 13
         account_group_not_valid             = 14
         parnr_invalid                       = 15
         bank_address_invalid                = 16
         tax_data_not_valid                  = 17
         no_authority                        = 18
         company_code_not_unique             = 19
         dunning_data_not_valid              = 20
         knb1_reference_invalid              = 21
         cam_error                           = 22
         OTHERS                              = 23.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF sy-subrc EQ 0.
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
        WRITE: / 'Error Message:', 'error in creation'.
      ELSE.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WRITE: / 'costomer', gwa_itab2-kunnr, 'created'.
      ENDIF.
    ENDLOOP.

    please let me know if my qestion is not clear...
    and please cinfirm me ..that can i use the function module (SD_CUSTOMER_MAINTAIN_ALL) instead of BAPI (BAPI_CUSTOMER_CREATEFROMDATA1) for uploading customer master data.
    please respond me ASAP.
    thanks in advance and will give full points
    thanks&regards
    Srinivas.

  • Customer master data creation

    Hello Folks,
    I need some confirmations please :
    1 . customer master data (cmd) is created at account group and company code level.
    So, if a  customer is a customer of 3 company codes of a company , 3 customer master records needs to be created where the number range of the customer code being the same and the company code is different and the account group remains the same?
    2. A  customer can buy from any sales area combination in company code, but only 1 customer master record is created ? If so, 1 customer code is for any Sales areas for a customer?
    So, Sales area is data fields in a customer master record and only account group and company code and the customer code are key fields in the definition of customer master record?
    Please confirm for me. Thanks.
    regards
    Ravi

    Hi Ravi,
    _Extension of the CMR_
    a.     If the Customer is buying from under 1 Company Code and multiple Sales Areas then you need to extend the CMR for all sales area.
    b.     However when the sales areas change the Customer No., General data and the Company code data does not change
    While Extending the CMR by changing the Sales Area:
    a.     In XD01 or VD01 enter the Account Group of the customer which is to be extended
    b.     Enter the customer no.
    c.     Enter the New sales area
    d.     The system will take you directly to the sales area data
    e.     The Company Code data and the General data cannot be chosen.
    While extending the CMR for different company codes:
    a.  In XD01 or VD01 enter the Account Group of the customer, which is to be extended
    b. Enter the customer no.
    c.     Enter the New Company code
    d.     The system will take you directly to the Company Code Data
    e.     The Sales Area Data and the General data cannot be chosen.
    While extending the CMR for different company codes and sales Areas:
    a.  In XD01 or VD01 enter the Account Group of the customer, which is to be extended
    b.  Enter the customer no.
    d.     Enter the New Company code
    e.     Enter the New Sales Area
    f.     The system will take you to the Company Code Data
    g.     Then you can go to the Sales area data.
    h.     The General data cannot be chosen.
    Tables Used for CMR:
    Table Name     Used For
    KNA1         General Data
    KNVV         Sales Area Data
    KNB1         Company Code Data
    Q. Why are there 3 Data Groups or 3 different Tables for one customer?
    Ans. Since the Customer is expected to buy in more than one sales area and also in some cases in more than one Company code different data sets need to be maintained but however some data remain same, so to avoid data redundancy you maintain 3 different tables.
    Hope this helps,
    J Nagesh

Maybe you are looking for

  • Lost mail ????

    Some how i lost my mail  history also the "sent "e-mail will not execute  ...I can't send new mail , and I am not receiving any mail ???!!!! I have mail 4.5 version I have the Icon at bottom I click on it and the mail page comes up but i can write an

  • Published site won't load. Are my video files too big?

    I'm a video editor and have published a site through iWeb. I have about 8 movie files on the site. The site never fully loads. Are my video files too big? If so, what would you recommend the average MB's should be?

  • Just upgraded and now no Microsoft Office suite?

    We decided to upgrade to OS X Mountain Lion last night and have now found we cannot access any of our Microsoft office applications.. What can we do to get this back and working again? Do we have to purchse a new office to mac package? Cheers Scott

  • Mac OS X 10.10.3: First connect takes almost 1 Minute

    Freedome 1.0.1565.0Freedome Server Sachsen, DEMac OS X 10.10.3Macbook 13" early 2011 Hi all, after rebooting or after sleep wake it takes almost 1 minute that Freedome activates a secured connection via my wifi. Any chance that you guys speed up the

  • HT3275 Any ideas about this error message?  (error -1)

    Any ideas about this error message? "The backup disk image "/Volumes/Data/ MacBook Pro.sparsebundle" could not be accessed (error -1)."