cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using a BAPI or functional module to add a catalog to a single role

HarryElliott
Discoverer
0 Likes
1,116

Hi all,

I have a task to create many roles (T-Code: PFCG) but need to do so using ABAP (using eclipse for the editor). The creation of roles is fine (using FM: PRGN_STRU_SAVE_DEFINITION) but the problem is I cannot find anything to add a Fiori launchpad catalog to the role created. The task requires that it is automated and so I cannot go into PFCG and add the catalog manually.

I have tried to work around this by using a recording but this also seems to not work.

So, is there a BAPI or functional module to add a catalog to a single role. If not, is there another option I have missed?

Sorry if this question has already been asked, I have not been able to find it.

Thanks

 

Accepted Solutions (0)

Answers (1)

Answers (1)

CDUM28_tal
Discoverer

Hello

 

you can use the report PRGN_CREATE_FIORI_FRONTENDROLE to add catalogs, gfroups or spaces with a txt file.

source : https://www.sapsecuritypages.com/mass-creation-of-fiori-roles/