How to delete an attribute?

Hi Experts,
We are on SRM 5.0
How to delete an attribute from Attributes tab of Organization/ Position or User?
For eg: The attribute Catalog ID i.e. CAT is there at Organization level, Position and also User levels.
Suppose there are 3 Lines for CAT in Attributes tab. I want to delete one..how to do this?
I tried using the FM BBP_UPDATE_ATTRIBUTES By passing only one record in IT_ATTR_P and setting REPLACE_P flag but it does not changes anything.
Thanks for the help,
Anubhav

Hi
i believe CAT value  is a case sensitive field .
Why are you using FM to update the ATTRIBUTE values?
Corporate - Dont want to keep this value for as CAT . if you dont want this catalog value.you need to find out where in the root and make it disable or Delete it.
some sample code
https://wiki.sdn.sap.com/wiki/display/SRM/CodeSample3UpdatingExtendedAttributes(Storage+Location)
what is your business requirement ? Dont want Corporate catalogs any more for all the users?

Similar Messages

  • How to Delete Marketting Attribute

    How to delete marketing attribute when it is assigned to marketing attribute set  and some accounts  are already created with  use of these marketing attribute.
    Kindly help

    thnx man i am able to delet it using this
    BTW
    For marketing attribute if  you select format type as char and try to enter value as email id  system does not allow ot enter gives serror as invalid type
    kindly help
    Edited by: amit mane on Aug 29, 2011 1:24 PM

  • How to delete duplicate attribute in on premise server for office 365 dir sync tool

    Hi,
    Please anyone help to how to remove duplicate attribute in on premise server for office 365 dir sync tool .
    While running the dirsync tool iam getting the below error : 
    "Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [ProxyAddresses smtp:[email protected],SMTP:[email protected];].
     Correct or remove the duplicate values in your local directory.  Please refer to http://support.microsoft.com/kb/2647098 for more information on identifying objects with duplicate attribute value"
    Still i am troubleshooting to reslove this problem . I have run the ID Fix tool there i could see some 10 duplicate errors . Next what should i do , please anyone help me to find it
    Thanks.....

    Hi,
    Please anyone help to how to remove duplicate attribute in on premise server for office 365 dir sync tool .
    While running the dirsync tool iam getting the below error : 
    "Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [ProxyAddresses smtp:[email protected],SMTP:[email protected];].
     Correct or remove the duplicate values in your local directory.  Please refer to http://support.microsoft.com/kb/2647098 for more information on identifying objects with duplicate attribute value"
    Still i am troubleshooting to reslove this problem . I have run the ID Fix tool there i could see some 10 duplicate errors . Next what should i do , please anyone help me to find it
    Thanks.....

  • How to delete an attribute of a XMLNode ?

    Hello!
    Any method to delete an attribute of a XMLNode ?
    Thank you!

    You are deleting the object. Try this in your movie - make a
    button, give it
    an instance name 'btnDelete', and using your existing Class:
    var c:DeleteThisClass = new DeleteThisClass();
    btnDelete.onPress = function() {
    trace("c = "+c);
    var bDelete:Boolean = delete c;
    trace("bDelete = "+bDelete);
    trace("now c = "+c);
    You'll see this traced:
    c = [object Object]
    bDelete = true
    now c = undefined
    However, in your Class, you are assigning an enterFrame
    handler to the _root
    of your movie. Deleting the Class object won;t delete this
    handler, as it is
    independent of the Class object. Make sense?
    Pete
    Remove '_spamkiller_' to mail

  • Delete Context Attribute dynamicalluy

    Hi,
    We have a requirement where context attributes have to be created and deleted dynamically based on number of parameters. Dynamic creation part is ok but i don't know how to delete context attributes dynamically. I'm using NWDS04 sp16.
    Any help is appreciated.
    Regards,
    Abhinav

    from https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/progmodel/api/IWDNodeInfo.html
    <i>
    Node infos also provide a mean to dynamically add child nodes (there are different methods for unmapped, mapped and recursive nodes) or attributes (unmapped or mapped, several methods to add attributes automatically from external meta data). You cannot remove such nodes or attributes afterwards, you can only reset the whole context to its initial state via IWDContext.reset(boolean).
    </i>

  • How to delete Attributes???

    Dear all
    I already created Hierarchy, Category, set type and attributes.
    Now because of my mistake I assigned wrong attributes to the wrong set type.
    Now I want to delete it but I cant delete it because I already assigned it to set type and set type to category and category to hierarchy.
    Can anybody tell me how can I delete it?
    If possible pls tell me whole procedure.
    Thanks in advance
    Jayesh patel

    Hi Michal,
    Currently Iam facing the same problem like you, I am not able to delete the Attribute value in the attribute. I have deleted Attribute values in the product master for all the product. Then I tried to delete but it is not allowing me to delete.
    Can you please help me.
    Also Iam not able to find the program-comm_iobj_recateg.
    Iam using CRM 5.0, sp8.
    Thanks in advance.
    Regards
    Pramod

  • How to delete a node based on some attribute value

    Hi,
    I want to delete one node from xml file.
    My XML file is given below::::
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <config>
    <employeeDetails>
    <employee id = "1" name = "aa" salary = "1000" />
    <employee id = "2" name = "bb" salary = "2000" />
    <employee id = "3" name = "cc" salary = "3000" />
    <employee id = "4" name = "dd" salary = "4000" />
    </employeeDetails>
    </config>
    Lets say i want to delete the row whose id = "2" means whole employee node of id 2, but i don't know how to delete?
    Please somebody help me its very very urgent.

    madforjava wrote:
    Please somebody help me its very very urgent.Is someone going to die if you don't get answered within a couple of minutes?

  • Reg:How to delete the column in table control also from database table.

    Hi Experts,
    Once again thank u all for giving the responses.
    one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
    With Regards,
    Saroja.P.

    Hi,
    If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
    "This portion of code inside the LOOP...ENDLOOP.
    IF sy-ucomm eq 'F_DELETE'.
       gt_itab2-check = mark.  " Store the MARK field status into your internal table's correspoding field 'check'
      MODIFY gt_itab INDEX tabcontrol-current_line.
    ENDIF.
    iF sy-ucomm eq 'DELETE1'.
      DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
    ENDIF.
    Now you can modify your database table using the MODIFY statement.
    MODIFY ZDB FROM TABLE gt_itab.

  • How to delete the duplicate email address in BP master data

    Hi,
    When  you get an email ids from the third party vendor and you are loading into CRM BP master data.  how to delete the duplicate email address already exits in the system.  In CRM you can create the same BP with different id.   I would like to know how to delete the email address during importing email addresses from the third party tool.
    During the campaign you are sending email to all your customers, when the customer want to unsubscibe the email address from your list, how to unsubcribe the email address and how to updat the BP master data. 
    If you are sending the email to customer, you are using html or simple text, if the customer wants only html or simple text, how you to specify in the system?
    thanks,
    arul

    Hello Arul,
    welcome to the SDN CRM Development forum.
    1. I think you should clear the data with duplicate E-Mail adresses in the external tool.
    2. Unsubscription could be done by a Marketing Attribute which could be set by using a Target Group which is created by Campaign Automation. Have a look at this Toppic. There is also a Best Practice avaliable at http://help.sap.com/bp_crmv340/CRM_DE/index.htm.
    3. Also HTML or Simple text can be mained in a Marketing Attribute. You have to use different Mail Forms to which are sent to different Target groups.
    Regards
    Gregor

  • How to delete the record in the table without using lead selection?

    hi,
    I have added the separate column "delete" to the table uielement and so for each record or row of the table the appropriate "delete" link to action will be there................the code below works when the particular row is selected through lead selection only.......
    help me how to delete without using lead selection.....
      DATA:
      NODE_MODULE                         TYPE REF TO IF_WD_CONTEXT_NODE,
      ELEM_MODULE                         TYPE REF TO IF_WD_CONTEXT_ELEMENT,
      STRU_MODULE                         TYPE IF_V_MODULE=>ELEMENT_MODULE .
       data itab TYPE TABLE OF zac_modules.
      navigate from <CONTEXT> to <MODULE> via lead selection
      NODE_MODULE = WD_CONTEXT->GET_CHILD_NODE( NAME = `MODULE` ).
      get element via lead selection
      ELEM_MODULE = NODE_MODULE->GET_ELEMENT(  ).
      get all declared attributes
      ELEM_MODULE->GET_STATIC_ATTRIBUTES(
        IMPORTING
          STATIC_ATTRIBUTES = STRU_MODULE ).
    NODE_MODULE->GET_STATIC_ATTRIBUTES_TABLE(
        IMPORTING
         TABLE  = itab )
    DELETE itab WHERE zmodule_id = STRU_MODULE-zmodule_id.
    CALL METHOD NODE_MODULE->BIND_TABLE
        EXPORTING
          NEW_ITEMS            = itab
       SET_INITIAL_ELEMENTS = ABAP_TRUE
       INDEX                =
    ENDMETHOD.

    Hi  ,
    The onclick event provides you with a standard paramater "CONTEXT_ELEMENT" which has the element from which the event is triggered.
    so you can declare this in the handler(if it is not there) and use it as follows.
    CONTEXT_ELEMENT  TYPE REF TO IF_WD_CONTEXT_ELEMENT  an importing paramater.
    DATA:
    NODE_MODULE TYPE REF TO IF_WD_CONTEXT_NODE,
    ELEM_MODULE TYPE REF TO IF_WD_CONTEXT_ELEMENT,
    STRU_MODULE TYPE IF_V_MODULE=>ELEMENT_MODULE .
    data itab TYPE TABLE OF zac_modules.
    CONTEXT_ELEMENT->GET_STATIC_ATTRIBUTES(
    IMPORTING
    STATIC_ATTRIBUTES = STRU_MODULE ). "Using the context_element paramater to get the static attributes.
    NODE_MODULE->GET_STATIC_ATTRIBUTES_TABLE(
    IMPORTING
    TABLE = itab )   "getting all the data.
    DELETE itab WHERE zmodule_id = STRU_MODULE-zmodule_id. "deleting the particular row from the table and binding it.
    CALL METHOD NODE_MODULE->BIND_TABLE
    EXPORTING
    NEW_ITEMS = itab
    * SET_INITIAL_ELEMENTS = ABAP_TRUE
    * INDEX =
    thanks,
    Aditya.

  • How to Change an Attribute of A SET TYPE in SAP CRM

    Hi ,
    I have created an ATTRIBUTE through comm_attrset, and assigned it to a SET TYPE. Now I wanted to change the data type of this attribute. Its not allowing me to delete it, as its already assigned to teh SET TYPE. Moreover the set type is also not getting deleted as its assigned to a category ID.
    Kindly let me know how can I change the attibute , if any one of you have come accross such situation.
    Thanks
    Asish
    Edited by: Asish Dash on Sep 8, 2009 10:57 AM
    Edited by: Asish Dash on Sep 8, 2009 10:58 AM

    Hi Manish,
    From my experience, you cannot change an existing attribute of a set type (esp. when it has a dependency).
    You need to delete the attribute, save the changes and then re-create the attribute with new value table.
    Also remove any dependencies before deleting the attribute.
    Regards,
    Vartika

  • How to create a attribute to context node with the structure that is in DDIC

    Hi,
    I have created a 3 value attributes while creating a view.
    now i have changed the name of the one of the field in my own database table.
    now the problem is, when i open the webui and try to insert a row. i am getting error like "there is no field with that name(previous name) in collection".
    that is not showing the new name that i have changed. so i deleted the attribute from my view and tried to add the attribute again. and while adding a single attribute it is not taking the ddic structure. and one more problem is, when i open the ui it is showing an error like "  the attribute BaseEntityName is not defined or is still initial  "
    someone help me how to add the one more attribute from the same structure & how to provide BaseEntityName.
    Regards,
    Harry

    Hi Harry,
    If my understanding is correct you have added a attribute with name "ZX" and now you have changed the name of the field to "ZZX" and when you try to add the attribute it gives an error.
    In this case, if you are trying to add a attribute with the same name as you have used before. it will not allow so better to use a new name.
    If the attribute is there and if you are not able to get or set the value of it, Please change the attribute name in the getter and setter methods in the set and get property method call, because by default SAP generates a hard coded text for your attribute name in the methods and if you change the name of the field this will not change.
    Thanks,
    Ashok N.

  • How to remove xmlns attribute from XML tag?

    Hello!
    I have a XMLType document:
    --- P R O B L E M # 1 ---
    <?xml version="1.0" encoding="windows-1257" ?>
    <RESPONSE xmlns="http://testserver" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://testserver response.xsd">
    <DATA REQUEST_ID="111">
    <ENTITY name="PACKAGE_001">
    <ATTRIBUTE name="PERS_ID" value="1111" />
    <ATTRIBUTE name="FIRST_NAME" value="OLGA" />
    <ATTRIBUTE name="SURNAME" value="NOVIKOVA" />
    </ENTITY>
    </DATA>
    </RESPONSE>
    I very need to remove from RESPONSE tag all addition information. Result I need is:
    <?xml version="1.0" encoding="windows-1257" ?>
    <RESPONSE>
    <DATA REQUEST_ID="111">
    <ENTITY name="PACKAGE_001">
    <ATTRIBUTE name="PERS_ID" value="1111" />
    <ATTRIBUTE name="FIRST_NAME" value="OLGA" />
    <ATTRIBUTE name="SURNAME" value="NOVIKOVA" />
    </ENTITY>
    </DATA>
    </RESPONSE>
    What can I do in this situation? My Oracle version is 9.2.
    --- P R O B L E M # 2 ---
    How I can create from source XML this one:
    <?xml version="1.0" encoding="windows-1257" ?>
    <MY_RESPONSE>
    <RESPONSE xmlns="http://testserver" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://testserver response.xsd">
    <DATA REQUEST_ID="111">
    <ENTITY name="PACKAGE_001">
    <ATTRIBUTE name="PERS_ID" value="1111" />
    <ATTRIBUTE name="FIRST_NAME" value="OLGA" />
    <ATTRIBUTE name="SURNAME" value="NOVIKOVA" />
    </ENTITY>
    </DATA>
    </RESPONSE>
    </MY_RESPONSE>
    Thanks for your answers!
    Flu

    Maybe the problem#1 can be solved with a simple pl/sql using REPLACE statement. start with the <RESPONSE and look for the end > and get the entire string and replace that with only <RESPONSE> or maybe you can achieve this using xmldom to delete the attributes as part of the element.
    PRoblem#2 can be solved in this way.
    select xmlelement("MY_RESPONSE",
    xmltype('<RESPONSE xmlns="http://testserver" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://testserver response.xsd">
    <DATA REQUEST_ID="111">
    <ENTITY name="PACKAGE_001">
    <ATTRIBUTE name="PERS_ID" value="1111" />
    <ATTRIBUTE name="FIRST_NAME" value="OLGA" />
    <ATTRIBUTE name="SURNAME" value="NOVIKOVA" />
    </ENTITY>
    </DATA>
    </RESPONSE>')).GetClobVal()
    from dual
    /

  • How to delete a customize table

    HI,
    I need to delete a customize table . But while trying to delete the table it's showing a message " Still used in dictionary. can't delete'. because this table is used by some programs and search helps. How to delete the table?
    Thanks & regards
    sandeep

    Thanks for ur rely! but deletion of table is only possible when it refer  to nothing or refers to only abap programs  . Because my program refers to some search helps and screens and programs i am not able to delete it.  Even in SE56 and SE57  showing the same message.
           Is there any way to delete the table with out affecting the programs and search help( without commenting the part of programs that uses tha table and deleating the search help).
        Is it possible to create anather customize with same attribute and fields and replacing the new table with old table.
    Thanks @ Regards
    sandeep

  • Deleting inherited attribute using FM 'BBP_UPDATE_ATTRIBUTES'

    Hi Forum,
    I am trying to delete one value for attribute CAT using FM BBP_UPDATE_ATTRIBUTE , this attribute value is Inherited but I am unable to delete it.
    I tried this:
    1. Set the inherited flag to space using the same FM (in PPOSA_BBP I can see that inherited checkbox is not checked now)
    2. Try deleting the attribute using same FM (now the inherited flag is SET in PPOSA_BBP instead of deleting the attribute value)
    Is it not possible to delete inherited attribute or set inherited to space in PPOSA_BBP using BBP_UPDATE_ATTRIBUTES FM ?
    Another query is in this FM only USER_ID_P and ORGUNIT_ID_P are import parameters, how can we update attributes of a POSITION using the FM?
    Thanks,
    Anubhav

    Hello Anubhav,
    Inheritance between objects cannot be managed by any function module.
    Even if it can be done with a function module i don't know, it will be overwritten by your current customizing ( OOATTRCUST transaction) for attribute CAT.
    Regarding attributes update for positions, did you try with import parameter IS_OBJECT (OTYPE = 'S' and OBJID = position ID) ?
    Regards.
    Laurent.

Maybe you are looking for

  • F110 Payment run - problem with DME file

    We are using a custom Payment medium Program for Colombia to generate a DME file. The problem is that after scheduling the Payment Run the user is trying to download the DME File into a folder on the PC to send to the bank. When the user clicks on th

  • ExportPDF won't convert my PDF

    "export wegen Sicherheitseinstellungen nicht möglich" was muss ich wo ändern?

  • I-button on a Vidcast/Vodcast

    Hi, Is there any way to get the i-button on an episode listing to work on a Vidcast? I can get it to work on a traditional Podcast but not on a Vidcast. In fact, I can't find a Vidcast in the Podcast/Vidcast category where the i-button works but when

  • Any news on arch and boxee-beta?

    i cant find much on whats going on with boxee-beta and arch.  i checked archwiki, but not much there...any updates?

  • FM to extarct and update into a structure

    Hi All, i have a requirement , where i need to extract the data from two tables in R3. Those two tables have the same fields but the user may post transaction in any table. so i have to extract the data from those two tables. any one can help with th