All SAP BASIS interview questions in one place, grouped by page. Read the page when an answer needs more depth.
How to practise: cover the answer, say yours out loud in 30–60 seconds, then compare.
01 · SAP System Architecture – Instances, Work Processes & Memory
What is SAP Basis?
The technical foundation of an SAP system and the team that runs it: installation, kernel and support packages, transports, clients, users, monitoring, performance, backup. It connects OS, database, communication and the SAP applications.
What is the difference between SID, instance and client?
The SID (3 characters) names the whole system – database plus all instances. An instance is a group of processes on one host with a 2-digit instance number (00–97). A client (000–999) is a logical partition inside one system with its own users and business data.
What does the ASCS contain and why is it critical?
The message server and the enqueue server. It runs no ABAP code, but it holds the lock table and coordinates logons, so if it fails the system stops. In HA setups it runs in a cluster with an ERS that keeps a replica of the lock table.
What is the difference between PAS and AAS?
Technically none – both run dispatcher, work processes, gateway and ICM. The PAS is the first application server installed (exactly one); AAS instances are added to scale out. Old names: central instance and dialog instance.
Which work process types exist?
Dialog, update (V1), update 2 (V2), background and spool. An enqueue work process exists only in old central systems without ASCS. Message server, gateway and ICM are separate processes, not work processes.
How do SM50 and SM66 differ?
SM50 shows the work processes of the instance you are logged on to; SM66 shows the work processes of all instances of the system.
What is a logon group?
A set of application servers maintained in SMLG. Users log on to a group, and the message server sends them to the server with the best load in that group.
What are operation modes?
Named distributions of work process types (e.g. DAY with more dialog, NIGHT with more background WPs), defined in RZ04 and scheduled in SM63. The total number of WPs stays the same.
What is PRIV mode?
A dialog work process that had to take heap memory: the user context cannot be rolled out, so the WP stays bound to one user until the transaction ends. Many PRIV processes mean extended memory is too small or a program uses too much memory.
In which order does a dialog work process use memory?
Extended memory (up to the user quota), then heap memory (PRIV mode). ECC: a small roll area came first (ztta/roll_first, deleted with AS ABAP 7.40). Non-dialog WPs on standard UNIX use heap before extended memory (AIX / Linux with certain EM settings: EM first).
What is ENSA2?
Standalone Enqueue Server 2, the default since ABAP Platform 1809. In HA setups the ASCS can fail over to any cluster node and gets the lock table back from the enqueue replication server.
What changed in the architecture with S/4HANA?
HANA is the only database, the core is ABAP-only (no dual stack), the ASCS with ENSA2 is standard, and Fiori is the main UI next to SAP GUI. Installation uses SWPM 2.0, and current releases run a Unicode kernel of release 7.8x / 7.9x.
02 · Installation, Kernel & Software Maintenance
What do you check before installing an SAP system?
Landscape and sizing (Quick Sizer), supported OS/DB in the PAM, certified HANA hardware, storage layout, host names and DNS, OS patches and settings, swap, NTP, ports, SID and instance numbers, the installation guide and SAP Notes, the stack file from the Maintenance Planner – and SWPM's Prerequisites Check.
Which software do you need to install S/4HANA?
SWPM 2.0, SAPCAR, the S/4HANA exports, the kernel (SAPEXE + SAPEXEDB), SAP HANA database and client, the SAP Host Agent, SAP GUI, and the stack.xml from the Maintenance Planner.
What is the difference between a standard, distributed and HA installation?
Standard: everything on one host. Distributed: database, ASCS and application servers on separate hosts. HA: distributed plus a cluster for ASCS/ERS, HANA System Replication and several application servers, so that no single failure stops the system.
Which users does the installation create?
OS: <sid>adm and sapadm (plus <hanasid>adm for HANA). SAP: SAP* and DDIC in the clients. Database: SYSTEM and the ABAP schema user (SAPHANADB). TMSADM follows when STMS is configured.
Why is SAP* special?
It is hard-coded in the kernel. If its user record is deleted and login/no_automatic_user_sapstar is 0, anyone can log on with SAP* and password PASS. Therefore the parameter stays 1 and SAP* is locked, not deleted.
What are the SAP profiles?
DEFAULT.PFL for all instances and one instance profile per instance; the old start profile is merged into the instance profile as of AS ABAP 7.40. The instance profile overrides the default profile.
What is the difference between RZ10 and RZ11?
RZ10 maintains the profile files – static changes that need a restart and are permanent. RZ11 shows a parameter and changes dynamically switchable parameters at once – lost at the next restart.
What is the kernel and how do you check its version?
The OS- and DB-specific executables that run the system (disp+work, msg_server, gwrd, icman, tp …). Check with disp+work -v or SM51 → Release Notes.
Describe a kernel upgrade.
Download SAPEXE and SAPEXEDB for the right release, OS and DB; unpack with SAPCAR into a staging folder; stop the system and sapstartsrv; back up the kernel folder; copy the new files; run saproot.sh as root; start and verify with disp+work -v, SM51 and the logs. HA systems can use the rolling kernel switch.
What is the difference between SPAM, SAINT and SUM?
SPAM imports support packages, SAINT installs add-ons, SUM performs upgrades, stack updates and the conversion to S/4HANA (with DMO also the move to HANA). Always update SPAM/SAINT before using them.
How do you start and stop an SAP system?
With sapcontrol as <sid>adm: StartSystem / StopSystem, or Start / Stop for one instance; order DB → ASCS → PAS → AAS and reverse for stopping. On Windows also SAP MMC; startsap/stopsap are legacy.
What is SNOTE used for?
To implement the code corrections of a single SAP Note automatically, with dependency check and a transport request – instead of importing a whole support package.
03 · Clients, Users & Transport Management (STMS)
Q1. What is a client, and what do clients share?
A client is a self-contained business unit in one SAP system with its own master data, transaction data, client-specific customizing and users. All clients share the instance, the database, the repository (programs, DDIC) and cross-client customizing.
Q2. Which standard clients do you know?
000 is SAP's reference client and the source for new clients. 001 is an old copy of 000 and is not needed in S/4HANA. 066 was the EarlyWatch client and is no longer used. 800 is the IDES demo client.
Q3. How do you create a new client?
Create a logical system in BD54, create the client entry in SCC4, log on to the empty client with SAP* / PASS (parameter login/no_automatic_user_sapstar = 0), run a local client copy (SCCLN) with a profile such as SAP_CUST in the background, check SCC3, then set the parameter back to 1 and secure SAP*.
Q4. Which client copy types exist?
Local client copy within one system (SCCLN / SCCL), remote client copy between systems over RFC (SCC9N / SCC9), and client export / import (SCC8 to export, import with STMS, SCC7 for post-processing).
Q5. What is the difference between SAP_CUST, SAP_UCUS and SAP_ALL?
SAP_CUST copies only client-specific customizing; SAP_UCUS customizing plus user masters; SAP_ALL everything in the client, including master and transaction data and users.
Q6. What does "automatic recording of changes" in SCC4 mean?
Every customizing change in that client must be saved in a customizing request, so it can be transported. It is set in the DEV customizing client; QAS and PRD clients allow no changes at all.
Q7. What is a transport domain controller?
The system that holds the TMS master configuration (DOMAIN.CFG) and distributes it to all systems of the domain. Systems join the domain and are approved there, and routes are defined there.
Q8. Consolidation route vs delivery route?
A consolidation route goes from DEV to QAS for a transport layer – released requests land in the QAS queue. A delivery route goes from QAS to PRD – requests imported into QAS are added to the PRD queue automatically.
Q9. What is in /usr/sap/trans?
data (exported objects), cofiles (control files), buffer (import queues), log, bin (DOMAIN.CFG and the transport profile), sapnames, tmp, actlog and EPS/in for support packages.
Q10. What is the difference between tp and R3trans?
tp controls the transport: buffers, order, steps and logs. R3trans does the actual export from and import into the database. STMS calls tp, and tp calls R3trans.
Q11. A transport ends with return code 8. What do you do?
Open the import log in STMS to see which objects failed (often a syntax or activation error or a missing dependent object). Fix it in DEV, release a new request and import it. Never repair in QAS or PRD.
Q12. What is a transport of copies?
A request created in SE01 that copies objects to a chosen target without a route and without releasing the original request's locks. It is used to test changes in QAS before the real request is released.
04 · Communication, Output & Monitoring
Q1. Which RFC types exist and how do they differ?
sRFC waits for the result; aRFC continues and gets the result in a callback; tRFC delivers exactly once without a result (SM58); qRFC adds a queue for the order (SMQ1/SMQ2); bgRFC is the recommended successor of tRFC and qRFC (SBGRFCMON).
Q2. Which SM59 connection types do you know?
3 for ABAP systems, T for external TCP/IP programs, H for HTTP to ABAP, G for HTTP to external servers, L logical, I internal, and W for WebSocket RFC in newer releases.
Q3. What is a trusted RFC and what do you need for it?
The called system accepts the caller's user without a password. Set up the trust with SMT1 in the trusting system, tick trust in the SM59 destination, and give the user S_RFCACL in the trusting system; the user must exist in both.
Q4. tRFC calls are stuck. What do you do?
Open SM58, read the error (often the target is down, a user is locked or the FM failed), fix the cause and execute the LUWs again; RSARFCEX can resend in bulk. For qRFC, check SMQ1/SMQ2 for SYSFAIL queues.
Q5. What is the ICM and how do you configure it?
The Internet Communication Manager handles HTTP, HTTPS, SMTP and WebSockets for the application server. Ports are set with icm/server_port_<n>, monitored in SMICM; ICF services are activated in SICF and certificates managed in STRUST.
Q6. A Fiori URL returns 403. What do you check?
Whether the ICF service is active in SICF (and the OData service registered in /IWFND/MAINT_SERVICE), then the user's roles and SU53, and /IWFND/ERROR_LOG for gateway errors.
Q7. How is e-mail sent from SAP?
A program creates a send request with CL_BCS; SAPconnect (configured in SCOT with an SMTP node) sends it through the ICM to the mail server, triggered by the send job RSCONN01. SOST shows the status and allows resending.
Q8. Explain the spool access methods.
L local host spooler, C direct OS call on Windows, U remote via LPD, S remote via SAPSprint, F and G front-end printing through SAP GUI, M e-mail, P device pool, E external OMS. Front-end printing cannot be used by background jobs.
Q9. A transaction is slow. How do you analyse it?
ST03N for the response-time profile (DB, CPU, wait), STAD for the single step, then ST05 for SQL or SAT / ST12 for ABAP. Also check SM50 for busy work processes, ST02 for buffer swaps and ST06 for the server.
Q10. Name your daily checks.
Instances up (SM51), work processes (SM50/SM66), dumps (ST22), system log (SM21), canceled jobs (SM37), update errors (SM13), old locks (SM12), workload (ST03N), database and backups (DBACOCKPIT / DB12), interfaces (SM58, SMQ1/SMQ2), spool (SP01), file system space.
Q11. What is the EarlyWatch Alert?
An automatic, usually weekly report on system health with a red / yellow / green rating. SDCCN collects the data; the report is read in SAP for Me, SAP Solution Manager or SAP Cloud ALM.
Q12. How do you back up SAP HANA?
Full data backups plus incremental or differential ones, automatic log backups (default every 15 minutes), through the HANA cockpit, SQL or Backint tools. Log mode must be normal so that point-in-time recovery is possible; restores are tested regularly.