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

Similar Messages

  • 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

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

  • Sales Area Data of BP unavoidable?

    Hi
    i'm workin in a CRM system that has been permanently disconnected from the ERP because of a spind off/management buy out
    I wanted to make standard transaction type CMIC (individual contract) in CRM usable, very very basic, without pricing functionality and any extras, just a manual amount of money to be edited in a product position and that's it.
    I get the error message that the currency is not there and that the sales area data of the BP is not accessable. I get these messages before providing an item oder material number. Just after providing the sold-to-party and pressing enter. No difference if i work in WebUI or in SAP GUI  CRMD_ORDER
    A check shows of the BP in role CRM000 sold-to-prty shows that indeed there is no sales area maintained and no sales area data accessible / all the fields are greyed out
    A check in the customizing shows one distribution channel and even a division but i think the data is corrupt, the sales area choosing fields in the BP are white without content, the BPs dont have any sales area data, all fields are greyed out. So there is no way to write any sales area data into the BP, it would be needed for hundreds of BPs anyway so this is not the way.
    Now the system insists on the currency in the transaction type CMIC. The currency is copied from the sales area data from the BP. It cannot be provided manually. I will have to find a way to achieve this. I just saw, that it is the same with transaction type TA, so i guess all the sales transactions will have that problem in common
    What can i do? I checked the org units in the transaction. They do have an attribute 'Currency' that is filled 'EUR' but the system doesn't care
    The weird thing is that opportunities (with the same BPs and the same product) can be created without errors - and there EUR is provided as currency in the item by default...?
    Any ideas
    Thx

    If you are a functional consultant
    Once the transaction's org determination is done, you can always check the information from the Header Organization tab. This is you know already. If you want to know the Sales Areas a Business Partner (sold-to) is maintained, then go the BP maintenance (Transactio BP ), select the appropriate role - in your case sold-to role of the BP. If you are already not in the Sales Area then click the Sales Area Data button in the toolbar. Then click Choose sales area button in the Sales Area section.Inthe popup, if you click the Maintained Sales Areas, you will see the actual Sales areas the customer has been extended to.
    I am sure you know the above facts too. Well,
    If you are a technical consultant
    The Sales Org details of the transaction can be erad using the function module CRM_ORGMAN_READ-xxx There are more than one FM to read depending upon where you want to read that from - like from the order buffer (good in BAdIs when creating / chaning the order) or fromthe DB. Pick one you want.
    To read the Sales area of a sold to BP, the data is available in the table CRMM_BUT_FRG0080 You can get the maintained sales area information for a given BP.  You can also use the function module CRM_BUPA_FRG0080_READ
    If this is not what you wanted, then you must rephrase your question for me to understand.
    Easwar Ram
    http://www.parxlns.com

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

  • CRM 5.0 Sales Area Data - Organization Tab

    Hi All,
    We have upgraded to CRM5.0 and as a result, under Sales Area Data a tab called 'Organization' has appeared and I cannot seem to remove it through field groupings even though all the fields available under field groupings are hidden.
    Under field groupings there are 3 fields for configuration:
    District
    Sales Group
    Sales Office
    These are all hidden. Yes on the Sales Area Organiation tab two greyed out buttons appear:
    Own Data (with create icon)
    Own Data (with delete icon)
    Also under sales area data there are other tabs such as 'Shipping' and 'Fact Sheet', all their fields are cojnfigured to be hidden and as a result their respective tabs (correctly) do not appear on the screen.
    Does anyone knowe if it is possible to remove these and what is the correct way to remove this tab from the screen?
    Many Thanks for any help/advice given.
    David

    Thank you, Gregor.
    I'm still confused by the following portion of the release notes "<i>The person and organization are saved with the target group."</i>
    It would be a problem for my company if organizations remained in the final target group.
    Thanks again, Matt

  • Create default sales area data on BP creation using BUPA_GENERAL_UPDATE

    Dear all!
    We have the following requirement: whenever a user creates an organization in WCUI, we need to create some default data for the BP in the background, such as relationships (employee responsible, etc) and sales area data.
    I have created an implementation for BADI BUPA_GENERAL_UPDATE and use it to add the desired data. For relationships, this is working just great, but I´m having trouble with the adding of sales area data, since the system is not properly saving the data. I use the following code:
    * Assign data for sales area
      MOVE: 'O 50000632' TO ls_sales_area-sales_organization,
            '01'   TO ls_sales_area-distribution_channel,
            '01'   TO ls_sales_area-division.
      ls_data-customer_group1 = '330'.
      ls_data-customer_group2 = '003'.
      ls_data-customer_group3 = '002'.
      ls_data-customer_group4 = '006'.
      ls_data-customer_group5 = '021'.
      ls_data-pay_guar_proc   = '0001'.
      CALL FUNCTION 'CRM_BUPA_FRG0010_ADD'
        EXPORTING
          iv_partner_guid = ls_changed_instances
          is_sales_area   = ls_sales_area
          is_data         = ls_data
          iv_x_save       = ' '
        IMPORTING
          et_return       = lt_return
          ev_error        = lv_error.
      CALL FUNCTION 'CRM_BUPA_FRG0010_SAVE_COMMIT'.
    Problem is, that with the call of
      CALL FUNCTION 'CRM_BUPA_FRG0010_SAVE_COMMIT'.
    I get a short dump of type "SYSTEM_ON_COMMIT_INTERRUPTED", but without the call, the sales area data is not saved. I tried the same code in a Z-report (not in a BADI) and it worked just fine.
    Any ideas on how to commit the data so the sales areas will be saved? Helpful answers will be rewarded!!
    Thank you all & Kind regards
    Christoph

    Hi Pratyasha!
    Thanks for your reply. I figured, that by explicitly calling the commit FM, system commit procedures are interrupted.
    The thing is, that just by calling the FM for adding the sales areas does not result in those sales areas acutally created. What I mean is, that after the BAdI is executed, no sales areas are maintained for the newly created customer. All the more funny, since this exact same procedure is working for creating relationships. See following code:
      READ TABLE it_changed_instances INTO ls_changed_instances INDEX 1.
    * Get BP-Number for sy-user
      CALL FUNCTION 'CRM_ISA_IUSER_GET_BP_TO_ALIAS'
        EXPORTING
          username         = sy-uname
        IMPORTING
          business_partner = lv_user_partner.
    * Map GUID to partner number
      CALL FUNCTION 'BUPA_NUMBERS_GET'
        EXPORTING
          iv_partner_guid = ls_changed_instances
        IMPORTING
          ev_partner      = lv_partner
        TABLES
          et_return       = lt_return.
      CLEAR lt_return.
    * Create employee responsible
      CALL FUNCTION 'BUPR_RELATIONSHIP_CREATE'
        EXPORTING
          iv_partner_1_guid = ls_changed_instances
          iv_partner_2      = lv_user_partner
          iv_relationship   = 'BUR011'
          iv_date_from      = sy-datlo
          iv_date_to        = '99991231'
          iv_testrun        = ' '
          iv_x_save         = ' '
          iv_xdfrel         = 'X'
        TABLES
          et_return         = lt_return.
    which is in the same BAdI and acutally results in this relationship beeing created for my newly created customer. Works fine, just not for sales areas.
    I´ll be grateful for any comments on that issue!
    Kind regards
    Christoph

  • User Exit for XD02 in Sales area data in Sales tab

    Hi Sap Gurus,
    I have a problem . I need help .
    The requirement is
    In XD01 transaction , In Sales area data, In Sales tab i need to add a Check box which i already have added.This check box refers to KNVV table-Zflag
    In VA01 transaction , In menu goto -> header -> Sales , In Additional data B .
    I have another Check box.  This check box refers to Vbaktable-Zflag .
    <b>I need the code and exact locations where to put this to get my issue resolved which is given below in Functional Description</b>.
    Functional Description where you can understand better.
       Our custom logic will be initiated once the Sold-to Party (VBAK-KUNNR) is entered for any order type.  When the sold-to party is entered the user exit program will check table KNVV for the custom field ZFLAG that corresponds to the “Print Prices on Delivery Note” flag (hereafter referred to as the Pricing Flag) and populate the same setting of the flag into the ZFLAG that will be on the “Additional data B” tab on a sales order at the header.  The user can manually change VBAK-ZFLAG Pricing Flag setting to something different than what is populated for the customer master level.
    If the user happens to change the sold-to party for any reason then the user exit program should take the following approach when populating the ZFLAG Pricing Flag in a sales order:
    -     Recheck the ZFLAG Pricing Flag setting in the customer master for the sold-to party that the user has newly selected.
    The user will still have the option to manually ZFLAG Pricing Flag on a sales order after the user exit program defaults it.

    Transaction Code - XD02                     Change Customer (Centrally)
    Exit Name           Description
    SAPMF02D            User exits: Customer master data
    No of Exits:          1
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Extend Sales area data of a BP via copy

    Hi,
    Is there any functionality in SAP CRM 2007 to extend the Sales area data for a BP via copying.
    Example: BP 'A' has been created for Sales area 'AB' and the relevant fields have been populated. Later on the BP 'A' needs to be extended to Sales area 'CD', 'EF' and 'GH'. Since only a few fields differ in the different Sales areas a copy of Sales area 'AB' to 'CD', 'EF' and 'GH' is requested. Is that possible?
    In ECC this is possible but I cannot find the similar functionality in CRM.
    Thanks for your help!
    BR,
    //Anders

    You can use AET to extend the sales area data of BP.  However, it wont add the fields automatically in GUI, But the generated fields are available in the relevant DB tables.
    BP GUI transaction is no more supported . Im not sure why you want to work on GUI.
    Regards,
    Shaik

  • 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

  • Importance of Sales Area Data for BP

    Please give me the various reasons for having or maintaining Sales Area for a Business Partner:
    _Explanation:_  What is the importance of maintaining Sales Area Data for BP.Please list out several points.
    As we know Sales Area is composed of : Sales Organisation, Distribution channel, & Division.
    Thanks & Regards,

    These are off the top of my head. I can reply a bit later to add some more.
    1) The pricing procedure (entered in the Billing Tab) which affects the LEAD, OPPT, AG, QCTR, and TA documents. Without the pricing of the product, the transactions cannot be executed and the total product value cannot be determined. Without a total dollar value, a TA doesn't make sense.                                    
    2) The S.O defines the legal terms for the product and if the BP wants to return the product they ordered, they have that information.                                   
    BB

  • Product sales area data missing in crm

    hi, expert
    I'm currently having a problem with some of the products that are being replicated from R/3 to CRM.Product sales data initial synchronization is complete from ecc to r3,user create order is ok in crm.After a period of time,product sales area data missing in crm,we don't know when is lost,the problem is that we can't do an order for several products because there's no data in the sales and distribution tab(Sales Org., Distribution Channel) of the product master in CRM.

    Hi ,
    What you can do is,
    Create a request for a material whose Sales Area data is missing in
    CRM , and perform the request load in transaction:R3AR4.
    And please check whether sales area data flows to CRM.
    Put a filter in txn:R3AC1, to download single material or material
    range.And before performing an initial load in txn:R3AS,please make
    sure that sales area data is missing in CRM.Now, perform the initial
    load in txn:R3AS.And please check whether sales area data flows to
    CRM.
    Check the  filter settings in transaction R3AC1 for
    object MATERIAL and please make sure that it would bring down all
    the expected materials from R/3 along with the sales area data. I guess there is some
    filter setting which is blocking it.
    Please check the entries you have maintained in table MVKE - the entries
    for the sales data maintained here must match with the ones maintained in the
    filters.
    thanks & regards,
    Krishnen
    Edited by: Krishnen Subramanian on Aug 9, 2011 8:47 AM

  • Trying to add sales area data to sold to party in CRM using

    Hi all,
    i am trying to add sales area data to a sold to party business partner and i used the BAPI BAPI_BUPA_FRG0010_ADD. it executes i dont get runtime error but i get the error "invalid sales and distribution area" in return table.
    also i see that the sales area data of the sold to party is not updated after i execute my program
    can anyone tell me what i am missing
    Edited by: jessica sam on Nov 13, 2008 8:17 PM

    hey Rob i dont know if the configuration is done.but if i try to create a sold to party business partner in the screen in CRM i sales area data tab----->sales area, i find the drop down list with the values for sales organization, ditribution channel and division.
    i am able to create a sold to party in CRM and it is replicating in ECC. but if i try to display the sales area data of a sold to party that i created using the function module BAPI_BUPA_FRG0010_GETDETAIL
    it throws me an error saying invalid sales area data.
    Also i find that data is there in CRMM_BUT_LNK0021, CRMM_BUT_LNK0031 tables but not even one entry in CRMM_BUT_LNK0011
    Also i find that data is there in CRMM_BUT_SET0020, CRMM_BUT_SET0030 tables but not even one entry in CRMM_BUT_SET0010
    is some thing missing in functional configuration. the CRM guy did an intial upload from R3 and brought the sales organization to CRM.

  • Sales Area Data isnt replicating from CRM to ECC

    Hi Gurus,
    We are replicating some BPs of certain groupings from CRM to ECC.
    We performed all steps relevant for this task mentioned in Best Practice u201CMaster Data Replication C03u201D. After performing the
    steps results are as follows:
    u2022     BP General Data is replicating without any trouble.
    u2022     When registering sales area data in CRM and trying to get this replication to ECC we see that the BP Sales Area data isnu2019t replicated.
    Monitoring SMW01.
    The BDOC BUPA_MAIN ended with the following error:
    Messages for business partner 0007000362: Fill in all required entry fields
    Action already taken:
    After reading this message I have reviewed the mandatory fields per Account Group in ECC and mapped them with the CRM ones. Even this changes I still can get sales area data in the ECC BPs replicated.
    Is there something I am missing here.
    Thanks for your help.

    Hi,
    Regarding debugging from CRM to R3. Please follow the below steps.
    There are 2 methods to debug the Business Partner (BP).
    First Method:
    1)     In CRM, Go to SM59 -> ABAP Connections => The ECC client -> See if the saved user (in logon details) that is used to connect to ECC from CRM is a Dialog user.
    2)     You can use transaction code SU01 to check User Type of User.
    3)     Deregister the Queue through SMQS.
    4)     Make changes to BP.
    5)     Go to SMQ1, Select the Queue name Double Click 2 times then select the Tool bar (Debug LUW).
    Second Method:
    1)     Put a break point in Function Module SMW3_MFLOW_UPDATETASKBDOC.
    2)     Create a BP and before save, type /h to activate debug, Mark update debugging option.
    3)     When stops in Function Module u201CSMW3_MFLOW_UPDATETASKBDOCu201D you must be sure to set header-dbgmode = 'X' this will make the BDoc stay stopped in SMW01.
    4)     Go to SMW01 and type /h and process the BDoc.
    5)     Put a breakpoint in Function Module u201CCRM_UPLOAD_AFTER_MAP_HANDLERu201D and be sure to change LV_SYNCHRON = 'X' this will allow you to connect in ECC.
    If the variable LV_SYNCHRON does not have any value, then it will work as background task, if the value is filled with the value u2018Xu2019, then it will allow debugging in R3.
    And another point to be noted here is, the user type of the R3 should be Dialog User. If the user is not dialog, then it will not connect with R3.

