Dear Laura,
below you can find the steps to find the GUID for the role in the project-template.
You have a Project template ID: ZJGA_ROLE1 where you can find the project GUID in table
DPR_PROJECT.
External ID: ZJGA_ROLE1
GUID: 6CAE8B774ED61ED4BDFD601A4AFEE92F
The role is available in table CGPL_ENTITY for the project-guid.
Table: CGPL_ENTITY
Project_Guid: 6CAE8B774ED61ED4BDFD601A4AFEE92F
Object_type: MTG
The result is the following:
GUID: 6CAE8B774ED61ED4BDFD61EBCC526931
EXTERNAL_ID: 180000000000000047732015
OBJECT_TYPE: MTG
PROJECT_GUID: 6CAE8B774ED61ED4BDFD601A4AFEE92F
Then you can start BAPI BAPI_BUS2178_GET_DETAIL with PROJECTROLE_TMPL_GUID = 6CAE8B774ED61ED4BDFD61EBCC526931.
Best regards,
Judith