SAP authorisations
A read-only role your security team can approve line by line
SecureBasis reads the ABAP stack through one technical user with one role. The role grants display on named tables and execution of three read-only function modules, and nothing else. The RFC channel also refuses every write in code.
The user
- Proposed role name
Z_BP_RFC_READONLY, assigned to a dedicated user such asBP_READER. - User type B (System). For SOAP-RFC with basic authentication, check on your release whether a System user can log on through ICF; if it cannot, use type S (Service).
- No dialog logon. Transport the role with STMS once it is proven in the sandbox.
S_RFC: the function modules it calls
| RFC_TYPE | RFC_NAME | ACTVT | Used by | Status |
|---|---|---|---|---|
| FUNC | RFC_READ_TABLE | 16 | Every table check | Verified (B), function group SDTX |
| FUNC | RFC_SYSTEM_INFO | 16 | System information | Module verified (A); function group not yet confirmed |
| FUNC | ENQUEUE_READ | 16 | Locks before the stop | Lab confirmation pending (remote-enabled status disputed) |
| FUGR | SYST | 16 | Logon of an external RFC client (NW RFC SDK backend only) | Verified (A) |
| FUGR | RFC_METADATA | 16 | Function metadata lookup (NW RFC SDK backend only) | Verified (A) for SAP NCo; confirm with STAUTHTRACE |
Prefer FUNC with the single module: a whole function group would also allow every other remote-enabled module in it. If your release does not accept FUNC, fall back to FUGR SDTX for RFC_READ_TABLE.
Some security baselines block RFC_READ_TABLE. If yours does, only the system-information and lock checks remain; every other RFC check needs it, and those missions stay unverified rather than passing.
S_TABU_NAM: display (ACTVT 03), one entry per table
| Table | Check | Status |
|---|---|---|
CVERS | Software components and levels | Verified (B) |
CWBNTCUST, CWBNTHEAD, CWBPRSTATT | SAP Note implementation status | Verified (B) |
USR02 | Users created since the Patch Day | Verified (B); hash columns are never selected |
USH02 | User changes since the Patch Day | Verified (B) |
RFCDES, RFCATTRIB | RFC destinations | Verified (B) |
TBTCO | Jobs running before the stop | Verified (A/B) |
VBHDR | Open update requests before the stop | Verified (B) |
REGUV | Finance: payment runs | Table verified; "in progress" meaning in lab |
TRFCQOUT, TRFCQIN | Logistics: qRFC queues | Verified (A/B) |
ARFCSSTATE | Logistics: tRFC errors | Verified (B) |
EDIDC | Logistics: IDocs | Verified (B) |
EDPP1, EDP13, EDP21, EDIPORT, EDIPOA | Logistics: partner profiles | Verified (B) |
T569V | HCM: payroll control record | Verified (B) |
RSPCLOGCHAIN | BW: process chain runs | Table verified; gate meaning in lab |
/IWFND/I_MED_SRH | Fiori: active OData services | Field meaning in lab (B) |
Never grant S_TABU_NAM with TABLE = *, and never grant USRPWDHISTORY, RSECTAB or RSECACTB: SecureBasis never reads them. Table access to USR02 also covers its password-hash columns; the channel never selects them and refuses them in code. If USR02 access is not acceptable to you, drop the "users created" check and keep the user-changes check (USH02) alone.
The field of S_TABU_NAM is named TABLE or TABNAME depending on the source; confirm it in SU21 on your release.
S_TABU_DIS: not granted
RFC_READ_TABLE checks S_TABU_DIS (by authorisation group) first, then S_TABU_NAM (by table). So the minimum is S_TABU_NAM per table and no S_TABU_DIS at all: granting it for an authorisation group would open every table in that group. Sources: SAP KBA 3675823 (A, title) and the Tricentis LiveCompare documentation (B).
SOAP-RFC: the ICF service
| Item | Setting |
|---|---|
ICF service /sap/bc/soap/rfc | Active in SICF in the clients you check. Not needed for the NW RFC SDK backend. |
| SAP's guidance | Note 1394100 recommends deactivating this service on releases above 6.10. Activating it is your decision; activate it for the Patch Day window only. |
| Who can call it | Set "SAP Authorization" on the service's Service Data tab in SICF (for example ZBP_SOAP) and grant S_ICF with ICF_FIELD = SERVICE, ICF_VALUE = ZBP_SOAP to this role only. |
| Logon | Basic authentication over HTTPS, or an X.509 client certificate mapped to the user. The channel refuses plain HTTP. |
Never granted
- No
S_TABU_DIS, and no change activity (02) anywhere. - No
S_RFCbeyond the modules above. - No
S_DEVELOP,S_ADMI_FCDor user-administration objects. - No dialog logon.
SAPControl and web access
- SAPControl (sapstartsrv): HTTP basic authentication as the SAP admin login on the server (system ID + adm, for example
s4dadm), or a client certificate over HTTPS. The SAP Host Agent's instance list usessapadm. Reads are the default; start, stop and the kernel switch run only after a second person's approval inside the window. - ICM web checks:
/sap/public/ping,/sap/public/infoand the SAML2 metadata need no logon. The launchpad check and the OData catalog read use basic authentication over HTTPS with a user that may call those services. - SAP GUI (optional, Windows): SecureBasis attaches to a session you already opened and logged into, and runs only display transactions from its allowlist. Transactions that write are blocked.