on 11-11-2010 12:48 PM
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 Anubhav,
Did you get any way to delete an attibute from position programmatically?
I am having the same requirement now.
Please set me know - its really urgent.
Thanks and Regards
Argha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
manually you can achieve this from PPOMA_BBP
you can delete the attribute value at root level if you want. i believe there are two icons one is insert and and another one is for deletion.(in the ATTRIBUTES tab in the Organisation structure)
or
position wise you can check EXCLUSIVE so that this position attribute value treated as inactivate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mutthu,
I tried checking the EXCLUDE flag, it works fine I mean the link disappears from Shop in EBP but the issue is when using the FM BBP_UPDATE_ATTRIBUTES for passing attribute id to table IT_ATTR_P it must be in the same case like Corporate if passed as corporate or CORPORATE will not work this is causing a problem as ABAP converts all character string to upper case.
I can not delete it from root org as it is defined in multiple orgs..and also i need to DELETE (that entry should not be in PPOMA) it from attributes and not exclude.
Many thanks for the help, let me know if there is more,
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?
Hi,
The business requierment is we need to remove a punchout catalog assignment from Org Unit. Some how the punch out catalog was assigned at org unit level under each state so there are many entries that needs to be deleted. We can not do this manually and so I am looking for a way to delete (remove that line) from attributes of org programatically.
Thanks,
Anubhav
Hi
Remove the attribute value of( punch out catalog) CAT in the organisation at the root level. so no one inherit the punchout catalog anymore.
so you need to find out at what root level they have assigned this CAT value. if you are deleted only there all inheritance will lost the value.
Functional approach is good rather than technical approach in this matter.
Muthu
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.