Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PFCG_ORGFIELD_DELETE

Former Member
0 Kudos

Hello Experts,

We have a system where personnel area was created as org field but the derived roles also have the values maintained at field level. This is causing issues whenever we generate the derived roles; hence thinking of deleting this org level. Will all valules be lost? SAP notes suggest default values will reflect in the roles. What would that mean considering that PERSA usually is blank in the default.

Thanks in advance for your inputs

Vijaya

3 REPLIES 3

sdipanjan
Active Contributor
0 Kudos

Deletion of Org. fields will not help in this case. By the way, in HR you should not alter the standard fields in such a way as non-HR objects. Instead, you should check on integrating different Infotype contents with IT0001 to use them in some custom objects.

In your case, do the necessary changes in base role for all non Org. level fields and copy the into the derive roles. The Org. level nature and values of PERSA has no influence on this. It's all about maintaining those fields incorrectly in derive roles which shouldn't have happened.

Regards,

Dipanjan

Former Member
0 Kudos

Hi Vijaya

Values for PERSA wont get lost after executing the program PFCG_ORGFIELD_DELETE. But you need to be very careful while executing this program. If you want to have seperate values in parent and derived roles for PERSA then you need to have the field at org level. Thereon you would need to ensure that value for the same is being maintained at org level.

Seems like some cleanup effort is required for your system.

Thanks.

Anjan

Bernhard_SAP
Employee
Employee
0 Kudos

Hello,

don't you think repairing the roles once will be the better way then deleting the org-level field itself?

If values have been entered on field level directly, simply remove them by using the dustbin icon. then the field gets back its org.-field status. Of course if the direct maintenance has been performed in the master role, all derived will get that field value from the master. So check the master role as well. As soon the dustbin icon appears left to the field, the value has bene entered directly.... (that is a save indication).

b.rgds, Bernhard