Attributes deletion in CRM

Hi Gurus ,
I would like to know how to delete a Marketing attribute & Attributes set in CRM system ,when i tried to delete i am getting following message " Attributes are in use deletion is not possible "
Is there any way to delete Marketing attributes in CRM system ?
Kindly let me know
Regards
Srinu.

Hi,
Depending on the issue you are facing maybe transaction CL6K will help you. With this you can delete an attribute from an attribute set even though more than 400 BPs are assigned to the attribute set. You can read more in oss note 772711
/Anders

Similar Messages

  • BP Relationship is not deleted in CRM up on deletion of Partner Func in ECC

    Hi,
    We have used CUSTOMER_MAIN and CUSTOMER_REL to download the customers and relationships into CRM system from ECC system. We downloaded the customers and relationships without any issues. The delta like if any partner function is added to the customer in ECC system those changes are flowing into CRM with out any issues but when some partner function is deleted in ECC those changes are not getting replicated in CRM system (if we delete any partner function for a customer in ECC the corresponding relationship is not getting deleted in CRM system). Please let me know your thoughts on this as i dont know whether it is a standard process or do we missing any?
    Thanks in advance.
    Rajinikanth G.

    Hi ,
    Can you check in tcode R3AC4 whether object class BUPA is defined or not.
    We can also run a request load r3ar4 which  is defined in r3ar2.
    Thank you,
    Gangadhar.S

  • How  to update marketing attributes in sap crm 7.0

    hi sap gurus,
    I want to understand how to update the marketing attributes in sap crm, basically I want the logic to update the marketing attributes in the system. which tables I should verify & then I need to write an abap program  to update/modify the marketing attributes.I know the beginning validations,  the bu_group =zul1-outlet master from but000 table , after that I am stuck up with the logic. I know the field which  I need to update: in table cabnt, atinn field.
    Edited by: packframe2585 on Feb 23, 2012 7:47 AM

    Hi,
    i´m using FM CRM_MKTBP_MAINTAIN_OW. But this is also not very good from a performance point of view.
    Kind regards
    Manfred

  • How Can I export a specific Business Attribute set from CRM and send it to SAP Cloud System

    Hi,
    I have a scenario, where I have Business Attributes Set in CRM.
    But I want to send specific (not all ) Business Attribute from CRM to Cloud System (C4C).
    Is is possible via some customization.
    Thanks and Regards,
    Amit Khatwani

    Hi Padma,
    Do we have a standard BADI delievered for this integration from CRM to C4C.
    Or the customer has to implement the custom BADI and enhance the existing
    message type (process)?
    Best Regards,
    Amit Khatwani

  • Authorization for Attribute Set in CRM

    I saw the authorization field 'Edit' and 'Assign' in attribute set in CRM (i.e transaction : CRMD_PROF_TEMPL)
    Can someone explain to me what does it mean ?

    Hello,
    first of all welcome to SDN. You will find a description how to use this fields in the CRM Documentation: <a href="http://help.sap.com/saphelp_crm50/helpdata/en/2b/59dc49c50911d3b29b0050da3ee986/frameset.htm">Working with Attribute Sets</a>. Have a look at the second last paragraph.
    Regards
    Gregor

  • Mass deleting marketing attribute assignments in CRM 3.1

    Hi anyone!
    I'm working in CRM 3.1 where we don't have the same Expert tools as in 4.0. Does anyone of you know another way of mass deleting marketing attribute assignments to BPs?
    Regards Camilla

    Hi again!
    Thanks, it looks like this solve my problem. Have you tested this program when the attribute set is assigned to a big amount of BPs (1.000.000)?
    C

  • Pricing condition deletion in CRM

    Hello!
    We're trying to delete pricing condition using CRMXIF_CONDITION_SEL_DELETE, but we are able to delete only a number of condition records at once.
    I've read the documentation  for this FM, but  i still can't understand how to delete particulary one pricing condition from condition table.
    Can anybody help me?
    Tnank you!

    Hi,
    I used function module 'CRMXIF_CONDITION_SEL_DELETE' to delete condition records. Below is the sample code,
    Data:  ls_data           TYPE bapi_ct_sel_opt_msg,
           lt_range          TYPE TABLE OF bapi_ct_cond_rec_sel_range,
           ls_range          TYPE bapi_ct_cond_rec_sel_range,
           lt_return         TYPE bapirets,
           lt_ret            TYPE bapiret2.
        ls_data-object_representation   = 'E'.
        ls_data-sel_opt-ct_application  = 'CRM'.
        ls_data-sel_opt-object_task     = 'D'.
          ls_range-fieldname    = 'ZZOPPORTUNITY_GUID'.
          ls_range-r_sign       = 'I'.
          ls_range-r_option     = 'EQ'.
          ls_range-r_value_low  = lv_guid.   
          APPEND ls_range TO lt_range.
          ls_range-fieldname    = 'KSCHL'.
          ls_range-r_sign       = 'I'.
          ls_range-r_option     = 'EQ'.
          ls_range-r_value_low  = 'ZZNE'.    "cond type
          APPEND ls_range TO lt_range.
          ls_data-sel_opt-range = lt_range.
    CALL FUNCTION 'CRMXIF_CONDITION_SEL_DELETE'
          EXPORTING
            data   = ls_data
          IMPORTING
            return = lt_return.
    * Committing the transaction
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          IMPORTING
            return = lt_ret.
    Regards,
    Arun

  • 0MATERIAL attributes deleted from the active version of the InfoObject.

    Hello Experts ,
    As per a Business requirement , I deleted some of the system defined attributes of the 0MATERIAL charecteristics , and found the new active version of 0MATERIAL is incompatible with the SID table , Attribute and text master data table. I tried to copy the original version of 0MATERIAL from the business content  but the system is not allowing me to do so , instead it duplicated all the attribute fields twice in the 0Material and created 3 version of 0MATERIAL  "active" , "revised" and "content".
    Also one user defined attribute BW_MATN was created , and now wants to get rid of that.
    I want to revert back the original master data field (attribute and text) and other technical settings of 0MATERIAL infoobject equivalent to that in Business Content, and should have ideally one active version of 0Material "   during that process if I require to loose the current master data that is fine.
    Kindly Advise how to achieve that .
    Regards
    Deblina

    As per a Business requirement , I deleted some of the system defined attributes of the 0MATERIAL charecteristics , and found the new active version of 0MATERIAL is incompatible with the SID table , Attribute and text master data table.
    You should have created a Z infoobject by the name ZMATERIAL by using 0MATERIAL as a template and then modified it (ZMATERIAL)  .
    Also if you find any attribute of an Infoobject is of no use then instead of deleting it just leave it as it is as SAP has provided it for some reason and you never know when you need them in future .
    And yes you cannot install the business content version of 0material if there is data in the master data table .
    By the way which version of BI are you working on ?
    If you are on  BI 7.0 SP 23 or higher (BW 7.3)  then there are some new additional functionality added to delete the master data with ease .
    Refer the below URL for the same
    http://scn.sap.com/community/data-warehousing/netweaver-bw/blog/2012/01/01/bw-730-different-ways-to-delete-master-data
    Hope this helps .

  • F4 Help for Territory Attribute - BAdi CRM_TERRMAN_ATTRIB (CRM 7.0)

    Hi,
    I have a Z field in my Territory. I am trying to implement F4 help for that using BadI CRM_TERRMAN_ATTRIB. Method : GET_F4_HELP_CUSATTR .
    But, I am not able to understand how can I impement this method to get F4 help. as It is returning One Interface which has no attributes , no methods.
    Please help me to implement this method such that I can get F4 help for my Custom attribute.
    Thanks,
    Sandeep

    Hi,
    I hope this might help you start with.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-5
    Follow this link, and search for "Using a variable from a calling program without passing it in parameter ".
    Regards,
    Susanta

  • Error message when deleting Business transaction: Activity in CRM

    Hi All,
    I am trying to delete a couple of Activities from CRM (Production system) and encounter two error message: "Enter a Business Partner" and "Administration header not found."
    I have tried three ways to delete/archive the activity numbers in the system:
    1) Using T code: CRMD_ORDER and then while in change mode - trying to delete the activities. When I tried this I get a warning message: "Enter a Business Partner" after I hit enter the warning: "Administration header not found." comes up and then takes you to the Easy access Menu after hitting enter.
    2)   I used T code SE38 to open program: "CRM_Order_Delete", here I entered the activity #s that I want to delete, the Activity Transaction type, select check box "Parallel" and then execute. I see a job log which says "Number of archived records = 3", the log shows that no records were deleted.
    3) I have also tried archiving using T code SARA. But this also didn't seem to work. Here, I entered the Archiving object: CRM ACTON, then click on Preprocessing. I created a variant with the transaction type and activity numbers then set the start time to immediate and executed (F8) it. Even then I was not able to archive these activities. I did set the activities to status Complete.
    Am I missing something? Appreciate your help.
    Regards,
    Ramesh
    Edited by: Ramesh Nallabelli on Oct 9, 2008 9:55 AM

    Received response from SAP support partner:
    Please verify first if the issue is caused by badi implementation
    of ORDER_SAVE badi. Please check method prepare and check_before_save.
    Maybe inside your implementation the function crm_order_read is called
    but that is not possible in case of deleting a document as document is
    not available anymore.
    If that doesn't work try this one:
    Please check to see if you have a badi ORDER_SAVE method
    CHANGE_BEFORE_UPDATE. Please deactiviate the ORDER_SAVE Badi and retestthe deletion.
    This is how we resovled our issue - hope this helps someone else:
    Check using T Code: SE80 to look for a BADI implementation which used BADI: ORDER_SAVE:
    SE80-> Package: Z* (look for custom packages) -> Look under enhancements for any BADI Implementations which have used ORDER_SAVE (double click implementation and in the right pane look under Definition name).
    Click 'Change' and deactivate this implementaiton. Now try to delete the CRM transaction. The error msg should not pop up now. Once deletion is completed reactivate this implementation.
    This is just a work around. The problem lies in the code and the code within the implementation should be debugged and fixed so that this error message does not come up again.

  • CRM line item status not updated when delivery is deleted in ECC

    Hi All,
    When order is created in CRM it gets replicated to ECC.When delivery is created in ECC, the System Status in CRM  at the line item level is changed to completed and also Delivery completed status is created in CRm..
    Now when we delete the delivery, the Delivery completed status is deleted in CRM but the Completed status is not changed to In Process.It remains as Completed.This used to work fine before we applied support packs last weekend.We are currently at support pack level 10 for CRM.
    Please advice
    Thanks and Regards

    In CRM4 standard, changes to orders in R/3 or ECC do not replicate back to CRM
    Check out this SAPnote
    https://service.sap.com/sap/support/notes/710874

  • Engineer to Relational Model: deleted attributes / undeleted columns

    Hello,
    I am using Datamodeler 3.3.0.744.
    I'm modifying an existing logical model: I'm deleting one or more attributes in an Entity.
    Then I'm executing "Engineer to Relational Model" in oder to get an up to date Relational Model (it existed already).
    The corresponding columns are not deleted in the Relational Model, even though attributes don't exist anymore at the logical level.
    I can't find any option available in order to do that...
    In the previous release (3.1), it worked fine, I could choose the behavior related to the deleted attributes (deleting or not deleting corresponding columns).
    Edited by: user4995029 on 27 mai 2013 02:43

    When your forward engineer for a 2nd time you should see a dialog that has the logical on the left and the relational on the right. Entities that are new or changes have an exclamation point next to them. If you open that you will eventually drill down to see the attribute/columns. Where your dropped an attribute it will say "To drop". The check box is unchecked by default. If you check it then when you forward engineer those should get dropped from the associated table.
    Is it not working that way in 3.3?

  • Deleting address usage not replicating in CRM

    Hello Friends,
    Below is the code to replicate the problem i have in my system. This report will check if the BP in processing has address usage of type 0003 which is Forwarding address in our system, then delete it and assign the standard address of BP as forwarding address usage 0003.
    The problem is when performing deletion the CRM system is not updated correctly. BDOC created doesnot deletes the entry in CRM.
    Note :- You must change BP data in BP screen. This report runs in R/3.
    Steps:-
    1. Create a new BP.
    2. Run program.
    2.1 Add two addresses to BP.
    3. Assign the non-standard as forwarding address or any other address
    usage you will put in the code. " lt_add-ADDRESSTYPE = '0003'.
    4. save it.
    This will trigger BDOC's to update CRM system. After the run you can see
    the difference between the BP address usage in two systems.
    Please advise what can be done?
    Regards,
    Pankaj
    REPORT  Z_BP_CHANGE                              .
    DATA: W_BUT020 TYPE BUT020,
          W_BUT021 TYPE BUT021,
          GUID     TYPE     BUT020-GUID,
          TASK TYPE BU_UPDFLAG.
    DATA : LT_ADD TYPE BAPIBUS1006_ADDRESSUSAGE occurs 0 with header line,
             LT_ADD_X TYPE bAPIBUS1006_ADDRESSUSAGE_X occurs 0 with header line,
             LT_RETURN TYPE STANDARD TABLE OF BAPIRET2.
    PARAMETER BP TYPE BU_PARTNER.
    *CHANGE ISU PARTNER
    CALL FUNCTION 'ISU_S_PARTNER_CHANGE'
      EXPORTING
        X_PARTNER      = BP
      EXCEPTIONS
        NOT_FOUND      = 1
        FOREIGN_LOCK   = 2
        NOT_AUTHORIZED = 3
        CANCELLED      = 4
        INPUT_ERROR    = 5
        GENERAL_FAULT  = 6
        OTHERS         = 7.
    SELECT SINGLE * FROM BUT021 INTO W_BUT021 WHERE PARTNER = BP AND ADR_KIND = '0003'.
    *CHECK IF ADDRESS USAGE IS ALREADY ASSIGNED. IF YES DELETE ASSIGNMENT
    IF SY-SUBRC = 0.
      SELECT SINGLE * FROM BUT020 INTO W_BUT020 WHERE PARTNER = BP AND ADDRNUMBER = W_BUT021-ADDRNUMBER.
      GUID = W_BUT020-ADDRESS_GUID.
      TASK = 'D'.
    *DELETE EXISTING ADDRESS USUAGE.
      PERFORM UPDATE_BP USING TASK.
    ENDIF.
    CLEAR: GUID, W_BUT021, W_BUT020, TASK.
    REFRESH: lt_add_x, lt_add.
    *ADD STANDARD ADDRESS USAGE
    SELECT SINGLE * FROM BUT020 INTO W_BUT020 WHERE PARTNER = BP AND XDFADR = 'X'.
    GUID = W_BUT020-ADDRESS_GUID.
    TASK = 'I'.
    *ADD STANDARD ADDRESS USUAGE.
    PERFORM UPDATE_BP USING TASK.
    MAINTAIN BP ADDRESS
    FORM UPDATE_BP USING TASK TYPE BU_UPDFLAG.
      lt_add-ADDRESSTYPE = '0003'.
      lt_add-STANDARDADDRESSUSAGE = 'X'.
      append lt_add.
      lt_add_x-STANDARDADDRESSUSAGE = 'X'.
      lt_add_x-ADDRESSTYPE = 'X'.
      lt_add_x-UPDATEFLAG = TASK.
      append lt_add_x.
      CALL FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE'
        EXPORTING
          BUSINESSPARTNER = BP
          ADDRESSGUID     = GUID
          ACCEPT_ERROR    = 'X'
        TABLES
          ADDRESSUSAGE    = lt_add
          ADDRESSUSAGE_X  = lt_add_x
          RETURN          = LT_RETURN.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDFORM.                    "UPDATE_BP
    Edited by: PANKAJ ARORA on Apr 22, 2008 4:15 AM

    Hello Sourabh,
    Thanx for your reply. The return is empty. All the changes are carried out perfectly except the updates in CRM. and only when the program does the deletion of the address usage, the BODC to CRM doesnot delete the address. It seems middleware buffering issue to me but not sure.
    Did you try to run this report and reproduce the problem in your system?
    Regards,
    Pankaj

  • HowTo: Delete a page attribute ?

    Hi,
    I'm on 620 system.
    I've developed a BSP application and now I try to delete a page attribut that are no longer needed...But How do I do it ???
    Second: When I try so search the forum for this kind of questions / answers I can't use BOOLEAN SEARCH ?
    Like this: Page attributes delete
    Then I ONLY want hits with these 3 words in it...like google.com
    //Martin

    Hi MARTIN.
    If you just want to delete the page attributes,you can delete the line from your tab page attributes .
    You can click on the attribute on the page attribute tab and you will get the list of where it is used and you can delete it from there manually.
    As for searching is concerned,you can use Google  itself to search SDN .
    In your search on google.com use
    "Page attributes delete"  site:sdn.sap.com
    Regards,
    Siddhartha

  • Extracting CRM Marketing attributes

    Hi all,
    I've to extract some marketing attributes to BW. There are no datasources available in rsa5. Marketing attributes are created in CRM through FM.
    I'm new to BW, can anyone help me?
    Thanks
    Kr.

    Hi,
    Please check this link below
    http://help.sap.com/saphelp_crm50/helpdata/en/51/a39a653491e549b4476d90ab4b7c86/content.htm
    I think these are correct,
    0CRM_MKTATTR_ATTR
    0CRM_MKTATTR_TEXT
    0CRM_MKTMETA_ATTR (metadata)
    0CRM_MKTMETA_TEXT (metadata)
    Procedure for Data Loading for CRM Marketing Attributes
           1.      Fill the ODS object 0ATR_DS01 using the DataSource 0CRM_MKTATTR_ATTR.
           2.      Load the texts for info object 0MKTATWRT using the DataSource 0CRM_MKTATTR_TEXT.
           3.      Load the metadata using the DataSources 0CRM_MKTMETA_ATTR and 0CRM_MKTMETA_TEXT.
    Business Partner Marketing Attributes
    Marketing attributes are used in CRM for business partner segmentation and can have single as well as multiple values (for example, hobbies), or can be created as intervals (for example, age from/to).
    The multiple value attributes can be extracted using a generic extractor to an ODS object in the BW system. The update to the business partner attributes as well as the attributes themselves strongly depend on the modeling of the marketing attributes in the CRM system. The delivered content is therefore not valid for all situations. For this reason, demo content is delivered with this InfoArea, which you can then use as a template for your own development. You can find this demo content under SAP Demo ®  SAP Demo CRM Marketing Attributes.
    Regards, ABY

Maybe you are looking for