I'm looking for some easy way to automatically create a set of derived roles (with different organizational levels defined in itab) for specific imparting role. Any f-modules or your implementation experiences I could loot at?
If you debug PFCG, SAP uses the FM 'PRGN_1251_SAVE_FIELD_VALUES' to update AGR_1251 & the DB changes are actually committed in through the FM 'PRGN_UPDATE_DATABASE'.
Check if these FMs help.
it seems that there in no easy way I did it step by step ...