{"audience":"SAP authorization administrators, internal audit and internal control teams, IT security officers.","authorization_objects":[{"note":"Display authorization for user data by user group","object":"S_USER_GRP"},{"note":"Display authorization for roles and their content","object":"S_USER_AGR"}],"components":[],"countries":[],"effort_days_max":8,"effort_days_min":5,"effort_size":"M","faq":[{"a":"Rules come from the internal control matrix and are kept in business terms in the maintenance screen delivered with the report: each rule has a name, A and B transaction lists and a risk level. Common purchasing, sales and finance conflicts are pre-filled at installation and the company adjusts them to its own matrix.","q":"Who defines the rule set, and how?"},{"a":"Users who carry SAP_ALL directly through UST04 produce a conflict for every rule. The report flags them separately at the top so they can be handled as one finding instead of hundreds of lines.","q":"How do users with the SAP_ALL profile appear?"},{"a":"The report works on transaction codes and authorization object values, which also apply to the authorization checks behind Fiori apps. Catalog and group assignments can be added to the rule set through their transaction equivalents.","q":"Are Fiori apps also checked on S/4HANA?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"layout","label":"User-specific layout variants","note":""},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Double-clicking the role name displays the role in PFCG."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""},{"code":"email","label":"Send the result by email","note":"A summary can be sent to internal audit at each quarter end."}],"functions":[],"gap":"The critical authorization combinations report in SUIM can find conflicts, but it expects the rules to be maintained technically in SUIM's own maintenance screens; the result does not show on one line which role grants each side of the conflict, whether the assignment comes from a composite role and when the role assignment expires. Auditors therefore merge PFCG and SUIM output in Excel. The custom report uses a rule set written in business terms, gives the role source per line and can distribute the result by email.","id":"basis-sod-conflicts-by-user","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. The rule set is read: each rule consists of two function groups (A and B), each group is a list of transaction codes and the rule carries a risk level. Rules are kept in a small maintenance table delivered with the report; common P2P, O2C and R2R conflicts are pre-filled at installation.\n2. Users in the selection are read from USR02; by default only dialog users (USTYP = A) that are not locked (UFLAG = 0) and valid on the key date (GLTGV ≤ date ≤ GLTGB, or GLTGB empty) are included.\n3. Role assignments valid on the key date are read from AGR_USERS (FROM_DAT ≤ date ≤ TO_DAT). Single roles that come through a composite role are flagged with COL_FLAG and shown separately.\n4. For each role, the TCD field of object S_TCODE (DELETED blank) is read from AGR_1251; LOW–HIGH ranges and values containing * are expanded against the transaction codes in TSTC.\n5. Each user's effective transaction set is compared with the rules: if the user has at least one transaction from group A and at least one from group B, a conflict is written; the first granting role and transaction is kept for each side.\n6. With \"Object-level check\" selected, the critical object and activity values defined in the rule (for example ACTVT 01/02) are also checked in AGR_1251; lines with the transaction but without the activity are downgraded to low risk.\n7. The full name is added from USR21 and ADRP, and the role description from AGR_TEXTS. The result is shown in ALV with subtotals per user and rule.","module":"BASIS","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"User","source_field":"BNAME","source_table":"USR02"},{"calculated":false,"formula":"","label":"Full name","source_field":"NAME_TEXT","source_table":"ADRP"},{"calculated":false,"formula":"","label":"User group","source_field":"CLASS","source_table":"USR02"},{"calculated":true,"formula":"Conflict description from the rule set","label":"Rule","source_field":null,"source_table":null},{"calculated":true,"formula":"Risk level of the rule; Low when the object check fails","label":"Risk","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Side A transaction","source_field":"LOW","source_table":"AGR_1251"},{"calculated":false,"formula":"","label":"Side A role","source_field":"AGR_NAME","source_table":"AGR_USERS"},{"calculated":false,"formula":"","label":"Side B transaction","source_field":"LOW","source_table":"AGR_1251"},{"calculated":false,"formula":"","label":"Side B role","source_field":"AGR_NAME","source_table":"AGR_USERS"},{"calculated":false,"formula":"","label":"Via composite role","source_field":"COL_FLAG","source_table":"AGR_USERS"},{"calculated":false,"formula":"","label":"Role valid to","source_field":"TO_DAT","source_table":"AGR_USERS"},{"calculated":false,"formula":"","label":"Last logon","source_field":"TRDAT","source_table":"USR02"}],"parameters":[{"example":"AYILMAZ","kind":"select_option","label":"User","name":"S_UNAME","ref_field":"USR02-BNAME","required":false},{"example":"FIN","kind":"select_option","label":"User group","name":"S_CLASS","ref_field":"USR02-CLASS","required":false},{"example":"A","kind":"select_option","label":"User type (default: A dialog)","name":"S_USTYP","ref_field":"USR02-USTYP","required":false},{"example":"FI_AP_*","kind":"select_option","label":"Role","name":"S_AGR","ref_field":"AGR_USERS-AGR_NAME","required":false},{"example":"17.11.2026","kind":"parameter","label":"Key date (default: today)","name":"P_KEYDT","ref_field":"","required":true},{"example":"Orta","kind":"parameter","label":"Minimum risk level (High, Medium, Low)","name":"P_RISK","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Object-level check (activity values)","name":"P_OBJCHK","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Include locked users","name":"P_LOCKD","ref_field":"","required":false}],"part_of":["basis-audit-compliance-pack"],"performance":"Read AGR_1251 only for the roles of the selected users and with the filter OBJECT = 'S_TCODE'. Expand wildcard values against TSTC once and keep them in memory. On systems with thousands of users, run the report as a nightly background job.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=basis-sod-conflicts-by-user","related":["basis-inactive-user-auto-lock-job","basis-user-license-type-last-logon"],"releases":[],"source":"custom","standard_alternatives":[{"note":"The critical combinations report finds conflicts; rules need technical maintenance and the role source and assignment validity are not on the same line.","tcode":"SUIM"},{"note":"Shows the content and users of one role; it does not analyze conflicts across users.","tcode":"PFCG"}],"summary":"A custom ALV report that lists users who can run conflicting activities together (for example changing vendor master data and running the payment program) and shows which role grants each side. The rule set follows the company's own control matrix, so risky users are visible in a single run before an audit.","tables":[{"access":"read","join_on":"","role":"User type, user group, validity, lock status and last logon (driving table)","table":"USR02","variant":"both"},{"access":"read","join_on":"AGR_USERS-UNAME = USR02-BNAME","role":"Role assignments valid on the key date and the composite role flag","table":"AGR_USERS","variant":"both"},{"access":"read","join_on":"AGR_1251-AGR_NAME = AGR_USERS-AGR_NAME","role":"S_TCODE values and critical object activities in the roles","table":"AGR_1251","variant":"both"},{"access":"read","join_on":"TSTC-TCODE BETWEEN AGR_1251-LOW AND AGR_1251-HIGH","role":"Expansion of transaction code ranges and wildcards","table":"TSTC","variant":"both"},{"access":"read","join_on":"TSTCT-TCODE = TSTC-TCODE AND TSTCT-SPRSL = SY-LANGU","role":"Description of the conflicting transactions","table":"TSTCT","variant":"both"},{"access":"read","join_on":"AGR_TEXTS-AGR_NAME = AGR_USERS-AGR_NAME AND AGR_TEXTS-SPRAS = SY-LANGU AND AGR_TEXTS-LINE = 00000","role":"Role description","table":"AGR_TEXTS","variant":"both"},{"access":"read","join_on":"USR21-BNAME = USR02-BNAME","role":"Person number of the user","table":"USR21","variant":"both"},{"access":"read","join_on":"ADRP-PERSNUMBER = USR21-PERSNUMBER","role":"Full name of the user","table":"ADRP","variant":"both"}],"title":"Segregation of Duties (SoD) Conflict Report by User","url":"https://nekuhub.com/en/reports/segregation-of-duties-sod-conflicts-by-user-report/","vendor_id":"nekudos"}