Hi Booo,
Please go through the document in the attached link.
SAP GRC How-to Guide: Performing Risk Analysis with Enterprise Portal Roles
You can create functions as below. This is just an example.
Please go through the attached document. Also enable paramter 1046 as per below SAP note for Portal risk analysis.
1608277 - GRC 10.0 SoD Function error 'Check the length of Action'
Regards,
Madhu.