Last reviewed · Rinexis SAP security team
S/4HANA security migration is the work of bringing SAP roles, authorizations and access controls across to S/4HANA. It covers transactions that SAP has replaced or removed, new authorization objects such as those for the business partner, Fiori apps and OData services in roles, SU24 defaults, the SoD ruleset, and testing before cutover.
Brownfield vs greenfield: what it means for roles
The migration approach decides how much of your existing security survives. In a brownfield system conversion, the existing system is converted in place, so every PFCG role, user assignment and SU24 entry comes across unchanged. That is convenient and also the main risk: roles still reference transactions that no longer work, and nothing grants the new objects and apps users now need.
In a greenfield implementation roles are built new, which is a chance to fix years of accumulated access. The cost is that role design, ruleset mapping and user mapping all have to be done from scratch and tested against new processes. Selective data transition approaches sit in between and usually behave like brownfield for security, because the system and its roles are often carried over.
| Area | Brownfield conversion | Greenfield |
|---|---|---|
| Existing roles | Converted as-is; must be remediated | Not carried over; redesigned |
| Replaced transactions | Must be found and swapped in existing roles | Designed in from the start |
| SU24 defaults | Reconciled with SU25 after conversion | Maintained for the new role set |
| SoD ruleset | Updated for new tcodes, objects and apps | Updated or rebuilt for the new design |
| User assignments | Kept | Mapped from old roles to new roles |
Replaced transactions and the simplification list
SAP documents functional changes in the simplification list, and the SAP Readiness Check reports which items affect your system. For security, the items that matter are transactions that are replaced, redirected or no longer available, because roles built around them either stop working or grant access through a different path.
| Classic transactions | In S/4HANA | Security impact |
|---|---|---|
FK01/FK02/FK03, XK01-XK03, MK01-MK03 (vendor) | BP (business partner with supplier roles) | Business partner objects are checked in addition to the classic vendor objects |
FD01/FD02/FD03, XD01-XD03, VD01-VD03 (customer) | BP (business partner with customer roles) | One transaction now covers customer, supplier and other partner types |
MB01, MB1A, MB1B, MB1C and related goods movements | MIGO | Roles need MIGO and its movement-type authorizations |
FD32 (customer credit limit) | UKM_BP (SAP Credit Management) | Credit limit maintenance moves to different objects and transactions |
Because BP serves vendors, customers and other partner types, a role that held only vendor display can end up able to start the transaction that maintains customers. Restrict it with the business partner authorization objects, not by the transaction code.
SU25 step 2d and SU24 updates
After a conversion, run the SU25 upgrade steps. Steps 2a to 2c compare SAP's new authorization defaults with your customer defaults and list the roles that need their authorization data merged. Step 2d shows transactions SAP has replaced with successors and lets you add the successors to the roles that held the old ones.
- Review step 2d proposals rather than accepting them all: a successor like
BPorMIGOis broader than the transaction it replaces, so adding it blindly can widen access. - Re-check SU24 for custom
Ztransactions that call standard programs which changed in S/4HANA; their proposals may now be incomplete. - Regenerate profiles and run a user comparison for every role touched, then transport the role and SU24 changes through the landscape together.
New authorization objects
S/4HANA brings authorization objects that converted roles do not contain. The business partner is the clearest example: BP checks objects such as B_BUPA_RLT (business partner role), B_BUPA_GRP (business partner grouping) and B_BUPA_FDG (field groups), while the customer-vendor integration still checks the classic objects like F_LFA1_BUK when supplier or customer data is saved.
Build these objects deliberately. Leaving B_BUPA_RLT open with * gives one role the ability to maintain every partner type, which can quietly create a vendor-maintenance conflict for users who were previously only customer clerks. Use authorization traces (STAUTHTRACE) during testing to find objects the converted roles are missing.
Fiori apps and OData services in roles
Many S/4HANA processes are delivered as Fiori apps, and some functions are only available there. A user needs three things to use an app: the launchpad catalog that holds the tile and target mapping, authorization for the OData service the app calls (S_SERVICE), and the backend business authorizations the service checks. See SAP Fiori security for how frontend and backend roles split this.
Plan from SAP's business roles and the Fiori Apps Reference Library, which lists each app's business catalog and required OData services, but copy and trim the delivered business roles rather than assigning them directly. Delivered roles are broad by design.
Updating the SoD ruleset
An SoD ruleset written for ECC will under-report in S/4HANA. Functions that list FK01 and XK01 no longer describe how vendors are created, and a Fiori app that posts a document never appears as a classic transaction. Before go-live, update the ruleset to cover:
- Successor transactions such as
BP,MIGOand the credit management transactions, with the business partner objects at permission level. - Fiori apps and their OData services, so conflicts created through the launchpad are detected.
- Custom transactions and wrapper transactions added during the project.
- Critical access rules for new administrative transactions and apps.
Testing and cutover
- Unit test each role with a test user that holds only that role, using authorization traces to close gaps instead of adding wildcards.
- Run end-to-end integration tests with test users that mirror real role combinations, not with broad project roles.
- Run an SoD analysis on the final roles and the planned user assignments before go-live, and document mitigation for conflicts you accept.
- Remove project and conversion access, including broad technical users and any
SAP_ALLstyle assignments, before hypercare ends. - Keep evidence of role design approvals, test results and the pre-go-live risk analysis; auditors will ask for it in the first post-migration audit.
Frequently asked questions
Do SAP roles carry over in an S/4HANA conversion?
Yes. In a brownfield system conversion, roles, profiles, user assignments and SU24 data are converted with the system. They still need remediation, because some transactions are replaced or removed and new authorization objects and Fiori apps are not in the existing roles.
What replaces FK01 and XD01 in S/4HANA?
Vendor and customer master maintenance moves to the business partner transaction BP. The classic transactions such as FK01, XK01, FD01 and XD01 redirect to BP, and access is controlled with business partner authorization objects alongside the classic vendor and customer objects.
What does SU25 step 2d do in an S/4HANA migration?
Step 2d lists transactions that SAP has replaced with successor transactions and lets you add those successors to roles that contained the old ones. Proposals should be reviewed rather than accepted in bulk, because a successor can grant broader access than the transaction it replaces.
Is greenfield better than brownfield for SAP security?
Greenfield gives a clean role design but requires building and mapping everything from scratch. Brownfield keeps existing roles and assignments, which is faster but carries over old problems. Many brownfield projects plan a separate role redesign after conversion.
Does the SoD ruleset need to change for S/4HANA?
Yes. Rules written for ECC transactions miss successor transactions, business partner objects, Fiori apps and their OData services. Update functions and permissions before go-live so the first risk analysis on the converted system is complete.
Our S/4HANA security service covers role impact analysis, remediation of converted roles, Fiori role design and ruleset updates for the new transactions and apps. Where a converted role carries both sides of a risk, Sodly flags it so the role can be split before go-live.
Before go-live, Sodly analyses the planned roles and assignments against the updated ruleset, and the Coverage Scanner shows which custom transactions and CDS views the ruleset still does not cover.