‎2006 Dec 14 3:10 AM
Hi,
Currently I have a requirement to synchronize composite role menus in PFCG. I tried using SM35 record and then create program. However, when program is created field "BDC_SUBSCR" "SAPLPRGN_TREE xx" is missing and so it is not working. Is there a way to fix this? or possibly a BAPI to help in doing this task?
Thanks a lot.
‎2006 Dec 14 4:33 AM
Hi Robert,
Welcome to SDN.
Transaction PFCG is an enjoy SAP transaction and is quite hard to do BDC program within.
Perhaps you can use these BAPI/FM instead.
ALE_JOBROLE_CLONE
BAPI_CONVERT_DATA_FROM_AGR
BAPI_CONVERT_DATA_TO_AGR
BAPI_JOBROLE_CLONE
PFCG_COPY_AGR_GET_NEW_NAMES
PRGN_PFCG_CREATE_CATEGORIES
PRGN_PFCG_CREATE_CATS_NEW
PRGN_PFCG_GET_ALL_CATEGORIES
PRGN_PFCG_PREPARE_TREE
PRGN_PFCG_START
PRGN_PFCG_START_LOAD_ROLES
PRGN_PFCG_START_LOAD_TRANSMISS
PRGN_PFCG_START_SHOW_DYNPRO
KPEP_WL_ROLE1_MAINTAIN_ASSIGNS
BAPI_BUPA_ROLE_ADD
BAPI_BUPA_ROLE_ADD_2
BAPI_BUPA_SET_ROLE
Hope this will help.
Regards,
Ferry Lianto
Please reward points if very helpful.
‎2006 Dec 14 4:33 AM
Hi Robert,
Welcome to SDN.
Transaction PFCG is an enjoy SAP transaction and is quite hard to do BDC program within.
Perhaps you can use these BAPI/FM instead.
ALE_JOBROLE_CLONE
BAPI_CONVERT_DATA_FROM_AGR
BAPI_CONVERT_DATA_TO_AGR
BAPI_JOBROLE_CLONE
PFCG_COPY_AGR_GET_NEW_NAMES
PRGN_PFCG_CREATE_CATEGORIES
PRGN_PFCG_CREATE_CATS_NEW
PRGN_PFCG_GET_ALL_CATEGORIES
PRGN_PFCG_PREPARE_TREE
PRGN_PFCG_START
PRGN_PFCG_START_LOAD_ROLES
PRGN_PFCG_START_LOAD_TRANSMISS
PRGN_PFCG_START_SHOW_DYNPRO
KPEP_WL_ROLE1_MAINTAIN_ASSIGNS
BAPI_BUPA_ROLE_ADD
BAPI_BUPA_ROLE_ADD_2
BAPI_BUPA_SET_ROLE
Hope this will help.
Regards,
Ferry Lianto
Please reward points if very helpful.
‎2006 Dec 14 6:55 AM
Hi Ferry,
Do you have a sample code on how use this? Sorry for the stupid question since I'm just a newbie on BAPI. From the looks of it BAPI_CONVERT_DATA_TO_AGR is the one that is most applicable to what I need.
thanks a lot