09-14-2011 12:00 PM
Dear all,
I would like to modify organisational elements related data of a role, using a program. These values are stored in AGR_1252 and AGR_1251 table. Kindly let me know if any BAPI or FM or RFC's are available.
Thanks in advance!
Regards,
Aravind.
09-14-2011 12:10 PM
I would like to modify organisational elements related data of a role, using a program. These values are stored in AGR_1252 and AGR_1251 table. Kindly let me know if any BAPI or FM or RFC's are available.
Hello Aravind,
AFAIK the authorization data for org elements are stored in AGR_1252 & not in AGR_1251!
If you want to modify the org. elements you should use the FM PRGN_1252_SAVE_ORG_LEVELS. After the call to the previous FM you need to call the FM PRGN_UPDATE_DATABASE to write the data in the database(the change docs are written as well).
BR,
Suhas
09-14-2011 12:03 PM
Hi Aravind,
Check with this PRGN_CHANGEDOCUMENT_WRITE_1252.
Regards,
Madhu.
09-14-2011 12:10 PM
I would like to modify organisational elements related data of a role, using a program. These values are stored in AGR_1252 and AGR_1251 table. Kindly let me know if any BAPI or FM or RFC's are available.
Hello Aravind,
AFAIK the authorization data for org elements are stored in AGR_1252 & not in AGR_1251!
If you want to modify the org. elements you should use the FM PRGN_1252_SAVE_ORG_LEVELS. After the call to the previous FM you need to call the FM PRGN_UPDATE_DATABASE to write the data in the database(the change docs are written as well).
BR,
Suhas
09-15-2011 1:01 PM
Dear Suhas,
Thanks a lot. Its working.
Previously, the mistake i have done is I have not used FM 'PRGN_UPDATE_DATABASE'.
Just out of curiosity, do we have any BAPI/RFC to make the changes? I tried checking, but could not find an apt one
Thanks,
Aravind