Deletion of assigned sales area data

Hi *,
I am looking for a possibility to delete sales area data that were wrongly assigned to business partners. In our case the BPs were not uploaded to ECC yet.
Any ideas?
Kind regards
Thomas

Hi Thomas,
There's no easy way to do it. You have to adapt report from note 725857 to allow deletion of sales area for specific BP. You can get also more information on notes 1955713, 1906379.
Kind regards,
Bruno

Similar Messages

  • Prospective Account Sales Area Data on CRM Online

    Hi Experts,
    I am using CRM2007 SP4, and i am trying to assign Sales Area Data to a Prospective Account on CRM Online. However, unlike a reqular Sold-to account (CRM000) there does not seem to be a Sales Area Data Button where the Sales Area can be maintained for a Prospective account.
    The BP Role for the Prospective account is BUP002.
    It only seems possible to maintain this through the Web Client. Is there anyway which the Sales Area can be assigned to a Prospective Account through CRM Online.
    Any assistance would be appreciated.
    Thanks,
    Jonathan

    Hi Sasha,
    I've been checking it in our system (CRM 6.0). The field Price group (cust) from ECC (KNVV-KONDA) gets standard replicated to field Price Group (Cust) on the billing tab of customer data (BP).
    No additional customizing or development is needed.
    The field is stored in: CRMM_BUT_SET0030-PRICE_GROUP
    regards,
    Wim

  • Sales Area Data For Account (CRMM_BUT_FRG0080) - FM needed

    Hello experts,
    i search for a bapi (or FM) to assign new sales area data to an account. I need to do this without creating a contact-assignment (Leave CRMM_BUT_FRG0081 blank).
    I know the table CRMM_BUT_FRG0080, but i have no success in searching for an FM.
    Any ideas?
    Regards,
    Mario

    Hi Mario,
    You can assign sales area data to an account using the FM:BAPI_BUPA_FRG0010_ADD
    Just fill in all the required fields in import parameter SALES_AREA and  DATA.
    Your query will be resolved.
    Regards,
    PePe

  • Sales Area Data Cannot be Cleared after deletion

    Hi All!
    We are installing CRM 5.0 by following the SAP Best Practice. However, while creating organizational structure in CRM, we did not replicate the sales area data from R/3. Instead we created the org. structure manually in CRM. So we decided to delete the manually created org. units and download from R/3. Everything went fine until the point when we tried to assign the sales area data to a new BP (Organization). Every item in the list says 'Not found' but the new ones replicated from R/3 is not on the list.
    It sounds to me that some buffer in CRM that contains the sales area data is not cleared. I ran the ABAP program 'HRBCI_ATTRIBUTE.....' but it didn't help.
    Any sugguestion/advice?
    Thanks,
    Leon

    Try turning on buffering for Scenarion Sales in the table T77OMATTR. This should help solve you issue.
    Regards,
    Vimal

  • Delete Sales Area Data in Account Management

    Hello,
    we are trying to delete data from Sales Are Data assignment block (BP_SALES/CorpAccountSalesOV) from acconts in WebUI.
    For doing that we have activated the Delete button in method GET_OCA_T_TABLE of the enhanced class CL_BP_SALES_CORPACCOUNTSA_IMPL.
    When clicking the Delete button the method EH_ONONE_CLICK_ACTION is processeing the DELETE event and the Sales Area Data line entry will disappear as expected from the table view in the assignment block.
    But when saving the account the delete sales area entry will be available again.
    So it is not deleted by the framework.
    Do we have additional adjustments?
    Thanks in advance,
    André

    Hi Veena,
    cl_crm_bol_core->modify( ) is called by standard:
    The DELETE event is handled by the standard method EH_ONONE_CLICK_ACTION
    of the class CL_BP_SALES_CORPACCOUNTSA_IMPL (BP_SALES/CorpAccountSalesOV).
    Line 59 of that method calls lr_core->modify( ).
    Within that method CL_BUPA_IL_SALES_AREA->MODIFY is called.
    Therein the standard is calling the FM CRM_BUPA_FRG*_DELETE but without
    importing iv_x_save= X.
    So a memory save on commit is not registered and the data will not delete from the database.
    Best regards,
    André

  • FM/BAPI to add sales area data to a BP , FM to assign relationship to BP

    Friends of CRM world,
    I need your help in finding out BAPI or FM to
    add sales area data to an existing Business Partner (BP).
    Also I need to assign a relationship to this BP.
    Please help me with info on BAPIs or Function Modules for this if you can.
    Best Regards,
    Vivek

    Hi Vivek,
        You should use separate function modules for each tab in the sales area data. Please find the following code:
    For shipping data tab of sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0020_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_ship_data
            TABLES
              return          = it_return.
    For billing data tab of Sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0030_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_price_data
            TABLES
              return          = it_return.
    Use function module BAPI_BUPA_FRG0140_ADD - For organization data tab of Sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0140_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_org_data
            TABLES
              return          = it_return.
    Thanks
    Swagatika

  • Discrepancy in Sales area data display of an Account in WEBUI and SAPGUI  .

    Hi Guru's ,
    There is a custom program which deletes sales area data for an account .
    This program basically deletes values from table crmm_but_lnk0010, crmm_but_lnk0011 , crmm_but_lnk0020 , crmm_but_lnk0021 , crmm_but_lnk0030 , crmm_but_lnk0031, crmm_but_lnk0140 , crmm_but_lnk0141 and crmm_but_frg0100  for the given account .
    After running the program the maintained sales area value for the given account gets deleted from SAPGUI  .
    But strangely , the value still exists in some buffer and is getting displayed on WEBUI in sales area assignment block of an account .
    I need this value to be deleted also from WEBUI . Can someone tell where the flaw can be and which method in webui framework needs to be coded for to remove the issue OR custom report program needs to be enhanced to delete value from some other tables . Thanks in advance !
    regards
    Piyush

    Hi Kavindra ,
    Actually the program was written by someone many days back . The program was written to  directly update db tables as mentioned before .
    Is that the reason for the inconsistency between GUI and Webui ?  The buffered BOL layer is having  values where as values are deleted from db tables so not appearing on GUI  ?
    If this is the case then report program needs to be updated with BOL programming statements deleeting sales area values from buffered entities and then saving and commiting bol .  thanks in advance !
    Regards
    Piyush

  • Bp relationship wit sales area data - mass changes

    Hi all,
    We keep our BP's relationship with the sales area and function data (in tab usage).
    is there a way to do mass change for this relationship (add/change/delete
    in the past when sales area was not documented in our relationship data, I have built scat which run BUB1 or BUB2 and mass changes could be done. The problem is that now sales area data is not seen in BUB1 and therefore I Can't change the right line via BUB1.
    Has any body  idea how to do it??
    Thanks,
    Rachel

    lv_frg081 TYPE string VALUE '(SAPLCRM_BUPR_CRMH_DIALOG)gt_global_frg0081[]',
        ls_frg80-client            = sy-mandt.
        ls_frg80-partner_guid      = <partner_ch>-partner_guid.
        ls_frg80-sales_org         = <bp_org>-sales_org.
        ls_frg80-channel           = <bp_org>-channel.
        ls_frg80-division          = <bp_org>-division.
        ls_frg80-partner_fct       = c_poueb.
        ls_frg80-rel_partner_guid  = g_pou_guid.
        ls_frg80-valid_to          = '99991231235959'.
        ls_frg80-valid_from        = '10101000000'.
        ls_frg80-relnr             = ls_but050-relnr.
        APPEND ls_frg80 TO lt_frg80.
        CLEAR  ls_frg80.
       Fill the  internal table with Business Partner - Sales Area - Partner Function
        CALL FUNCTION 'CRM_BUPA_BDOC_FILL_REL_TABS'
          TABLES
            ti_frg80 = lt_frg80.
        ASSIGN (lv_frg081) TO <f1>.
        IF sy-subrc = 0.
          <f1> = lt_frg80.
        ENDIF.

  • Sales area data wrong mantained in Business Partner

    Dear All,
    We work with a CRM 7.0 EPH3 and we do integrate our CRM with a SAP ERP.
    We are using common distribution channel and division for maintaining sales area data in Products and Business Partners.
    We did mapped the common channel and division as well as we have done for non common in the  organization model.
    SALES ORG-CHANNEL -DIVISION
    1000                    00             00
    My problem is with several Accounts that have been wrong maintained in CRM s with non common division.7
    my problem is with several Accounts that have been wrong maintained in CRM s with non-common division.
    SALES ORG-CHANNEL -DIVISION
    1000                    00             40
    ERP refuse the combination cause is not a valid sales area data for master data maintenance, and I can´t  delete this info from sales area in the account
    if I avoid the error to be done in future (assigning wrong division). How can I prevent this wrong sales area data  to  try to be sinc in ERP  each time the account is updated  Can Anyone tell me how to prevent this error?
    Thanks in advance
    Marga Ribes

    Thanks Christophe
    I don´t need to  map the org model  cause it´s already fixed, I need to solve the problem for the account master data  wrongly maintained.  the accounts are maintained for
    1006-00-40  and each time that get updated and try to sinc a red bdoc raise with the same error. This sales area is not  valid in ERP.
    Marga

  • BP Creation in Web UI - How to enable Sales Area data?

    Hello Gurus
    We are using CRM 2007 and create BPs in CRM and then have them replicate to OLTP. This works as desired if I launch Transaction BP and maintain the record.
    But in Web UI, I dont see many of the fields that are necessary for replication such as Account group for R/3 customer acct group. Nor do I see a tab for sales area data maintenance. I am logging on to Web UI with SALESPRO profile. How do I enable enter of key information in Web UI BP maintenance, so that I could see the replication from CRM to OLTP R/3.
    Please advice.
    Thanks
    Jai

    Hi Jai,
    I am glad that the answer was helpful for you.
    In the create mode just the details view is available, as this is the way the component BP_HEAD is implemented.
    To understand this please open the component workbench, component BP_HEAD. Go to the runtime repository and compare the window CorpAccountNew(this is for the create mode) with the default window named MainWindow. In the first one just a sole view is offered.
    But after you change from the create mode to edit mode (push the save button and then the edit one) you will actually see all the assignment blocks. Maybe this helps. But if you still see the need of the sales area assginment block it can easily be made available via a customer UI enhancement.
    Good luck and best regards,
    Erika

  • Business Partner creation - Sales Area Data retrieves blank divisions

    During business partner creation, the sales area data assignment block will retrieve a list of all relevant sales organizations, distribution channels, and divisions that are replicated from ECC. This is working fine. However, it also adds to this list with the sales organizations, distribution channels, and blank divisions. Blank divisions do not exist in either ECC or CRM. It appears to be using the dummy division settings, but I have attempted to configure with the indicator "CRM Header Div. Active" as both active and inactive, to no effect. The only time I have been able to condense this list into a single line has been when I actually activated dummy divisions -- to which CRM would now retrieve only sales organizations, distribution channels, and blank divisions. This is not an ideal solution either.
    How do I get the system to remove the blank divisions from being displayed? It is very confusing to the users, not to mention polluting the screen.
    Example (both are being displayed, I only want the one with an actual value to be displayed):
    Sales Org = 1000, Dist Chan = 10, Division = blank
    Sales Org = 1000, Dist Chan = 10, Division = 10

    any insight woudl be much appreciated. thanks.

  • BP Sales area data can't be replicated without the tax classification saved

    Hi Gurus,
    We're facing a funny problem here. Our project is using CRM 7.0 integrate with ERP 6.0. CRM is acting as a leading system, which means BP would be created from CRM only and flows to ECC. At the very beginning, we were not able to replicate the BP sales area data to ERP, and an err msg in SMW01 says "tax classification not defined." even i've indicated the tax classification in the BP already. And the sales area data was stuck there forever, never go to ECC.
    Later we found out that, the tax classification must be saved before we maintain the sales area data. and it worked fine if we follow this rule.
    And we checked the middleware program, it always delete the tax classification when update the sales area from the CRM data flow.
    Please advice if this is the standard behavior, if yes, how to make the process make sense and prevent the data flow stuck.
    Thanks for your great help
    Rgs, Michelle
    PS: the mapping for tax is maintained correctly in both systems.

    Hi,
    Could you please tell me as to how did you resolved the above issue, I am currently facing a similar issue, I would be grateful for any help.
    Regards,
    Nitin Sharma

  • How to determine the sales area data

    Hi,
    If I know the sales organisation to which a user is assigned to how to find out the Sales office ,sales group,distribution channel and division associated with the sales org to which the user is assigned to ?

    hi gincy
    yeah there is a FM to get the info of the sales area data of user
    you just see a rule for the org model named
    orgman 12
    it actually drives the sales org info of the user assigned to the org unit
    i guess the FM name is
    CRMD_ORGNMAN_OBJECTS_7
    but you can confirm it by goin inside the rule ORGMAN12
    just use t code pfac
    and there in go inside the rule for org model
    and there in ORGMAN12 u can see the name of the FM
    best regards
    ashish

  • Taxes in billing document tab in sales area data in customer master record.

    Hi Gurus,
    I have a problem here. There is no country IN in the taxes in billing doc tab in sales area data. What is the settings for getting the same in customer master record?
    Please guide.
    Edited by: Chetan Barokar on Mar 17, 2008 3:56 PM

    Hi Chetan,
               Go to the transaction XD02 then enter your Customer Number which is giving problem then go to the Sales Area Data-->Billing Documents Tab,there you check whether you have entered the tax detailes or not,
    If not entered , enter the tax detailes.
    -->If the tax detailes not coming in the Customer master >Sales Area data> Billing Documents tab
    -->Also check the settings related to between Country (IN) and Tax Condition type (Tax Category) in the transaction OVK1
    -->If the Tax condition type not assigned to the country IN assign the tax type to the country IN in the transaction OVK1.
    -->Check OVK3 transaction also.
    I hope it will help you
    Regards,
    Murali.

  • Credit management....sales area data

    hi gurus,,
    I have some doubts in Credit Management>
    1. In my development Server....Customer Master data > Sales Area Data > Billing Tab Page>CREDIT CONTROL AREA...is not reflecting.
    using version 4.7... why is was not reflecting... any configaration settings is required??.
    Anybody having configuration material of CREDIT MANAGEMENT and FREE GOODS DETERMINATION..
    MAIL ID:::  [email protected]

    Hi ravi, 
      Notes on Credit mangement
    SAP SD Credit Management
    All business have their own credit management needs, SAP allows you to specify your own automatic credit checks based on a variety of criteria.  You can also specify at which critical points in the sales and distribution cycle the system carries out these checks.
    SM30 - Table/View
    V_TVTW - Define Distribution Channel
    V_TVTA_KKB - Assign sales area to credit control area
    V_T014 - FI - Define Credit Control Area
    T001CM - FI - Assign Permitted Credit Control Area to company code
    OVXG - Set up Sales Areas
    e.g.  Sales Organization
                      Distribution Channel
                                  Division
                      Distribution Channel
                                  Division
    FD32 - Customer Credit Management
    OVAK - Define credit limit check by sales document type
    Check Credit
    A - Credit limit check and warning message
    B - Credit limit check and error message (no sales order can be created)
    C - Credit limit check and delivery block (block delivery if hit credit limit)
    Options B and C -> used for checking open order values (when you create/change the sales order)
    D - Automatic credit control with open order values
    More control in transaction OVA8 - Automatic credit control
    You check for open orders and deliveries, or just open deliveries.
    or open order values with other options
    Credit group
    Allows you to combine different sales document types for the credit limit check
    VKM1 - Blocked SD Documents - Finance have to released the delivery block
    OVAD - Define credit limit check by delivery order
    whether the automatic credit check occurs at the time of delivery creation and/or goods issue
    OVA7 - Define credit limit check by item category
    Set whether to include/exclude item category for credit limit check
    OVA6 - Define credit group. You can groups together different business transactions which should be dealt with in the same manner with regard to the credit check.
    You enter the credit groups when you configure the sales document types for credit management and define the (D - automatic credit check).
    SAP default credit groups
    01 - credit group for sales order
    02 - credit group for delivery
    03 - credit group for goods issue
    OVA8 - Automatic credit control - Double click on the line items
    You can have the followings credit limit check :-
    Static
    Depends on the customer total value of open orders, deliveries, billing documents and open items.
    Open items
    No of days open
    Overdue open items checks is based on the ratio of open items that are overdue by a certain number of days.
    Max open items %
    The customer balance must not exceed a certain percentage.
    Oldest open items
    If you don't want to deliver to the customer at all when even only 1 invoice is overdue.
    Tick the Check for Oldest Open Item and Set the field Days oldest item = 1.
    Days oldest item
    No of days allowed for overdue or payment terms.
    Use of the credit check Oldest Open Item. If a user attempts to alter the order quantity of a released sales document
    that was previously blocked, it would be reblocked again by the system.  The system only reblocks the sales document if the new order quantity is above a certain % amount.
    Released documents are still unchecked
    The preset % is whatever you want to set it as when configuring your automatic credit processing. You enter a deviation % and number of days,eg, you can set it so that an order can be changed by up to 10% within 30 days of original order entry date without it going back on credit block.
    Next Review Date
    If a customer has a credit limit of 1000 USD, and you would like to restrict this credit limit only to be available in current month (say March). If the document day is in April then the credit limit is zero.
    You can use the "NextReview date" and "Number of days" fields and combined it with the "Last int.review" field in customer credit master "Status" view (FD32).
    VOKR - Display of work list for credit management (configure the display variant)
    Free goods determination
    Free Goods Determination in Sales Order
    Free goods has the following limitations:
    - Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: ‘With material 1, material 2 and material 3 are free of charge‘ or ‘If material 1 and material 2 are ordered at the same time, then material 3 is free of charge‘.
    - Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    - Free goods are only supported for sales orders with document category C (for example, not quotations).
    - Free goods are not supported for deliveries without reference to a sales order.
    - Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    - If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
    4.6x
    Not all Sales Order can be used for free goods determination.  You have to check the SD document category if it does not work.  Only category 'C' are supported.  Check transaction VOV8.
    Assume that you want to configure an inclusive FREE goods routine.  Customers must order a minumum quantity of 5 before any free goods can be assign.  For every quantity of 3, the customer will be given 1 free goods.
    WC07 - Maintain Number Range Intervals
    e.g.
    No   From number       To number
    01    0000010000         0000099999
    IMG -> Sales and Distribution -> Basic Functions -> Free Goods ->
    Maintain Access Sequences
    New Entries
    Acsq
    NA00
    Save
    Maintain Condition Types
    New Entries
    Ctyp   Name             AcSq
    FREE  Free Goods    NA00
    Save
    Maintain Pricing Procedures
    Procedures
    New Entries
    Procedure   Description
    FREE           Free Goods
    Select Procedure FREE then click Control data
    Step   Cntr   Ctyp
    10       10      FREE
    V/N6 - Activate Free Goods Determination
    Assign Order Type OR with Document Procedure A with Procedure FREE
    VBN1 - Create free goods determination
    e.g.  FREE inclusive
    Material  Min qty   From   are free good   Calc Rule   Free Goods
                           5           3                1                      1                1
    In this example, if you create a Sales Order for a quantity of 10, SAP will prompt you 7 as the customer order qty and 3 will be free.  Customer only pay for the 7 quantity.
    Reward points if it helpful

Maybe you are looking for