Maybe you are looking for

  • Toxic event in iCal crashes iCal, iPhone, & MobileMe

    Somehow I've posted a "recurring" event in iCal that starts on 10/27/08 and ends on 10/19/08. This event appears three times on the calendar. When I delete it, it reappears immediately. My MobileMe, iPhone, and iCal all crash when trying to draw the

  • My iPhone no longer works with external speakers

    Since upgrading to the 3.0 software, my iPhone (the original 2G model) no longer works with the speakers I have, or with my DVD/surround system. Previously it worked fine! Has anyone else experienced this. I'm so disappointed, as I use the speakers/s

  • Display PDF in Popup / How to do this?

    Hi folks, I'm trying to establish a popup in one of my WD4As which I want to display a PDF which is stored on the application server. Here is what I do: 1. Collect Data from User Input / Runtime Output of WD4A 2. Send it to a XSLT Transformation and

  • Missing Invalid Format option with Spry TextField

    I am inserting a Spry Validation Text Field into a form for an email address. The only options I have from the preview states menu in the property inspector are these: Initial, Required and Valid. There is no option for Invalid Format. I am following

  • How to create hierarchies in Bex queries?

    Hi All, I am new to query designer tool, can you please help me how to create hierarchies in Bex queries using query designer tool? Thanks in advance...