Top 100 SAP Consultant Interview Questions and Answers
The questions most likely to come up in your SAP Consultant interview, ranked by likelihood, with senior-level answers that cover what the interviewer is listening for.
Curated: · Written: · Reviewed: —
Q&A-1An order ships in two partial deliveries but finance wants one invoice at order value. Walk through delivery-based versus order-based billing in SAP SD and which you would configure and why?
The 90-second answer
The choice is made in copy control, transaction VTFA, and it decides what VF01 is allowed to bill. With delivery-based billing, the billing document copies quantity and pricing from each delivery, so two partial deliveries produce two invoices. With order-based billing, VF01 copies from the sales order, so one invoice can cover the full order quantity even before the second delivery ships. For a customer who wants one invoice at order value, order-based billing gives that result, and the trade-off is that SAP will bill goods that have not left the warehouse yet.
| Point | Delivery-based billing | Order-based billing |
|---|---|---|
| --- | --- | --- |
| Copy control source in VTFA | Outbound delivery to billing | Sales order to billing |
| Quantity billed | Delivered quantity per delivery | Order quantity, subject to delivery completion settings |
| Invoices for 60 plus 40 | Two invoices | One invoice for 100 |
| Timing | After each goods issue | Can run before second delivery completes |
| Revenue recognition | Matches shipment | Precedes shipment for the undelivered part |
| Main risk | Customer receives multiple invoices and pays multiple times | Customer is billed for goods never shipped, requiring a credit memo |
| Typical use | Standard SD, most customers | Consignment style billing, framework orders, customer explicitly requesting consolidated billing |
How the mechanism works
In VA01 the order line carries 100 units, a requested delivery date and a shipping plant. Pricing is determined at order entry through the pricing procedure: condition type, condition table, access sequence, condition record. That priced value is stored on the order. VL01N creates a delivery for 60 units and VL02N posts goods issue, reducing stock. A second VL01N creates the remaining 40.
VF01 then reads VTFA for the combination of sales document type and billing type. VTFA sets the pricing type and the quantity reference. Pricing type B copies the price from the preceding document, which is why the invoice price normally matches the order price. If pricing type is set to recalculate, VF01 runs pricing again and can produce a different price when a condition record changed between order and billing. That is the usual cause of the symptom where the invoice price differs from VA03. The quantity reference is the other half of the decision. Delivery-based billing sets the quantity reference to the delivery, so VF01 proposes 60 on the first run and 40 on the second. Order-based billing sets it to the order, so VF01 proposes 100 in one run.
Worked example, figures hypothetical: order price 50.00 per unit, 100 units, order value 5,000.00, tax 19%, invoice total 5,950.00. Delivery-based billing produces invoice one for 60 units, 3,000.00 plus 570.00 tax, total 3,570.00, and invoice two for 40 units, 2,000.00 plus 380.00 tax, total 2,380.00. Order-based billing produces one invoice for 100 units, 5,000.00 plus 950.00 tax, total 5,950.00. The FI accounting document is created from each billing document in VF03, and payment clears it in F-28 against the customer open item in FBL5N. With two invoices, F-28 clears them separately and a single customer payment creates a residual item or a payment difference that Finance must clear in F-44. With one invoice, one payment clears it cleanly.
Which to configure for this customer
If the contract genuinely promises consolidated billing, configure order-based billing for that billing type and customer group, and accept the control work that follows. Set the billing type so VF01 does not run until delivery completion is confirmed, or add a billing block that releases only when the order is fully delivered. Without that control, a user can bill 100 units, the second delivery can be cancelled in VL02N, and the customer has paid for 40 units that never shipped. The correction is a credit memo created from the order in VA01 and billed in VF01, which is visible in VA05 and in the document flow.
If consolidated billing is only a preference from Accounts Payable, keep delivery-based billing and solve the payment problem in FI. The customer can pay both invoices in one F-28 run by selecting both open items, which clears both without a residual. That keeps revenue matched to goods issue, keeps the audit trail per shipment, and avoids billing undelivered stock.
The check that settles it in a live system is VF03 on the billing document. The document flow shows whether the preceding document is the delivery or the order, and VTFA shows the pricing type and quantity reference that produced it. Read those two, and the invoice behaviour stops being a surprise.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-2In SAP MM, which transaction creates a purchase order from a released purchase requisition?
The 90-second answer
ME21N. That is the transaction a buyer uses to create a purchase order from a released purchase requisition. In current SAP S/4HANA and ECC 6.0, ME21N is the standard PO creation screen. ME21 is the older, non-itemised version and is rarely used now. If the requisition is already released, the buyer opens ME21N, enters the requisition number in the initial screen, and the system copies the material, quantity, plant and delivery date into a new PO item. The buyer then adds the vendor, price and terms, checks the release status, and saves. The PO number is then used for goods receipt and invoice verification.
How the copy works
A requisition created in ME51N carries need, not commitment. It has no vendor price, no delivery terms and no PO history. When ME21N copies it, the requisition number is stored on the PO item as the source document. That link is what lets a buyer trace a PO back to the original request in ME2N, and it is what the release strategy checks. If the requisition is still unreleased, ME21N will not copy it. The buyer has to get it released first, either by the requisition release strategy or, for a PO created without a requisition, by the PO release strategy.
| Situation | Transaction | What happens |
|---|---|---|
| Buyer creates a PO manually from one requisition | ME21N | Enter PR number, copy item, add vendor and price, save PO |
| Buyer creates several POs from requisitions in one run | ME59N | Automatic PO creation from requisitions, using the vendor and source list already on the PR |
| Buyer creates a PO with no requisition | ME21N, blank initial screen | Buyer enters material, quantity, vendor and price directly |
| Buyer changes a PO after it is sent to the vendor | ME22N | Creates a PO history entry, the original version stays auditable |
| Buyer displays a PO and its requisition link | ME23N | Shows PO item, source requisition and PO history |
Worked trace
Say a plant raises PR 100001 in ME51N for 100 units of material MAT-100, plant 1010, needed by 15 March. The PR value crosses the release limit, so it goes to the plant manager for release. Once released, the buyer runs ME21N, enters PR 100001, and selects the item. The PO proposal shows 100 units, plant 1010 and the requested delivery date. The buyer enters vendor V-1000, price 10 EUR per unit, Incoterms DAP and payment terms 30 days net. On save, the system assigns PO number 4500001234 and writes the PR number on the PO item. If a PO release strategy is active for that purchasing group, the PO itself now needs release before it can be sent or used for goods receipt. That second release is a common point of confusion. Releasing the PR does not release the PO.
Controls that sit on this step
The release strategy is the main control at PO creation. It can be based on PO value, material group or purchasing organisation, and it enforces segregation of duties so the PO creator cannot release their own PO. The vendor must also be active for the purchasing organisation in vendor master view LFM1, otherwise ME21N stops at save. The PO item carries the delivery tolerance and the invoice verification flag. If that flag is set, MIRO later will not post an invoice for a quantity that has no goods receipt in MIGO. So the PO created in ME21N already sets up the three-way match that MIRO checks later, between PO price and quantity, goods receipt quantity, and invoice quantity and price.
A candidate who answers ME21N, and can add that ME59N is the automatic variant and that the PR must be released first, has the fact this question is testing.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-3Walk me through posting, reversing and correcting an FI document when the posting period is closed and a tolerance limit is breached?
The 90-second answer
A posted FI document is immutable. Posting writes BKPF (header) and BSEG (lines) once, with a document number from the number range for that document type and company code. Reversal (FB08, or BAPI_ACC_DOCUMENT_REV_POST) creates a second document that negates the first, and the system links the two so both remain auditable. Correction is therefore reversal plus reposting, or a supplementary posting for a small difference. Two controls can stop you before either happens: the posting period for the posting date must be open (OB52), and the applicable tolerance check must pass or be authorised.
Assume S/4HANA Finance, company code 1000, fiscal year variant K4, document type RE for vendor invoices. I will use that throughout.
Posting: what the system actually checks
The posting date, not the entry date, decides the period. Entry date is when the keying happened and is informational for audit. Posting date determines fiscal year and period, and the system checks OB52 for that company code and fiscal year variant: is that period open for posting, and is it open for this account type (for example, vendors versus G/L)? If the period is closed, FB60 or MIRO returns "Posting period 03/2025 is closed" and nothing is written. You do not override that by changing the entry date. Options are to reopen the period in OB52 (a controlled, logged action that Finance should approve), or post with a posting date in the next open period, accepting that the P&L and tax period shift.
Tolerances come from two different places, and mixing them up is a common interview trap. For direct FI postings, the user's tolerance group is assigned in the user master and the limits for that group are defined in OBA4. For invoice verification in MIRO, the tolerance limits are defined per company code in OMR6, with keys such as AP (amount per item), BD (automatic posting of small differences) and PP (price variance). OMR6 is the customising that decides whether a price variance blocks payment or is cleared automatically.
Worked example, hypothetical figures: invoice for 10,000 EUR, PO price 9,500 EUR, OMR6 tolerance PP set to 5% or 500 EUR per item.
| Check | Calculation | Result |
|---|---|---|
| Price variance (PP) | 10,000 - 9,500 = 500 EUR, 5.26% of PO price | Exceeds 5% limit |
| Amount per item (AP) | 500 EUR variance against 500 EUR absolute limit | At limit, percentage fails |
| Outcome in MIRO | Document can be entered but payment is blocked, reason PP/AP | Needs release or credit memo |
That distinction matters. In invoice verification a tolerance breach usually posts the document and blocks payment, so the block can be released later after investigation. In a direct FI posting (FB60, FB01) a hard tolerance breach can block posting itself until the user has the authorisation to exceed it or the difference is cleared to a tolerance account via BD. Do not promise a client that "SAP will just post it" without naming which key and which customising (OBA4 or OMR6) applies in their system.
Reversal: why it is a new document
FB08 does not delete or overwrite the original. It posts a mirror document: debits become credits and credits become debits, with the same amounts, tax lines and clearing references negated. The reversal document header carries the reference to the original document number, year and company code, and the original is flagged as reversed. Both documents stay in BKPF/BSEG, which is what auditors and downstream clearing need. If the original invoice was already cleared by a payment document, reversing it first requires reversing the clearing payment, or the system will refuse because the open item no longer exists.
" S/4HANA, ABAP 7.54. Reversal via BAPI, not a direct table update.
DATA ls_rev TYPE bapiaccrev.
DATA lt_return TYPE STANDARD TABLE OF bapiret2.
ls_rev-revcompcode = '1000'.
ls_rev-revacc_doc_no = '5100001234'. " original document number
ls_rev-revyear = '2025'.
ls_rev-revreason = '01'. " reversal reason, customising dependent
ls_rev-posting_date = sy-datum. " posting date of the reversal document
CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'
EXPORTING
reversal = ls_rev
TABLES
return = lt_return.Note the trap: the reversal posting date must itself fall in an open period. Reversing a March document in April posts the reversal in April unless you deliberately date it back into March and March is still open. That choice moves the correction between periods and changes reported March results, so it is a Finance decision, not a technical convenience.
Correction: three routes, pick by size and period
| Situation | Route | Effect |
|---|---|---|
| Wrong account or amount, period still open | Reverse (FB08) and repost correctly | Original and reversal net to zero in the same period, clean repost |
| Wrong account or amount, period closed | Reverse with reversal date in current open period, then repost | Correction lands in current period, prior period untouched |
| Small difference within BD tolerance | Post supplementary document or let BD clear to the configured difference account | Avoids full reversal for a rounding or minor variance |
| Text or reference only, amounts correct | Change via FB02 where permitted | Header text and some reference fields only, never amounts or accounts |
Failure modes I see in production: reopening a closed period to fix one document and leaving it open, which breaks the close; reversing an invoice without reversing its payment, which fails on cleared items; and reposting with a new posting date without telling Controlling, so cost centre and tax reporting no longer match the original business event. The control that catches all three is the same: check OB52 status, check open item status in FBL1N or FBL5N, and check the payment block field before you promise a correction date.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-4When would you use a cost center versus an internal order in SAP CO, and how does each help control costs?
The 90-second answer
A cost center (KOSTL) is a permanent organizational unit that owns ongoing costs. An internal order (AUFNR) is a temporary cost object for a specific job, project or event. I use a cost center when I need a manager accountable every month for a department, and an internal order when I need to track, budget and close one defined piece of work inside that department.
In SAP CO both collect actual costs from FI postings, activity allocations and periodic allocations. The difference is lifecycle and control. A cost center lives for years, is planned by cost element and activity, and is reported in a hierarchy. An internal order is created for a campaign, a breakdown or a prototype, carries its own budget and availability control, and is settled and closed when the job ends.
How each one works
Cost center accounting answers: who is responsible for this run cost? Master data is created with transaction KS01, with a responsible person, cost center hierarchy and cost element planning via KP06. Actuals arrive from FI (for example, rent, salaries, external services) and from activity allocations from other cost centers. Variance is reviewed in KSS4 or S_ALR_87013611, actual versus plan by cost element. Periodic allocations push costs between cost centers: direct activity allocation with KB21N, assessment with KSV1, distribution with KSV2 and periodic reposting with KSV5. For example, IT costs are assessed to Finance.
An internal order is created with KO01, with an order type that fixes settlement and budgeting behaviour. Overhead orders collect costs that will be settled to a cost center. Investment orders collect costs that will be settled to an asset under construction. The order can carry a budget in KO12. Once budget release is active, availability control checks new postings against the released budget and can block or warn on overrun. Settlement is defined in the settlement rule (KO02) and executed with KO88 for a single order or KO8G for collective settlement. After settlement the order balance should be zero, and the order is technically completed and closed.
Comparison
| Aspect | Cost center | Internal order |
|---|---|---|
| Lifespan | Permanent, years | Temporary, weeks to months |
| Responsibility | Department manager, KS01 | Order responsible person, KO01 |
| Planning | KP06 by cost element and activity, no hard budget | KO12 budget, can be released in stages |
| Control | Variance analysis, allocations, hierarchy rollup | Availability control blocks over-budget postings |
| Closing | Never closed, carried forward each period | Settled to receiver, then technically completed |
| Typical use | Finance, HR, plant maintenance department | Marketing campaign, machine breakdown, product prototype |
Worked trace
Assume Marketing is cost center 4100. A product launch campaign runs for three months with a released budget of EUR 50,000. I create internal order 100234 with an overhead order type and a settlement rule to cost center 4100.
| Month | Posting | Amount (EUR) | Order balance | Budget check |
|---|---|---|---|---|
| 1 | Agency invoice, FI to order | 18,000 | 18,000 | Within 50,000 |
| 2 | Event venue, FI to order | 22,000 | 40,000 | Within 50,000 |
| 3 | Print and media, FI to order | 9,500 | 49,500 | Within 50,000 |
| 3 | Settlement KO88 to 4100 | -49,500 | 0 | Order closed |
The cost center 4100 then shows EUR 49,500 in its actuals for that cost element group, so the department manager sees the campaign in the monthly variance report. The order itself shows EUR 49,500 against EUR 50,000 budget, a EUR 500 underspend, and no balance remains to distort the next period.
If the same EUR 49,500 had been posted directly to cost center 4100, the manager would see a spike in external services with no way to separate the launch from normal marketing run cost, and no budget block would have stopped a EUR 60,000 invoice in month 3.
When I choose one over the other
I choose a cost center when the cost recurs, has a stable owner and needs trend reporting over years. Plant maintenance as a department is a cost center. I choose an internal order when the work has a start, an end and a deliverable that can be judged on its own, such as a campaign, a repair job or a feasibility study. If the job will create an asset, I use an investment order type so settlement goes to an asset under construction instead of expensing to a cost center.
Failure modes I check in design
An internal order without a settlement rule, or with the wrong receiver, leaves costs sitting on the order at period end. The order balance looks like work in progress and the receiving cost center understates its costs. I check KO02 before go-live and run KO88 in test with a real posting.
A cost center hierarchy that does not match the management reporting line hides variance. If Maintenance and Engineering roll up to different plant managers in the hierarchy than in the org chart, KSS4 totals will not reconcile to what managers expect. I validate the hierarchy against the reporting structure, not just the org chart.
Availability control that is set to warning only, or budget release that is never activated, gives a false sense of control. Postings sail through and the budget is only a reporting number. For orders where overrun must be prevented, I set availability control to block and test a posting that exceeds the released budget.
Finally, posting to an internal order for a permanent department cost, such as monthly rent, creates hundreds of orders that never close cleanly. That is a sign the cost belongs on the cost center, with the order reserved for the exceptional job.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-5Compare a greenfield S/4HANA implementation with a technical conversion from ECC 6.0, covering downtime, custom code remediation, and data migration?
The 90-second answer
A greenfield implementation builds a new S/4HANA system and migrates data and processes into it. A technical conversion keeps the existing ECC 6.0 system, its customizing, custom code and data, and converts it in place to S/4HANA using SUM with DMO. Greenfield gives you a clean process design and no legacy code to fix, but a longer business project and a full data migration. Conversion preserves history and customizations, but you inherit every simplification item, deprecated API and data issue in ECC, and you pay for it in SUM downtime and remediation before go-live.
| Dimension | Greenfield S/4HANA | Technical conversion from ECC 6.0 |
|---|---|---|
| Starting point | Empty S/4HANA system, SAP Activate, fit-to-standard workshops | Existing ECC 6.0 EHP8 system, same SID, same client |
| Business process | Redesign to S/4HANA best practices, adopt Fiori, Universal Journal (ACDOCA), MRP Live | Processes stay as configured in ECC unless you add a selective data transition later |
| Custom code | Only new code written for S/4HANA | All Z code, exits, user exits and enhancements must pass the S/4HANA check |
| Data | Extract from ECC or legacy, cleanse, load via Migration Cockpit (LTMC) | Data converted in place during SUM, no reload, but incompatible data blocks conversion |
| Downtime | Cutover weekend for final load and go-live, typically 24 to 48 hours | SUM downtime for migration and conversion, often longer and harder to shrink |
| Risk | Process and data design risk, user adoption | Technical risk in code and data that was never cleaned |
Downtime, with real figures
Label this as a worked example. Assume a 4 TB ECC database on HANA, 120 GB RAM, moderate custom code. For conversion, SUM runs in three phases: preparation, migration (DMO moves the database and converts the ABAP stack), and conversion (applies S/4HANA simplification items and activates the new data model). A realistic plan allows 36 hours of SUM downtime, plus 8 hours for final checks, index rebuilds and go-live validation. You can reduce it with downtime optimization in SUM, for example pre-processing and shadow system work before the stop, but the conversion phase itself still stops the system.
For greenfield, the system is built and tested while ECC runs normally. Downtime is only the final cutover: stop ECC posting, run final delta loads, reconcile balances, open the new system. That is often a single weekend, 24 to 36 hours, because the heavy migration work happened in mock cutovers weeks earlier. The trade-off is project duration. Greenfield business design and testing may run 9 to 14 months. Conversion may run 4 to 7 months, but only if remediation is done early.
Custom code remediation
In conversion, run the ATC S/4HANA check variant in the ECC system months before SUM. It reports simplification items, for example use of deprecated function modules, obsolete ABAP SQL, or code that reads tables that no longer exist in S/4HANA such as MATDOC replacing MKPF and MSEG in inventory. You fix mandatory findings, adapt the rest, and re-run ATC until the count is zero for mandatory items. A typical finding looks like this in ABAP 7.54:
" Before: reads a table removed in S/4HANA, SELECT * is also flagged
SELECT * FROM mkpf WHERE mblnr = @lv_mblnr INTO TABLE @DATA(lt_header).
" After: read MATDOC, the S/4HANA inventory document table
SELECT mblnr, mjahr, budat FROM matdoc
WHERE mblnr = @lv_mblnr INTO TABLE @DATA(lt_header).In greenfield there is no such backlog. You still need to decide which ECC reports and interfaces to rebuild, but you write them against S/4HANA APIs from the start, using released APIs and BAdIs instead of copying Z code that touches internal tables.
Data migration
Conversion migrates data during SUM. That includes converting material master to the S/4HANA split valuation model where required, activating ACDOCA for finance, and converting indexes for HANA. If historical data violates a new check, SUM stops. Common blockers are inconsistent material masters, missing valuation data, and custom tables with no primary key.
Greenfield migrates data as a separate workstream. You define migration objects in LTMC, stage files, run load cycles in DEV, QAS and PRD, and reconcile counts and values after each cycle. Example check: load 850,000 material masters, expect 850,000 in MARA and MATDOC header counts to match source within zero tolerance for open items. That reconciliation is your evidence. In conversion you reconcile differently: row counts before and after SUM, plus sample documents in ACDOCA.
Which to pick
Pick conversion when ECC processes are stable, customizations are documented, and the business wants S/4HANA mainly for technical currency and HANA performance. Pick greenfield when processes need redesign, the ECC customizing is undocumented, or you want to drop legacy code and data. Many clients do conversion first, then a selective data transition or a later greenfield for a new region, which keeps the first go-live shorter while still allowing process change in phase two.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-6In SAP MDG central governance, what is the staging area used for before data is activated and replicated?
The 90-second answer
In SAP MDG central governance, master data is created in a staging area, checked and approved there, and only then moved to the active area and replicated to the consuming systems. The staging area is the working copy. Nothing in it is visible to purchasing, sales, or finance in S/4HANA until the change request is activated.
That separation is the whole point of central governance. One team owns the creation process in the MDG hub, the data model defines what fields exist and which are mandatory, and a workflow decides who must approve before activation. Local users in S/4HANA do not create the vendor, customer, or material directly. They consume the replicated result.
What happens in staging
A requester opens a change request for a Business Partner, for example a new supplier. The data is saved to staging with a status such as draft. Validation runs against the data model. If the model marks tax number as mandatory for that BP role, the request cannot be submitted until it is filled. Duplicate checks also run in staging, typically on tax number and on name and address, so a second supplier for the same company is caught before it reaches S/4HANA.
The request then goes through the approval workflow, configured with BRFplus rules. A typical route is a data steward first, who checks completeness and format, then a business approver, who checks commercial need. The approver can approve, reject with a reason, or send it back for correction. While the request is in staging, it can be edited and rechecked. Once it is activated, the data moves to the active area in MDG and the Data Replication Framework sends it to each target system, with a replication status recorded per system.
| Stage | Location | Visible in S/4HANA? | What can happen there |
|---|---|---|---|
| Draft change request | Staging area | No | Enter data, run validation, run duplicate check |
| Submitted for approval | Staging area | No | Steward review, BRFplus approval, rejection with reason |
| Activated change request | Active area | No, until replication completes | Data becomes the MDG master record |
| Replicated record | S/4HANA target system | Yes | Available for purchase orders, sales orders, and finance postings |
Why the split matters
If creation happened directly in the active area, an incomplete or duplicate supplier could be used in a purchase order before anyone reviewed it. In staging, the error is contained. The requester fixes the tax number or the bank details, resubmits, and the workflow history shows who changed what and who approved it. That audit trail is what auditors and data owners ask for when they question why a supplier was created.
A common failure is a replication error after activation, often because a mandatory field in the target system view was not part of the MDG model. The fix is to correct the model or the data and reprocess the replication queue, not to create the supplier locally in S/4HANA. Creating it locally defeats central governance and creates the duplicate the staging area was meant to prevent.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-7Walk me through migrating 2 million material masters with LTMC: how do you structure migration objects, simulation, and error handling before go-live?
The 90-second answer
I would not load 2 million material masters in one LTMC run. I would split the migration project by migration object and by plant, simulate every file first, fix source data until simulation is clean except for known warnings, then execute in dependency order in controlled batches. LTMC is the transaction for file-based migration in the SAP Migration Cockpit in S/4HANA. You create a migration project, assign migration objects, upload a file per object, map source fields to target fields, simulate, execute, and monitor results in the same project.
The judgement is in sequencing and in treating simulation as a data cleansing gate, not as a formality. A file that simulates clean can still fail on execution if number ranges, locks, or a missing Business Partner surface only when the object is posted.
Migration objects and order
A migration object is the predefined structure for one business object, for example Material Master, Business Partner, or Sales Order. It defines the source fields, target fields, and the checks LTMC runs. You do not build a custom object for a standard master. You select the standard object and map your extract to it.
| Order | Migration object | Why it goes there |
|---|---|---|
| 1 | Business Partner | Materials, vendors, and customers reference a partner. Missing partners are the most common execution failure. |
| 2 | Material Master | Core material and plant views. Split by plant if plants go live in phases. |
| 3 | Source List / Info Record | Depends on material and vendor or customer. Loading it first creates reference errors. |
| 4 | Open purchase orders, if in scope | Depends on material, vendor, and plant. Load after masters, never in the same batch as masters. |
For 2 million materials, I would create one project per wave, not one project for everything. Wave 1: 200,000 materials for the pilot plant. Wave 2 and 3: remaining plants. That keeps error files small enough to fix and lets us prove the mapping before the full load.
File, mapping, simulation
LTMC accepts XML and CSV files depending on release and object. The XML form makes the hierarchy explicit, which helps when a material has multiple plants or units of measure.
<?xml version="1.0" encoding="UTF-8"?>
<materials>
<material>
<Material>MAT-100001</Material>
<MaterialType>FERT</Material>
<BaseUnitOfMeasure>EA</BaseUnitOfMeasure>
<Plant>1010</Plant>
<StorageLocation>001</StorageLocation>
</material>
</materials>Mapping is where most defects hide. I check three things before simulation: every mandatory target field has a source, every code value matches the target domain (for example material type FERT, not a legacy free text), and units and dates are converted once, in the extract, not by hand in LTMC. If the legacy system sends weight in pounds and the target expects kilograms, convert in the extract and document the factor. Fixing conversions record by record in LTMC does not scale.
Simulation runs the same checks as execution without committing data. It reports errors and warnings per record. I download the simulation result and work from that file, not from the screen.
| Simulation outcome | Meaning | Action before execution |
|---|---|---|
| Error: material type invalid | Source code not in target domain | Fix extract, re-upload, re-simulate |
| Error: plant 1010 not found for material | Plant view missing in source | Correct source or remove plant line |
| Warning: description truncated | Target field shorter than source | Confirm truncation is acceptable, document it |
| Warning: partner already exists | Duplicate check hit | Confirm it is the same partner, do not create a second one |
Execution is only allowed when errors are zero. Warnings need a named decision. "Ignore warnings" is how truncated descriptions and wrong defaults reach go-live.
Execution, batching, and error handling
LTMC executes in the background and writes a log per file. I run one file at a time per plant, monitor the log, and stop the wave on the first systemic error. A systemic error is the same error on more than a few percent of records. It means the mapping or extract is wrong, and continuing only creates more bad data to reverse.
Worked example, figures are hypothetical for sizing: 2,000,000 records in batches of 10,000 gives 200 files. At a sustained 5,000 records per minute, one batch takes about 2 minutes and the full load about 6 to 7 hours of execution time, excluding simulation and fixes. That is why I split by plant. A failed plant file costs minutes to rerun. A failed 2 million record file costs a day and a difficult rollback decision.
Error handling follows a fixed loop:
Records that fail on execution stay unposted. I correct the source, upload only the failed records as a delta file, and re-simulate that delta. I never re-upload the full file to fix 50 records. That risks duplicates and makes reconciliation impossible. After each wave I reconcile three counts: records in the source extract, records simulated clean, and records posted in S/4HANA for that plant. Any gap is investigated before the next wave starts.
Two failure modes deserve explicit mention. First, simulation clean but execution failing on locks or number range exhaustion. That happens when another load or user is active, or when the material number range was not extended for the volume. I check the number range and run loads in a maintenance window. Second, partial posting within a file. LTMC posts record by record, so a file can be half posted. My reconciliation by material number, not just by count, is what finds the unposted half.
I would not use LTMC for high-frequency transactional data or for objects it does not cover. For those, a BAPI or IDoc based load with its own retry logic is the better tool. For master data and opening balances in a controlled cutover, LTMC with simulation, delta fixes, and per plant reconciliation is the defensible choice.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-8You must send 50,000 material master updates nightly from SAP to a CRM and a warehouse. Would you choose IDoc or OData for that, and how would you detect and reprocess failures?
The 90-second answer
For 50,000 material updates a night to two targets, I would use IDoc. OData is a synchronous HTTP API. Each call expects a response, and at that volume you either hold connections open for hours or you page through the data and risk missing records if the source changes mid-run. IDoc is asynchronous and queued. SAP writes the IDoc, tRFC transfers it, the receiver posts it, and a status IDoc comes back. That lets SAP finish its batch, lets each receiver work at its own pace, and gives you a per-message record to reprocess.
Why IDoc fits the mechanism
A MATMAS IDoc carries the material number, description, unit of measure, material group and plant data in segments. You create it from the material master change, or in a batch run, and it lands in the outbound queue. tRFC then delivers it without keeping a dialog work process occupied while the CRM validates the record. If the CRM is down for two hours, the IDoc waits in the queue. SAP posting for the next night does not block.
OData would invert that. A typical read looks like this:
GET /sap/opu/odata/sap/ZMATERIAL_SRV/Materials?$filter=LastChangedDate gt '2026-01-10'&$top=100&$orderby=MaterialNumberYou would need 500 pages of 100 records, handle $skiptoken or keyset paging, and apply throttling when the Gateway returns 429. $batch helps for writes, but a batch of 100 still ties up the request and returns one HTTP response for the whole set. For a Fiori app checking one material, that is fine. For a nightly bulk sync, the failure handling is weaker because a timeout halfway through a page leaves you unsure which records the receiver actually posted.
How failures show up and get fixed
With IDoc, the receiver returns a status IDoc. Status 53 means the material posted. Status 51 means an application error, for example an invalid material group. You monitor both in WE05. Errors that never left SAP sit in BD87, where you can reprocess a single IDoc or a selection after fixing the master data or the receiver mapping. A dump in the receiver function module also leaves the tRFC in error, which you see in SM58 on the sender.
| Time | Event | Where you see it | Action |
|---|---|---|---|
| 01:00 | 50,000 MATMAS IDocs created | WE02, outbound queue | None if queue drains |
| 01:20 | CRM posts 49,200, rejects 800 | Status IDoc 53 and 51 in WE05 | Fix material group on 800 records |
| 01:25 | Warehouse receiver down, 50,000 queued | SM58 tRFC error on sender | Restart receiver, reprocess in BD87 |
| 02:10 | Reprocessed IDocs post | Status IDoc 53 | Confirm counts match source run |
That trace is the main reason I pick IDoc here. You can reconcile counts per receiver: source count, 53 count, 51 count, and queued count should add up. With OData paging, you reconcile by comparing timestamps and keys across two systems, which is harder after a partial failure.
When I would switch
If the CRM team only offers an OData endpoint and cannot accept IDoc, I would put SAP Integration Suite between them. SAP still sends MATMAS IDoc to the middleware, the iFlow maps IDoc to JSON and calls the CRM OData service, and the queued message store holds messages while the CRM is down. That adds a hop, typically tens to a couple of hundred milliseconds per message in a simple mapping, but it keeps the asynchronous queue on the SAP side.
If the requirement changed to a web shop reading stock for one material at checkout, I would expose OData and cache the response for 30 to 60 seconds. The pattern follows the access shape: bulk, queued, multi-receiver sync uses IDoc, single-resource web access uses OData.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-9For a Fiori list report showing purchase orders filtered by status and date, how do entity sets, $filter, and UI annotations work together in an OData service?
The 90-second answer
The entity set is the collection Fiori queries, $filter does the filtering on the server, and annotations tell Fiori which fields to show as columns and filter fields. I would model the purchase order once in CDS, expose it as a service, and add @UI annotations. Fiori Elements then builds the list report from the $metadata document without custom frontend code.
Assume S/4HANA or SAP BTP with CAP. The same CDS model can be exposed on S/4 through the embedded framework.
Entity set
// model.cds
entity PurchaseOrders {
key ID : UUID;
poNumber : String(10) @title: 'PO Number';
orderDate : Date @title: 'Order Date';
status : String(20) @title: 'Status';
totalValue : Decimal(13,2) @title: 'Total Value';
supplier : Association to Suppliers;
}
service PurchaseOrderService {
entity PurchaseOrders as projection on my.PurchaseOrders;
}That publishes an OData V4 collection at /odata/v4/purchase-order/PurchaseOrders. Each row is one purchase order. The key is a UUID, not poNumber, because Fiori needs a stable key for deep links and the business number is not unique across plants. supplier becomes a navigation property, so the client can ask for the supplier name in the same request.
How $filter reaches the database
When a user picks Status = OPEN and Order Date from 1 Jan 2025, Fiori Elements sends system query options. It does not download all rows and filter in the browser.
GET /odata/v4/purchase-order/PurchaseOrders
?$filter=status eq 'OPEN' and orderDate ge 2025-01-01
&$orderby=orderDate desc
&$top=50&$skip=0&$count=true
&$select=poNumber,orderDate,status,totalValue
&$expand=supplier(name)| Step | What happens |
|---|---|
| 1 | Gateway parses $filter, $orderby, $top and rejects $top above the service limit, for example 200 |
| 2 | CAP translates the filter to SQL: WHERE status = ? AND order_date >= ? ORDER BY order_date DESC LIMIT 50 |
| 3 | The database returns 50 rows, and a separate count query returns the total, say 1,240, for the pager |
| 4 | The service serialises only the selected fields and expands supplier(name), not the full supplier address |
That trace is the check I would show in an interview. If the filter field has no index, the same request goes from tens of milliseconds to a full scan as the table grows. I would check the SQL plan for (status, order_date) and add an index if needed. I would also keep $expand narrow. Expanding every association on a list page inflates the payload and slows the first render.
Annotations build the screen
Annotations are metadata on the entity. Fiori reads them from $metadata and decides the layout.
annotate PurchaseOrders with @UI: {
LineItem: [
{ Value: poNumber },
{ Value: orderDate },
{ Value: supplier.name },
{ Value: status },
{ Value: totalValue }
],
SelectionFields: [ status, orderDate ]
};UI.LineItem becomes the table columns in that order. UI.SelectionFields becomes the filter bar, so Status and Order Date appear as filter fields and Fiori generates the $filter expression above. Without these annotations the service still works, but Fiori shows a generic table with raw field names and no filter bar. With them, adding a column is a model change, not a frontend change.
A common gap is a missing text annotation. If status stores a code, I add @Common.Text pointing to a description field, or a value help, so the user sees a readable label instead of a code. The same applies to supplier.name: the association must expose a name field or the column renders blank.
One trade-off to name
| Approach | Fit | Cost |
|---|---|---|
| CDS annotations with Fiori Elements | Standard list report and object page | Fast to build, but layout options are limited to what the annotations support |
| Custom frontend on the same OData service | Special layout or interaction | Full control, but you maintain the UI and lose the automatic filter bar and paging |
For a standard purchase order list, I would stay with annotations and only write custom code for a specific interaction the annotations cannot express. I would verify the result by opening $metadata to confirm the annotations are present, then running the filtered request above and checking that the response contains 50 rows and the correct count.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-10What is a CDS view in S/4HANA?
The 90-second answer
A CDS view in S/4HANA is a virtual data model defined in ABAP CDS DDL and executed directly on SAP HANA. It is not a physical table and it stores no data of its own. When a Fiori app, an OData service or an analytical tool reads the view, HANA runs the select, joins and aggregations defined in the view against the underlying transparent tables and returns the result.
That definition is what separates it from older reporting approaches. In ECC, the same business logic was often rebuilt in an ABAP report, an InfoSet and a BW extractor. In S/4HANA you define the logic once in the CDS view, add the business semantics to it, and let every consumer use the same definition.
What the definition contains
define view ZI_SalesLine as select from vbap
{
key vbeln,
key posnr,
matnr,
@Aggregation.default: #SUM
netwr as SalesValue
}Three parts of that short definition carry the semantics. key marks the fields that identify a row. @Aggregation.default: #SUM marks SalesValue as a measure, so a consumption view or Fiori app knows to sum it when it groups by material. A fuller view would also declare associations to related views, parameters supplied at runtime such as a posting date, and annotations for labels and units. The consumer does not have to infer any of that from field names.
A basic view selects and joins source data. A composite view combines basic views. A consumption view adds aggregations, parameters and annotations for a specific app. All three layers read live transactional data, so there is no reporting copy to reconcile.
Why it replaced older reporting views
| Older approach | What went wrong | CDS view |
|---|---|---|
| ABAP report joining tables | Logic duplicated in every report and run in the application server | Join and aggregation pushed to HANA, defined once |
| InfoSet or BW extractor | Separate model with its own semantics, drift from the source tables | Same view feeds Fiori, OData and embedded analytics |
| Custom reporting table | Copied data, stale after posting, reconciliation work | Virtual view, no copy, always current |
The reuse is the practical gain. Change the basic view and every consumer sees the same change, because there is only one definition. Authorization is handled the same way, through a Data Control Language attached to the view, instead of being reimplemented in each report.
Two limits are worth stating. A CDS view is a read model. It does not replace transactional tables or write logic, and procedural logic still belongs in ABAP classes. Also, the view is only as correct as its associations and join conditions. A wrong cardinality in an association produces wrong results silently, so that part needs the same review as a foreign key.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-11Walk me through rewriting a report that pulls millions of BSEG rows into an internal table and filters and sorts them in ABAP, and explain how you would use Open SQL with WHERE and ORDER BY to avoid the performance problems?
The 90-second answer
Push the filter and the sort to the database, transfer only the columns you need, and keep the internal table as a typed work area rather than a second database. In ABAP SQL that means one SELECT with an explicit field list, a WHERE that can use the table's primary index, and ORDER BY on the same fields the report needs, instead of pulling a table into memory and then filtering and sorting it in ABAP.
The internal table still matters. Its type decides how you read it back, how you join it to other data, and whether a later lookup is O(1) or a scan. A STANDARD TABLE is fine for sequential output. A SORTED TABLE with the report key as its key, or a HASHED TABLE for lookups, stops a second sort or a nested loop later.
" ABAP 7.50+, S/4HANA. Explicit fields, index-friendly WHERE, DB sort.
SELECT bukrs, belnr, gjahr, buzei, wrbtr, koart
FROM bseg
WHERE bukrs = @lv_bukrs
AND gjahr = @lv_gjahr
AND koart = @lc_s
ORDER BY belnr, buzei
INTO TABLE @DATA(lt_items).
" lt_items is a STANDARD TABLE WITH EMPTY KEY by default from INTO TABLE.
" If the next step is lookup by belnr/buzei, build a hashed copy once:
DATA(lt_by_key) = VALUE t_hashed( FOR wa IN lt_items
( KEY belnr = wa-belnr buzei = wa-buzei wrbtr = wa-wrbtr ) ).Why the ABAP-side version fails at scale
Take a report that needs, say, 40,000 vendor lines for one company code and year, but the original code does SELECT * FROM bseg and then filters on koart = 'S' and sorts by document number in ABAP. Three costs stack up. First, transfer: bseg has over 100 fields, so you move maybe 40 MB to return 6 columns. Second, memory and sort: a standard table sort of 2 million rows is CPU work in the application server and can spike memory on a dialog work process. Third, the database cannot help: without a WHERE it cannot use the index to skip irrelevant company codes, and without ORDER BY it returns rows in whatever order the index or table scan gives.
Moving the predicates down changes the trace. The database uses the primary index on bukrs, belnr, gjahr, buzei to find the slice, applies koart as a filter before transfer, and sorts only the surviving rows. You can verify that with ST05 or the SQL Monitor in S/4HANA: look at rows read on the database versus rows returned to ABAP. If they are close, the pushdown worked. If rows read are 50 times rows returned, the WHERE is not selective or not indexable.
| Version | Rows read by DB | Rows sent to ABAP | Sort location | Typical failure |
|---|---|---|---|---|
SELECT *, filter and SORT in ABAP | 2,000,000 | 2,000,000 | Application server | Memory spike, long dialog step, timeout in batch |
SELECT 6 fields, WHERE + ORDER BY in SQL | 48,000 | 40,000 | Database | None if index matches; slow if ORDER BY fields have no index |
SELECT in a loop per document | 40,000 round trips | 40,000 | Database, repeatedly | Network and enqueue overhead dominates, locks held longer |
Choosing the internal table type
INTO TABLE gives you a standard table. That is the right default for output, because the database already sorted the data and you will read it top to bottom. If you then need to match each row to a payment or a vendor master, do not loop over the standard table and search it. Convert once to a hashed table keyed by the join fields, or declare the target as a sorted table when you create it:
TYPES: BEGIN OF ty_item,
bukrs TYPE bseg-bukrs,
belnr TYPE bseg-belnr,
gjahr TYPE bseg-gjahr,
buzei TYPE bseg-buzei,
wrbtr TYPE bseg-wrbtr,
END OF ty_item.
TYPES ty_items_sorted TYPE SORTED TABLE OF ty_item
WITH UNIQUE KEY bukrs belnr gjahr buzei.A sorted table keeps the order the report needs and gives binary-search reads. A hashed table gives constant-time reads but no order, so use it only for lookup and keep the sorted or standard copy for output. Declaring the wrong one is a common silent cost: the code is correct, and a 40,000-row lookup becomes 1.6 billion comparisons.
Performance rules that hold up in review
List fields. Never SELECT * in a report that runs in production. Add UP TO @lv_max ROWS when the report has a defined limit, so a missing filter cannot pull an unbounded set. Keep WHERE predicates on leading index fields, avoid functions and OR on indexed columns, and avoid SELECT inside a loop. If you need to filter by a list from an internal table, use a join or FOR ALL ENTRIES only after checking the table is not empty, because an empty internal table with FOR ALL ENTRIES can return the whole table on some releases. Finally, check the access plan before tuning ABAP: if ORDER BY asks for a sort on fields with no index, either add the sort fields to a suitable index through a view or CDS index in S/4HANA, or accept the sort and measure it. Guessing wastes a tuning cycle.
The interview follow-up is usually about proof. Name ST05, SQL Monitor, and the rows-read versus rows-returned check. That is how you show the rewrite worked, rather than claiming it is faster because the code looks shorter.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-12Walk me through the SQL joins and aggregations you would use to reconcile SD billing totals with FI revenue, and why the two totals can legitimately differ?
The 90-second answer
Start from the billing document, not from FI. In SAP SD, VBRK is the billing header and VBRP the item. NETWR in VBRP is the net value SD calculated. In FI, the same billing posts through BKPF/BSEG, but BSEG splits that net across several accounts: revenue, tax, freight, discount. So a direct SUM(VBRP.NETWR) = SUM(BSEG.WRBTR) will almost never match. You reconcile by restricting FI to the revenue accounts from account determination in VKOA, for one company code, one posting period, and one currency, then you explain the residual line by line.
Assumptions I state up front: company code and period are fixed, billing types are included explicitly, and I use BKPF.AWKEY = VBRK.VBELN AND BKPF.AWTYP = 'VBRK' to link FI to SD. That link is more reliable than joining on BSEG.VBELN, which is only populated for some document types.
The trap in this query is fan-out. If you join VBRP straight to BSEG, each billing item is repeated once per FI line for that document, so both sums are multiplied by the BSEG line count. Aggregate each side first, then join the aggregates on the billing number. That also keeps the FI period and currency filters on BKPF, where they belong.
-- Reconcile SD billing net to FI revenue for BUKRS 1000, March 2026, EUR
WITH sd AS (
SELECT v.VBELN, v.FKART, SUM(p.NETWR) AS sd_net
FROM VBRK v
JOIN VBRP p ON p.VBELN = v.VBELN
WHERE v.BUKRS = '1000'
AND v.WAERK = 'EUR'
AND v.FKART IN ('F-2','G-2','RE','S-1')
AND v.ERDAT BETWEEN '20260301' AND '20260331'
GROUP BY v.VBELN, v.FKART
),
fi AS (
SELECT k.AWKEY, SUM(b.WRBTR) AS fi_revenue
FROM BKPF k
JOIN BSEG b
ON b.BUKRS = k.BUKRS
AND b.GJAHR = k.GJAHR
AND b.BELNR = k.BELNR
WHERE k.BUKRS = '1000'
AND k.AWTYP = 'VBRK'
AND k.WAERK = 'EUR'
AND k.STBLG = ''
AND k.BUDAT BETWEEN '20260301' AND '20260331'
AND b.HKONT IN ('400000','410000')
GROUP BY k.AWKEY
)
SELECT s.FKART,
SUM(s.sd_net) AS sd_net,
SUM(COALESCE(f.fi_revenue, 0)) AS fi_revenue,
SUM(s.sd_net) - SUM(COALESCE(f.fi_revenue, 0)) AS difference
FROM sd s
LEFT JOIN fi f ON f.AWKEY = s.VBELN
GROUP BY s.FKART;The LEFT JOIN matters. An inner join silently drops billing documents that have not posted to FI yet. Run the reverse check separately: FI revenue lines in BSEG for those accounts and period where BKPF.AWTYP <> 'VBRK', or where no matching VBRK exists. Those are manual journals, rebate accruals, and revenue recognition postings.
Worked trace, hypothetical figures for March, EUR:
| Document | SD net (VBRP.NETWR) | FI revenue | Difference | Cause |
|---|---|---|---|---|
| F-2 invoice 900001 | 10,000 | 10,000 | 0 | Clean match |
| G-2 credit memo 900002 | -1,500 | -1,500 | 0 | Included in both |
| F-2 invoice 900003 | 8,000 | 8,000 | 0 | Clean match |
| Manual journal, rebate accrual | 0 | -800 | +800 | FI only, no billing |
| Deferred revenue release | 0 | 1,200 | -1,200 | FI only, recognised later |
| Total | 16,500 | 16,900 | -400 | Explained, not an error |
Why totals legitimately differ:
| Cause | Direction | How you prove it |
|---|---|---|
Credit memos and cancellations (G-2, RE) excluded from one side | SD higher or lower depending on filter | Compare FKART breakdown above, never a single total |
| Manual FI journals to revenue accounts | FI higher or lower | Reverse query on BKPF.AWTYP <> 'VBRK' |
| Revenue recognition and deferred revenue | FI recognised in a different period than billing | BSEG posting date vs VBRK.ERDAT, check deferred revenue account balance |
| Down payment clearing and intercompany billing | Timing difference | BSEG clearing document (AUGBL, AUGGJ) and FKART for intercompany |
| Blocked invoices and period cut-off | SD billed, FI posted next period | BKPF.BUDAT vs VBRK.ERDAT, blocked payment run list |
Tax, freight, discount split in BSEG | FI total WRBTR higher than revenue alone | Restrict to revenue HKONT values, as in the query |
The interview follow-up is usually the residual. If the difference after those checks is still non-zero, I drill to item level: VBRP item vs BSEG.BUZEI, check pricing condition types that post to a different account, and check currency translation where VBRK.WAERK differs from company code currency. A reconciliation that ends with a named document for every euro of difference is the deliverable, not a matching total.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-13In an SAP MM workshop, buyers ask for a custom approval screen for requisitions over EUR 10,000. How would you capture that as a requirement and decide whether standard SAP covers it?
The 90-second answer
I would capture the need first and the screen second. The need is: a requisition above EUR 10,000 must be approved before a purchase order can be created. The screen is one possible solution. I write the need as a numbered, testable requirement, then I check it against the standard release strategy in MM before I call it a gap.
In standard S/4HANA, that check is usually short. A release strategy is assigned to a requisition type and plant, it defines release groups and release codes, and the system blocks PO creation until the required codes are released. If the buyers need a different approver per cost centre or per value band, that is still standard configuration. A custom screen becomes a gap only if the approval logic itself cannot be expressed that way, for example approval based on a field the release strategy cannot read.
How I capture it in the workshop
I ask the buyers to walk through two real requisitions, one at EUR 8,000 and one at EUR 12,500. I record who approved each one, how long it took, and what happened when the approver was away. That gives me the rule, the approver source and the exception path. I do not record "custom approval screen" as the requirement, because that locks in development before the fit-gap.
The log entry I write on the day looks like this:
| Field | Entry |
|---|---|
| ID | MM-REQ-014 |
| Statement | The system must block purchase order creation for a requisition valued above EUR 10,000 until it is released by the responsible cost centre manager |
| Source | MM workshop, 12 March, procurement lead confirmed |
| Priority | Must |
| Open point | What happens if the manager is absent for more than 5 days |
The open point stays visible. It is a decision for the process owner, not something I guess at during build.
Fit against standard
I then map the statement to the standard objects. The release strategy sits in SPRO under Materials Management, Purchasing, Purchase Requisition, Release Procedure. I check three things: can the strategy be triggered by the value limit, can the approver be derived from the cost centre, and can the release be done from the requisition itself or from a Fiori app. In most MM designs the answer to all three is yes.
| Approach | How it works | Main trade-off |
|---|---|---|
| Standard release strategy | Release group and code on the requisition, workflow or Fiori approval, PO blocked until release | No custom code and upgrade safe, but the approver logic is limited to fields the strategy can evaluate |
| Custom approval screen and logic | Z program or app reads the requisition, applies buyer rules, writes a custom status | Full control over the rule, but you own the code, the tests and every upgrade remediation |
I present that table to the buyers with a worked trace, because the trace is what they sign off:
| Step | Requisition EUR 8,000 | Requisition EUR 12,500 |
|---|---|---|
| Submitted | Status: released automatically, no approval needed | Status: pending release, PO creation blocked |
| Approval | None | Cost centre manager releases in Fiori, status changes to released |
| PO creation | Allowed | Allowed only after release, blocked before |
If the trace matches what the buyers described, the requirement is closed as standard fit. If a step fails, for example the manager cannot be derived from the cost centre because the requisition carries a different account assignment, I record that specific failure as the gap. The gap is then small and priced, rather than "custom screen, effort unknown".
What I hand over
The final requirement keeps the same ID and gains the fit-gap result and an acceptance criterion the buyers can test in a show-and-tell: given a requisition of EUR 12,500, when it is submitted, then the status is pending release and PO creation returns an error, and after release by the manager the PO can be created. That criterion links directly to two test cases, one below the limit and one above it. The custom screen request is recorded as a rejected solution with the reason, so it does not return during build as an undocumented change.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-14How do you write acceptance criteria in Given/When/Then form for an SAP configuration change?
The 90-second answer
An acceptance criterion is testable when a tester can run it and say pass or fail from what the system shows, without guessing what you meant. The rule that gets you there is Given/When/Then, one observable result per criterion.
Write the story in one line first: As a [role], I want [change], so that [outcome]. Then write each criterion as a scenario the tester can execute in a named transaction with named test data. If the tester has to ask "which screen, which field, what value counts as done", the criterion is not finished.
Bad criterion: "The system should block high-value purchase orders." Blocked where, for whom, and how would the tester see it?
Good criterion: "Given a purchase order for 10,001 USD, when the buyer saves it in ME21N, then the release indicator is blank and the order appears in ME28." A tester can check that in two transactions and record pass or fail.
Worked example
Story: As a procurement manager, I want purchase orders over 10,000 USD to need release before posting, so that high-value orders get a second approval.
Configuration in scope: SPRO > Materials Management > Purchasing > Purchase Order > Release Procedure, strategy Z1. Test data: vendor V1001, buyer P01, manager MGR01, one PO at 10,001 USD.
Feature: PO release for high-value orders
Scenario: Order above threshold is held for release
Given a PO for 10,001 USD for vendor V1001
When the buyer saves the PO in ME21N
Then the release indicator is blank
And the PO appears in ME28 for MGR01
And posting is blocked until MGR01 releases itHow the tester checks it
| Step | Where | Pass looks like |
|---|---|---|
| --- | --- | --- |
| Create PO | ME21N | PO saves, release indicator blank |
| Find PO for approval | ME28 as MGR01 | PO listed for release |
| Try to post | ME21N | Posting blocked with release message |
| Release PO | ME28 as MGR01 | Release indicator set to X |
| Post again | ME21N | Posting succeeds |
That is the whole method. One scenario, one action in the system, one visible result. Add a second scenario only when there is a second result worth checking, such as an order below the threshold posting without release. Keep the value, the transaction and the field in the criterion itself, because those three details are what let a tester verify the configuration instead of debating the story.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-15Walk me through how you run a fit-gap analysis between standard S/4HANA and a client's requirements, and how you document the decision on each gap?
The 90-second answer
I run fit-gap in workshops against a frozen requirement baseline, not against slideware. For each requirement I record what the client does today, what they need in the target process, and what standard S/4HANA does out of the box for that exact scenario. Only then do I classify the gap and force a decision with an owner and a cost. A gap without a signed decision is just deferred scope.
The classification I use in the register is:
| Classification | Meaning | Upgrade impact |
|---|---|---|
| Fit | Standard process and config meet the requirement | None |
| Config gap | Standard function exists, needs IMG configuration, condition types, tolerance keys, workflow steps | Low, config is transported and versioned |
| Enhancement gap | Standard process stays, a supported extension point adds logic: BAdI, user exit, CDS view, RAP behaviour, Fiori annotation | Medium, must survive release upgrades and be regression tested |
| Custom gap | No extension point covers it, new Z program, table or interface required | High, own code, own support, own test cycle |
| Process gap | Client changes their process to match standard | Change management cost, no code |
| Defer / reject | Requirement dropped or moved to a later phase | Documented rationale, signed by process owner |
How the workshop runs
I start with the process owner, not IT. We walk the as-is flow step by step and capture triggers, inputs, approvals and outputs. Then I show the standard flow in the system, in a sandbox client, with real master data. The client reacts to what they see, which surfaces gaps that a requirements document hides. For example, a client may ask for order-based billing for partial deliveries. In SD that is not a preference flag. It changes the billing type, the delivery split logic and the invoice verification in MM. If we only record "order-based billing required" we miss that finance, warehouse and the customer all see different documents.
Each requirement gets an ID that never changes, such as SD-014. That ID follows the gap through design, build, test and cutover. If the wording changes, I version the requirement and keep the old text. That is how you stop a gap reopening in UAT.
The gap decision record
One row per gap, in the register the client signs. I do not accept a decision that only says "customize". The record must show the alternatives considered and why they lost.
| Field | What I write |
|---|---|
| Requirement ID and version | SD-014 v2, linked to the signed business requirement |
| As-is and to-be | Short process description, with the actor and the trigger |
| Standard capability | Transaction, IMG path or app that was demonstrated, and the test data used |
| Gap type | Fit, config, enhancement, custom, process change, defer |
| Options assessed | At least two, with effort in person-days and licence or infrastructure cost if any |
| Recommendation | The chosen option and the reason it wins on upgrade, support and process grounds |
| Impact | Master data, interfaces, authorisations, reporting, cutover and training affected |
| Test evidence | Test case IDs that will prove the decision, including negative cases |
| Owner and sign-off | Named process owner, date, and phase if deferred |
Worked example, labelled as an example from a distribution client:
| ID | Requirement | Standard finding | Decision |
|---|---|---|---|
SD-014 | One invoice per sales order even with three partial deliveries | Standard SD supports order-based billing via billing plan and billing type, but delivery-based is the default and matches their current delivery split | Config gap. Configure billing plan with milestone billing, keep delivery-based for standard customers. Effort 8 person-days including testing. Process owner signed, finance confirmed revenue recognition impact. |
MM-031 | Block goods receipt if supplier quality score below threshold | No standard quality score field on vendor master in their scope. A BAdI exists at goods receipt posting to add a check. | Enhancement gap. Use the BAdI, read score from a custom table fed by QM, raise a workflow to QA. Effort 15 person-days. Rejected a full custom goods receipt program because it would break standard posting and upgrade support. |
FI-007 | Auto-post freight surcharges under EUR 50 without approval | Tolerance key BD in FI exists for automatic posting of small differences, with limits per company code. | Fit with config. Set tolerance key and posting rules, no code. Effort 2 person-days. |
Failure modes I watch for
The first is a gap discovered during build because the sandbox demo used clean master data. If the client has no batch management in production but the demo assumes it, pricing and delivery logic will differ. I demo with their data, or a realistic extract, and I record the data assumptions in the register.
The second is choosing custom development because it is faster in the project and slower for the next ten years. A Z program that duplicates standard posting logic will fail regression on a release upgrade, and the failure shows up in production posting, not in a test report. That is why the options table must include upgrade and support cost, not just build days.
The third is a decision signed by IT alone. If the process owner did not agree to a process change, the gap returns as a go-live issue when users work around the standard process. I require the process owner signature on process-change and defer decisions, and I track deferred gaps in a phase 2 backlog with an owner and a trigger date, so defer does not mean disappear.
At the end of fit-gap I can point to any requirement ID and show the standard demonstration, the alternatives, the cost of the chosen path and who accepted it. That trace is what makes the design phase defensible.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-16Your client wants to skip the Explore gate and start Realize in four weeks to hit a budget deadline. How would you handle that request using SAP Activate gates and deliverables?
The 90-second answer
I would not sign an Explore gate waiver to start Realize in four weeks. I would offer a conditional, timeboxed Explore instead, and make the trade-off explicit to the sponsor. Skipping Explore does not remove the work. It moves fit/gap discovery into Realize, where every change costs a sprint, a regression cycle, and usually a transport queue.
SAP Activate gates exist to stop that transfer. Discover tests the value case. Prepare confirms staffing, funding, and landscape. Explore produces the signed Business Blueprint, the fit/gap log, the prioritised backlog, and the data migration and test strategies. Realize builds only against that backlog. If the backlog does not exist, Realize has no stable scope to build against, and the gate question cannot be answered: has the business accepted the process scope and the gaps?
My counterproposal keeps the deadline pressure visible while protecting the gate. Run a two week Explore sprint for the processes on the critical path, freeze scope for those processes at the gate, and defer the rest to a second release. The sponsor signs a conditional gate that names what is frozen, what is deferred, and who owns each deferred decision.
What the gate evidence actually looks like
| Gate input | Present in a real Explore | Consequence if missing in Realize |
|---|---|---|
| Business Blueprint | Signed process scope per area, for example procure-to-pay, order-to-cash, record-to-report | Workshops repeat inside sprints, scope arguments block build |
| Fit/gap log | One entry per requirement with gap type and decision owner | Enhancements surface during UAT, after configuration is done |
| Prioritised backlog | Ordered items with acceptance criteria and test cases | Sprint planning becomes negotiation, velocity looks low |
| Migration strategy | Objects, cycles, mock loads, reconciliation approach | Data defects appear at cutover rehearsal, when the window is fixed |
| Test strategy | SIT and UAT scope, entry and exit criteria, defect severity rules | UAT becomes the first integration test, critical defects stay open |
The arithmetic I put in front of the sponsor
Use the client's own numbers, labelled as an estimate. Suppose Explore would normally take six weeks and identify 200 fit/gap items. Skipping it saves six weeks on the plan. If even 15 percent of those items, 30 items, are discovered late in Realize, and each late item costs on average two days of rework, retest, and retransport, that is 60 working days of unplanned effort spread across the team. That usually consumes more calendar time than the six weeks saved, because it lands after build, during SIT and UAT, when the same consultants are already committed.
The compressed path costs two weeks instead of six. It covers the processes that touch finance close and master data first, because those carry the highest cutover risk. Lower risk processes, for example internal reporting variants, go into the deferred backlog with a named owner and a release date.
How I run the conditional gate
First, I name the frozen scope in the gate record. For this client I would freeze procure-to-pay and record-to-report, including the month-end close steps, because a late change there breaks period close. Second, I record the deferred items with an owner and a decision date, not as a vague list. Third, I set a Realize entry condition: no sprint starts for a process until its Blueprint section and backlog items are signed. That keeps Realize moving without pretending the whole Explore is done.
Failure modes to name in the room
One is a signed gate with no evidence. A Blueprint signed in a meeting, with no fit/gap entries behind it, fails the next gate anyway, because Realize cannot trace a configured process back to a requirement. I check traceability: every backlog item points to a Blueprint process step, and every Blueprint step points to a test case.
Another is a conditional gate that never closes. If the deferred processes have no owner, they reappear as urgent requests mid-sprint. I put a review date in the gate record, typically four weeks after Realize starts, and the sponsor reviews the deferred list then.
A third is treating the budget deadline as fixed and the gate as flexible. The gate is the control that protects the deadline. Removing it to meet the deadline usually produces a go-live that misses it, because cutover rehearsal and UAT absorb the late discoveries. I state that plainly, with the estimate above, and let the sponsor choose between a two week compressed Explore and a documented risk acceptance. If they choose risk acceptance, the gate record says so, with their name on it, and Realize entry conditions still apply per process.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-17How do SAP Signavio process modeling and process mining support an SAP transformation, from discovering the current process to designing the target process?
The 90-second answer
Process mining tells you what the process actually did, using event logs from the live system. Process modeling in Signavio lets you document that reality, design the target process, and keep both versions aligned during the S/4HANA build. Used together, they replace workshop opinion with evidence: you discover variants and bottlenecks from data, model the to-be process against SAP best practice, and then use the same KPIs after go-live to check whether the new process behaves as designed.
Mining the as-is process
SAP Signavio Process Mining, and the related SAP Process Insights capability in S/4HANA, ingest an event log. Each row needs a case ID, an activity name, and a timestamp. For procure-to-pay, a sensible case ID is the purchase order number. Activities might be Create PO, Release PO, Goods Receipt, Invoice Receipt, and Payment. The tool reconstructs the sequence per case, then shows variant frequency, loopbacks, and waiting time between activities.
A worked trace, with hypothetical figures for one month of POs, looks like this:
| Activity | Median wait before it | Cases | Signal |
|---|---|---|---|
| Create PO to Release PO | 11 days | 4,200 | Approval queue is the bottleneck |
| Release PO to Goods Receipt | 3 days | 4,200 | Normal supplier lead time |
| Goods Receipt to Invoice Receipt | 6 days | 3,900 | Invoices arrive late or GR is posted late |
| Invoice Receipt to Payment | 9 days | 3,900 | Payment run timing, not approval |
That table changes the workshop. Instead of debating whether approvals are slow, you can point to the 11-day median and ask which release strategy, tolerance group, or delegated approver creates it. Conformance checking adds another layer: compare the mined sequence against the documented model and flag cases that skipped a required step, such as invoice posted before goods receipt.
Data quality decides whether this works. If the case ID changes mid-process, if timestamps are entered in batch the next morning, or if activities are recorded with free text, variants explode and the analysis misleads. Cleaning the event log is part of the work, not a preprocessing detail.
import pandas as pd
log = pd.read_csv("po_event_log.csv", parse_dates=["timestamp"])
log = log.sort_values(["case_id", "timestamp"])
log["wait_days"] = (
log.groupby("case_id")["timestamp"].diff().dt.total_seconds() / 86400
)
summary = log.groupby("activity")["wait_days"].median().sort_values(ascending=False)
print(summary.head())Modeling the to-be process
Signavio Process Modeler stores processes in BPMN 2.0. You model the as-is process from the mined variants, then model the to-be process using SAP Signavio Process Navigator, which provides best-practice process content for S/4HANA. Each modeled step links to the SAP transaction, Fiori app, or configuration that will implement it, for example ME21N for PO creation or MIRO for invoice verification.
The fit-gap decision is recorded on the model itself. A step that matches standard S/4HANA is marked as adopted. A step that needs configuration, such as a release strategy, is marked as configured. A step that needs custom code is flagged early, while the design can still change. That traceability is what consultants lose when the target process lives only in slide decks.
Where this supports the transformation
During discovery, mining gives you a baseline: cycle time, rework rate, and the share of cases taking the happy path. During design, modeling turns that baseline into a target process that stakeholders can review in one place. During build, the model becomes the reference for test cases, because each modeled activity maps to a scenario you can execute. After go-live, Process Insights continues to mine the new system, so you can compare post-migration cycle times against the pre-migration baseline and spot new variants introduced by the new release strategy or approval workflow.
The limits are practical. Mining shows correlation and sequence, it does not explain why a buyer chose a particular supplier. Modeling shows intent, it does not guarantee adoption. You still need process owners in MM, SD, and FI to validate the mined variants, confirm which ones are legitimate exceptions, and own the to-be design. When that ownership is missing, teams produce an accurate map of a process nobody intends to follow.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-18What is the purpose of a mock cutover in S/4HANA go-live planning?
The 90-second answer
A mock cutover is a full rehearsal of the go-live cutover in a non-production system, using production-like data and the final cutover scripts. Its purpose is to prove the sequence works and to measure how long each step takes before the real downtime window. If a load takes four hours in the mock, the plan must allow four hours on go-live night.
What a mock cutover includes
| Element | Mock cutover | Real cutover |
|---|---|---|
| System | Pre-production or QA copy refreshed from production | Production S/4HANA |
| Data | Final extract files, same migration objects | Final extract files, same migration objects |
| Tasks | Org structure, master data, open transactions, opening balances, transports, number ranges | Same tasks in the same order |
| Output | Timings, error logs, reconciliation reports | Go-live, or rollback if criteria are met |
The sequence is fixed. Org structure loads first, then master data such as business partners and materials, then open purchase and sales orders, then financial opening balances. Each stage depends on the previous one. An open order cannot load without a valid material and business partner, and the trial balance check only proves anything after all prior loads have posted.
How it is run
Most teams run two or three mocks. The first finds missing dependencies and script errors. The second measures durations and tests delta loads. The final one runs to the minute with business users signing the reconciliation reports. Each mock ends with the same checks used on go-live night, for example record counts per migration object and a trial balance that matches the ECC closing balance.
Rollback criteria
Rollback criteria are agreed before the window starts. Typical triggers are a critical load failure, a trial balance variance, a smoke test failure on a core process such as posting an invoice, or elapsed time running well beyond the mock timing. Before opening balances post, the team can reverse loads or restore the pre-cutover backup and reopen ECC. After production transactions start, a restore is no longer clean, so the go or no-go decision is taken before that point.
The mock is what turns those criteria from guesses into numbers the team can defend on the night.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-19QA imported a workbench request before the customizing request it depends on, testers already changed the table entry in QA, and PRD import is tonight. How do you sequence recovery and PRD import so QA and PRD match, and what do you check before releasing?
The 90-second answer
Stop the PRD import first. Do not forward the workbench request to PRD in the state QA has it, because QA has not tested the combination you intend to run live. Then work out, from the object lists, whether importing the customizing request now in QA repairs the sequence or creates a second problem. A customizing request, type K, carries table entries and IMG settings. A workbench request, type W, carries programs, classes and dictionary objects, split into tasks per developer. Both move DEV to QA to PRD through the transport route shown in STMS, and both must land in the same order in QA and PRD. If QA imported W before K, and a later request already changed the same table key, importing K late can overwrite that later change. That is the trap.
Recovery sequence
Freeze both queues in STMS so no parallel import starts. In SE10, list the objects in each request in DEV order and note the request numbers. In QA, read the import log per object, not just the header status. Return code 8 is a warning to inspect, 12 or 16 means the object did not land cleanly and PRD must wait.
Then decide which case you are in.
| QA state | Safe recovery |
|---|---|
| W imported, K not yet imported, nothing later touched the same key | Import K in QA now, retest the affected scenario, then import K then W in PRD in that order |
| W imported, K not yet imported, a later request R3 already imported and changed the same key | Import K, then reimport R3 in QA so R3 wins again, retest, then import K, W, R3 in PRD |
| W activation failed in QA because a dictionary object or class from K was missing | Import K first, then reimport or reactivate W in QA, check the log again before any PRD import |
| Testers changed the table entry directly in QA and want that value live | Recreate the change in DEV as a new K request, import it in QA for retest, then import it in PRD. The QA-only change never transports by itself |
The last row is the one that catches experienced teams. A table entry changed in QA is local to QA. PRD will not receive it, so PRD will not match the tested system unless the change is made in DEV and transported.
Worked trace
Assume DEV order is R1 (K, creates entry for document type ZD), R2 (W, program reads ZD), R3 (K, changes the tolerance for ZD). QA imported R2, then R3, and testers edited ZD in QA.
| Step | Action | Result |
|---|---|---|
| 1 | Freeze QA and PRD queues, note R1 missing in QA | No further drift while you repair |
| 2 | Import R1 in QA | ZD entry now exists, but R1 value overwrites the tester edit and would be overwritten by R3 if R3 is not reapplied |
| 3 | Reimport R3 in QA | Tolerance returns to the DEV intended value, matching the planned PRD state |
| 4 | Retest only the ZD posting flow in QA | Confirms R2 plus R1 plus R3 together, not each request alone |
| 5 | Import R1, R2, R3 in PRD in that order | PRD matches tested QA, provided no direct PRD change exists |
If step 2 were done without step 3, QA would pass with the R1 tolerance and PRD, imported in correct order, would run with the R3 tolerance. Same requests, different behaviour.
Checks before you release to PRD
Confirm every request shows a clean import in QA with no return code 12 or 16 outstanding. Confirm the STMS queue in PRD contains the same request numbers in the same order, with no extra request inserted between them. Check for direct changes in QA or PRD on the same objects, since a local change will not be in the transport and will make the systems diverge silently. Finally, record the request list, the QA retest result and the approver. If PRD import then fails on one object, that list tells you which prerequisite to inspect first, instead of restarting the whole window.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-20Walk me through how PFCG single and composite roles, profiles and segregation of duties work in SAP, and how you troubleshoot a user who gets a missing authorization error?
The 90-second answer
In SAP, a user does not get authorizations directly. A PFCG role is assigned to the user, the role generates a composite profile, and that profile is what the authorization check reads at runtime. A single role contains the actual authorization objects and fields. A composite role contains single roles, so one assignment gives a buyer, say, requisition, purchase order and goods receipt access without duplicating them. Segregation of duties (SoD) is then checked across the combined authorizations: a user who can both create a vendor and post an invoice to that vendor has a conflict, even if no single transaction does both.
How the pieces fit
| Construct | Contains | Use it for |
|---|---|---|
| --- | --- | --- |
| --- | --- | --- |
| --- | --- | --- |
| Single role | Authorization objects with fields and values, plus org levels | One job function, for example buyer for plant 1000 |
| Composite role | Single roles only, no authorizations of its own | Bundling functions a person holds together, for example buyer plus goods receipt |
| Master role | Derived roles, no authorizations of its own | Rolling out the same role structure to several company codes or plants with different org levels |
When you change a role you must generate it in PFCG, then run the user comparison on the user tab so the generated profile reaches the user buffer. Until that comparison runs, the user keeps the old authorizations. That delay is the most common cause of "I changed the role but nothing happened."
Org levels matter more than the transaction. M_EINK_FRG (purchasing release) or F_BKPF_BUK (FI posting, company code) can be correct for plant 1000 and wrong for plant 2000. A role that looks complete in PFCG still fails if the org level in the derived role does not match the document being processed.
SoD in practice
SoD conflicts are defined in SAP GRC Access Control as pairs of conflicting functions, for example creating a vendor (FK01, MK01) versus posting a vendor invoice (MIRO, F-43), or maintaining a purchase order versus verifying its invoice. GRC evaluates the authorizations behind those functions, not just the transaction codes, so a user with a composite role that bundles both sides triggers the conflict even if they never run both in one session.
You resolve it by splitting the role so different people hold each side, by restricting org levels so the conflict cannot occur in the same plant or company code, or by documenting a compensating control such as independent payment release. Splitting is the default. A compensating control without an owner and a review cadence will not survive an audit.
Troubleshooting a missing authorization
Work from the failure, not from the role.
- Reproduce the exact action and note the time, the transaction and the document values (plant, company code, order type).
- Run
SU53for that user immediately after the failure. It shows the last authorization object and field that failed. - Check the generated profile for that object and field, then check the org level values against the document.
- Check assignment validity dates, whether the role is generated, and whether the user comparison has run. Invalidate the buffer with
SU10if needed. - If
SU53shows no failed check, useST01with an authorization trace orSTUSERTRACEto see which object was actually checked. A missing authorization can also be a missing field value inside an object that otherwise passed.
Worked trace, hypothetical but typical:
| Step | What you see | What it tells you |
|---|---|---|
| --- | --- | --- |
User runs ME28 to release a PO for plant 2000 | Error: no authorization | Release function, not display |
SU53 shows M_EINK_FRG, field FRGZU, required value X | Release group X is required | Check the role for that field |
Generated profile has FRGZU = A only | Role grants a different release group | Fix the single role, regenerate, run user comparison |
After fix, SU53 shows M_EINK_FRG passed but EINKBELEG failed on EKORG = 2000 | Org level mismatch | The derived role for plant 2000 was not assigned |
Two failure modes to name in the interview: a role assigned but not generated, and a composite role assigned to the user while the single roles inside it were never generated. Both leave the user with an empty or stale profile, and both are fixed in PFCG, not in SU01.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-21Walk me through how you would design an SD pricing procedure with condition types, access sequences and condition records, using a worked pricing trace?
The 90-second answer
In SD, pricing is not calculated in code. It is determined by a pricing procedure, which is an ordered list of condition types. Each condition type points to an access sequence, and the access sequence tells the system in which order to search condition records. The first record found for that access sequence wins, its value is calculated, and the result is written to KONV for the item.
So the design chain is: pricing procedure determines the steps, each step names a condition type, each condition type names an access sequence, and each access sequence searches KONP for a matching condition record.
Worked trace
Assume a domestic sale, material MAT-100, quantity 100, list price EUR 100 each. The pricing procedure ZSTD01 contains four steps.
| Step | Condition type | Meaning | Access sequence search | Result |
|---|---|---|---|---|
| 10 | PR00 | Base price, amount per unit | Customer/material, then material, then material group | EUR 100 x 100 = EUR 10,000 |
| 20 | K005 | Percentage discount | Customer/material, then material | 10% of step 10 = EUR -1,000 |
| 30 | FR01 | Freight, fixed per item | Customer/material, then material | EUR 250 |
| 40 | MWST | Output tax | Tax determination, then condition record | 19% of EUR 9,250 = EUR 1,757.50 |
| Item total | Amount |
|---|---|
| Base price | EUR 10,000.00 |
| Less discount | EUR -1,000.00 |
| Plus freight | EUR 250.00 |
| Net before tax | EUR 9,250.00 |
| Tax at 19% | EUR 1,757.50 |
| Document total | EUR 11,007.50 |
That trace is what the user sees in VA03 under Conditions, and what billing later copies into the invoice item. If a step is marked statistical, it calculates and displays but does not add to the total. If a step has a requirement, for example only apply freight for delivery type LF, the system skips it when the requirement fails.
How the pieces differ
| Object | What it holds | Example |
|---|---|---|
| Condition type | Calculation logic: condition class, calculation type, scale, condition category | PR00: class A price, calculation type amount, scale per unit |
| Access sequence | Ordered search keys for that condition type | PR00: 1. customer/material, 2. material, 3. material group |
| Condition record | The actual price or percentage for a key combination | Customer C100 + MAT-100 = EUR 95, or MAT-100 alone = EUR 100 |
| Pricing procedure | Ordered steps, subtotals, requirements, manual and statistical flags | ZSTD01 steps 10 to 40 as above |
The access sequence order is the main design decision. Put the most specific key first. In the trace, a record for customer C100 and MAT-100 at EUR 95 would be found before the generic material record at EUR 100, and the generic record would be ignored for that customer. Reverse the order and every customer gets the generic price, which is a common cause of "the price we agreed is not coming through."
Failure modes I check first
A zero price usually means no condition record was found for any key in the access sequence, or the validity period on the record has expired. A discount that applies twice usually means the condition type appears in two pricing procedures, or the same condition type is entered manually and automatically. A tax that is missing often traces back to tax determination in the customer and material master rather than to the pricing procedure itself, because MWST only calculates once the tax code is determined.
When I design a new procedure I start from the price list the business actually uses, build the access sequence from most specific to most general, assign condition types to steps in the order finance wants them subtotalled, and then test with a customer who has a specific record and one who only has the generic record. Those two orders expose almost every ordering mistake before go-live.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-22What happens in SAP SD when a sales order exceeds the customer's credit limit, and which transaction releases the blocked order?
The 90-second answer
When a sales order would push the customer's credit exposure over the credit limit for the credit control area, SAP SD blocks the order for credit. The order is saved, but it cannot be delivered until a credit manager releases it. In classic SD the release is done in VKM1 for sales orders, VKM2 for deliveries, VKM3 for billing documents and VKM4 for credit memos. In S/4HANA Credit Management the same release happens from the credit worklist in UKM.
The one rule behind it
Credit exposure is the total value the customer still owes or is committed to, across open orders, deliveries not yet billed and billing documents not yet paid. The credit limit is set per customer per credit control area in the credit master, in the FD view in classic SD or in UKM01 in S/4HANA. Automatic credit control in OVA8 decides when the check runs, commonly at order entry. If exposure plus the new order value exceeds the limit, the system sets a credit block on the order.
A blocked order is not deleted or rejected. It stays in the system with a block reason, visible in the order header and in VKM1. Delivery processing stops for that order until the block is removed.
Worked trace
Hypothetical figures. Customer C100 has a credit limit of EUR 100,000.
| Event | Credit exposure | Result |
|---|---|---|
| Open orders and unpaid invoices already on the account | EUR 82,000 | Within limit |
| New sales order for EUR 25,000 saved | EUR 107,000 | EUR 107,000 exceeds EUR 100,000, order blocked for credit |
| Credit manager releases the order in VKM1 | EUR 107,000 | Block removed, delivery can proceed |
| Customer pays EUR 25,000 against the invoice | EUR 82,000 | Exposure falls back within the limit |
The release in VKM1 does not change the limit. It only removes the block for that specific order, after the credit manager has checked the customer's payment history and agreed the order can ship.
What to check if the block does not appear
If an order over the limit is not blocked, the usual cause is that automatic credit control is not active for that sales area, or the customer has no credit limit recorded for the credit control area. If the order is blocked but nobody can release it, check that the user has the release authorisation for that credit control area and can run VKM1. The block itself is working as designed in both cases.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-23Walk me through delivery processing from picking and goods issue to billing in SAP SD, and how you would release a delivery block without breaking credit or pricing controls?
The 90-second answer
A delivery in SAP SD is not a shipment note. It is the document that moves stock, sets the delivery status on the sales order, and makes the quantity billable. I would walk it as sales order, delivery creation, picking and packing, goods issue, then billing, and I would treat every block as a reason code that has to be cleared in the right transaction, not just deleted in VL02N.
Assume standard S/4HANA SD with delivery type LF, item category TAN, and no EWM. With EWM the picking and goods issue steps move to EWM tasks, but the SD status logic is the same.
Delivery creation, picking and packing
VL01N creates the delivery from the sales order. SAP copies shipping point, route, picking location and storage location from the material master, customer master and shipping determination, then checks availability against the confirmed quantity. If the order is for 100 pieces and only 60 are available, the delivery can be created for 60 with the remainder left open on the order, or held for backorder processing depending on the delivery creation settings.
Picking is confirmed in VL02N for simple warehouse management, or in LT01 and the EWM warehouse task queue when WM or EWM is active. Picking confirms the picked quantity and storage bin. Packing in VL02N creates handling units and assigns them to the delivery item. Neither picking nor packing posts goods issue. That distinction matters in interviews and in production, because stock is still allocated, not yet consumed.
Goods issue
Posting goods issue in VL02N, or automatically at delivery creation if the delivery type is configured that way, posts the movement, updates LIKP with the actual goods issue date and time, and sets the delivery item to fully delivered. The sales order delivery status moves from open to delivered for that quantity. Only after goods issue is the delivered quantity eligible for billing. A delivery that is picked but not issued will not bill, and a billing run that picks it up early is a common source of "missing billing" tickets.
Worked trace, hypothetical figures:
| Step | Transaction | Document | Status after step |
|---|---|---|---|
| Sales order | VA03 | 100001, 100 pcs | Open, confirmed 100 |
| Delivery created | VL01N | 800001, 100 pcs | Delivery status: open |
| Picking confirmed | VL02N | 800001, 60 pcs picked | Picked 60, issued 0 |
| Goods issue posted | VL02N | 800001, 60 pcs issued | Delivered 60, open 40 |
| Billing | VF01 | Invoice 900001, 60 pcs | Billing status: billed 60 |
The remaining 40 stay on the sales order for a second delivery. That is partial delivery, and it is why delivery status and billing status are tracked per item, not per order header.
Billing
VF01 creates the billing document, typically billing type F-1 for a standard invoice, from the delivered quantity. Pricing is redetermined from the pricing procedure unless the billing document is set to copy pricing from the order, and the billing block, if set, stops the posting to FI. VF03 displays the result. The invoice posts revenue to FI, updates the sales order billing status, and clears the delivery billing status in LIKP. If the delivery is blocked for billing, the invoice can be created but not released, which is a different problem from a delivery that cannot be issued at all.
Delivery blocks and release
Blocks sit at different levels and are released in different places. Confusing them is the usual failure mode.
| Block | Typical cause | Where it is released | Check before release |
|---|---|---|---|
| Picking block | Warehouse cannot pick, stock in inspection | VL02N, remove block reason | Picking location and bin stock |
| Shipping block | Transport or route not ready | VL02N | Route, shipping point, carrier |
| Manual delivery block | User set block in VL02N | VL02N | Reason for the manual hold |
| Credit block | Customer over credit limit or risk category | VKM3 in classic SD, credit management worklist in S/4HANA FSCM | Current credit exposure, open items, limit change |
| Billing block | Billing should not post yet | VF02 or billing release, depending on setup | Pricing, tax, and order completeness |
For a credit block, VKM3 releases the delivery, but release does not fix the underlying exposure. If the customer is still over the limit, the next delivery will block again, and releasing without checking open sales orders and open invoices just moves the problem. In S/4HANA with FSCM Credit Management, the release happens after a credit check in the credit management worklist, and the credit controller sees the same exposure that caused the block. I would check the credit limit, the risk category, and whether a payment or a limit increase is pending before releasing.
Two failure modes I name explicitly. First, releasing a picking or shipping block in VL02N before goods issue is posted creates a delivery that looks ready to ship while stock has not moved, which breaks the link between physical shipment and system stock. Second, releasing a credit block and then posting goods issue in the same session, without a fresh credit check, can ship goods to a customer who has already exceeded the limit on another order created minutes earlier. The control is sequencing: clear the block, recheck credit and availability, then post goods issue, then bill.
That sequence, delivery to picking to goods issue to billing, with the block reason dictating the release transaction, is the answer I would give live.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-24Walk me through invoice verification in MM: how does the three-way match work, and what happens when tolerances block an invoice?
The 90-second answer
Invoice verification in MM is MIRO. The system compares three documents for the same purchase order item: the PO, the goods receipt, and the vendor invoice. That comparison is the three-way match. If the invoice quantity, price and date agree with the PO and the goods receipt within configured tolerances, SAP posts the document and clears the GR/IR account. If a tolerance is exceeded, SAP still posts the invoice in most cases, but sets a payment block. Finance or the buyer then releases it, or the invoice is parked before posting if the discrepancy needs investigation first.
Worked trace
Assume one PO item, no partial invoicing complexity, and a GR/IR account in use.
| Step | Document | Quantity | Price | Value |
|---|---|---|---|---|
| 1 | PO item 10 | 1,000 EA | 100.00 EUR | 100,000 EUR |
| 2 | Goods receipt | 950 EA | 100.00 EUR | 95,000 EUR |
| 3 | Vendor invoice | 1,000 EA | 102.00 EUR | 102,000 EUR |
SAP calculates two variances. Quantity variance is 50 EA invoiced above the goods receipt. Price variance is 2.00 EUR per EA, or 2,000 EUR in total. The posting, if it were released, would be: debit GR/IR 95,000 EUR for the quantity received, debit purchase price variance 2,000 EUR for the price difference, debit a further 5,000 EUR to GR/IR or stock depending on the delivery note and valuation settings for the unbilled quantity, and credit the vendor for 102,000 EUR. In practice the unbilled quantity portion is the part buyers query first, because it suggests either a missing goods receipt or an invoice for goods not yet received.
Tolerances decide the outcome
Tolerance limits are set per company code in the IMG under Define Tolerance Limits, transaction OMR6, and assigned through a tolerance group. The keys a consultant sees most often are:
| Key | Meaning | Typical effect when exceeded |
|---|---|---|
| PP | Price variance against PO price | Invoice blocked for price variance |
| DQ | Quantity variance against goods receipt | Invoice blocked for quantity variance |
| BD | Small differences, automatic posting | Difference posted automatically, no block |
| AP | Amount item without PO reference | Blocked or requires manual handling |
| ST | Date variance against delivery date | Blocked for date variance |
| VP | Moving average price variance | Blocked where moving average price is used |
In the trace above, suppose PP is set to 1% or 500 EUR absolute. The 2% and 2,000 EUR variance exceeds both, so the invoice is blocked. Suppose instead the invoice price were 100.03 EUR. The variance would be 30 EUR. If BD is set to 50 EUR, SAP posts that 30 EUR to purchase price variance and does not block. That distinction matters in workshops: BD is not a licence to ignore small differences, it is a configured threshold below which the cost of manual handling exceeds the value at risk.
Blocked invoices and release
A blocked invoice is posted, so the vendor liability exists, but the payment program will not pay it until the block is removed. Common block reasons are price variance, quantity variance, date variance, manual block by the user entering MIRO, and a block because the goods receipt has not been posted yet. The blocking reason is shown in MIRO and in the invoice document.
Release happens in MRBR, Release Blocked Invoices, or through a release workflow if one is configured. The releaser needs the relevant authorization and should check the underlying PO, goods receipt and any credit memo or subsequent delivery before releasing. Releasing in MRBR does not change the price or quantity. It only removes the payment block. If the commercial terms are wrong, the correct path is a credit memo, a subsequent credit, or reversal of the invoice, not a release.
Two failure modes come up in go-live support. First, goods receipts posted to the wrong PO item or with a wrong quantity create DQ blocks on every invoice for that item, which looks like a vendor problem but is a warehouse posting problem. Second, tolerance groups copied from a test system with very wide PP limits let price increases through without a block, and the variance lands silently in PPV. Both are found by reporting on blocked invoices by reason and by reviewing PPV postings by PO item, not by looking at the payment run alone.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-25A pharma client needs lot-level recall for one batch but unit-level warranty history for pumps. How do batch management and serial numbers differ in MM, and which do you activate for each case?
The 90-second answer
Batch and serial number solve different traceability problems, and MM treats them differently in master data and in stock. Batch management identifies a production or receipt lot. Stock is held by batch, so you can block, expire or recall that lot without touching other lots of the same material. A serial number identifies one physical unit. Stock is still held by material, plant, storage location and batch. The serial number adds a unit history on top, so you can tell which pump went to which customer and when it was serviced.
For the pharma lot recall, activate batch management. For the pump warranty history, activate serial numbers through a serial number profile. Many regulated plants activate both, with the batch grouping units by lot and the serial number distinguishing units inside the lot.
How batch management works in MM
Batch management is switched on in the material master, MRP view, for a specific plant. It can also be switched on in Customizing for batch determination. At goods receipt, for example movement type 101 against a purchase order, the user or the system proposes a batch number. That batch is created in MCHB and the quantity is stored by material, plant, storage location and batch. You can see it in MB52 and trace it in MB5B or through the batch where-used list.
Because stock is segmented by batch, later movements carry the batch forward. A goods issue 601 for a delivery, a consumption 261 to a production order, or a transfer 311 between storage locations all post with the batch. If a quality problem appears, you block the batch in MSC2N. Blocked stock cannot be issued. You can also maintain a shelf life expiry date, so batch determination can propose the earliest expiry first and stop an expired batch from being picked.
How serial numbers work in MM
Serial numbers are switched on in the material master through a serial number profile. The profile controls whether a serial number is required at goods receipt, at goods issue, or both, and whether the system generates it or the user enters it. At receipt or production, each unit gets a unique serial number, for example SN001 to SN010. MM stores the unit history, including receipt, issue, installation and return, in the serial number tables and in the equipment record if one is created.
The key difference is that a serial number is not a stock segment. There is no MCHB equivalent that values stock by serial number. Valuation stays at material and batch level. The serial number answers a different question: not how many units remain, but which unit is where.
Worked trace: lot recall versus unit history
Assume material P-100, plant 1000, batch B2026-01, 10 units with serial numbers SN001 to SN010. Figures are illustrative.
| Step | Movement | Batch | Serial numbers | Result |
|---|---|---|---|---|
| 1. Goods receipt from PO | 101 | B2026-01 | SN001 to SN010 | 10 units in stock, batch B2026-01 |
| 2. Goods issue for delivery | 601 | B2026-01 | SN001, SN002 | 8 units remain, SN001 and SN002 shipped |
| 3. Quality alert on B2026-01 | Block batch in MSC2N | B2026-01 | All remaining units | Remaining 8 units blocked, SN001 and SN002 traced to customer |
| 4. Recall query | MB52, MB5B | B2026-01 | SN001 to SN010 | Full lot history, shipped and on-hand units listed |
If the same material had no batch, step 3 would block the whole material or require a physical search. If it had no serial numbers, step 4 could list the lot and the customer, but not which of the 10 pumps the customer received.
Comparison for the decision
| Aspect | Batch management | Serial numbers |
|---|---|---|
| Identifies | One lot of a material | One individual unit |
| Activated by | Batch flag in material master, MRP view | Serial number profile in material master |
| Stock held by | Material, plant, storage location and batch | Material, plant, storage location and batch, serial number is history only |
| Main use | Lot recall, shelf life, quality block by lot | Warranty, service, installation history by unit |
| Cost if overused | More master data and batch determination effort at every movement | Every unit must be scanned or entered, reuse of a serial number blocks posting |
Failure modes to check in the workshop
Batch determination fails at goods issue when the batch is not maintained for that plant or the batch status is blocked. Users discover this at picking, not at order creation, so test it with a real delivery before go-live. Serial number errors are similar. Reusing a serial number that is already in stock, or issuing a serial number that was never received, stops the posting. The third check is the combination. If you activate serial numbers without batch management for the pharma material, you can trace units but you cannot block or expire a lot cleanly. If you activate batch management without serial numbers for the pumps, you can recall a lot but you cannot answer a warranty claim for a specific unit. That mismatch is usually a master data decision made too early, and it is expensive to retrofit once stock exists.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-26In SAP MM, what is moving average price (V) valuation, and when is it typically used instead of standard price?
The 90-second answer
Moving average price, price control V in the material master accounting view, revalues all stock to a new average after every goods receipt. Issues are then valued at that current average. It is the default for raw materials, consumables and trading goods bought at changing prices, because no costing run is needed to keep the price current. Standard price S is the alternative for finished and semi-finished goods: stock stays at a fixed released standard and the difference on a purchase posts to the purchase price variance account.
Worked trace
Start with 100 units in stock valued at EUR 10 each, so stock value is EUR 1,000. A goods receipt arrives for 100 units at EUR 12.
| Step | Calculation | Moving average after step | Stock value |
|---|---|---|---|
| Opening stock | 100 units at EUR 10 | EUR 10.00 | EUR 1,000 |
| Receipt: 100 at EUR 12 | (1,000 + 1,200) / (100 + 100) | EUR 11.00 | EUR 2,200 |
| Issue: 150 units | 150 x EUR 11.00 | EUR 11.00 | EUR 550 for 50 units |
The issue does not change the average. It leaves at EUR 11.00, and the remaining 50 units are still carried at EUR 11.00. A later receipt at EUR 14 would move the average again: (550 + 1,400) / (50 + 100) = EUR 13.00 for 150 units. That recalculation on every receipt is the whole mechanism.
What changes versus standard price
With standard price S, the same receipt at EUR 12 against a standard of EUR 10 would keep stock at EUR 10. The EUR 2 per unit difference, EUR 200 in total, posts to PPV instead of entering stock value. Production and sales then consume stock at the standard, so variances stay visible in CO and FI. With moving average, that EUR 200 is absorbed into stock and no PPV posts on the receipt. Finance loses that clean variance signal, which is why moving average suits purchased materials more than manufactured ones.
Where FIFO and LIFO fit
FIFO and LIFO are layer methods, not the S or V price control. FIFO issues the oldest receipt layer first, LIFO issues the newest layer first. In the trace above, FIFO would value the 150-unit issue at (100 x 10) + (50 x 12) = EUR 1,600, while LIFO would value it at (100 x 12) + (50 x 10) = EUR 1,700. Moving average values it at EUR 1,650. SAP sets FIFO or LIFO at valuation area level for legal or tax valuation, and IFRS prohibits LIFO, so a group reporting under IFRS cannot use it for consolidated stock even where a local ledger permits it.
| Method | Price control | Typical material | Effect of a receipt at a different price |
|---|---|---|---|
| Standard price | S | Finished goods, semi-finished goods | Stock unchanged, difference to PPV |
| Moving average price | V | Raw materials, trading goods, consumables | New average applies to all stock |
| FIFO | Layer valuation | Perishables, obsolescence-prone stock | Oldest layer consumed first |
| LIFO | Layer valuation | Tax valuation where permitted | Newest layer consumed first |
One practical point to raise in a workshop: the price control is set at material creation and is hard to change once stock or open orders exist. SAP restricts switching between S and V after postings, so the choice for a material group is made during master data design, not corrected later without a revaluation project.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-27Walk me through GR/IR clearing in MM and FI, and how you would investigate a persistent GR/IR balance on a PO item?
The 90-second answer
GR/IR is a clearing account. Goods receipt posts Dr Inventory Cr GR/IR at the PO price. Invoice verification in MIRO posts Dr GR/IR Cr Accounts Payable, clearing the receipt. The balance per PO item is GR value minus invoice value, and it should reach zero when quantity, price and timing agree. A persistent balance means one of those three disagrees, or someone posted to GR/IR directly in FI.
I start with MB5S for the plant and PO, which lists GR/IR items per PO item from EKBE. I drill into MB51 for receipts and the MIRO document flow for invoices, then check BSEG for manual FI postings to the GR/IR account. F.19 is not the investigation tool. It is the period-end reclassification program: it reclassifies open GR/IR for the closing, separating goods received not invoiced from invoiced not received for presentation. MR11 is the maintenance tool that clears a selected PO item manually, posting any difference to a clearing account. I use MR11 only after I know which side is wrong.
Worked trace, hypothetical figures
PO item 10: order price EUR 100, order qty 1,000.
| Event | Qty | Value EUR | GR/IR balance EUR | Posting |
|---|---|---|---|---|
| Goods receipt 5001 | 600 | 60,000 | -60,000 credit | Dr Inventory 60,000, Cr GR/IR 60,000 |
| Invoice 5101 at EUR 100 | 600 | 60,000 | 0 | Dr GR/IR 60,000, Cr AP 60,000 |
| Goods receipt 5002 | 400 | 40,000 | -40,000 credit | Dr Inventory 40,000, Cr GR/IR 40,000 |
| Invoice 5102 at EUR 105 | 400 | 42,000 | 0 | Dr GR/IR 40,000, Dr PPV 2,000, Cr AP 42,000 |
The price difference is 400 x EUR 5 = EUR 2,000. MIRO clears GR/IR at the PO price of EUR 100 and posts EUR 2,000 to purchase price variance. GR/IR returns to zero, but the variance stays in CO. If tolerance key PP is exceeded, MIRO posts the document and blocks it for payment. GR/IR is cleared, yet the invoice cannot be paid until MRBR releases the block, so the item still needs follow-up.
Quantity differences leave a balance. Suppose GR is 400 and the vendor invoices 450 at EUR 100. MIRO posts Dr GR/IR 45,000 Cr AP 45,000. EUR 40,000 clears the receipt and EUR 5,000 remains as a debit balance: invoiced not received. Tolerance DQ may block it. The fix is a subsequent receipt, a credit memo for the excess, or a correction of the PO item the receipt was posted to. A manual FI journal would hide that.
How I investigate a persistent balance
First, MB5S by plant, company code and PO. I sort by age and value. Items under 30 days are often timing. Items over 90 days, or on a closed PO, are the problem set. F.19 figures for the closing will not match MB5S if manual postings exist, which is itself a clue.
Second, I compare EKBE, MB51 and the MIRO flow for four causes. One, receipt exists, invoice missing: the invoice is parked, blocked, or not yet received from the vendor. Two, invoice exists, receipt missing: the delivery note has not been received, or the receipt went to the wrong PO item. Three, both exist, values differ: price variance, a PO price change after receipt, or a receipt valued at moving average price against a fixed PO price. Four, neither MM document explains the FI balance: a manual posting to the GR/IR account, a prior period adjustment, or a go-live migration balance. I find those in BSEG on the GR/IR account, typically document type SA.
Third, I check tolerance keys PP for price variance, DQ for quantity variance, and BD for small differences posted automatically. BD can clear GR/IR to zero and park the difference in a tolerance account, so a zero MB5S balance does not mean nothing happened.
MR11 then has a narrow use. It clears a PO item where GR and invoice both exist but were not matched, for example after a price change, and posts the difference to the account in the MR11 clearing settings. Used blindly it makes the PO history look clean while the wrong PO price or wrong PO item stays in master data. I fix the source document, reverse and repost if needed, and reserve MR11 or a manual FI clearing for a proven migration or prior period item with finance sign-off.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-28Walk me through the FI payment run: how the payment program selects and pays open items, and how payment methods and payment blocks control what actually gets paid?
The 90-second answer
The FI payment run is transaction F110. It does not pay invoices directly. It first builds a payment proposal from open items, you review and release that proposal, then a second step creates payment documents and payment media. That separation is the control. A proposal can be edited, blocked items can be excluded, and nothing posts to FI until the run is executed.
Three pieces decide the outcome. The payment program (the F110 parameters for a company code) decides which open items are selected. The payment method, held in the vendor master and in payment method determination, decides how each selected item is paid. The payment block, on the vendor or on the individual invoice, decides what is excluded even if it was selected.
How a run flows
Parameters matter more than most people expect. You set the payment date, which becomes the posting date for the payment document, the next payment date, and the payment method. If you set the payment date to Friday but the payment method only runs on Monday, the document posts on Friday and the bank file goes out on Monday. That gap is a common source of "paid but not received" queries.
Selection is by vendor, company code, and open item due date. Items already paid, items with a payment block, and items that fail a tolerance check are excluded from the proposal or shown as blocked in it. The proposal list is your evidence. If an invoice is missing from it, the reason is almost always one of: wrong company code, not yet due, blocked, or the vendor has no payment method assigned for that payment type.
Payment methods
A payment method is not just "bank transfer". In vendor master data (XK02, Payment transactions tab) and in the payment method determination in F110, each method carries its own payment medium program, for example the program that creates the bank file or the check print. One vendor can have several methods, and the system picks the first available one in the order you maintain.
| Payment method | Typical use | Payment medium | Risk if misconfigured |
|---|---|---|---|
| Bank transfer (SEPA / domestic) | Main vendor payments | Bank file via payment medium program | Wrong IBAN or bank country, file rejected by bank |
| Check | Vendors without bank details, small one-off payments | Check print program | Check printed but not cleared, duplicate reprint |
| Bill of exchange | Regions where this is standard | Bill of exchange program | Maturity date missed, protest costs |
If a vendor has no payment method for the payment type in the run, the item stays in the proposal as unprocessed. It does not fail the whole run. That is why the proposal check matters. A run with 200 items can post 190 payments and leave 10 unprocessed, and the log will show it.
Payment blocks
There are two levels, and confusing them causes most incidents.
A vendor-level payment block is set in the vendor master. It blocks all payments to that vendor, regardless of invoice. You use it when a vendor is under dispute or under a fraud investigation. Releasing it is a master data change, so it needs the same approval as any vendor bank change.
An invoice-level payment block is set on the individual invoice, for example when invoice verification in MM finds a price variance beyond tolerance, or when a user manually blocks an invoice in MIRO. That invoice is excluded from payment until the block is released. For MM-blocked invoices you release in MRBR. For FI invoices blocked manually, you release the block on the invoice itself. Either way, the released invoice only becomes payable in the next payment run. Releasing a block does not trigger a payment.
Worked trace
Assume a payment run on 15 May, payment date 20 May, bank transfer only.
| Vendor | Open item | Amount | Block status | In proposal? | Result |
|---|---|---|---|---|---|
| V1001 | Invoice 5105600001, due 10 May | EUR 12,400 | None | Yes | Paid, payment document posted |
| V1001 | Credit memo 5105600002 | EUR 800 | None | Yes | Netted against invoice in same payment |
| V1002 | Invoice 5105600003, due 10 May | EUR 5,200 | Invoice blocked, price variance | Shown as blocked | Excluded, stays open |
| V1003 | Invoice 5105600004, due 25 May | EUR 3,100 | None | No, not yet due | Stays open for next run |
| V1004 | Invoice 5105600005, due 10 May | EUR 7,750 | Vendor payment block set | Shown as blocked | Excluded until master data block removed |
Netting is worth calling out. A credit memo for the same vendor and company code is automatically offset in the proposal. The payment document settles both items, which is why the payment amount can differ from any single invoice amount.
Failure modes I check in production
Duplicate payment after a bank change. The vendor bank was changed in XK02, the old payment run had already created a proposal, and the new run paid again. Detection: compare REGUH payment documents for the same vendor and settled invoice numbers in REGUP. Prevention: block the vendor during bank changes and require a second person to release the block.
Payment posted, bank file not sent. The payment document exists in FI, but the payment medium program was not executed or the file was rejected. Detection: the payment document exists but there is no corresponding entry in the payment medium log, or the bank returns a rejection file. The fix is to re-run the payment medium creation for that payment document, not to create a new payment.
Blocked invoice released but still not paid. The user released the block in MRBR and expected payment the same day. Detection: the invoice is now unblocked in the vendor line item list (FBL1N) but there is no payment document. That is correct behaviour. It needs the next F110 run.
When I explain this to a client, I stress the sequence. Proposal first, review second, execution third. If you skip the review, you are trusting the selection logic to have caught every block, every missing bank detail, and every tolerance breach. It will not.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-29Walk me through dunning in FI-AR: how dunning levels and procedures drive a dunning run, and how customer communication is controlled?
The 90-second answer
Dunning in FI-AR is the controlled escalation of overdue receivables, run in SAP with transaction F-150. You do not write letters manually. You configure a dunning procedure per company code, assign it to the customer in the company code view of the master record, and let the dunning run propose which customers move to which level. The run creates a proposal, you review and release it, SAP posts any dunning charges and interest, and it prints or emails the dunning form for that level. If the customer still does not pay after the grace period for that level, the next run raises the level.
Three pieces decide the behaviour. The dunning procedure holds the levels. The run parameters select the population. The customer master and open items can block or reset escalation.
Dunning levels and procedures
A dunning procedure can hold up to nine levels. Each level defines days overdue before it triggers, grace period in days, interest percentage, dunning charge, form to use, and whether a payment block or dunning block is set. Level determination also considers the dunning key, tolerance group and dunning block on the customer. A customer with a dunning block in FD02 is excluded. A disputed or payment-blocked item can be excluded from the proposal.
Example configuration for a B2B customer group, labelled as a worked example:
| Level | Trigger | Grace | Interest p.a. | Charge | Communication |
|---|---|---|---|---|---|
| 1 | 7 days overdue | 10 days | 0% | EUR 0 | Reminder letter |
| 2 | 17 days overdue | 10 days | 5% | EUR 10 | Reminder with interest calculation |
| 3 | 27 days overdue | 7 days | 8% | EUR 25 | Final notice, payment block proposed |
| 4 | 34 days overdue | 7 days | 8% | EUR 25 | Handover to collections or legal |
Arithmetic for level 3 on an open item of EUR 12,000 overdue for 30 days at 8%: 12,000 x 8% x 30/360 = EUR 80 interest, plus the EUR 25 charge. SAP posts both as separate FI documents linked to the dunning run, so the customer sees them on the next statement.
The run itself
In F-150 you set the company code, dunning procedure, run date and selection criteria such as customer range and tolerance limits. SAP first creates a proposal. That proposal is the control point. You check customers who should be excluded because a payment is in transit, a credit memo offsets the balance, or a dispute is logged. You can edit the proposal, remove a customer, or change the level manually with a reason. Only after release does SAP post charges and produce output. Releasing without reviewing the proposal is the common failure mode. It duns customers who have already paid but whose payment has not cleared, and it damages the relationship faster than any late payment would.
A second failure mode is a level that never increases. That usually means the grace period has not expired, the customer has a dunning block, or the open item was cleared and a new item is not yet overdue. A third is duplicate dunning letters when two runs overlap for the same procedure and period. SAP prevents this if you use the standard run scheduling and do not create ad hoc runs with different run dates.
Customer communication
Each level points to a dunning form. The form lists open items, due dates, overdue amount, interest and charges, and your bank details. Output can be print, fax or email. Email requires a valid email address in the customer master and a configured output medium, otherwise the run completes but the customer receives nothing and AR assumes the letter was sent. That gap is detected by checking the output log and spool for the run, not by asking the customer.
Tone and content escalate with the level. Level 1 is a reminder. Level 2 adds the financial consequence. Level 3 states a deadline and the next step, such as payment block or referral. Legal wording for the final level should be agreed with Legal before go-live, because the form is generated from standard text and a customizing change there affects every customer in the procedure.
In an interview I would close by naming the decision I would confirm with the client first: how many levels they actually want, and at which level they want a payment block. Everything else, interest rates and forms, follows from that commercial decision.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-30In SAP FI-AA, what does AUC settlement do, and when does depreciation start on the receiver asset?
The 90-second answer
AUC settlement moves the accumulated cost of an asset under construction to a finished asset. Costs collect on the AUC asset while the asset is being built. When the asset is ready for use, settlement with transaction AIAB credits the AUC asset and debits the receiver asset. Depreciation on the receiver starts from the settlement date.
That is the whole rule. The AUC asset itself does not depreciate, because it is not yet in service. The receiver asset does, from the date it is capitalised through settlement.
How it runs in practice
You create the AUC asset with AS01 under an AUC asset class. Costs arrive from an internal order, a project, or a direct FI posting. You can see the open value in AIAB before you settle anything. AIAB proposes the receiver assets and the split. One AUC can settle to several receivers, for example a building and the lift installed in it.
Worked example
Assume, for illustration, that EUR 480,000 of costs have collected on AUC asset 700001. The building is complete and the lift is complete. You settle EUR 400,000 to building asset 100045 and EUR 80,000 to lift asset 100046, with a settlement date of 30 June.
| Asset | Before settlement | Settlement posting | After settlement |
|---|---|---|---|
| AUC 700001 | EUR 480,000 debit | EUR 480,000 credit | EUR 0 |
| Building 100045 | EUR 0 | EUR 400,000 debit | EUR 400,000 |
| Lift 100046 | EUR 0 | EUR 80,000 debit | EUR 80,000 |
If the building uses straight line depreciation over 40 years in depreciation area 01, annual depreciation is EUR 400,000 divided by 40, which is EUR 10,000 per year. The first depreciation run after 30 June picks it up from that date. The lift, over 15 years, gives EUR 80,000 divided by 15, or EUR 5,333 per year.
Where it goes wrong
The common failure is a settlement date in the wrong period, or a split that does not match the completion certificates. The AUC balance then stays open after the project has ended, the receiver asset is understated, and depreciation for the following periods is understated as well. AIAB lists every open AUC value, so the check before period close is to clear that list and investigate any AUC that is older than its project end date. If the split is wrong, you reverse the settlement and rerun AIAB with the corrected receivers. You do not post a manual FI correction to the asset accounts, because that would break the reconciliation between FI-AA and the general ledger.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-31Walk me through how you would set up product costing and actual costing with the material ledger in S/4HANA for a plant with standard price, overhead and multi-level BOMs, and where does it break?
The 90-second answer
In S/4HANA product costing sets the standard price, and the material ledger then tracks what actually happened to that price. I would start with the costing variant, because it locks the valuation variant, costing sheet and costing lot size for every costing run in the plant. For a standard price plant, the valuation variant must read the standard price stored in the material ledger, and the cost component split must be defined before the first costing run. That split cannot be redesigned casually later, because the material ledger in S/4HANA is mandatory and always active. There is no ECC style switch to turn it on at go-live or off again afterwards. Every goods movement posts to it from day one, so a wrong split is baked into history.
Overhead comes from the costing sheet, not from the BOM. Actual costing then runs as a period end process in the material ledger: preliminary valuation at standard, actual cost component split from invoices and activities, variance calculation, and multilevel price determination that passes price differences up the BOM. The judgement calls are the costing lot size, which overhead base you apply to, and whether actual costing is switched on for semi-finished materials. Get any of those wrong and the standard looks clean while variances accumulate in the wrong place.
Costing variant and costing sheet
A costing variant (OBCV) groups the settings a costing run uses. The pieces that matter here:
| Element | What it decides | Typical failure |
|---|---|---|
| Costing type | Product costing, production order costing, sales order costing | Using a sales costing variant to set a standard price |
| Valuation variant | Which price the system reads for a material: standard, moving average, planned | Reading moving average in a standard price plant, so the estimate never matches the standard |
| Costing sheet | Overhead rates and the cost component split | Overhead applied to overhead, inflating the base each level |
| Costing lot size | Quantity the estimate is based on, for example 1 PC or 100 PC | Lot size 1 for a material produced in lots of 500, so fixed activity costs explode per unit |
The costing sheet defines overhead rows. A common pattern is material overhead as a percentage of direct material cost components, and production overhead as a percentage of direct activity cost components. The base matters more than the rate. If production overhead is calculated on material plus activity, a raw material price increase automatically raises production overhead even though no extra production effort occurred. I would put that choice in front of finance explicitly, because it changes how variances are later explained.
Worked costing estimate, hypothetical figures
Finished material FG-100, costing lot size 100 PC. One level, for clarity.
| Cost component | Calculation | Amount per PC |
|---|---|---|
| Direct material | 1 kg raw material at EUR 100 | 100.00 |
| Material overhead | 10% of direct material | 10.00 |
| Direct activity | Assembly activity | 40.00 |
| Production overhead | 50% of direct activity | 20.00 |
| Standard price | 170.00 |
CK40N runs this as a single level estimate first, then multi level, so semi-finished materials are costed before the finished material that uses them. The result posts to the material ledger as the standard price and the cost component split is stored per material and plant. If a semi-finished material is missing a costing run, the finished estimate either fails or falls back to a planned price, depending on the valuation variant. That fallback is the silent failure: the run completes, the price is wrong, and nobody notices until actual costing produces a large variance.
Actual costing in the material ledger
Actual costing is not a separate costing run. It is a period end process in the material ledger, executed with CKMLCP, for materials where actual costing is switched on. The sequence is:
During the period, every goods movement is valued preliminarily at the standard price. Invoices for raw materials and activity postings for production carry actual prices. At period end, CKMLCP calculates the actual cost component split, compares actual to standard, and determines the actual price. For multi level BOMs, price differences from a semi-finished material are passed to the finished material in the same run, provided actual costing is active at both levels. If it is active only for the finished material, the semi-finished difference stays at the lower level and the finished actual price is understated.
Continuing the example: the raw material invoice arrives at EUR 115 instead of EUR 100, and assembly activity posts at EUR 46 instead of EUR 40. The actual cost component split becomes material 115, material overhead 11.50 (10% recalculated on the actual base), activity 46, production overhead 23.00. Actual price is EUR 195.50 against a standard of EUR 170.00, a variance of EUR 25.50 per PC. That variance splits into a material price variance of EUR 15.00 plus the overhead effect of EUR 1.50, and an activity variance of EUR 6.00 plus EUR 3.00 of production overhead. Finance can then see whether the problem is purchasing, overhead absorption, or shop floor efficiency, instead of debating one blended figure.
Where it breaks in practice
Three failure modes I check first. One, the cost component split was designed for ECC and carried over without review. In S/4HANA the material ledger is always on, so the split in use from the first posting is the split actual costing will use, and changing it later creates a break in the cost component history. Two, the costing lot size in the costing variant differs from the lot size used in the material master or the production order. Fixed costs are then spread over the wrong quantity and the standard price moves every time the lot size changes. Three, CKMLCP is run before all invoices and activity postings for the period are complete. The actual price is then calculated on incomplete data, and price differences already passed to higher levels have to be reversed through the ML closing process rather than simply corrected by a rerun.
I would also separate price control S (standard price) from price control V (moving average price) deliberately. Standard price suits finished and semi-finished materials with stable BOMs, because variances stay visible in the material ledger. Moving average suits raw materials with volatile prices, because the standard would be obsolete within weeks. Price control is not the same as valuation class, which groups materials for valuation purposes. Mixing price controls within one BOM level without thinking about which level carries the variance is where reconciliation between MM, CO and FI starts to fail.
The deliverable I would leave with the client is not just the costing variant. It is the costing sheet with the overhead bases documented, the list of materials with actual costing switched on, and the CKMLCP run log from the first period close, showing the variance split per cost component. That is what proves the standard price, the overhead and the actual price are talking to each other.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-32Walk me through profitability analysis in CO-PA, and when would you choose costing-based over account-based CO-PA?
The 90-second answer
CO-PA answers a different question from FI and CO-PC. FI tells you profit by account and legal entity. CO-PC tells you profit by plant and product cost. CO-PA tells you profit by market segment, typically customer, product, sales organisation and sales region combined, for a sales order or billing document.
You configure an operating concern first, for example CE1000. Inside it you define characteristics, the segmentation fields, and value fields, the figures you want to analyse. A billing document then posts one line per characteristic combination into the CO-PA segment table, CE1000 in ECC and the CO-PA tables in S/4HANA, with revenue, discounts, COGS and overheads in separate value fields.
Costing-based and account-based are two ways to value that line. Costing-based values it with a costing sheet and costing variant, so you can split COGS into material, production and overhead, apply transfer prices between segments, and value at standard cost even if FI posted actuals. Account-based values it from FI accounts. Every FI posting that carries a CO-PA account assignment updates CO-PA, so the CO-PA result reconciles directly to FI by account.
In ECC you activated one of them per operating concern. In S/4HANA you can run both in parallel, with account-based CO-PA integrated into the universal journal ACDOCA, and costing-based as the parallel valuation view. Most S/4HANA designs I see now keep account-based for statutory reconciliation and add costing-based only when the business needs a valuation FI cannot give.
Worked trace
Hypothetical figures, one billing for product P1 to customer C1 in sales organisation 1000:
| Item | Amount | Costing-based CO-PA | Account-based CO-PA |
|---|---|---|---|
| Revenue | 100,000 | Value field revenue: 100,000 | Account 800000 revenue: 100,000 |
| Discount | -5,000 | Value field discounts: -5,000 | Account 810000 discounts: -5,000 |
| Material COGS at standard | -40,000 | Split by costing sheet: material -32,000, production -8,000 | Account 820000 COGS: -40,000 |
| Sales overhead | -10,000 | Value field overhead: -10,000 | Account 830000 overhead: -10,000 |
| Segment margin | 45,000 | Sum of value fields | Sum of accounts |
The margin is the same here by construction. The difference appears when standard cost differs from the actual FI COGS, or when you need the material and production split. Costing-based shows it. Account-based shows the FI account, and the split is lost unless you post separate FI accounts for each cost component, which is exactly what cost component split in CO-PC tries to do.
Choosing between them
| Criterion | Costing-based | Account-based |
|---|---|---|
| Valuation source | Costing sheet, costing variant, costing lot size | FI account determination |
| Reconciliation to FI | Indirect, via reconciliation report KEAT | Direct by account, same journal |
| Cost component split | Native, from costing sheet | Only if FI accounts or cost component split provide it |
| Transfer pricing between segments | Supported with costing variant and transfer pricing | Not in the same way, needs separate postings |
| Complexity | Higher, costing variant must be maintained and tested | Lower, follows FI postings |
| Typical use | Management reporting, product profitability, transfer pricing | Statutory aligned segment reporting, simpler landscapes |
Failure modes I check in design
First, characteristics that do not match the business question. If you segment by customer group but sales reports by customer, every report needs a drilldown the data cannot support. Characteristics are fixed at go-live in practice, changing them means re-deriving historical segments, so I model the segment combinations from the actual sales reporting pack before configuring anything.
Second, a costing variant that diverges from FI without anyone owning the difference. Costing-based COGS at standard cost will not equal FI COGS at actual cost in a month with price variances. That is expected, but if finance cannot explain the variance on the KEAT reconciliation report, they will stop trusting CO-PA within one close. I agree the reconciliation view and the variance explanation before go-live, not after.
Third, missing account assignment in account-based CO-PA. If a billing type or a manual FI posting lacks the CO-PA assignment, revenue lands in FI and never reaches the segment. The symptom is a clean FI result and a CO-PA result that is short by exactly those postings. Checking the account assignment in the account determination and in the CO-PA account assignment table during testing catches most of it.
My default for a new S/4HANA operating concern: activate account-based, because it is integrated and reconciles, and add costing-based in parallel only when a named report needs costing sheet valuation or transfer pricing that account-based cannot produce.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-33Walk me through month-end close in FI/CO for a plant that just closed period 04/2026: how do you sequence period lock, accruals, depreciation and reconciliation, and what do you check before opening period 05/2026?
The 90-second answer
Close in order, not in parallel. Lock the prior period only after logistics and subledger postings are complete, run accruals and depreciation in the open period, reconcile, then lock. If you lock first, late goods receipts and invoices land in the wrong period and you spend the next month reversing them.
For period 04/2026 I would assume one company code, one controlling area, standard price for finished goods, and a close calendar agreed with Finance. The sequence is: pre-close checks, accruals and deferrals, depreciation, CO allocations and settlement, FX valuation and clearing, reconciliation, trial balance review, then lock.
Sequence and controls
Pre-close first. Check parked and held documents in FBV3 and MRBR, open purchase orders with goods received but not invoiced, and unposted logistics documents. A GR/IR balance that is old at this point will not clear itself during the run. I clear or at least list it before accruals, because the GR/IR accrual I post in period 04 is based on that list.
Accruals and deferrals post with F.19. That transaction posts a manual accrual or deferral for period-end, for example freight, utilities, or a GR/IR accrual for goods received but not yet invoiced, with an automatic reversal in the next period. I build the GR/IR accrual from the MB5S GR/IR list, not from F.19 itself. F.19 is the posting vehicle, MB5S is the evidence. The check is simple: total accruals posted in 04 should reverse in 05, and the account balance should match the supporting schedule. A common failure is an accrual posted to a reconciliation account such as receivables. SAP blocks that for good reason, and the error tells you the account determination is wrong.
Depreciation runs with AFAB. I run it in simulation first, review the log for assets with zero or negative net book value, assets retired in the period, and assets with unplanned depreciation. Only then do I run it for real. In S/4HANA the asset explorer AW01N shows the posted values per depreciation area. If AFAB posts to period 04 after you locked FI, it fails. That is why depreciation sits before the lock, not after.
CO closing follows FI. Overhead costing with KSS2 applies the costing sheet rates, allocation with KSV1 spreads costs from service cost centers, and settlement with KO88 settles internal orders and projects to cost centers or assets. I run these in that order. Settlement before allocation leaves residual balances on the order, and overhead after settlement charges a cost center that has already been settled. The check is the cost center balance in KSB1: after settlement, production orders and internal orders for the period should be zero or carry only the variance you expect.
FX valuation with F.05 revalues open foreign currency items at the closing rate, and clearing with F.13 clears open items that offset each other, for example a down payment against a final invoice. Both post to period 04, so both sit before the lock.
Worked trace
Hypothetical figures for one plant, EUR:
| Step | Check | Result if clean | Result if not |
|---|---|---|---|
| GR/IR review | MB5S report, items older than 30 days | EUR 12,400, all matched to open POs | EUR 180,000 with receipts and no invoice, accrue it |
| Accrual F.19 | Accrual account balance | EUR 45,000 posted, reverses 01.05 | EUR 45,000 posted to wrong period, reverse and repost |
| Depreciation AFAB | Simulation log, then real run | EUR 62,000 across 1,140 assets | 3 assets with NBV negative, fix asset master first |
| CO settlement KO88 | KSB1 order balance | EUR 0 residual | EUR 9,800 residual, allocation KSV1 was skipped |
| Trial balance F.01 | Revenue, COGS, balance sheet | Matches prior month plus explained movements | Unexplained EUR 50,000 jump in other income |
Reconciliation closes the loop. I reconcile GR/IR with MB5S, receivables and payables subledgers with FBL5N and FBL1N against the general ledger balances in F.01, and I compare SD billing totals to FI revenue. Those two can differ legitimately because of credit memos, rebates accrued in CO, and timing between delivery and invoice. The point of the reconciliation is to name each difference, not to force the totals equal.
Locking and opening the next period
Lock FI with OB52 by setting period 04 as the last open period for the company code, lock MM with MMPV, and lock CO with OKP1. Then open period 05 and confirm a test posting lands in 05. Before I sign off, I check three things: no document dated in 04 can still post, the F.01 trial balance for 04 is final and exported, and the accrual reversal list for 05 is complete. If a late document arrives after the lock, it posts in 05 with a reference to the original date, and Finance decides whether that needs disclosure. That is cleaner than reopening a locked period, which breaks the audit trail for every report already issued.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-34What is the difference between intracompany and intercompany processes in SAP, and how does intercompany billing with transfer pricing work?
The 90-second answer
SAP uses intracompany for plants inside one company code and intercompany, also called cross-company-code, for plants in different company codes. That distinction decides whether a legal sale occurs.
An intracompany transfer moves stock between plants in the same company code. The supplying plant creates a delivery of type UB, the receiving plant posts goods receipt, and stock is revalued at the transfer price when the plants sit in different valuation areas. No SD billing document is created because there is no legal entity change.
An intercompany transfer crosses company codes, so the supplying company code is a real supplier to the receiving company code. The receiving company code needs a customer master in the supplying company code, and the supplying company code needs a vendor master in the receiving company code. The flow runs as a stock transfer order, a delivery of type NL, and an intercompany billing document of billing type IV. That IV document posts revenue in the supplying company code and, in the receiving company code, it arrives as a logistics invoice that MM invoice verification posts against GR/IR. Transfer pricing is the price on that IV document. It is usually maintained as a condition type in the intercompany pricing procedure, often as a cost-plus markup on the supplying plant cost, and it must satisfy arm's length rules between the legal entities.
| Point | Intracompany, same company code | Intercompany, different company codes |
|---|---|---|
| Legal sale | No | Yes, between legal entities |
| Typical document | STO plus delivery UB, goods receipt | STO, delivery NL, billing IV, logistics invoice |
| Valuation | Transfer price revalues stock between valuation areas | IV price becomes the receiving company code cost |
| Master data needed | Plants extended to the material, valuation views | Customer in supplying company code, vendor in receiving company code |
| Consolidation | No intercompany profit to eliminate | Profit in stock and in transit must be eliminated in consolidation |
Worked trace, intercompany
Assume company code 1000 in Germany supplies company code 2000 in France. Supplying plant cost is EUR 80 per unit. The agreed transfer price is cost plus 10 percent, so EUR 88. Quantity is 1,000 units.
| Step | Document | Effect |
|---|---|---|
| 1 | STO in plant 2000, supplying plant in 1000 | Creates the demand and the transfer price check |
| 2 | Delivery NL, goods issue in 1000 | Stock leaves 1000 at EUR 80,000 cost |
| 3 | Billing IV in 1000 | Revenue EUR 88,000 in 1000, intercompany receivable EUR 88,000 |
| 4 | Goods receipt in 2000 | Stock enters 2000 valued at EUR 88,000 |
| 5 | Logistics invoice in 2000, MIRO | Clears GR/IR EUR 88,000, posts intercompany payable EUR 88,000 |
The EUR 8,000 margin is profit in 1000 and cost in 2000. If 2000 has not sold the stock by period end, group consolidation eliminates that EUR 8,000 from inventory, which is why transfer pricing and consolidation have to be designed together.
Where it breaks in practice
The common failures are master data and pricing, rather than the document flow. If the material is not extended to the supplying plant, delivery creation fails. If the customer or vendor master is missing in the other company code, the IV document cannot be created or verified. If the transfer price condition record is missing for the material and plant combination, the IV document prices at zero or at the standard price, and the receiving company code inherits a wrong stock value that only shows up in a later margin analysis. I check those three before I check any customizing, because a consultant who starts with pricing procedures usually finds the plant view was never extended.
One more distinction worth stating in an interview: cross-company code transactions in FI, where one company code pays an invoice for another, are a different topic. They use cross-company payment and clearing, and they do not move stock or set a transfer price.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-35A EUR company code posts a USD 110,000 invoice at 1.10, revalues it at month-end at 1.05, then pays 60% at 1.00 — walk me through every FI posting, which rate type applies, and where realized versus unrealized differences land?
The 90-second answer
FI stores every line in transaction currency and in local currency. The invoice translates at the posting date rate, the open item keeps both amounts, and clearing revalues only the cleared portion at the clearing date rate. The difference on that portion is realized and final. Period-end valuation is separate. It revalues the whole open item to the closing rate, posts to a balance sheet revaluation account, and reverses at the start of the next period. It never changes the original local amount that realized differences are measured against. That separation is what stops a partial payment after a valuation from double counting.
Assume a EUR company code, USD vendor invoice, rate type M for postings and for valuation, quoted USD per EUR. Payment falls in the period after valuation, so the unrealized posting has already reversed.
Worked trace
Invoice USD 110,000 on 15 May 2026 at 1.10. Valuation 31 May at 1.05. Partial payment 20 June for USD 66,000, 60%, at 1.00.
| Step | Foreign amount | Rate | Local amount (EUR) | Posting |
|---|---|---|---|---|
| Invoice FB60 | 110,000 USD | 1.10 | 100,000.00 | Dr expense 100,000.00, Cr vendor 100,000.00 / 110,000 USD |
| Valuation F.05, 31 May | 110,000 USD | 1.05 | 104,761.90 | Dr unrealized loss (balance sheet) 4,761.90, Cr vendor 4,761.90 |
| Reversal, 1 June | 110,000 USD | 1.05 | 100,000.00 | Exact reverse of valuation. Vendor back to 100,000.00 |
| Partial payment F110, 20 June | 66,000 USD | 1.00 | 66,000.00 | Dr vendor 60,000.00, Dr realized loss 6,000.00, Cr bank 66,000.00 |
| Remaining open item | 44,000 USD | 1.10 original | 40,000.00 | Still open at original local amount |
Arithmetic: 110,000 / 1.10 = 100,000.00. 110,000 / 1.05 = 104,761.90, so unrealized loss is 4,761.90. Cleared portion at original rate: 66,000 / 1.10 = 60,000.00. Paid at 66,000 / 1.00 = 66,000.00. Realized loss is 6,000.00. The remaining 44,000 USD stays at 40,000 EUR, not at the valuation amount, because the valuation reversed.
If the payment had landed before the reversal, on 31 May itself, the realized calculation still uses the original 60,000 EUR for the cleared portion. The unrealized posting for the remaining 44,000 USD would then need to be adjusted, which is why close calendars sequence valuation, reversal, and payment runs explicitly instead of letting them collide.
Rate types and where they bite
OB08 holds rates by type, date, and pair. Type M is the standard average rate and the default for FI translation. Type K is historical and locks the acquisition rate, used for assets and items that must not revalue with the market. A user-defined type, for example ECB or BUD, carries ECB reference rates or budget rates for parallel valuation and planning.
The type is not picked per line in a standard invoice. It follows the posting context and the valuation purpose. Two practical consequences follow. First, if no M rate exists for the posting date, the posting fails outright. Loading month-end rates only and then posting a backdated invoice is a classic go-live defect. The fix is to maintain the missing daily rate, not to override the rate manually on the document, because a manual rate breaks comparability across documents. Second, if K is configured where M belongs, the invoice translates at a stale historical rate, posts cleanly, and the error only surfaces when the EUR vendor balance is reconciled to a USD statement.
Realized, unrealized, and the accounts
Realized arises only on clearing, through F110, F-44, or a credit memo clearing. It posts to a P&L exchange difference account from automatic posting determination and is final for the cleared portion. Unrealized arises from F.05 valuation, posts to a separate balance sheet revaluation account, and reverses. Using one account for both is the subtle failure mode. Valuation then pollutes realized P&L, the reversal creates a swing in the next period, and the realized gain or loss reported to management no longer ties to cash movements.
Tolerance key BD can absorb small differences on clearing to the exchange difference account instead of blocking. It does not apply here, since 6,000 EUR is far above any sane BD limit, but a BD limit set too wide hides genuine rate errors inside routine clearings. I would check BD alongside payment tolerance AP and the automatic posting account for exchange differences before go-live.
With a parallel group currency, for example USD group reporting on a EUR local ledger, each line also carries a group currency amount at the group rate type. That translation feeds consolidation only. It does not change the EUR realized difference above.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-36Walk me through how tax is determined in SD, MM and FI, including tax procedures, condition types and tax codes?
The 90-second answer
Tax in SAP is not one calculation. SD, MM and FI each decide tax at a different point, with different objects, and they meet in the tax code.
In SD, tax is part of pricing. A pricing procedure contains tax condition types such as MWST for standard VAT. The system finds the tax procedure by country, specifically the destination country of the customer, not by sales area. It then reads condition records for the tax condition type using customer tax classification, material tax classification and the tax category on the item. The result is an output tax code on the pricing item, for example V7 for 19% German output VAT, and a calculated amount.
In MM, tax is part of purchasing and invoice verification. A tax procedure is assigned by country, specifically the vendor country, not by purchasing organisation. Condition types such as NAVI for deductible input tax and NAVS for non-deductible tax read the input tax code entered or proposed on the purchase order item, for example I7 for 19% German input VAT. Goods receipt posts net value to GR/IR. Tax is normally posted only when the vendor invoice is verified in MIRO, using the tax code from the PO item or invoice item.
In FI, there is no pricing procedure. The user enters a tax code on the FI document item, or it is proposed from SD billing or MM invoice verification. FI reads the rate and tax type from that tax code in FTXP, splits the gross amount into net and tax, and posts tax to the tax account found through tax account determination in OB40 for the chart of accounts, tax code and tax type. If the tax code is missing or invalid, FI cannot post the document.
| Area | Where tax is decided | Tax procedure determined by | Key objects | Tax posted when |
|---|---|---|---|---|
| SD | Pricing procedure in the sales order and billing document | Destination country of customer | Tax procedure, MWST, condition records, output tax code | Billing document |
| MM | PO item and invoice verification | Vendor country | Tax procedure, NAVI/NAVS, input tax code on PO item | Invoice verification in MIRO |
| FI | FI document item | Company code country for the tax procedure, tax code entered on item | Tax code, FTXP rates, OB40 tax account | FI posting |
Worked trace: same 19% rate, different tax codes
Assume a German company code, output tax code V7 at 19% and input tax code I7 at 19%. They are separate tax codes because the tax type differs, output tax versus input tax. Figures are illustrative.
| Step | Net | Tax at 19% | Gross | Posting effect |
|---|---|---|---|---|
| SD sales order item | 10,000 | 1,900 | 11,900 | Pricing shows MWST with output tax code V7 |
| SD billing document | 10,000 | 1,900 | 11,900 | Revenue 10,000, output tax 1,900 |
| MM purchase order item | 10,000 | 1,900 | 11,900 | PO price is net, input tax code I7 stored on item |
| MM goods receipt | 10,000 | 0 | 10,000 | Debit inventory or expense, credit GR/IR for net only |
| MM invoice verification | 10,000 | 1,900 | 11,900 | Debit GR/IR 10,000, debit input tax 1,900, credit vendor 11,900 |
| FI manual vendor invoice | 10,000 | 1,900 | 11,900 | Same split, input tax code I7 entered directly on the item |
| FI manual customer invoice | 10,000 | 1,900 | 11,900 | Same split, output tax code V7 entered directly on the item |
The trace shows the common failure in interviews and in projects. People expect MM to post tax at goods receipt. It does not in the standard flow. GR/IR is net. If the PO item carries the wrong tax code, goods receipt still posts, and the error surfaces later at invoice verification as a price or tax variance, or as a blocked invoice when the variance exceeds tolerance. Using V7 on a vendor invoice is also wrong, because V7 is an output tax code and will post to the wrong tax type and account.
Where determination breaks
In SD, missing classifications are the usual cause. If the customer tax classification or material tax classification is blank, or no condition record matches the access sequence, the tax condition type finds no tax code. Pricing then shows no tax or a zero amount, and billing can fail or post without output tax. Check the pricing analysis in the sales order, not the customer master alone, because the item tax category and the condition record decide the outcome.
In MM, the tax code on the PO item is often copied from the vendor or material master and never reviewed for a new plant, new tax code or changed rate. At MIRO the system proposes tax from that code. A non-deductible situation coded as NAVI instead of NAVS, or the reverse, posts input tax to the wrong account and creates a reconciliation difference with FI tax reporting. The fix is to correct the tax code on the PO item before invoice verification, or enter the correct code on the invoice item where the business case allows it, and to fix the source master data so the next PO is correct.
In FI, the tax code must exist in FTXP for the company code and country, and OB40 must have an account for that tax code and tax type. A tax code that exists but has no tax account, or a tax type that does not match the rate in FTXP, stops posting with a tax account determination error. That error is an FI configuration problem, not a user entry problem, even though the user sees it on the FI document.
A practical check I use in workshops is to pick one rate, trace it through all three areas, and confirm the output tax code and input tax code separately. SD condition records, MM condition types and FI tax codes are maintained by different teams, so a rate change in FTXP alone does not update SD condition records or MM tax codes that were copied into open orders and purchase orders. Open documents keep the tax code they were created with, which is why a rate change needs a review of open SD and MM documents as well as the master data.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-37Walk me through the EWM warehouse flow from goods receipt and putaway to picking, packing and goods issue, and how warehouse tasks drive it?
The 90-second answer
In embedded EWM in S/4HANA, nothing moves stock until a warehouse task (WT) exists and is confirmed. A WT is the executable unit of work for one move: one source bin, one destination bin, one quantity, one handling unit (HU) where relevant. Putaway, picking and internal moves are all WTs, just with different WT categories and strategies. The warehouse structure decides where stock can go: warehouse number, storage type, storage section, bin type and bin. Putaway strategy picks the destination bin on receipt. Picking strategy picks the source bin on outbound. Packing groups picked items into HUs for shipment. Goods issue posts only after the outbound delivery is packed and confirmed.
Inbound: receipt to putaway
Goods receipt against the inbound delivery creates the stock in a receipt or inspection area and generates a putaway WT automatically if putaway is not manual. The putaway strategy in /SCWM/PUTAWAY searches by storage type, bin type, product category, capacity and, if configured, fixed bins or sequential numbering. Example setup I would describe in an interview: storage type 0010 for pallet racking, 0020 for bulk floor storage, 0030 for small parts. A pallet of 100 cases of a fast mover goes to 0010, a slow-moving bulky item goes to 0020. The WT shows source as the receipt bin and destination as the system-proposed bin. The operator confirms on RF via /SCWM/RFUI or on desktop. Confirmation moves the stock to that bin and closes the WT. If no bin is found, the WT stays open with a system exception and the stock remains in the receipt area. That is the first failure mode to check in /SCWM/MON, the warehouse task monitor, filtered by WT category and exception code.
Outbound: wave to picking
Outbound deliveries are grouped into a wave in /SCWM/WAVE. The wave release creates warehouse orders, which group WTs for one worker or one route. Picking strategy then decides source bins: storage type sequence, bin type, FIFO or LIFO, lot or shelf-life expiry, and partial quantity handling. A worked trace for a hypothetical order of 240 units, case pack 12:
| Step | WT category | System action | Stock after confirmation |
|---|---|---|---|
| 1 | Putaway | 20 cases put to bin 0010-A01-01 | 240 units available in racking |
| 2 | Picking | WT proposes 20 cases from that bin | Stock reserved for wave |
| 3 | Picking confirmation | Operator scans bin and HU, confirms 20 cases | Stock at packing area in HU-1001 |
| 4 | Packing | HU-1001 packed, packing spec checked | HU sealed, delivery ready |
| 5 | Goods issue | GI posted on outbound delivery | Stock removed, delivery shipped |
If the bin holds only 18 cases, the operator confirms a shortfall. EWM then creates a follow-on WT for the remaining 2 cases from another bin or raises a recount WT if the bin quantity disagrees with the system. That follow-on logic is why picking is not a single step in the design.
Packing and warehouse tasks in between
Packing in EWM is HU based. Picked items are packed into a carton or pallet HU, using a packing specification for allowed materials and quantities, or cartonization where the system proposes the carton. Value-added services such as labelling or kitting can be attached as WTs before packing completes. Interleaving can combine a putaway WT and a picking WT for the same operator trip, which matters in high-volume sites because it cuts empty travel. Warehouse tasks also cover replenishment from bulk to pick face, ad-hoc moves, and stock adjustments. Each WT carries status, priority, queue and operator assignment, so supervisors work queues rather than individual bins.
Two design choices decide most project issues. First, putaway and picking strategies must agree on bin types and capacity, otherwise putaway fills bins that picking cannot use efficiently. Second, wave planning must match labour and cut-off times. Releasing a wave of 500 deliveries at 16:00 for a 17:00 carrier cut-off creates WTs nobody can finish, and goods issue slips even though stock exists. I would size waves by WT count and travel time from a pilot, not by delivery count alone, and monitor open WTs by queue in /SCWM/MON during go-live.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-38What does a usage decision do to an inspection lot in SAP QM?
The 90-second answer
A usage decision closes an inspection lot and moves its quantity out of quality inspection stock. In SAP QM, goods received under an inspection type, for example inspection type 01 for goods receipt, are posted to quality inspection stock and cannot be picked or consumed. When the inspector posts a usage decision in QA11 or QE51N, SAP posts the stock move recorded in that decision. Release moves the quantity to unrestricted stock. Rejection moves it to blocked stock, scrap, or a vendor return, depending on the usage decision code and the stock posting selected. The lot then has a final status and cannot receive a second usage decision.
What the lot holds before the decision
The inspection lot is created automatically at goods receipt or production order release, or manually with QA01. It carries the material, batch, quantity, plant, and the inspection plan or sampling procedure. Results are recorded in QA32. Until the usage decision, the quantity is visible in MMBE as quality inspection stock. Availability checks for sales orders and production orders exclude it. That is the control. The receipt is complete for MM and FI, but the batch is not yet cleared for use.
Worked trace
Hypothetical figures for one batch:
| Step | Action | Stock position |
|---|---|---|
| 1 | Goods receipt posts 1,000 kg, inspection type 01 | 1,000 kg in quality inspection stock |
| 2 | Inspector records sample results in QA32 | No stock change |
| 3 | Usage decision A, release to unrestricted | 1,000 kg moves to unrestricted stock |
| 4 | Sales order picks 400 kg | 600 kg remains unrestricted |
If the decision in step 3 rejected the batch, SAP would move the quantity to the stock type in the decision, for example blocked stock or scrap, and the batch would stay unavailable for picking. A partial decision can split the quantity, for example 800 kg released and 200 kg rejected, when the usage decision is posted with split quantities.
Where quality notifications fit
A quality notification, created with QM01, records a defect or complaint and tracks tasks and follow-up actions. It does not move stock on its own. If a defect is found during inspection, the notification can be linked to the inspection lot so the complaint, the batch, and the corrective work stay traceable. The stock move still happens through the usage decision.
| Object | Transaction | Stock effect |
|---|---|---|
| Inspection lot | QA32 for results | Quantity held in quality inspection stock |
| Usage decision | QA11 or QE51N | Quantity moved to unrestricted, blocked, scrap or return |
| Quality notification | QM01 | No direct stock move, tracks defect and follow-up |
The common operational failure is a lot left without a usage decision. The quantity stays locked in quality inspection stock, physical stock looks higher than available stock, and order promising fails. QA32 sorted by posting date shows those open lots. Once a usage decision is posted, it is final for that lot. A correction needs a new inspection lot or a separate stock transfer, which preserves the audit trail.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-39Walk me through how you would configure PM notifications and orders for a plant, including notification and order types, priorities, and settlement to the correct receiver?
The 90-second answer
I separate the notification from the order on purpose. The notification is the business record of a problem or a request. The order is the execution and costing record for the work done. A notification can exist with no order, and one notification can lead to one order, while one order can cover several notifications for the same breakdown.
In S/4HANA PM I would configure notification types first, then order types, then the priority scheme that links them, then settlement. If I reverse that order, planners create orders with the wrong type and finance cannot settle them cleanly at month end.
Notification types I use as standard: malfunction notification for a breakdown or failure, maintenance request for planned corrective work reported by operations, activity report for work already done with no follow-on order, and inspection notification where a result triggers maintenance. Each type controls the screen sequence, the catalogs offered for damage, cause and activity, whether a breakdown flag is mandatory, and which order type is proposed when the planner converts it.
Order types control the execution side: PM01 for corrective maintenance, PM02 for preventive or planned maintenance, PM03 for calibration or inspection follow-up, and a separate type for investment or refurbishment if the plant capitalises that work. The order type drives the settlement profile, the costing sheet, the planning horizon, and whether goods issue and time confirmation are expected.
Priority is not a free text field. I configure a priority type per plant, for example P1 breakdown safety critical, P2 breakdown production stopped, P3 urgent within 24 hours, P4 routine. The priority type defines priority codes, the breakdown flag, and the response and fix times in the notification. When the planner converts the notification to an order, the priority copies across and drives the scheduling board and the work centre queue. Changing priority after release should require a reason, otherwise the backlog reports become meaningless.
Settlement is where most PM designs fail. A PM order collects actual costs from time confirmations, goods issues from reservations, and external services from purchase orders. At technical completion the order can still receive postings. At business completion it is closed for planning. Settlement, usually KO88 for a single order or the mass settlement run, posts the actual costs to the receiver defined in the settlement rule: typically the maintenance cost centre, an internal order for a project, or an asset under construction if the work creates or improves an asset. If the settlement rule is missing or the settlement profile allows settlement to a cost centre but the order type was meant for capitalisation, the order settles to the wrong receiver and the variance analysis in CO is wrong.
Worked trace
A pump P-104 fails on a Monday. Operations raise a malfunction notification, type M1, breakdown flag set, priority P2. The planner converts it to order 1000456, type PM01, priority P2, work centre MILL-01.
| Step | Posting | Amount EUR | Receiver |
|---|---|---|---|
| Time confirmation, 6 h at 85/h | Activity posting | 510 | Order 1000456 |
| Goods issue, seal kit from stores | Material consumption | 340 | Order 1000456 |
| External service PO, vendor invoice | Service entry sheet | 1,200 | Order 1000456 |
| Total actuals on order | 2,050 | ||
| Settlement KO88 | Cost centre 4110-PUMP | 2,050 | Cost centre 4110 |
If the same job had been a planned overhaul that extends the pump life, I would not use PM01. I would use the investment order type, settle to an asset under construction, and only capitalise after the asset is completed and the AUC settlement in FI-AA runs. Using the corrective type for that work understates assets and overstates maintenance expense.
Failure modes I check in design
First, notification completion without order completion. If the notification is completed but the order is not technically complete, open operations and reservations remain and the order still appears in the open order list. I check the completion logic so both objects close in sequence.
Second, settlement before all invoices arrive. A service PO invoice posted after KO88 creates a late posting to a settled order. The order then shows a balance after settlement. I either block settlement until the goods receipt and invoice verification status is clear, or I run a second settlement and accept the delta posting, with a clear rule for which one finance expects.
Third, priority copied but not maintained. If the priority type allows P1 with a 4 hour response time but the work centre capacity plan has no weekend shift, the priority is fiction. I validate priority against capacity and the planning horizon in the order type, not just against the notification screen.
Fourth, wrong settlement receiver on a mixed order. A single order that contains both routine repair and a capital improvement cannot settle correctly to one receiver. I split it into two orders at planning stage. Splitting after execution means reversing goods issues and time confirmations, which plants will not do, so the error persists in CO.
I would ask the plant two questions before configuring anything: which notification types do operators actually use today, and which cost centres or assets should absorb PM costs by order type. The answers decide the types and settlement rules. Everything else is standard SAP.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-40A WBS element has a released budget of EUR 500,000 and EUR 420,000 in actuals. If its settlement rule sends 100% to an AUC instead of a cost center, what changes in CJ88 and FI-AA, and what would you check if CJ88 leaves a balance?
The 90-second answer
An operative WBS element collects the actuals for one part of a project. You set the original budget in CJ30 and release it in CJ32. Availability control then compares actuals plus commitments with the released amount. Settlement in CJ88 does not change what was spent. It moves the balance off the WBS to the receiver named in the settlement rule.
With a cost center receiver, CJ88 debits the cost center and credits the WBS in the settlement period. The cost is closed in CO and the project balance for that period becomes zero. With an asset under construction receiver, CJ88 debits the AUC in FI-AA and credits the WBS. The cost is capitalised, not expensed. A later AUC settlement in FI-AA, transaction AWB1 or the settlement run in the asset accounting workbench, moves the AUC value to the final asset and starts depreciation there.
Worked trace
Take WBS 1000.20 Construction with a released budget of EUR 500,000 and actuals of EUR 420,000 at period 06/2026. That is 84% of the released budget, so availability control has not blocked anything yet. The settlement rule decides where the EUR 420,000 goes.
| Receiver in CJ88 rule | CJ88 posting | WBS balance after run | FI-AA effect |
|---|---|---|---|
Cost center 4100 at 100% | Debit 4100 EUR 420,000, credit WBS EUR 420,000 | 0 | None. No asset is created. |
AUC 900100 at 100% | Debit AUC EUR 420,000, credit WBS EUR 420,000 | 0 | AUC value is EUR 420,000 until AUC settlement. |
AUC 900100 at 100%, then AUC settlement | No further PS posting | 0 | Debit final asset 900200 EUR 420,000, credit AUC EUR 420,000. Depreciation starts on 900200. |
The trade-off is expense versus capitalisation. A cost center receiver suits a maintenance or expense project where the business wants the cost in CO for that period. An AUC receiver suits a capital project where the cost must be capitalised, tracked against the approved investment budget, and depreciated over the asset life. Choosing the wrong receiver is not a reporting issue. It changes the balance sheet and the depreciation base.
If CJ88 leaves a balance
CJ88 can finish with a remaining WBS balance when the settlement rule is missing, the percentage totals less than 100%, the receiver asset is locked, or the settlement period is closed in CO. The run log in CJ88 lists the WBS element and the reason. That balance stays in PS, so the cost center or AUC is understated for the period and the next run will settle the accumulated amount.
I would check three things in order. First, the CJ88 log for that WBS element. Second, the settlement rule in CJ02 for the WBS, including receiver, percentage and settlement type. Third, whether the receiver is open for posting in that period. Fix the rule or the period lock, then rerun CJ88 for the same period. I would not post a manual FI document to clear the WBS, because that breaks the link between the project cost report and the receiver.
One assumption to state in the interview: the WBS is operative and released, and the budget was released in CJ32 before the postings. Without that release, availability control can block postings even though an original budget exists in CJ30.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-41Walk me through SAP Treasury and Cash Management: how payment files are created from a payment run and how electronic bank statements clear FI open items?
The 90-second answer
SAP Treasury and Cash Management covers three areas that meet in FI. Bank Account Management holds house banks, bank accounts and signatories. Cash Management (FI-CM) builds the cash position and liquidity forecast from FI postings, planned payments and bank statements. Treasury (TRM) records financial instruments and FX deals, which post to FI on settlement.
A payment run in F110 selects open FI items and creates a payment document for each payee. That document clears the vendor or customer invoice at payment run time and credits a bank clearing account. DMEE then renders the payment documents into a bank file, for example SEPA pain.001 for credit transfers or pain.008 for direct debits. The bank returns a status file, pain.002, and later an electronic bank statement. Importing that statement in FF.5 matches each statement line to the payment document in the bank clearing account and moves the amount to the actual bank GL account. That second clearing is the reconciliation step.
Payment files: from F110 to DMEE
House banks are defined in FI12. In the F110 payment program you set bank account determination, payment methods, payment blocks and the payment medium format per payment method. The proposal run selects open items by due date, payment method, payment block and payee bank details. An item with a payment block, a missing IBAN in the vendor master, or a payment method the house bank does not support stays out of the proposal. DMEE cannot repair that later.
On execution, F110 posts the payment document. For a vendor payment of 100,000 EUR the posting is debit vendor 100,000, credit bank clearing account 100,000. The vendor invoice is now cleared. The bank clearing account carries the payment document until the bank statement proves the bank actually debited the house bank account.
DMEE (transaction DMEE) maps payment document fields to the file format: debtor and creditor IBAN, amount, value date, remittance information and end to end ID. One file is generated per house bank and payment method and can carry many payment documents. The bank validates the file and returns pain.002 with a status per payment document. A rejected payment document is reprocessed from that status, not by rerunning F110 blindly, which would create a duplicate payment document.
Worked trace, amounts in EUR, bank clearing account 191100, bank GL account 191000:
| Step | Event | FI posting | Bank GL balance |
|---|---|---|---|
| 1 | Vendor invoice 5105100042 posted for 100,000 | Debit expense 100,000, credit vendor 100,000 | 500,000 |
| 2 | F110 run 12 pays it, payment document 1100000031 | Debit vendor 100,000, credit bank clearing 191100 100,000. Invoice cleared | 500,000 |
| 3 | DMEE creates pain.001 file, value date 12 May | No FI posting | 500,000 |
| 4 | Bank debits house bank account on 12 May | No FI posting yet | 400,000 |
| 5 | Statement line imported in FF.5, matched to 1100000031 | Debit bank clearing 191100 100,000, credit bank GL 191000 100,000. Payment document cleared in clearing account | 400,000 |
Steps 2 and 5 are different clearings. Step 2 clears the commercial invoice. Step 5 clears the payment document in the bank clearing account against the actual bank account. If step 5 never happens, the bank clearing account shows an open balance even though the vendor is paid.
Bank statement processing
Electronic statements are imported with FF.5. Manual statements are created and edited with FF67 and FF68. In FF.5 the system reads each statement line, derives an account symbol from the bank account and statement type, then applies a posting rule. Posting rules and account symbols are maintained in Customizing under Financial Accounting, Banks, Bank Statement, not in FF68.
| Statement line | Search string or account symbol | Posting rule | FI result |
|---|---|---|---|
| Debit 100,000, ref 1100000031 | Payment document number | Clear bank clearing account | Payment document 1100000031 cleared in 191100, 191000 credited |
| Debit 250, bank charge code | Charge account symbol | Post to bank charges | Expense 250 posted, no clearing |
| Debit 99,850, ref 1100000032 | Payment document number | Clear with difference 150 | Payment document cleared, 150 posted to the configured difference account |
| Credit 100,000, customer remittance | Customer invoice number | Automatic payment clearing | Customer invoice cleared directly |
Tolerance keys govern the difference case. If the difference exceeds the tolerance for automatic clearing, the line stays uncleared for manual processing, where you can post the difference, split the line, or assign it to another document.
Failure modes I check first
A rejected payment file usually traces to DMEE mapping or master data: an IBAN with a wrong check digit, a missing creditor identifier for direct debits, or a value date before the bank cut off. Pain.002 names the failed payment document.
A statement line that will not clear usually traces to posting rule assignment. The account symbol does not match the bank account in the statement header, or the search string does not match the remittance text the bank sent. I check the Customizing assignment before touching the FI document, because a wrong posting rule posts to the wrong account and then needs a reversal.
An uncleared bank clearing balance at month end is the control point. It means either the statement has not been imported, the payment was rejected at the bank, or the statement line matched the wrong payment document. Reconciling 191100 to the bank statement before close catches all three.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-42What does SAP mean by clean core in S/4HANA, and which extensibility layer should you try first?
The 90-second answer
Clean core means you do not modify the standard S/4HANA code, tables or interfaces. Customizations sit outside the core or use only released extension points, so SAP can apply release updates and upgrades without breaking them. SAP defines three layers and a fixed order of preference: configuration first, in-app extensibility second, side-by-side extensibility third. You try the first layer, and only move to the next layer when the requirement cannot be met there.
Configuration is standard customizing in the IMG. Examples are a pricing procedure, a tolerance key, an output determination sequence, or a standard BAdI parameter. No code is written and there is no upgrade risk.
In-app extensibility is code that runs inside S/4HANA in ABAP Cloud. You use Custom Fields and Logic, Custom Business Objects, released CDS views, released OData APIs and BAdIs published for extensibility. In S/4HANA Cloud Public Edition you build it in the Developer Extensibility tool. In Private Edition you build it in ABAP Development Tools with the ABAP Cloud profile. The ABAP Test Cockpit, known as ATC, checks that you only used released objects.
Side-by-side extensibility is a separate application on SAP BTP, for example a CAP application or an app built with SAP Build. It connects to S/4HANA through released OData APIs, IDocs or business events, and keeps its own database and release cycle.
| Layer | Where it runs | Typical example | Upgrade impact |
|---|---|---|---|
| Configuration | Inside standard S/4HANA customizing | Pricing procedure, approval tolerance | None |
| In-app extensibility | Inside S/4HANA, ABAP Cloud | Custom field on a sales order, validation in a released BAdI | Low when only released APIs are used |
| Side-by-side extensibility | On SAP BTP | Supplier portal, separate analytics app | Core unaffected, the integration contract must be maintained |
A simple in-app example is a validation in a released BAdI. The code calls a released interface and does not write directly to a standard table.
" Released BAdI implementation, ABAP Cloud
IF order-customer_po_number IS INITIAL.
RAISE EXCEPTION TYPE cx_sales_order_error
EXPORTING message = 'Customer PO number is mandatory'.
ENDIF.The rule to remember in an interview is the order itself. Configuration, then in-app, then side-by-side. If you state that order and name one example for each layer, you have answered the question. A common mistake is to start with a side-by-side app for a requirement that a tolerance key or a released BAdI would have covered. That adds an integration and a separate security model for no benefit, and it is the first thing an interviewer will probe.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-43When would you add a custom field and logic in-app in S/4HANA versus build a side-by-side app on BTP, and what breaks if you choose wrong?
The 90-second answer
In-app extensibility keeps the extension inside S/4HANA and upgrade safe. In S/4HANA Cloud you use the Custom Fields and Logic app to add a field to a standard CDS view, table, form and Fiori app, expose it through the released OData service, and attach logic at a released BAdI or through a custom business object. The data lives in the core database, the logic runs in the core system, and SAP owns the upgrade path.
Side-by-side on BTP moves the app out. You build it with CAP or SAP Build Apps, persist its own data in BTP HANA Cloud, and integrate to S/4HANA through released OData APIs, events or IDocs. You gain an independent lifecycle, UI and scaling. You pay with integration latency, eventual consistency and a second data store to reconcile.
I choose in-app when the requirement is a field, a validation, a derivation or a small UI addition on a standard object, and the logic must be transactional with that object. I choose side-by-side when the app has its own process, its own data model, heavy UI, external integration or volume that would slow the core. The wrong choice shows up as either core performance and upgrade regression, or as sync failures between two systems that both think they own the data.
How the decision plays out
| Requirement | In-app | Side-by-side on BTP |
|---|---|---|
Add ZCustomerRiskClass to sales order, show it in VA01 and Fiori, derive it from a condition | Fits. Custom field on the sales order CDS and table, UI adaptation, BAdI fills it on save. | Overkill. You would replicate the field and fight the sales order transaction. |
| Supplier onboarding portal with document upload, external credit check and a 3-week approval chain | Poor fit. No custom transaction UI, no long-running process, logic would run in the core. | Fits. CAP app, BTP object store, BPM or workflow, integration to MDG and credit bureau. |
| Nightly pricing simulation over 2 million material masters | Poor fit. ABAP Cloud logic in the core competes with OLTP and hits released API limits. | Fits. Batch job on BTP, read via OData in pages, write results back or keep them external. |
| Custom analytical query on standard sales data | Fits. Custom CDS view and custom analytical query in-app. | Possible, but you duplicate the data extract for no gain. |
A worked trace for the in-app case: a user saves a sales order. The standard save BAdI fires, my custom logic reads the customer risk class from a custom table keyed by customer and sales organisation, writes it to the custom field on the order item, and the field appears in the Fiori app because it was added to the CDS view and the UI annotation. If the BAdI raises an error, the whole save rolls back. That atomicity is the main reason to stay in-app.
The side-by-side trace is different. The CAP app publishes OrderCreated to SAP Event Mesh. S/4HANA consumes it, or the CAP app calls POST /sap/opu/odata4/sap/api_salesorder/srvd_a2x/sap/salesorder/ on the released API. If that call fails after the CAP database committed, you have an order in BTP with no order in S/4HANA. You need an outbox, idempotency keys and a reconciliation report. Hypothetical figures from a recent design: at 20,000 orders a day, a synchronous API call at p99 300 ms adds roughly 100 ms of user wait per order compared with the in-app BAdI at under 10 ms, and a 1% API failure rate leaves 200 orders a day to reprocess.
Limits that decide it
In-app limits are hard boundaries, not preferences. You can only extend released CDS views, tables and BAdIs. You cannot modify standard code, create a custom transaction with a free-form UI, or call unreleased APIs. Logic runs in the embedded ABAP Cloud stack, so a heavy loop over millions of rows degrades the core for every user, and a field added to a standard table is carried through every upgrade and every data migration. Field proliferation is a real failure mode: after two years you have 40 custom fields on the sales order, three of them meaning the same thing, and nobody can retire them because reports depend on them.
Side-by-side limits are operational. You depend on released APIs and events, so if the API does not expose the field you need, you wait for SAP or you replicate data. Authentication crosses a trust boundary with OAuth 2.0 and destination services, and master data such as customer or material must be governed in one place, usually S/4HANA or MDG, with BTP holding only transactional or extension data. The CAP handler below is the pattern I use for the read side, where the app enriches S/4HANA data without writing back synchronously.
// CAP side-by-side app on BTP, Node.js runtime
module.exports = (srv) => {
srv.on('READ', 'RiskOrders', async (req) => {
const orders = await req.run(req.target);
for (const o of orders) {
o.riskScore = await scoreCustomer(o.customerId); // calls external bureau, cached in BTP DB
}
return orders;
});
};If the bureau call times out, the read still returns the order with a stale score and a scoreAsOf timestamp. That degradation is acceptable in a side-by-side read model. It would not be acceptable inside the sales order save in S/4HANA, where a timeout would block order entry.
My rule in a workshop: start in-app, and move to BTP only when I can name the specific limit I hit, such as no released BAdI, no custom UI, or a volume test showing core p99 rising. That keeps the core clean and keeps the BTP estate from becoming a shadow ERP.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-44Walk me through how you would use SAP BTP Integration Suite, Extension Suite and SAP Build to integrate S/4HANA with a CRM, extend a standard approval, and deliver a low-code app without modifying core S/4HANA code?
The 90-second answer
I would keep S/4HANA core untouched and put three different jobs on BTP. Integration Suite moves the data between S/4HANA and the CRM. Extension Suite adds code that needs to stay close to S/4HANA business objects, usually in the ABAP Environment. SAP Build covers the parts a business user can own, such as a low-code approval app and workflow. The split matters because each suite has a different runtime, a different release model, and a different owner.
Assume S/4HANA Cloud or on-premise S/4HANA 2023, a BTP subaccount with Cloud Foundry, and a destination already defined for the S/4HANA system. If S/4HANA is on-premise, I also need SAP Cloud Connector or a reverse proxy destination, otherwise Integration Suite cannot reach the OData and IDoc endpoints.
| Suite | Job in this scenario | Typical artefact | When I would not use it |
|---|---|---|---|
| Integration Suite | Sync customer and material master to CRM, receive sales order back | Cloud Integration iFlow, API Management proxy, Integration Advisor mapping | A one-off file load where a standard S/4HANA migration object already fits |
| Extension Suite | Add a field check and custom logic on purchase requisition release | ABAP Environment app using released APIs, or Kyma service for a non-ABAP side-by-side service | Logic that belongs in standard Customizing or a BAdI in S/4HANA itself |
| SAP Build | Low-code app for buyers to track requisitions over EUR 10,000 and chase approvals | SAP Build Apps app, Build Process Automation workflow, Build Work Zone page | A high-volume transactional screen that needs strict authorization and audit in S/4HANA |
Integration Suite in practice
I would model the CRM flow as a scheduled or event-driven iFlow. Integration Advisor gives a suggested mapping for standard SAP content, for example Customer from S/4HANA to CRM, but I still review field-level rules for mandatory CRM fields and code lists. API Management sits in front of the S/4HANA OData service so the CRM calls a managed API with OAuth 2.0 instead of calling S/4HANA directly.
// Cloud Integration Groovy step: enrich and validate before sending to CRM
def body = message.getBody()
def customer = new JsonSlurper().parseText(body)
if (!customer.Customer || !customer.Customer.trim()) {
throw new Exception("Missing Customer key, route to dead-letter queue")
}
message.setHeader("CustomerId", customer.Customer)
message.setBody(customer)Failure detection is built into the flow. I monitor Integration Suite message status, set retries with backoff for transient 5xx responses, and route persistent mapping errors to an error queue with the payload preserved. A common failure is a released API returning 400 after a field length change in the CRM. The trace shows the iFlow step, the HTTP status, and the CRM error code, which is what I hand to the CRM team instead of a screenshot.
Extension Suite in practice
For the approval extension, I first check whether standard S/4HANA release strategy and workflow already cover the EUR 10,000 threshold. If the gap is only a custom check, such as blocking release when the cost center budget is exceeded, I build it in the ABAP Environment. That environment only allows released APIs and released CDS views, so the extension cannot read arbitrary S/4HANA tables. That restriction is the point. It keeps the extension upgrade-safe, but it also means I must design around the released API for purchase requisitions and accept that some classic ABAP patterns, such as direct table access or GUI transactions, are unavailable.
If the extension needs a language other than ABAP or a separate scaling model, I use Kyma runtime instead. I would not put the same logic in both places. ABAP Environment suits logic tightly coupled to S/4HANA objects. Kyma suits a standalone service that S/4HANA calls through a destination.
SAP Build in practice
SAP Build Apps is for the tracking app, not for the release logic itself. The app reads requisition status through an OData destination to S/4HANA and writes only comments or attachments that the business owns. Build Process Automation handles reminders when an approval sits for more than three days. I keep the authoritative status in S/4HANA. If the Build app and S/4HANA disagree, S/4HANA wins and the app refreshes from the released API.
The trade-off I state to stakeholders is governance. Build lets a department deliver in weeks, but citizen-developed apps still need BTP role collections, destination credentials, and a lifecycle plan for transport between subaccounts. Without that, we get an app that works in dev and has no owner in production.
My closing check in an interview setting: name the released API, name the destination and authentication type, and name where errors land. If I cannot name those three, the design is still a diagram, not a plan.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-45Walk me through how SAP Fiori launchpad spaces, pages, catalogs and tiles work, and how a user gains access to an app?
The 90-second answer
In S/4HANA the embedded Fiori launchpad is a shell that renders content a user is already authorized to see. It does not grant access by itself. Access comes from a PFCG role that brings together two things: a catalog, which defines the tiles and target mappings for apps, and a space, which defines where those tiles appear. A page sits inside a space and holds the sections and tiles the user sees. If either half of the role is missing, the app is invisible or fails at runtime.
The four objects, in order
A catalog is a container of tiles and target mappings. Example: SAP_MM_BC_PO_APPR_CATALOG holds the tile for Manage Purchase Orders and its target mapping. A target mapping binds an intent, written as #SemanticObject-action (for example #PurchaseOrder-display), to an app ID and its launch parameters. The catalog says what exists. It says nothing about layout.
A space is the top level grouping the user sees, such as Procurement. A page lives inside a space, such as Approvals, and contains sections. Tiles are placed on a page. In the launchpad designer (/UI2/FLPD in older releases, now the Launchpad Designer app) you assign a catalog tile to a page section. The same tile can appear on more than one page, but only if the user's role includes both the catalog and the space that owns that page.
A tile is the visual entry point. It carries a title, an icon, and optionally a KPI or count from an OData service. Clicking it does not open a URL directly. The launchpad resolves the tile's intent through the target mapping to the app ID, then starts that app with the parameters stored on the mapping.
How a user gains access, step by step
- An administrator creates or reuses a single PFCG role, for example
Z_MM_BUYER, and adds two entries: the catalogSAP_MM_BC_PO_APPR_CATALOGand the spaceSAP_MM_BC_SPACE. In S/4HANA 2020 and later, spaces and pages are assigned in the role the same way catalogs are. A role with the catalog but no space gives the user nothing on screen. - That role is assigned to a composite role or directly to the user, and the user is generated in
SU01andPFCG. - At logon the launchpad loads the user's roles, collects the spaces, loads the pages in each space, and renders only the tiles whose catalogs are in the role.
- When the user clicks a tile, the app starts and calls its OData service, for example
/sap/opu/odata/sap/ZMM_PO_SRV. The backend then checks the user's authorizations for that service and the underlying business object. A user can therefore see a tile and still get a 403 or an empty list if the backend authorization object, such as the object controlling purchase order display, is missing.
| Layer | Object | What it controls | Missing it looks like |
|---|---|---|---|
| --- | --- | --- | --- |
| --- | --- | --- | --- |
| --- | --- | --- | --- |
| Navigation | Space and page | Where the tile appears | Tile not visible at all |
| App definition | Catalog, tile, target mapping | Which app the intent opens | Tile visible, click fails or opens wrong app |
| Backend | PFCG authorization for the OData service and business object | Which data the app returns | App opens, then 403 or no data |
Worked trace
A buyer, user JSMITH, has role Z_MM_BUYER with catalog SAP_MM_BC_PO_APPR_CATALOG and space SAP_MM_BC_SPACE. She opens the launchpad, sees Procurement > Approvals, and clicks the Manage Purchase Orders tile. The launchpad resolves #PurchaseOrder-display to app F3248 and starts it. The app calls the OData service with $filter=Status eq 'PENDING'. The service checks her backend authorization for purchase orders. If that check passes, she sees her pending orders. If an administrator removes the catalog from her role, the tile disappears on next logon. If the administrator removes only the backend authorization, the tile stays and the app fails. That split is the fastest way to diagnose a complaint that "Fiori is broken": no tile means a catalog or space problem, a tile that fails means a target mapping or backend authorization problem.
Two practical points follow. First, when you build a custom app, you must create the catalog and target mapping and then assign both the catalog and the relevant space to the role. Creating the tile in the designer alone does not make it appear for anyone. Second, spaces and pages replaced the older single home page model. If you maintain a custom home page from ECC, check whether the role still carries the old page assignment, because S/4HANA ignores it once spaces are active.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-46What is the difference between SAP GUI and Fiori, and which would you use for a simple approval task done on a phone?
The 90-second answer
SAP GUI is the installed Windows client for SAP ERP and S/4HANA. You log in to it and run a transaction code, such as ME21N for a purchase order or VA01 for a sales order, through classic dynpro screens. SAP Fiori is the browser based UX for S/4HANA. It runs in the Fiori Launchpad as tiles that open SAPUI5 apps, which talk to the backend through OData services over CDS views.
For a simple approval task done on a phone, I would use Fiori. That is the rule I apply: if the task is a standard S/4HANA business task and the user needs it in a browser or on a mobile device, build or use Fiori. SAP GUI stays for the complex, high volume transactions and for customising work in IMG and SE80.
| Point | SAP GUI | Fiori |
|---|---|---|
| Access | Installed client, SAP GUI 7.x, or SAP GUI for HTML in a browser | Browser only, through the Fiori Launchpad |
| Navigation | Transaction code, menus, favourites, keyboard shortcuts | Tiles and search in Launchpad, role based catalogues |
| Screen design | Dense dynpro screens with many fields at once | List report and object page, fewer fields per screen, guided steps |
| Backend access | Dynpro and BAPI calls inside the transaction | OData V4 service over a CDS view, UI annotations control filters and columns |
| Typical user | Buyer, planner, accountant, administrator doing daily volume work | Manager approving, employee on self service, user on tablet or phone |
How the decision works in practice
Take purchase requisition approval. In SAP GUI the approver runs ME54N, finds the requisition, checks the account assignment and releases it. That works on a desktop, but it does not work on a phone and it assumes the approver knows the transaction code. In Fiori the same task is a standard app such as Approve Purchase Requisitions. The tile shows the count of items waiting, the list report shows supplier, value and date, and the approver opens one item and taps Approve or Reject. No transaction code, no installed client.
The same split applies to creation. A buyer creating purchase orders all day in ME21N needs every field, variant and shortcut on one screen. Fiori can create a purchase order, but the flow is slower for that volume. So I would give the buyer SAP GUI for creation and Fiori for the manager for approval. That is a decision per task and per user, not one interface for the whole process.
What goes wrong if you pick the wrong one
Forcing a phone approval into SAP GUI means the manager cannot do it outside the office, so approvals queue until Monday. Forcing a buyer who creates 180 purchase orders a day into a Fiori app that splits the order across several screens adds time to every document and the buyer will ask for SAP GUI back. The fix is to check the Fiori Apps Reference Library first. If a standard Fiori app covers the task, use it for browser and mobile users and keep SAP GUI for the power users who need the full transaction.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-47How would you explain SAP Joule and the embedded AI features in S/4HANA to a CFO, and decide which ones are worth enabling first?
The 90-second answer
Joule is SAP's generative AI copilot. In S/4HANA it sits in Fiori, understands a request such as "show overdue purchase orders for plant 1010" or "summarise this supplier's delivery performance", and calls the underlying CDS views, OData services and business objects to retrieve and act on live data. It does not replace the process. It drafts, retrieves and proposes, and the user confirms in the standard transaction.
Embedded AI is different. Those are prebuilt machine learning models inside S/4HANA processes: invoice matching in MM, cash collection prediction in FI-AR, demand forecasting in IBP and S/4HANA supply planning, anomaly detection in finance postings, and supplier risk scoring. They predict or classify, they do not converse.
I would not sell either on licence count. I would pick one process, baseline it for four weeks, pilot with a named owner, and keep only what moves a measured KPI.
What each layer actually does
| Layer | Example in S/4HANA | What it needs | Where it fails |
|---|---|---|---|
| Joule (generative) | Natural language query, document summary, draft email to a supplier, guided navigation | Joule licence, SAP Business AI, authorisations for the user, clean CDS and master data | Wrong plant or company code in the prompt, hallucinated figures if grounding is weak, users without PFCG authorisation seeing a generic refusal |
| Embedded ML (predictive) | Predict which customer will pay late, match a 3-way invoice with a tolerance proposal, forecast demand by material and plant | Historical data in the relevant tables, model training in SAP AI Core or embedded, scheduled runs | Sparse history for new materials, master data errors treated as signal, model drift after a process change |
| Custom AI on BTP | A model trained on your own claims or quality data, called from S/4HANA via an API | BTP, AI Core, integration, data pipeline | No owner for retraining, latency and cost per call ignored |
Joule agents extend this. An agent can chain skills, for example read a purchase order, check goods receipt status, then draft a follow-up. That chain is only safe if each skill checks authorisation and writes an audit entry. I check that in the pilot, not in a slide.
How I evaluate value, with real figures
Take invoice verification, a common first pilot. Hypothetical but typical figures for a mid-size plant: 12,000 supplier invoices a month, 22% need manual touch beyond the standard tolerance check, average handling 9 minutes. That is 2,640 touches and about 396 hours a month.
Baseline before any AI: touches per 1,000 invoices, first-pass match rate, days to payment, and error rate on auto-posted invoices. If embedded matching cuts manual touches from 22% to 12% on the pilot scope, the saving is 1,200 touches, about 180 hours a month. At a loaded EUR 55 per hour that is roughly EUR 9,900 a month, before licence and support cost. If the error rate rises, the saving is not real. A wrong auto-post creates a credit memo, a payment block and a supplier dispute, each costing more than the minutes saved.
I run the same arithmetic for Joule. Measure task completion time for a defined set of 20 queries, the share answered without a follow-up correction, and the share where the user had to verify a number in the source transaction. If users still open the purchase order to check every figure, Joule is a search box, not a productivity gain.
Failure modes I test in the pilot
Data quality is the first. Joule grounded on incomplete material masters will produce confident, wrong summaries. I check material, supplier and customer completeness first, and I log every Joule prompt and response for review in the pilot period.
Authorisation is the second. A user who cannot post in MIRO must not be able to get Joule to propose a posting that bypasses tolerance limits. I test with a restricted PFCG role and confirm the skill returns a refusal, not the data.
Drift is the third. A cash collection model trained before a change in payment terms will mispredict. I set a review date, compare predicted versus actual payment dates monthly, and retire the model if accuracy falls below the baseline rule.
Licensing and scope is the fourth. Joule in S/4HANA Cloud, Joule on BTP and embedded AI in S/4HANA on-premise are not the same entitlement. I confirm the edition, the included units, and whether AI Core consumption is extra, in writing from the contract, before promising a saving.
My recommendation to a CFO would be narrow: fund one pilot, one process owner, one KPI, and a stop rule. Scale the feature that survives that test. Leave the rest disabled until the data and the process are ready.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-48After go-live on S/4HANA, how would you use SAP Cloud ALM to monitor health, manage tasks, and track changes without relying on separate tools?
The 90-second answer
After go-live I would treat SAP Cloud ALM as the single operations record for the S/4HANA landscape, not as a dashboard bolted on afterwards. I register every system in Landscape Management, assign it to a solution scope, and connect it with the SAP Cloud ALM connector. From that registration, Health Monitoring starts collecting KPIs automatically, Integration and Exception Monitoring picks up failed IDocs, OData calls and background jobs, and every alert can be turned into a Task. Changes to configuration, custom code and solution scope are then tracked against those Tasks, so an auditor can trace a fix from exception to deployment.
Monitoring: what each app actually watches
Health Monitoring is for system health. It collects metrics such as CPU, memory, disk, database growth, failed updates and job runtimes, and compares them with thresholds you set per system or system group. A threshold breach creates an alert. It does not tell you why a purchase order failed to post.
Integration and Exception Monitoring covers that gap. It monitors message flows between systems, for example IDocs from S/4HANA to a warehouse system, OData calls to a CRM, and exceptions from background jobs and workflows. When a message fails, you see the payload, the error, and the retry status in one place instead of checking SM58, WE02 and job logs separately.
Real User Monitoring adds the user view. It records Fiori and SAP GUI transactions, response times and errors by user group, so you can separate a slow system from a slow network or a single bad custom report.
| App | Question it answers | Typical source | Example alert |
|---|---|---|---|
| Health Monitoring | Is the system healthy? | System and database KPIs | Disk usage above 85% on PRD |
| Integration and Exception Monitoring | Did the message or job fail? | IDoc, OData, job and workflow exceptions | IDoc status 51, syntax error in segment |
| Real User Monitoring | Is the user experience degraded? | Transaction traces | VA01 average response time 4.2 s, up from 0.8 s |
Task Management: turning alerts into owned work
An alert nobody owns is noise. In Task Management I create a Task from the alert, assign an owner and a priority, and link the original exception. The Task becomes the work item for the fix, with comments, attachments and status changes. Tasks can also be created manually for planned work, such as a quarterly access review or a patch cycle, and grouped by solution process, for example Procure to Pay or Order to Cash. That grouping matters after go-live, because the business team thinks in processes, not in system names.
Worked trace, with hypothetical figures labelled as such: at 02:14 an Integration and Exception Monitoring alert fires for 37 failed IDocs in the MM to EWM goods receipt flow. The on-call consultant opens the exception, sees error Segment E1BPSTPM not filled, creates Task T-1042, assigns it to the MM team and links the three affected purchase orders. The fix is a configuration change to the message type. The Task stays open until the reprocessed IDocs post successfully.
Change Tracking: closing the loop
Change Tracking records changes to the solution, including configuration changes, custom code changes and changes to requirements and processes. Each recorded change can be linked to a Task or a change request, and to the system and transport in which it was made. For cloud systems, Change and Deployment manages the deployment of changes through the landscape. For on-premise S/4HANA, you still get the tracking record, even though the transport import itself happens in the system landscape.
That link is the point. When finance asks why a tolerance key changed in March, you do not search emails. You open the Task, follow it to the recorded change, and see the user, the timestamp, the old and new values, and the linked requirement. When an exception recurs, you can check whether the same configuration was changed again.
Failure modes to name in the interview
First, unregistered systems are invisible. If a satellite system is not in Landscape Management, its exceptions never reach Cloud ALM. Second, thresholds set too tight create alert fatigue, so teams start ignoring the inbox. I start with vendor recommended thresholds, review alert volume weekly for the first month, and tune by system group. Third, Tasks created without an owner or a due date pile up. I make owner and priority mandatory for alert-derived Tasks and report open Tasks by process in the weekly operations review.
I would not use Cloud ALM as a replacement for a full APM tool if the client needs code-level tracing inside custom ABAP, or for long-term log archiving. It is strongest as the operational hub that connects health, exceptions, work and change in one audit-ready place.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-49Walk me through how SAP Solution Manager documentation links processes, changes and tests, and how you would use it to answer an auditor and support an incident?
The 90-second answer
In Solution Manager 7.2, documentation is not a folder of Word files. It is a structured hierarchy in Business Process Documentation (transaction SOLMAN_WORKBENCH, workcenter Business Process Documentation) that mirrors how the business runs. A Business Scenario sits at the top, for example Procure to Pay. Under it are Business Processes, such as Purchase Requisition to PO, and under those are Process Steps, such as Release PO above EUR 10,000. Each process step carries attributes, assigned documents, configuration references, test cases and the people responsible. That link is what makes it useful later. When an auditor asks who approved a change and how it was tested, or when support gets an incident on PO release, you start from the same process step and follow the links instead of searching mailboxes and shared drives.
SAP has positioned SAP Cloud ALM as the successor for new cloud landscapes, and Solution Manager 7.2 is in maintenance mode. For a current S/4HANA estate still running Solution Manager, the documentation model below is what clients are audited against.
How the documentation is built
You create the hierarchy during Solution Documentation, often imported from the Solution Manager template or built in SOLMAN_SETUP. For each process step you record:
- Process description and the business outcome it delivers
- Configuration steps, with the relevant IMG activity or transaction, such as
ME59Nfor PO release strategy - Assigned documentation: process guide, configuration guide, test script, training material
- Attributes: business owner, IT owner, status (in preparation, released), and version
Status matters for audit. A step marked released has a version history. You can see who changed the description or reassigned a document, and when. Unreleased drafts stay visible to the documentation team but should not be presented as the approved process.
How it supports audit
An auditor rarely asks for a process description in isolation. They ask for traceability: requirement, design, change, test, approval, production evidence. Solution Manager gives you that chain if you maintain it.
| Auditor question | Where you answer it in Solution Manager |
|---|---|
| Who owns this process and who approved the current version? | Process step attributes and version history in Business Process Documentation |
| What changed in production and under which request? | Change Control Management (ChaRM) request linked to the process step, with approval workflow and transport log |
| Was the change tested before transport? | Test Management test case linked to the same step, with executed result and tester |
| Can you show the configuration as it stands now? | Configuration document assigned to the step, plus the IMG activity reference |
| Were emergency changes handled separately? | ChaRM document type and approval history, flagged as emergency with retrospective approval |
Worked trace, labelled as a typical example: an auditor samples a PO release change. You open the process step Release PO above EUR 10,000. The step links to ChaRM change CHG123456, approved by the business owner on 12 May, transported in request E2WK900123. The linked test case TC-PO-REL-07 shows a passed execution on 10 May in QA, with a PO at EUR 12,000 correctly routed to the finance approver. The version history shows the process description was updated to version 4 on 13 May after the transport. That sequence, change before test before transport before documentation release, is the evidence. If the test result were missing or dated after the transport, the auditor would raise a finding even if the configuration itself was correct.
How it supports support
IT Service Management in Solution Manager uses the same hierarchy. An incident created from the process step inherits the business context, so the support team sees the process description, known configuration and recent changes before they ask the user to repeat the problem. A problem record can link several incidents to one root cause, and the solution can be published as a knowledge article attached to the step. The next user with the same error finds it through the process, not through a search for keywords.
That link also closes the loop. If an incident reveals that the documented release strategy is wrong, the fix goes through ChaRM, the test case is updated, and the process step version increments. Support, change and documentation stay in sync because they share the step as the anchor.
The failure mode I see most often is documentation maintained as a one-off project deliverable. The hierarchy is built at go-live, then nobody updates the owner or the test link after the first change. Within a year the auditor finds released documentation that describes a process the system no longer follows. The control that prevents it is simple: make the ChaRM approval workflow require a check that the linked process step and test case were updated before the change can be closed. Without that link enforced in the process, the documentation decays and both audit and support lose the trail.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-50How do you manage a change to SAP configuration from the initial request through testing and approval to transport into production?
The 90-second answer
No configuration change goes straight to production. It starts as a change request, is built once in DEV under a customizing transport request, is tested in QA, gets business sign-off, and only then is released and imported into PRD in the same sequence. That chain is the control. If a change cannot be traced from request to test evidence to transport, it does not move.
In S/4HANA the mechanics sit in the Change and Transport System (CTS). A customizing change in SPRO or a table entry creates or attaches to a customizing request, visible in SE09. A workbench request carries code and other repository objects. The two are separate on purpose. Customizing requests are released from the DEV system and imported in order. Workbench requests can be released from any system in the landscape, which is why mixing them up causes import failures.
Versioning and traceability
Versioning is not a file in Git. It is the transport request itself. The request holds the object list in E071, the change documents for logged tables, and the link to the change request in Solution Manager or SAP Cloud ALM. You can open the request in SE09, see exactly which IMG activity, table entry or program change it contains, and compare DEV and QA with the version comparison tools before import. That is how you answer an auditor asking what changed, when, and who approved it.
A concrete trace looks like this:
| Step | Artefact | Gate to pass |
|---|---|---|
| Change raised | Change document with business reason and risk | Business owner accepts scope |
| DEV build | Customizing request K900123, e.g. new tolerance key in OBA7 | Developer unit test passes |
| QA import | Same request imported into QA, import log return code 0 | Integration and UAT test cases pass |
| Sign-off | Test evidence attached to the change | Business approver signs, technical release separate |
| PRD import | Request released, imported in sequence | Post-import check of the setting in SPRO |
Testing and approval before transport
Testing happens in QA, not DEV, because QA is the first system that receives the change exactly as PRD will. Unit testing in DEV proves the setting works. QA testing proves it works with copied master data, roles and dependent configuration. I require the test cases to name the expected result before the import, for example: post an invoice above tolerance and confirm it blocks with the new limit. A pass recorded after the fact is not evidence.
Approval is split. The technical release says the request is complete and importable. The import approval, often handled in ChaRM or SAP Cloud ALM Change, says the business accepts the tested result. One person should not hold both for a high-risk change. That separation stops a developer releasing their own untested change at night.
Where it breaks
Three failures recur. First, import order. A customizing request that depends on a workbench request imported earlier in QA will fail or behave differently in PRD if the sequence differs. Check the object list and the dependency in SE09 before release. Second, manual changes in QA. A tester fixing a table entry directly in QA creates a divergence that the next import overwrites. That change must be recreated in DEV and re-transported, or the QA result is invalid. Third, return code 8 in the import log. The import ran but an object failed. PRD is now partially updated. Stop, read the log in STMS, fix the cause, and re-import. Do not release the next request until the log is clean.
Direct changes in PRD are blocked by setting the system changeability to not changeable for customizing, and any emergency fix follows the same path afterwards: document it, recreate it in DEV, and transport it so the landscape converges again.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-51Walk me through your testing strategy for an S/4HANA rollout, covering unit, SIT, UAT and regression, and the entry and exit criteria you would enforce at each gate?
The 90-second answer
I run four gates, and I do not let a phase start because the calendar says so. Unit testing proves the build does what the design says. SIT proves the build works with the systems around it. UAT proves the business can run the process and sign it off. Regression proves a later change did not break what already passed. Each gate has entry criteria I check before testers log in, and exit criteria I check before I ask for sign-off or move to the next environment.
Assume an S/4HANA rollout with customizing, a few ABAP enhancements, and two integrations, for example IDoc to a warehouse and OData to a CRM. That assumption matters because the test data and the failure modes differ from a pure configuration project.
Unit testing. The consultant who built it tests it first, in DEV, against the functional design. For configuration that means walking the IMG path and checking the result in the transaction, not just saving the customizing. For custom code it means ABAP Unit tests for logic that can run without a database, plus manual tests for dialog and enhancement points. I log results per transport request, so a failed unit test blocks the request from moving to QA.
Entry: design and test script reviewed, transport in DEV, test data created. Exit: 100% of critical scripts pass, no open defects against that transport, and the request is released only after the developer and a peer have both signed the script.
SIT. Testers run end-to-end scenarios across systems. A sales order in S/4HANA creates a delivery, posts goods issue, triggers the warehouse IDoc, receives the confirmation, then bills and posts to FI. Batch jobs, print outputs, and error queues are part of the script, not an afterthought. I use a QA client refreshed from DEV at the start of the cycle, then freeze the refresh. Refreshing mid-cycle is the fastest way to lose the defects you already found.
Entry: all unit-tested transports imported to QA in dependency order, integration partners available, test users with PFCG roles, and monitoring on IDoc queues, SM37 jobs, and integration logs. Exit: at least 98% of P1 and P2 scripts pass, zero severity 1 defects open, and every severity 2 defect has a workaround the business has accepted in writing.
UAT. Business users run their own scenarios with production-like master data, in their own words. I do not write their scripts for them. I provide the process list, the test data, and a defect log they can use without training in Solution Manager. Their sign-off is per process, for example procure to pay or order to cash, not a single signature at the end.
Entry: SIT exit met, UAT scripts reviewed by the process owners, training done, and a named business approver per process. Exit: 100% of P1 business scenarios pass, zero open severity 1 or 2 defects, and signed approval per process. Anything deferred goes into a known issues list for go-live support, with an owner and a date.
Regression. After SIT and UAT, and after every support pack, patch, or major transport merge, I rerun a fixed regression pack. It is the 80 to 120 scripts that cover the critical paths and the areas touched by the change. It is not the full SIT suite. If a change touches pricing, regression includes pricing. If it touches only a Fiori annotation, regression is smaller, but it still runs.
Entry: change list frozen, regression pack selected by impact analysis, and QA data reset to a known state. Exit: 100% of P1 regression scripts pass and no new severity 1 defects. A failed regression script reopens the original defect and blocks the transport to PRD.
| Phase | Main question | Typical owner | Exit bar I enforce |
|---|---|---|---|
| Unit | Does this object do what the design says? | Consultant or developer | 100% critical scripts pass |
| SIT | Does it work end to end with other systems? | Test lead plus integration team | 98% P1/P2 pass, zero Sev 1 open |
| UAT | Can the business run and accept the process? | Process owners | 100% P1 pass, signed per process |
| Regression | Did the change break a working path? | Test lead | 100% P1 pass, zero new Sev 1 |
Two failure modes come up every project. The first is test data drift. A tester creates a material with a different valuation class in QA, and SIT passes for the wrong reason. I lock the load of master data, use a naming convention for test records, and check the data before each cycle. The second is defect triage by severity alone. A severity 3 defect in payment run selection can block go-live, while a severity 2 cosmetic defect cannot. I triage on business impact and on whether the defect sits on a P1 path.
The arithmetic I report to the steering group is simple and hard to game. If SIT has 1,240 scripts and 1,198 pass on the first run, that is 96.6%. That number alone does not pass the gate. I also report open defects by severity and the number of P1 scripts still unexecuted. A cycle can show 98% pass and still fail exit if 12 P1 scripts were never run. I treat unexecuted P1 scripts as failures until the business agrees in writing to defer them.
When a phase misses exit, I do not lower the bar quietly. I record which criterion failed, what the impact is on go-live, and what the fix costs in time. That record is what lets a project manager decide to extend the cycle, cut scope, or accept a known issue with a workaround. Without it, testing becomes a status colour instead of a decision.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-52In UAT, goods issue fails for one plant but a manual workaround exists. How would you triage that defect, set severity and priority, find the root cause, and retest the fix?
The 90-second answer
I would triage that defect in the daily SIT/UAT meeting, but I would decide it on the evidence from QA, not on the report alone. First I reproduce it with the same plant, user role, and material the tester used. If it reproduces, I set severity from impact and priority from timing. Severity asks what happens if this ships. Priority asks what we fix first before UAT exit. They are not the same number.
For goods issue failing at one plant with a manual workaround, severity is usually S2, not S1. The process does not stop completely, because the workaround lets the warehouse ship, but it is a core MM process and the workaround is slow and error prone. Priority could still be P1 if that plant must sign off UAT and the fix is small. If the workaround is acceptable for two weeks and the fix needs a transport that would destabilise the current cycle, priority drops to P2 and the business owner records that acceptance.
| Decision | Question | This case |
|---|---|---|
| Severity S2 | Can the user finish the task, and at what cost? | Yes, via workaround, but goods issue is delayed and stock and GR/IR postings need manual follow up |
| Priority P1 or P2 | Must it be fixed in this cycle for UAT sign off? | P1 if the plant cannot sign off without it, P2 if the owner accepts the workaround until the next release |
| Root cause | Which layer failed? | To be confirmed by checking customizing, master data, and the delivery and batch data for that plant |
| Retest | Does the reported case pass, and did the fix break neighbours? | New goods issue for that plant, plus a check for another plant and for a delivery without the failing condition |
Finding the root cause
I do not assign the defect to a developer until the cause is narrowed. For a plant specific goods issue failure, I check in this order. Master data first, because it is the most common plant specific cause: is the material extended to that plant and storage location, is batch management active for the material, and is the inspection stock or a special stock segment involved. Then customizing: movement type, delivery type, and any plant specific determination that differs from the plants that work. Then custom code: a BAdI or user exit on goods issue that reads a plant parameter. Then environment: whether the tester is in QA and whether a recent transport changed the movement type or tolerance.
The root cause category decides the fix. Master data is corrected in the data, not in code. Customizing is changed and transported. Code is corrected in a workbench request. I record the category and the owner in the defect, even if the exact line of code is still open, so the item does not bounce between teams.
Worked trace
| Step | Action | Evidence |
|---|---|---|
| 1. Reproduce | Test lead runs goods issue for the reported delivery in QA with the warehouse role | Same error message as the tester, for that plant only |
| 2. Compare | Run the same delivery type and material for a plant that works | Posts without error, so the issue is plant or data specific |
| 3. Root cause | Check material master views and batch determination for the failing plant | Material is not extended to the storage location, so the system cannot propose a batch |
| 4. Fix | Extend the material to that storage location in QA, correct the test data set, no transport needed | Data fix logged, owner is the MM lead |
| 5. Retest | Tester repeats the original delivery, then posts a second delivery with a different batch | Both post, stock and accounting document are correct |
| 6. Regression | Post goods issue for the other plant and for a delivery in inspection stock | No change, as expected |
| 7. Close | Tester signs off, defect closed with the data change and the retest result | Counted as passed in the UAT exit report |
Retest and regression are separate checks. Retest proves the reported delivery now posts. Regression proves the data extension did not change behaviour for the other plant or for inspection stock. I also retest with the warehouse role, not an admin role, because an admin can bypass a batch or authorization check that the real user cannot.
The common failure here is to label it S1 because goods issue sounds critical, then to fix it by changing customizing when the real cause was missing master data. That creates a transport, a retest cycle, and a risk for other plants, for a problem that a data correction solves. Triage exists to stop that sequence early, by separating impact from urgency and by naming the cause before anyone writes code.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-53In week 3 of hypercare, super users handle how-to questions but P2 defects still go to consultants. How would you triage tickets, finish knowledge transfer, and hand over to support?
The 90-second answer
In week 3 I would stop treating the queue as one queue. How-to questions go to super users, defects stay with the project team, and support shadows both. That split is what lets me prove knowledge transfer is real and then hand over without the queue bouncing back.
Assume S/4HANA went live three weeks ago, the change freeze allows P1 and P2 fixes only, and the support partner is already contracted. The situation you describe is common: super users can answer how-to questions because they have done the tasks, but they still escalate defects because they do not know if the cause is configuration, data, or code. My job in week 3 is to make that boundary explicit.
Triage: separate the queue by cause, not by who shouted loudest
Every ticket gets triaged once a day by a named triage lead, not by the person who logged it. The lead assigns a category and a priority in the same pass.
| Category | Example from week 3 | Route | Fix target |
|---|---|---|---|
| Defect | Invoice blocked at tolerance PP, no workaround | Project FI consultant | Workaround in 1 day, fix in 5 days |
| Data issue | Vendor master missing payment block flag | Project MM consultant plus master data team | Same day correction |
| Training gap | User cannot find the Fiori app for MIRO | Super user, 20 minute call | Closed same day, SOP updated |
| Change request | Buyer wants a new approval screen over EUR 10,000 | Logged, parked until after hypercare | Backlog with cost estimate |
Priority still follows impact. P1 means a process is stopped. P2 means a process is at risk before period end. P3 and P4 are everything else. The category decides who works it, the priority decides how fast.
Hypothetical figures from a typical week 3 queue make the point: 160 tickets, of which 25 are defects or data issues, 95 are training gaps, and 40 are change requests. If the project team works all 160, the 25 real defects wait behind 95 questions a super user could close. If super users work the 95, the project team can clear the 25 in the week. I report the split weekly. A falling defect count with a flat training gap count tells me the system is stabilising but KT is not finished.
Knowledge transfer: test it by who closes the ticket
KT in week 3 is not more documents. It is a handover test. For each process, the super user must close three live P3 or P4 tickets without a consultant in the call. I sit in, I do not answer, and I log whether they needed help.
Each time a super user needs help, we update the one page SOP with a screenshot of the exact step that failed. That turns a ticket into a permanent fix for the next user. By the end of week 3 I want a signed list per process: SOP published, recording linked, super user named, and three tickets closed unaided. No signature, no handover for that process.
Transition to support: hand over process by process
Support shadows from week 3, but they do not own the queue yet. They take the training gap tickets first, then P3 defects, while the project team keeps P1 and P2. I check readiness with a simple count: of the last 20 tickets support handled, how many did they close without escalation? Below 80 percent, they are not ready for that process.
Handover happens per process, not on one date. Procurement might hand over in week 4 while Finance stays in hypercare until week 6 because month-end close is still untested. The handover pack for each process is the same: config workbook extract, transport log, known errors list with workarounds, and the open P3 list with an owner and a date for each item.
The failure mode I watch for is a clean calendar exit. If the last 20 tickets were still closed mostly by project consultants, support will not cope in week 7, whatever the contract says. I extend hypercare for that process only, keep the triage lead in place, and move the exit date. That is cheaper than reopening the project after support has already failed in front of the business.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-54In an SAP project RACI chart, what do R, A, C and I stand for, and who should be listed as Accountable for a decision?
The 90-second answer
RACI stands for Responsible, Accountable, Consulted and Informed. Only one person is Accountable for a decision. That person owns the outcome and signs it off. Responsible does the work. Consulted is asked before the decision. Informed is told after it.
In an SAP project I would use that rule for decisions such as approving a scope change, signing off master data migration, or approving go-live. The business sponsor is Accountable for go-live. The process lead for Finance is Accountable for Finance UAT signoff. The SAP consultant is usually Responsible for documenting the options, impact and effort, and Consulted on technical risk. Key users are Consulted during testing and Informed when the decision is final.
If two people are listed as Accountable, the decision stalls. I keep it to one named role per decision and publish the chart before design starts.
| Decision | Responsible | Accountable | Consulted | Informed |
|---|---|---|---|---|
| Scope change | SAP consultant and process lead | Business sponsor | Finance, Logistics, IT lead | Steering committee |
| Master data signoff | Data lead | Process lead for the domain | MM, SD and Finance leads | Project manager |
| UAT signoff | Key users and test lead | Process lead | SAP consultant | Business sponsor |
| Go-live | Project manager and cutover lead | Business sponsor | All process leads | All stakeholders |
How I apply it when priorities conflict
Finance and Logistics may both ask for the same consultants first. The RACI does not decide which request wins. It decides who decides. The process leads are Consulted, the consultant is Responsible for laying out impact, effort and delay cost for each option, and the business sponsor is Accountable for choosing. I record the choice, the deferred item and its planned date in the decision log and send it to the Consulted and Informed groups within 24 hours. That stops a deferred department learning about it from a missed deadline.
Failure modes
A committee listed as Accountable fails, because no individual can sign. A chart with no Accountable for UAT signoff fails at go-live, because testing ends without acceptance. A chart where everyone is Consulted on everything slows the project, because input becomes a veto. I limit Consulted to the leads affected by that decision and keep the list short.
The same rule covers communication. The working group meets weekly to work through open decisions. The steering committee meets monthly for escalations and budget. The decision log is the record that links the two, so the Informed group sees what was decided, by whom, and what happens next.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-55Walk me through how you would use MoSCoW to prioritise S/4HANA scope when Finance, Procurement and Sales all claim their items are must-haves, and how you would defend the cut?
The 90-second answer
MoSCoW only works if Must has a testable meaning. In an S/4HANA scope workshop I define it before anyone scores a requirement: a Must is something without which the company cannot legally operate, close its books, or complete the core process on day one, and for which no acceptable manual workaround exists for more than a few weeks. Should means the process runs without it, but at a measurable cost in effort, control, or risk. Could is a genuine improvement with no cost of delay. Won't is agreed out of this phase and recorded, so it does not reappear as a surprise in UAT.
When three functions all claim Must, I do not average their votes. I force each claim through the same evidence check and I make the trade-off visible in effort. A typical S/4HANA rollout can absorb roughly 60 percent of its build and test capacity in Musts. If Musts exceed that, something else has to move, because the project will still deliver the same date with less testing.
| Requirement | MoSCoW | Evidence for the call |
|---|---|---|
| E-invoicing format required by law from go-live date | Must | No legal workaround. Orders can be taken, invoices cannot be issued compliantly. |
| GR/IR clearing and period lock for month-end close | Must | Without it FI cannot close period 05. The failure is detected in the first mock close, not at go-live. |
| Custom approval screen for requisitions over EUR 10,000 | Should | Standard release strategy in ME54N covers the limit. The screen is preferred, not required. |
| Fiori tile for buyer worklist | Could | Buyers can use the standard list report. It saves clicks, it does not unblock a purchase. |
| Advanced warehouse slotting optimisation | Won't | Current putaway works. Revisit in phase 2 after EWM stabilises. |
How I defend a Must against a nice-to-have
I ask four questions in order, and the requirement has to fail the first three before it can be a Must.
- Does the process stop, or does the company break a legal or audit obligation? A blocked goods issue, an unclosable period, or a missing tax determination passes. A slower approval does not.
- Is there a workaround, and what does it cost per month? This is where arithmetic settles arguments. Suppose Procurement wants the custom approval screen as a Must. The standard release strategy already enforces EUR 10,000. The screen would save about 6 minutes per requisition. At 400 requisitions a month that is 40 hours, roughly EUR 2,400 a month at a loaded EUR 60 per hour. That is a real cost, so it is a strong Should with a funded workaround, not a Must. If the workaround were 400 hours a month or required a spreadsheet that bypassed segregation of duties, the answer would change.
- Does another Must depend on it? Master data governance for material masters often looks like a Should until you trace the dependency. If LTMC migration and MDG activation are not in scope, the MM Musts cannot be tested with real data. Dependencies promote a requirement, preference does not.
- What breaks if we defer it, and when does that breakage start? A Could with a cost of delay that starts in month 7 belongs in phase 2 with a date. A Could with no cost of delay stays a Could.
I record the decision in the fit-gap log with the test that was applied, the workaround, its owner, and the review date. That record matters more than the label. In UAT, when a Should is promoted, the sponsor has to name what leaves the Must list or accept a later go-live. Without that rule, MoSCoW collapses.
Failure modes I watch for
The common one is Must inflation. If 85 percent of requirements are Musts, the team has not prioritised, it has listed. I cap the conversation by showing remaining capacity in person-days for build, test, and cutover support, then ask the group to rank within Musts. The second failure is a Should with no workaround owner. The workaround then becomes unpaid work for the business after go-live and the requirement returns as a defect. The third is a Won't that was never written down. Six weeks later it reappears as an assumed commitment, and the project pays for it in change requests and trust.
A defensible MoSCoW list is therefore short on Musts, explicit on workarounds, and dated on everything deferred. That is what lets a consultant say no in a workshop without the no sounding like a preference.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-56A client with 750 FUEs is comparing RISE with S/4HANA Cloud against on-premise S/4HANA over five years. How would you compare their total cost of ownership, and which cost lines move between the two models?
The 90-second answer
I would build the estimate as a five-year cash model with identical scope in both columns. Three buckets decide it: licence or subscription, infrastructure and operations, and implementation plus the run costs that continue after go-live. Under RISE with SAP S/4HANA Cloud, the subscription bundles licence, hyperscaler infrastructure, basis operations and planned upgrades. Under on-premise S/4HANA, you buy those separately and you own upgrade timing. The comparison only works if user counts, scope and time horizon match.
I would state the assumptions first: user profile by FUE type, number of systems and plants in scope, Essential or Premium edition, and whether BTP credits, Signavio and add-ons are included or bought separately. RISE pricing is driven by Full Usage Equivalents, so a headcount total is useless until it is converted. For this client the 750 FUEs are already converted, so I would still ask how that figure was derived and what growth is expected.
Worked example, hypothetical figures
Assume the 750 FUEs break down as 200 advanced users, 600 professional users and 400 limited users. Using conversion factors of 1.0, 0.75 and 0.25, that is 200 + 450 + 100 = 750 FUEs. I would verify those factors and the per-FUE rate against the SAP price list for the country and contract date, because both change.
| Cost line, 5 years | RISE with SAP S/4HANA Cloud | On-premise S/4HANA |
|---|---|---|
| Licence or subscription | 750 FUEs at an illustrative EUR 220 per FUE per month = EUR 1.98m per year, EUR 9.9m over 5 years before uplift | Perpetual licence, illustrative EUR 4.5m upfront, plus maintenance at 22% of licence per year = EUR 0.99m per year, EUR 9.45m over 5 years including the upfront fee |
| Infrastructure | Included in subscription | Illustrative EUR 380k per year for compute, storage, backup and DR capacity, EUR 1.9m over 5 years |
| Basis and operations | Included for the core system, internal team still needed for extensions and integrations | Internal or AMS basis team, illustrative EUR 450k per year, EUR 2.25m over 5 years |
| Implementation | Illustrative EUR 2.8m one-off for Realize, data migration, testing and cutover | Illustrative EUR 2.8m one-off, same scope |
| Upgrades and enhancements | Planned upgrades included, regression testing still required, allow EUR 120k per year of internal effort | Two major upgrades in 5 years at an illustrative EUR 600k each, EUR 1.2m |
| Illustrative total | About EUR 13.3m | About EUR 17.1m |
The numbers are illustrative, not a quote. The shape matters: RISE moves infrastructure and basis cost into the subscription line, while on-premise spreads it across licence, maintenance, hardware or cloud IaaS, and internal teams. If the client already has a data centre contract with spare capacity, the on-premise infrastructure line falls. If they have no basis team, it rises.
Where estimates go wrong
First, FUE drift. A client counts users on day one and forgets seasonal workers, auditors and new hires. Every 100 extra professional users adds 75 FUEs, which at the illustrative rate is EUR 198k per year. I would model headcount growth at 3 to 5% per year and show that sensitivity.
Second, scope outside the subscription. RISE does not automatically cover every BTP service the project ends up using, third-party add-ons, or the internal cost of writing and testing extensions. I would list those as separate lines with an owner, rather than burying them in a contingency percentage.
Third, implementation cost is not only the SI invoice. Data cleansing before migration, process design time from the client's own staff, parallel run costs and hypercare support routinely add 20 to 30% on top of the external fee. In the example above, EUR 2.8m external plus roughly EUR 700k of internal effort is a more honest one-off figure.
How I would present the recommendation
I would show the five-year total, the year-by-year cash flow, and a sensitivity table for FUE count and implementation effort. RISE usually wins on predictability and on avoiding a large upgrade project, and loses on flexibility if the client wants to run non-SAP workloads on the same infrastructure or negotiate infrastructure separately. On-premise usually wins if the client has sunk infrastructure cost and a strong basis team, and loses when upgrade downtime and staffing risk are priced in. The decision should rest on the modelled total and on who carries the operational risk, not on the first-year licence price.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-57Walk me through how you would set up data governance for SAP material, vendor and customer master data, covering ownership, stewardship, policies and quality rules?
The 90-second answer
Data governance for SAP master data answers three questions before anyone touches a transaction: who is accountable for a domain, who does the daily work, and what rules a record must pass before it can be used in a purchase order, sales order or posting. In S/4HANA that usually means material, vendor and customer masters, governed through SAP MDG central governance or, in smaller estates, through a controlled ECC process with the same roles and checks.
Ownership and stewardship are different jobs. The owner is a business manager accountable for the domain and its policies. For materials that might be the head of product management. The steward is the person who creates, checks and maintains records day to day, often in a shared services or master data team. The owner approves policy and resolves disputes. The steward executes it. If you merge the two, you get either a bottleneck or no accountability.
| Domain | Owner (accountable) | Steward (responsible) | Typical policy examples |
|---|---|---|---|
| Material | Product management | Master data team, plant planners | Naming convention, mandatory classification, duplicate check by description and spec |
| Vendor | Procurement lead | Accounts payable / procurement ops | Tax ID and bank validation, duplicate check, approval above payment term threshold |
| Customer | Sales operations lead | Order management support | Credit data ownership, address and tax validation, blocked status rules |
Policies that actually bite
A policy is only useful if it is enforced in the system, not just written in a PDF. Three policies cover most failures I see in audits.
First, single point of creation. No local creation in ECC or S/4HANA. All changes go through MDG change requests, or through a locked transaction with a workflow if MDG is not in place. Second, mandatory completeness by use. A material that will be purchased needs a purchasing view and a vendor or source list logic. A material that will only be stocked needs inventory views. Completeness is defined per view, not as a global checklist. Third, approval by risk. A new vendor with new bank details, or a material with a new valuation class, needs a second approver. A description correction does not.
Quality rules and a worked trace
Quality rules run in staging, before activation and replication. They fall into four groups: completeness (required fields present for the intended use), validity (tax code, country, unit of measure and valuation class exist and are allowed), uniqueness (no duplicate tax ID, bank account or material description plus specification), and consistency (for example, a material flagged as a service cannot have a storage bin requirement).
A duplicate vendor check can be run as a pre-activation SQL check in a reporting view, and the same logic is configured as a BRFplus or MDG validation rule:
-- Duplicate vendor candidates by tax number, S/4HANA
SELECT taxnum, COUNT(*) AS vendor_count
FROM lfa1
WHERE taxnum IS NOT NULL AND taxnum <> ''
GROUP BY taxnum
HAVING COUNT(*) > 1;Worked trace for a new vendor change request:
| Step | Check | Result | Action |
|---|---|---|---|
| --- | --- | --- | --- |
| --- | --- | --- | --- |
| --- | --- | --- | --- |
| Requester submits vendor with bank change | Completeness: IBAN, tax ID, payment terms present | Pass | Move to validation |
| Validation runs | Uniqueness: tax ID matches existing vendor V-1042 | Fail | Steward contacts requester, request routed to owner for merge or reject decision |
| Corrected request resubmitted | Validity: IBAN checksum and country format pass | Pass | Route to approver |
| Approver approves | Policy: bank change above threshold needs finance approval | Pass | Activate in MDG, replicate to S/4HANA via IDoc or OData |
Failure modes to name in the interview
The common failure is bypass. A plant creates a local material in MM01 because MDG takes two days. That record then exists in one plant, cannot be reported centrally, and blocks a later MDG load with a duplicate number range conflict. Detection is a weekly comparison of local creations against MDG active records, plus a locked number range and authorisation check so only the MDG user can create.
A second failure is steward overload without owner decisions. Rules flag duplicates, but nobody owns the merge decision, so the queue grows. The fix is a service level for owner decisions, for example two business days, and a monthly quality report showing duplicate rate, first-pass rate and records blocked by rule. A third failure is replicating incomplete data. If a material is activated without a plant view, MRP and goods receipt fail downstream. That is why activation checks must be view-specific, not just field-specific.
Close by tying it back to operations: governance is not paperwork. It is the control that stops a bad vendor bank record reaching a payment run and a bad material record reaching a purchase order, and it gives you an audit trail for who approved what and when.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-58In SAP data migration, what does a completeness check verify before data is loaded?
The 90-second answer
A completeness check verifies that every expected record and every mandatory field arrived before load. It answers two questions. Did all source rows reach staging and then the target, and does each record carry the fields SAP requires for that object. If either answer is no, the record stays in staging with a reason code. It does not load with a default value filled in.
I run completeness at three points. First, extract to staging: count rows leaving the source and count rows landing in staging. Second, staging to load file: count rows accepted by the migration object and rows rejected for missing mandatory fields. Third, load file to target: count rows loaded and count rows present in the SAP tables for the migration scope. All three counts must reconcile. Any unexplained difference stops sign-off.
Mandatory fields
What counts as mandatory depends on the migration object. For material master in LTMC, the template defines required fields by material type and plant combination. Typical examples are material type, base unit of measure, and valuation class for a plant view. A record missing the base unit cannot load, because MARA-MEINS is required and every later quantity depends on it. I check mandatory fields in staging, before the load, so the source owner can fix the data instead of us patching it in SAP.
Parent and child records
Completeness also covers dependent records. A plant view in MARC needs a header in MARA. A vendor bank record in LFBK needs a vendor header in LFA1. A sales view needs the customer header in KNA1. I check for orphans in both directions. A child without a parent is incomplete. A parent with no child where the business process requires one is also incomplete, for example a material that should be purchasable at a plant but has no MARC row for that plant.
A simple orphan check in staging, in HANA SQL syntax:
SELECT c.material, c.plant
FROM staging_marc c
LEFT JOIN staging_mara h
ON h.material = c.material
WHERE h.material IS NULL;Every row returned is a plant view whose header never arrived. Those rows are rejected as incomplete, not loaded.
Worked reconciliation
A hypothetical material load shows how the counts tie together. The source extract returns 2,000,000 material plant combinations. Staging accepts 1,999,200 rows after 800 exact duplicate rows are removed. Validation rejects 1,150 rows for missing mandatory fields, mostly valuation class. The load file therefore holds 1,998,050 rows. After load, MARC holds 1,998,050 rows for the plants in scope. The arithmetic is 2,000,000 minus 800 minus 1,150 equals 1,998,050. The difference from the extract is fully explained by the two rejection counts.
| Stage | Count | Difference explained by |
|---|---|---|
| Source extract | 2,000,000 | Starting point |
| Staging accepted | 1,999,200 | 800 duplicate rows removed |
| Load file | 1,998,050 | 1,150 rows missing mandatory fields |
| Target MARC | 1,998,050 | Matches load file, no unexplained loss |
If MARC had held 1,997,900 rows, 150 rows would be unexplained. I would trace those 150 in the LTMC error log and the load protocol before signing off the migration. A percentage such as 99.99 percent complete is not the criterion. The criterion is that every missing row has a named reason.
Failure modes
The common ones are a source extract filtered by a date that silently drops late records, a mandatory field that is present but blank in the source, and a child file delivered a day after the parent file. The first shows up as an extract count lower than the source system count for the same selection. The second shows up in the mandatory field check. The third shows up as orphan children in staging. I sequence parent files before child files and re-run the orphan check after each delivery, so a late file is caught while it can still be fixed.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-59Walk me through the data modeling standards you would enforce for SAP reporting, including naming, keys and conformed dimensions, when sales, finance and procurement all report on the same customer and material?
The 90-second answer
Assume S/4HANA is the source and reporting is built in CDS semantic views, consumed directly or through Datasphere or BW. I would publish one modelling standard before anyone builds a view, and I would enforce it in code review and in the CI check on the CDS annotations.
Naming first. Every published object follows <layer>_<domain>_<entity>, all lower case, no spaces, no abbreviations that two teams read differently. Examples: dim_customer, dim_material_plant, fact_sales_line, fact_finance_line. Fields carry a type suffix so a consumer can guess the join and the aggregation without opening the definition: _id for a surrogate key, _code for the SAP business key, _name for display text, _date for a calendar date, _amt for a monetary amount with its currency in a paired field, _qty for a quantity with its unit. A field called customer fails review. customer_id, customer_code and customer_name pass.
Keys second. A dimension keeps the SAP natural key for traceability, for example KUNNR for customer and MATNR plus WERKS for material by plant, and adds a stable integer surrogate key, customer_id, generated once per dimension row. Facts store only the surrogate key plus the fact grain. That gives us SCD Type 2 history on the dimension without duplicating history in every fact row, and it keeps joins fast when the natural key is a 10 character alphanumeric field.
Conformed dimensions third. Customer, material, plant, company code, calendar and currency are defined once, with one attribute list, one SCD rule and one surrogate key, and every fact joins to that same definition. If Sales and Finance both report revenue by customer, they join the same dim_customer rows, so a customer merge or a name change moves both reports together.
What the standard looks like in practice
| Object | Naming example | Key rule |
|---|---|---|
| --- | --- | --- |
| Dimension | dim_customer | customer_id surrogate, customer_code = KUNNR retained |
| Dimension | dim_material_plant | material_plant_id surrogate, material_code = MATNR, plant_code = WERKS |
| Fact | fact_sales_line | Grain: one row per billing item, sales_line_id = VBELN + POSNR |
| Fact | fact_finance_line | Grain: one row per FI line, finance_line_id = BUKRS + BELNR + BUZEI |
| Calendar | dim_calendar | calendar_date_id = YYYYMMDD, one row per day, no gaps |
The grain is written in the model header and in the CDS view description. Most reporting disputes I have seen trace back to an unstated grain. A fact at billing item grain cannot be summed to order value without double counting partial deliveries, and a fact at header grain cannot answer margin by material.
-- CDS semantic view, checked against S/4HANA 2023 CDS syntax
define view entity ZI_SalesLine
as select from vbap as Item
join vbak as Header on Header.vbeln = Item.vbeln
fields
Item.vbeln as sales_order_code,
Item.posnr as sales_item_code,
Header.kunnr as customer_code,
Item.matnr as material_code,
Item.werks as plant_code,
Item.netwr as net_amount_amt,
Header.waerk as currency_code
where Item.vbtyp = 'C';The view exposes codes only. Names, hierarchies and SCD attributes come from the conformed dimensions in the semantic layer above it, so a rename in dim_customer does not require editing every fact view.
Worked trace: a customer change
Customer 1001234 moves address on 2026-03-01. The dimension load closes the old row and opens a new one. Facts keep pointing at the row that was current on their posting date.
customer_id | customer_code | valid_from | valid_to | city_name |
|---|---|---|---|---|
| 4811 | 1001234 | 2024-01-01 | 2026-02-28 | Mannheim |
| 4812 | 1001234 | 2026-03-01 | 9999-12-31 | Heidelberg |
A billing line posted 2026-02-15 joins to customer_id 4811. A line posted 2026-03-10 joins to 4812. A report that groups by current city uses the latest row only, which is a separate, explicitly labelled view. Mixing the two in one report is the usual cause of a total that Finance cannot reproduce.
Failure modes I check for
Customer defined from KNA1 in SD and from a different customer master in FI, with different merge rules. The fix is one conformed dimension fed by the agreed master, with source precedence documented. Material defined at generic level in Sales and at plant level in Finance, so plant specific valuation attributes disappear in one report. The fix is dim_material for generic attributes and dim_material_plant for plant attributes, joined in that order. Late arriving facts with no dimension row yet. The load creates a placeholder dimension row flagged is_placeholder = 'X' and reprocesses it when the master arrives, rather than dropping the fact or inventing a key in the fact load. Currency and unit mismatches. Amounts are stored in the transaction currency with currency_code, quantities with unit_code, and conversion happens in a named measure, never by overwriting the stored amount.
When a team wants a local attribute that does not belong in the conformed dimension, it goes in a domain extension view that joins the conformed key. It does not fork the dimension. That single rule prevents the slow drift where each department ends up with its own customer, and the reconciliation meeting becomes the modelling process.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-60A flat extract repeats customer name and city on every order line. How does normalization fix that, and what would the split tables look like?
The 90-second answer
Normalization means storing each fact once, under the key it belongs to. 1NF: one value per cell, no repeating groups. 2NF: every non-key column depends on the whole key. 3NF: no column depends on another non-key column.
Take a flat extract built from VBAK, VBAP and KNA1 with one row per order line:
| vbeln | item | kunnr | name1 | city | matnr | maktx | qty | netwr |
|---|---|---|---|---|---|---|---|---|
| 1001 | 10 | C100 | Acme | Berlin | M1 | Pump | 5 | 500 |
| 1001 | 20 | C100 | Acme | Berlin | M2 | Valve | 2 | 200 |
| 1002 | 10 | C100 | Acme | Berlin | M1 | Pump | 3 | 300 |
name1 and city repeat on every line for C100. City depends on the customer, not on the order line, so it fails 3NF. If Acme moves to Munich, you must update every historical row. Miss one and two reports show different cities for the same customer. That is an update anomaly.
The fix is to split the flat table by key:
| Table | Key | Columns |
|---|---|---|
dim_customer | kunnr | name1, city, country |
dim_material | matnr | maktx, matkl |
fact_order_line | vbeln + item | kunnr, matnr, qty, netwr |
Now the city lives in one row in dim_customer. The fact table keeps only foreign keys and measures. A city change is a single update, and a report joins the fact to the dimension to get the current name.
Why SAP source data already looks like this
SAP normalized the source for the same reason. MARA holds material data that is true for all plants, MARC holds plant-specific data, so plant attributes depend on matnr + plant, not matnr alone. KNA1 holds general customer data, KNB1 holds company-code data. VBAK holds the order header once, VBAP holds each item once. Copying all of that into one wide reporting table reintroduces the duplication SAP avoided.
Applying it to a reporting table
For reporting I keep the normalized split for dimensions and use a narrow fact table. That is a star schema: one row per order line in the fact, one row per customer and per material in the dimensions. Analysts filter by city or material description through the dimension, and sum qty and netwr from the fact.
-- Checked against PostgreSQL 16 syntax; same shape in SAP HANA SQL
CREATE TABLE fact_order_line (
vbeln VARCHAR(10) NOT NULL,
item VARCHAR(6) NOT NULL,
kunnr VARCHAR(10) NOT NULL REFERENCES dim_customer(kunnr),
matnr VARCHAR(18) NOT NULL REFERENCES dim_material(matnr),
qty DECIMAL(13,3) NOT NULL,
netwr DECIMAL(15,2) NOT NULL,
PRIMARY KEY (vbeln, item)
);The trade-off is explicit. The normalized design costs a join on every query. The flat design saves the join but risks inconsistent customer and material attributes across millions of rows. With 10 million order lines, repeating name1 and city on each line also wastes storage and slows scans, while the dimension table holds only thousands of customers.
One failure mode to check after the split: a load that updates dim_customer but fails to load new fact_order_line rows, or the reverse. Reconcile row counts and the sum of netwr between the source extract and the fact table after each load. If the totals differ, the reporting table is not a faithful copy of VBAK and VBAP, whatever the schema looks like on paper.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-61When migrating SAP ECC data to S/4HANA and building a reporting warehouse, how would you choose between ETL and ELT, and what would you do differently for each workload?
The 90-second answer
ETL transforms before the load, ELT loads raw and transforms inside the target. For SAP I split the choice by workload. Migration into S/4HANA is ETL, because invalid master data must be rejected before it touches the target. Reporting into a warehouse is usually ELT, because analysts need the raw history preserved and transformations re-runnable without re-extracting from SAP.
That split follows from where validation lives. In a migration, S/4HANA enforces dependencies that a warehouse does not: a material without a plant view, a vendor without a tax indicator, a BOM component that does not exist. Loading those raw and discovering the failure in the target wastes a cutover window and leaves partial objects. In reporting, the source already posted the document. The warehouse job is to restate it by period, plant or customer, and a new restatement should not require another extraction from a production ECC or S/4HANA system.
| Decision point | ETL | ELT |
|---|---|---|
| Transform location | Middleware, SAP Datasphere data flows, SAP BW, or migration tooling | Warehouse compute: SAP Datasphere, HANA, or cloud warehouse SQL |
| Raw data kept | Often only staged and rejected rows | Full raw copy retained by load date |
| Best fit in SAP | S/4HANA migration with LTMC, LSMW or BODS style cleansing and checks | Reporting over VBRK, VBRP, VBAK, LIKP and similar high volume tables |
| Reprocessing a logic change | Re-extract and re-transform | Re-run SQL or dbt models on raw data |
| Main risk | Transformation logic hidden in tool, hard to version | Raw load carries source defects into every downstream model |
| Failure detection | Reject file and error log per migration object | Row counts, hash totals and reconciliation queries per load |
Migration: ETL with a reject path
Take 2 million material masters as a worked example, figures hypothetical for sizing. I would extract MATMAST segments or LTMC staging data, apply mapping for material type, valuation class and plant assignment, then run checks in the staging layer: duplicate MATNR per plant, missing base unit of measure, invalid material type against MARA and T134. Only rows passing those checks go to LTMC simulation and then load. Failures land in a reject table with source key, rule ID and message, so the business can fix the source master instead of patching S/4HANA after load.
The trace matters more than the tool name. A row fails simulation because plant 1010 has no valuation view. In ETL that row never reaches the load step. In a naive ELT load it would, and the error would surface as a blocked migration object with other rows already committed. That is why migration also needs a stable idempotency key: source system plus MATNR plus WERKS, with no load run in the key. A re-run after fixing rejects then finds the same key for rows already loaded and skips or updates them, instead of creating duplicates. Including the run ID would defeat that, because every run would look new.
Reporting: ELT with reconciliation
For reporting I load raw tables into the warehouse with load date and source client appended, then build conformed models in SQL. The transform is visible, reviewable and cheap to re-run. Billing value belongs in VBRK and VBRP, not BSEG. BSEG has no plant, and WRBTR is the document amount in document currency, so summing it and calling it EUR would be wrong. Plant comes from VBRP, billing date and billing type from VBRK, and NETWR is the item net value in document currency:
-- ELT model: billing value by plant and month, from raw loaded tables
SELECT
p.werks,
SUBSTR(h.fkdat, 1, 6) AS billing_month,
SUM(p.netwr) AS billing_net_value
FROM raw_vbrp p
JOIN raw_vbrk h
ON h.vbeln = p.vbeln
WHERE h.fkart = 'F-01'
AND h.fkdat >= '20260101'
GROUP BY p.werks, SUBSTR(h.fkdat, 1, 6);I then reconcile that model back to SAP before anyone reports from it. Totals from VBRK and VBRP in SAP should tie to the warehouse model within a stated tolerance, and any difference should be explainable by credit memos, cancellations or period cut. If the tie-out fails, I fix the model or the raw load, not the reported number. Where Finance needs FI revenue instead, I build a separate model from BKPF and BSEG grouped by BUKRS, and I reconcile the two views knowing they can legitimately differ.
When I would not use the default
ELT fails for reporting when the source extract itself is the problem, for example inconsistent custom fields that need ABAP enrichment or a BAdI before they mean anything. Then a small ETL step before the load is cleaner than pushing that logic into every SQL model. ETL fails for migration when the team treats the middleware as a black box and cannot show a reject report per object. If I cannot list which rows were rejected and why, I do not trust the load, whatever the row count says.
My rule in an interview answer: migration protects the target, so transform and validate first. Reporting protects the analyst, so preserve raw data and make transforms reproducible. Most SAP landscapes need both, connected by the same staging keys and reconciliation totals.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-62Walk me through ETL for reporting from SAP, covering extraction, transformation, load, and reconciliation to source totals?
The 90-second answer
ETL moves SAP operational data into a reporting store without changing the source, then proves the copy matches the source. Extraction reads only the tables and fields the report needs, usually through a CDS view, an ODP extractor, or SAP Datasphere replication. Transformation applies the reporting rules once: fiscal period, currency translation, conformed customer and material dimensions, and slowly changing attributes. Load writes to the target in a repeatable delta or full load. Reconciliation compares record counts and value totals between source and target for the same company code, plant, and period before anyone publishes the report.
I would not start with a tool choice. I would start with the source total the business trusts, for example FI revenue from BSEG for company code 1000 in period 04/2026, and keep that total as the control for every run.
Extraction
Pick the smallest source that answers the question. For FI reporting that is often BSEG joined to BKPF for posting date and period, plus T001 for company code text. For sales reporting it is VBAK and VBAP for order header and item values. A CDS view in S/4HANA or an ODP extractor keeps the logic in SAP and lets Datasphere or BW consume it as a delta source. I avoid extracting the full BSEG table when the report needs one company code and one period. A full extract of a 200 million row table to report on 3 million rows wastes time and makes reconciliation harder to explain.
Each extract needs a stable key and a change indicator. For a delta I use the document entry and change timestamp in BKPF, AEDAT and UZEIT, together with company code, fiscal year, document number and item. Without a key I cannot reload a failed day without duplicating rows.
Transformation
Transformation is where reports become comparable across modules. Examples I apply consistently:
- Calendar date becomes fiscal year and period using the fiscal year variant, not the calendar month.
- Amounts in foreign currency are translated with a named rate type and stored alongside the original amount and currency, so Finance can revalue later.
- Customer, material, and plant become conformed dimensions with the same keys in sales, finance, and procurement reports.
- Reversed FI documents are handled by rule: either both the original and reversal are loaded and netted in the report, or both are excluded. I document the choice because it changes the total.
A source total check in SQL looks like this, checked against SAP S/4HANA:
SELECT b.bukrs, b.gjahr, SUM(b.wrbtr) AS total_wrbtr, COUNT(*) AS item_count
FROM bseg AS b
JOIN bkpf AS h
ON h.bukrs = b.bukrs
AND h.gjahr = b.gjahr
AND h.belnr = b.belnr
WHERE b.bukrs = '1000'
AND h.budat BETWEEN '20260401' AND '20260430'
GROUP BY b.bukrs, b.gjahr;I run the equivalent aggregation in the target and compare the result, not just the row count.
Load
Load should be idempotent. A rerun for the same period replaces or merges the same keys instead of appending duplicates. In BW that means a delta load with a request ID and a cleanup step for the period being reloaded. In Datasphere it means a managed replication or a data flow with a clear overwrite partition by company code and period. I keep the raw extracted rows in staging for at least one cycle so a transformation error can be fixed without re-extracting from SAP.
Reconciliation to source totals
Reconciliation is a gate, not a report footnote. For each run I compare count, sum of amounts, and a hash or sum of keys, grouped by company code and period. A worked example, with hypothetical figures labelled as such:
| Check | Source SAP | Target | Difference |
|---|---|---|---|
| Rows, BSEG items, 1000 / 04/2026 | 1,240,000 | 1,240,000 | 0 |
| Sum WRBTR, EUR | 48,210,500 | 48,210,500 | 0 |
| Reversed documents excluded | 3,120 | 3,120 | 0 |
| Rows with missing customer dimension | 0 | 0 | 0 |
If the difference is not zero I stop the publish and investigate in a fixed order: first the extract filter, then reversed or cancelled documents, then currency translation, then late postings that landed in the period after the extract started. Late postings are the usual cause in FI. A document entered on 2 May with a posting date of 28 April will be missed if the delta is filtered by posting date alone, because the posting date is already in the past. The delta must therefore be driven by entry and change timestamp, AEDAT and UZEIT in BKPF, so the next run picks up documents entered after the last extract regardless of their posting date. Posting date is then applied as the reporting filter in transformation, which places that late-entered document in period 04/2026 and makes the reconciliation difference visible and explainable.
The report only goes live when the reconciliation table is clean for that run. That gives Finance a number they can tie back to a standard SAP report, such as FBL3N or the equivalent CDS based report, instead of asking the warehouse team to trust a black box.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-63You have 40 legacy files, 3 million records and a 6-week cutover window: how do you choose between LSMW, LTMC and SAP Data Services, and what would you run first?
The 90-second answer
I would not pick one tool for the whole migration. I would split by object and by transformation complexity, then sequence the loads by dependency. LTMC first for standard S/4HANA objects that fit its prebuilt migration objects. LSMW where LTMC has no object, or where I need a recording, IDoc or BAPI load for a one-off object in ECC or S/4HANA on-premise. SAP Data Services (BODS) where the source needs real ETL: profiling, cleansing, deduplication, complex lookups, code mapping or a join across several legacy systems before SAP ever sees the record.
The deciding question is not volume alone. It is how much work happens before the load. If the file is already clean and the target is standard, LTMC or LSMW is faster and easier to audit. If the file is dirty, BODS earns its cost because fixing 3 million rows in LSMW conversion rules or LTMC file preparation becomes unmaintainable.
| Criterion | LTMC (Migration Cockpit) | LSMW | SAP Data Services |
|---|---|---|---|
| --- | --- | --- | --- |
| --- | --- | --- | --- |
| Runs in | S/4HANA only, transaction LTMC | ECC and S/4HANA on-premise, transaction LSMW | Separate BODS server, loads into SAP via BAPI, IDoc or RFC |
| Best fit | Standard master and transactional objects with prebuilt migration objects, for example material, vendor, customer, BOM, sales and purchase orders | One-off or custom objects, objects LTMC does not cover, or a load that needs a recording, IDoc, BAPI or direct update | Heterogeneous sources, heavy cleansing, profiling, matching, code conversion and reusable ETL across loads |
| Transformation | Limited. File preparation and field mapping in the migration object. Custom fields are the usual gap. | Conversion rules in ABAP or formulas per source structure. Powerful, but code you own and must test. | Full Data Integrator transforms, lookups, validation and data quality. Best place for rules that apply to many objects. |
| Control before load | Simulation run, staging area, error file per record, restart from failed records | Test run, then production run with error queue. Direct update can bypass application checks, so I avoid it for financial objects. | Profiling and validation before the job runs. Errors are caught in the ETL layer, which means SAP load errors should be rare if the design is right. |
| Cost and skill | Lowest. Basis and functional team can run it. | Low licence cost, high ABAP skill for conversion rules. | Licence and infrastructure cost, plus a BODS developer. Justified only when cleansing or reuse is real. |
How I would sequence it in your 6-week window
Week 1 is profiling, not loading. I profile each of the 40 files for null keys, duplicates, invalid codes and orphan references, and I freeze the target object list with dependencies. A worked dependency trace for a typical set looks like this:
| Load step | Object | Tool | Why here |
|---|---|---|---|
| 1 | Vendor and customer master | LTMC | Standard objects, simulation catches missing tax and payment data early |
| 2 | Material master with views | LTMC | Depends on nothing except plant and valuation data already in S/4HANA |
| 3 | BOM and routing | LTMC, after materials | Fails if a component material is missing, so it cannot run first |
| 4 | Open sales and purchase orders | BODS to LTMC or BAPI | Needs customer, material and pricing code mapping from legacy, which is ETL work |
| 5 | Custom Z object with no LTMC object | LSMW via IDoc | One-off load, IDoc keeps application checks that direct update would skip |
Failure modes I would name in the interview
LTMC fails quietly on custom fields. The migration object loads the standard fields and the custom field arrives empty, which surfaces weeks later in a report. I check field coverage against the signed data template before the first simulation, not after.
LSMW direct update is the dangerous option. It writes tables directly and can create a material with no valuation view or a vendor with no tax data, with no error. I use IDoc or BAPI in LSMW for anything that touches FI, MM valuation or SD pricing, and I reserve direct update for non-critical reference data.
BODS fails on keys. If two legacy systems both use customer 1001 for different parties, BODS will happily load both unless the mapping and deduplication step runs first. That is why profiling and a single cross-system key map come before any job design.
My default for this scenario: LTMC for the standard core, BODS for the cleansing and mapping layer feeding it, LSMW only for the gaps. That keeps the audit trail in the Migration Cockpit for most objects, puts the complex logic in one ETL place instead of scattered LSMW rules, and avoids paying BODS effort for files that were already clean.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-64Your vendor extract has duplicate VAT numbers, records unused for three years, and legacy payment terms Z30 and Z60 that S/4HANA does not recognise. How would you cleanse and map this data before migration?
The 90-second answer
I would work on a staging copy of the extract and apply three checks in order. First, find duplicates on the VAT number, which is an exact match, then on name and address, which needs fuzzy matching. Second, flag records with no purchase order or invoice in three years as obsolete candidates for the business owner to confirm. Third, map Z30 and Z60 to S/4HANA payment terms in a crosswalk table, and reject any record with an unmapped term instead of loading it with a blank. Only records that pass all three checks go to the migration load.
Assume the extract has 120,000 vendor records. That volume rules out checking each record by hand, so the rules have to do the first pass and people only review the exceptions.
Duplicate detection: exact versus fuzzy
Exact matching on VAT number is fast and safe. Two records with the same VAT number are almost certainly the same legal entity, even if the name differs after a merger. The risk is a false negative. A vendor that changed address or trading name will not be caught.
Fuzzy matching on name, postcode and bank account catches those cases, but it produces false positives. Two separate suppliers in the same industrial estate can share a postcode and have similar names. That is why fuzzy matches go to a steward queue rather than merging automatically.
-- Exact duplicate check on the staging table
SELECT vat_id, COUNT(*) AS records
FROM stg_vendor
WHERE vat_id IS NOT NULL AND vat_id <> ''
GROUP BY vat_id
HAVING COUNT(*) > 1;Worked trace on a small sample:
| Records | Evidence | Action |
|---|---|---|
| --- | --- | --- |
| --- | --- | --- |
| --- | --- | --- |
| --- | --- | --- |
| --- | --- | --- |
| V-1042 and V-7719 | Same VAT number, same IBAN | Keep V-1042, block V-7719 |
| V-2210 and V-2211 | Same name and postcode, different VAT numbers | Send to steward, do not merge |
| V-3300 and V-3301 | Name differs by one character, same bank account | Send to steward, bank match is strong but not proof |
The surviving record keeps the confirmed VAT number and bank details. The duplicate is blocked in S/4HANA, not deleted, so historic purchase orders still show a vendor name. Deleting it would break the document history.
Obsolete records
I would profile the last purchase order and last invoice date per vendor and list every vendor with no activity in three years and no open orders. That list is a proposal, not a decision. Procurement or finance confirms which vendors to exclude, because a vendor with no orders in three years may still be needed for a framework agreement or a warranty claim.
Confirmed obsolete vendors are excluded from the load and the signed list is archived. If the legacy system is switched off later, that archive is the only record of what was left behind.
Value mapping for payment terms
S/4HANA does not recognise Z30 or Z60, so I build a crosswalk and use it as a lookup during the load.
| Legacy term | Meaning in legacy system | S/4HANA term | Check |
|---|---|---|---|
| --- | --- | --- | --- |
| Z30 | Net 30 days | 0030 | Finance confirms no early payment discount was lost |
| Z60 | Net 60 days | 0060 | Finance confirms the same |
| Z99 | Manual agreement | Unmapped | Reject and query the owner |
The last row matters. Mapping Z99 to a default term would hide a real commercial agreement and change when invoices are paid. Rejecting it in simulation costs an hour. Discovering it in the first payment run costs a lot more.
Reconciliation before load
I would reconcile the counts at each step. Records in, duplicates blocked, obsolete excluded, unmapped rejected, records loaded. If 120,000 records in become 112,000 loaded, the 8,000 difference has to be explained by the other four numbers exactly. I would then run the load in simulation mode and confirm that no blocked duplicate appears as a new business partner and no vendor loads without a payment term. That check catches the common failure where a fuzzy duplicate survives because the address changed after a site move, which is why I sample the steward queue again after the first simulation.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-65Walk me through IDoc structure, segments and partner profiles, and how you would trace an IDoc that fails to post?
The 90-second answer
An IDoc is a structured document SAP uses to exchange business data with another system, inside SAP or outside it. It has three parts you can inspect separately. The control record says what it is and who sent it to whom. The data segments carry the business content. The status records say what happened to it.
If an IDoc fails, I do not start in the application. I start with its status in WE02 for inbound or WE05 for outbound, read the last status code and message, then follow that message to the segment or partner profile that caused it. Only then do I look at the business document it was supposed to create.
Structure: control, data, status
Every IDoc starts with EDI_DC, the control record. It is stored in table EDIDC and holds the fields that route and identify the document:
| Field | Meaning | Example |
|---|---|---|
DOCNUM | Unique IDoc number | 0000000001234567 |
MESTYP / IDOCTYP | Message type and IDoc type | ORDERS / ORDERS05 |
SNDPRN / RCVPRN | Sender and receiver partner | SAP / EXT_CRM |
SNDPOR / RCVPOR | Sender and receiver port | SAPCLNT100 / XML |
CIMTYP | Extension type, if any | blank for standard |
After the control record come the data segments, stored in EDID4. A segment is a named block with fields defined in the segment dictionary you view in WE31. Segments nest. For ORDERS05, E1EDK01 is the header, mandatory, and E1EDP01 repeats once per item line under it. E1EDP05 repeats under each item for pricing. If a mandatory segment or field is missing, inbound processing stops before any application document is created.
<EDI_DC>...</EDI_DC>
<E1EDK01 CURCON=1>
<BELNR>4500012345</BELNR>
<CURCY>EUR</CURCY>
</E1EDK01>
<E1EDP01>
<POSEX>000010</POSEX>
<MATNR>MAT-100</MATNR>
<MENGE>10</MENGE>
</E1EDP01>Status records are stored in EDIDS and appended as processing proceeds. Each one has a status code, a timestamp, and a message. That history is what WE02 and WE05 display.
Partner profiles: who may send what, and how
A partner profile, maintained in WE20, is the contract for a partner. You define the partner number and partner type, for example LS for a logical system, KU for a customer, or LI for a vendor. Under it you create inbound and outbound parameters for a message type.
Outbound, the profile plus the distribution model in BD64 decide whether SAP creates an IDoc at all. If a material master change does not match a BD64 filter for that receiver, no IDoc is generated and there is nothing to trace in WE05. Inbound, the profile maps the message type to a process code. For MATMAS, the process code is MATM, which tells SAP to call the material master inbound function. A wrong or missing process code is a classic cause of status 56, IDoc processed with errors.
The port in the profile also matters. A file port, RFC port, or XML port determines how the IDoc leaves SAP. A correct IDoc with a wrong port can sit in status 64, IDoc ready to be dispatched, or fail in the RFC layer.
Tracing a failure: a worked trace
Say a customer reports that a sales order sent to the CRM never arrived. I open WE05 with the receiver and message type ORDERS, find DOCNUM 0000000001234567, and read the status history from the bottom up.
| Time | Status | Meaning | What I check next |
|---|---|---|---|
| 09:14:02 | 03 | Data passed to port | Port definition and file or RFC log |
| 09:14:05 | 12 | Dispatch OK | Receiver acknowledgement |
| 09:15:40 | 51 | Application error at receiver | Error text in the status message |
Status 51 is not an SAP dispatch failure. It means the receiving system rejected the content, for example an unknown material or a missing mandatory field in E1EDP01. I copy the DOCNUM, open the IDoc in WE02 or WE05, and inspect the exact segment values sent. I compare them with the receiver master data. If the material number was truncated or a custom segment was added without updating the receiver mapping, that is the root cause.
If instead the last status were 56, I would check the inbound partner profile and process code on the receiving side. If it were 62, IDoc passed to application, but no business document exists, I would check application logs and locks for that document number. If it were 64 for a long time, I would check whether the outbound dispatch job or RFC destination is down, and look in SM58 for failed transactional RFCs waiting to be reprocessed.
Once the cause is fixed, I do not resend the business document manually. I reprocess the IDoc itself. In WE19 I can test and reprocess an inbound IDoc, which creates a new attempt with the same content. For outbound, I can trigger reprocessing from WE05 after correcting the port or partner profile. The new status records append to EDIDS, so the full history stays auditable. That is the point of the three-part design: control record to find it, segments to see what was sent, status records to prove what happened.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-66What is the difference between RFC, BAPI and ALE in SAP integration, and which of them are synchronous or asynchronous?
The 90-second answer
RFC is the transport, BAPI is a business object interface built on RFC, and ALE is a message based distribution mechanism built on IDocs. RFC and BAPI are synchronous by default. ALE is asynchronous. That one distinction drives most design choices.
RFC, Remote Function Call, is SAP's low level protocol for calling a function module in another SAP system, or in a non SAP system that implements the RFC server side. You define a destination in SM59, for example CRM pointing to the CRM host and system number, and the caller blocks until the remote function returns or times out. It is a direct program to program call.
A BAPI, Business Application Programming Interface, is a standard, released function module that wraps a business object. BAPI_CUSTOMER_CREATEFROMDATA, BAPI_PO_CREATE1 and BAPI_GOODSMVT_CREATE are examples. Under the hood a BAPI is called by RFC, but you do not design the transport. You design against the business semantics: input structures, return parameters, and the commit or rollback behaviour. Because the call is synchronous, the caller gets the created customer number, or the error messages from RETURN, in the same logical unit of work.
ALE, Application Link Enabling, distributes business data as IDocs. An IDoc has a control record, a data record segment tree, and a status record. You configure a distribution model in BD64, a partner profile in WE20, and a message type such as MATMAS for material master or DEBMAS for customer master. SAP writes the IDoc to the outbound queue, sends it, and the receiver processes it asynchronously and returns an ALEAUD status IDoc. The sender does not wait for the receiver to post the master data.
| Mechanism | What it is | Communication | Typical use |
|---|---|---|---|
| RFC | Function module call over a destination | Synchronous, caller waits | Custom point to point calls, CALL FUNCTION ... DESTINATION |
| BAPI | Released business function module, called via RFC | Synchronous, caller waits for RETURN and commit | Create or change a sales order, post goods movement, read master data |
| ALE / IDoc | Message type plus IDoc segment structure, distributed via partner profile | Asynchronous, queued and retried | Distribute material, customer or vendor master to CRM, EWM or a legacy system |
Why the sync and async split matters
With a synchronous BAPI call, failure is immediate and local. If the destination is down, the call raises a communication exception and your transaction rolls back. If the BAPI returns errors, you call BAPI_TRANSACTION_ROLLBACK and nothing is committed. That makes it suitable when the caller needs the result to continue, for example creating a sales order in ECC and needing the order number before printing a delivery note.
The cost is coupling and availability. The caller is blocked for the duration of the remote commit, which in a loaded system can be seconds. A timeout does not prove the remote commit failed. It may have committed and the response was lost, so a blind retry can create a duplicate. That is why BAPI designs check for an existing document number first, or use the external reference field to detect a duplicate.
ALE removes that coupling. The sender commits locally, the IDoc sits in the outbound queue, and tRFC or qRFC guarantees delivery in order per queue. The receiver can be down for hours and the sender is unaffected. The trade off is that you lose immediate feedback. You detect failure later, from IDoc status records in WE02 and WE05, from ALEAUD statuses, and from the receiver's application log. Reprocessing is done by reprocessing the IDoc, not by rerunning the original business transaction.
* Synchronous BAPI call via RFC destination
CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA'
DESTINATION 'CRM'
EXPORTING
customerin = ls_customer
TABLES
return = lt_return.
IF line_exists( lt_return[ type = 'E' ] ).
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK' DESTINATION 'CRM'.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' DESTINATION 'CRM'
EXPORTING wait = 'X'.
ENDIF.The WAIT = 'X' matters. Without it, BAPI_TRANSACTION_COMMIT returns before the remote commit finishes, and you have recreated the async problem inside a sync call.
Failure modes I would name in the interview
RFC destination misconfigured in SM59, for example wrong host or system number, fails every call with RFC_ERROR_COMMUNICATION. A BAPI that returns E messages but the caller ignores RETURN and commits anyway leaves a partial document. For ALE, the common failure is a missing partner profile or a distribution model that does not include the receiving system, so the IDoc is created but never sent, or it is sent and fails in the receiver with a status 51 error such as a missing valuation area for a material. In each case the fix differs: fix the destination, fix the caller logic, or fix the ALE configuration and reprocess from WE02. Choosing the mechanism is choosing which failure you want to own.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-67Walk me through how you would use webhooks and asynchronous APIs to integrate S/4HANA with external systems without losing events or creating duplicate postings?
The 90-second answer
I would not let SAP call an external system synchronously and hope. For anything that posts, I use an event after the SAP commit, delivered at least once, and consumed idempotently. The external system can be down for hours and SAP still commits. The event waits in a queue, retries with backoff, and lands in a dead-letter queue for manual replay. Duplicates are expected, so the receiver must be able to process the same event twice without posting twice.
In S/4HANA that usually means three pieces. First, SAP publishes a business event, for example invoice posted or goods issue completed, through SAP Event Mesh on BTP or through Integration Suite. Second, Integration Suite or a small receiver service subscribes and forwards it as a signed webhook to the external system. Third, the external system acknowledges with 2xx only after it has durably stored the event ID. If it returns 5xx or times out, Integration Suite retries.
For the reverse direction, external to SAP, I avoid a plain synchronous OData POST for long processing. S/4HANA OData V4 supports asynchronous requests: the client sends Prefer: respond-async, SAP returns 202 Accepted with a Location header, and the client polls that URL until the operation completes. That fits a warehouse or CRM that cannot hold a connection open while SAP runs pricing, availability checks and posting.
| Pattern | Use it when | Main risk | Control |
|---|---|---|---|
| Synchronous OData | Small read or single create, under about 2 seconds | Caller timeout while SAP commits, caller retries and duplicates | Idempotency key from caller, check before posting |
| Async OData V4 | Create or update that needs validation and posting in SAP | Caller never polls, or polls too fast | Poll Location with backoff, store operation ID |
| Webhook from SAP | SAP is the source and the external system reacts, for example invoice posted to a tax engine | Duplicate or out-of-order delivery | Event ID dedupe, sequence per document, reconciliation |
| Event Mesh queue | Multiple consumers need the same event | One slow consumer blocks others | Separate queue per consumer, dead-letter queue per queue |
Why the outbox matters. If ABAP posts the invoice and then calls the webhook in the same LUW, a crash between commit and HTTP call loses the event. A crash before commit but after the HTTP call sends an event for a document that does not exist. The outbox pattern fixes the order: write the business document and an outbox row in the same database commit, then a separate publisher reads committed rows and sends them. SAP Business Events and Event Mesh follow the same idea for standard events. On a custom on-premise build I would implement the outbox table myself and poll it every 5 seconds in a background job.
Receiver design. The webhook handler verifies an HMAC-SHA256 signature over the raw body with a timestamp inside a 5 minute window, then checks the event ID before doing any business work. Dedupe retention of 30 days is a sensible starting point for finance postings, labelled as a design choice to confirm with the client. The business key is the SAP document identity, for example company code, fiscal year and document number for an FI invoice, or plant, material and batch for a goods movement. That key, not the HTTP request, decides whether a posting already exists.
# Python 3.12, receiver pseudocode checked against Flask conventions
import hashlib, hmac, time
from flask import request, jsonify
SECRET = b"replace-with-vault-secret"
seen = {} # in production: a table with event_id as primary key
@app.post("/webhooks/sap")
def sap_webhook():
body = request.get_data()
ts = int(request.headers["X-SAP-Timestamp"])
sig = request.headers["X-SAP-Signature"]
expected = hmac.new(SECRET, str(ts).encode() + b"." + body, hashlib.sha256).hexdigest()
if abs(time.time() - ts) > 300 or not hmac.compare_digest(sig, expected):
return jsonify(error="bad_signature"), 401
event = request.get_json()
if event["eventId"] in seen:
return jsonify(status="duplicate_ignored"), 200
seen[event["eventId"]] = event["businessKey"]
process_once(event) # must itself check businessKey before posting
return jsonify(status="accepted"), 200Failure modes I would name in the interview. Duplicate delivery after a timeout, where the external system processed the event but the acknowledgement was lost. Out-of-order delivery, where a cancellation arrives before the original invoice, so I buffer or reject with a retryable 409 and let the sender resend in order per business key. Poison messages, where a malformed payload fails every retry, so after a retry schedule of 1 minute, 5 minutes, 15 minutes, 1 hour, 4 hours and 24 hours the message moves to the dead-letter queue with the raw payload and error. Silent loss, where SAP and the external system drift apart, so I run a daily reconciliation: count and sum of posted invoices by company code and period from SAP versus the external ledger, and investigate any difference above zero for finance data.
When not to use webhooks. If the external system needs the SAP result inside the same user action, for example a sales user waiting for a credit check, a webhook is the wrong tool. Use synchronous OData with a short timeout and a clear error, or async OData if the check takes longer than a few seconds. Webhooks suit fire-and-forget reactions where a delay of minutes is acceptable and where losing the event would be worse than delivering it twice.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-68How would you version an SAP sales order API so you can add a new optional field without breaking existing consumers, and which status codes would you return for a missing order versus a malformed request?
The 90-second answer
I would expose sales orders as a collection resource, /sales-orders, with one item at /sales-orders/{id}, and put the version in the URI, /v2/sales-orders. That gives a stable address for each order, lets us run the old and new contract side by side, and makes the version visible in SAP BTP API Management logs and in Integration Suite flows. Adding an optional field is an additive change, so it ships in v2 without a new version. Renaming a field or changing its type is breaking, so that waits for v3.
Resources and methods
GET /v2/sales-orders lists orders, GET /v2/sales-orders/100042 reads one, POST /v2/sales-orders creates, and PATCH /v2/sales-orders/100042 changes a field such as the requested delivery date. A cancellation is not a field edit, so it becomes POST /v2/sales-orders/100042/cancellation. Filters go in the query string, for example ?customerId=C-8841&status=open, and list responses cap page size at 100 items. Each read returns an ETag so a later update can send If-Match and fail if another system changed the order in between.
Status codes for the cases you named
| Situation | Status | Why |
|---|---|---|
| Order in the path does not exist | 404 | The target resource has no current representation |
| Request body is malformed JSON | 400 | The request cannot be parsed, fix it and do not retry unchanged |
| JSON parses but a field has the wrong type or value | 422 | Syntax is valid, semantics are not, for example quantity is negative |
| Order created | 201 | Include a Location header with the new order URL |
| Order already shipped, so cancellation is refused | 409 | The request conflicts with the current state, read the order again before deciding |
| SAP backend unavailable | 503 | Retry with backoff, include Retry-After when known |
Errors use application/problem+json with a stable code such as order_not_found or validation_failed. Clients branch on code, not on the human readable message, because the message can change without breaking the contract.
curl "https://api.example.com/v2/sales-orders/100042" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/json"A missing order returns 404 with code: order_not_found. Malformed JSON returns 400 with code: malformed_json. A well formed body with quantity: -5 returns 422 with code: validation_failed and the field name in detail. Keeping 404 for the path and 422 for the body stops clients treating a bad foreign key as a routing problem.
Versioning, and the trade-off that decides it
| Approach | Example | Main trade-off |
|---|---|---|
| URI version | /v2/sales-orders | Easy to route, log and test, and easy to run v1 and v2 together, at the cost of a new path for each breaking change |
| Header version | Accept: application/vnd.sap.salesorder.v2+json | Keeps one clean URI, but is harder to test in a browser and harder for older gateways to route |
For an enterprise SAP API I choose URI versioning. Operations can see the version in every gateway log, and a consumer that cannot upgrade yet keeps calling v1 while a new consumer calls v2. The rule I publish is simple. Additive changes, such as a new optional field or a new endpoint, go into the current version and old consumers ignore the extra field. Breaking changes, such as a renamed field, a changed type, or a stricter validation rule, require a new version, a deprecation notice for the old one, and an overlap period of at least one release before the old version returns 410 Gone.
That is how the new field lands safely. We add requestedDeliveryDate as optional in v2, existing v1 consumers keep working, and we only move to v3 when a change would alter what an existing field means.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-69A third-party app needs read-only access to material master data in S/4HANA via OData. Walk me through how OAuth 2.0 client credentials and scopes would authenticate it and limit what it can do?
The 90-second answer
For read-only material master access I would use OAuth 2.0 client credentials. The third-party app proves its identity to the identity provider with a client ID and secret, gets a short-lived access token, and sends that token as a Bearer token on each OData call. SAP validates the token and the scopes inside it, then applies its normal SAP authorizations for the technical user behind the client. The scope limits the API operation. The SAP role limits the data.
That split matters here. A material.read scope lets the app call GET on the material API. It does not by itself decide which plants or material types the app can see. Those restrictions come from the business role assigned to the technical user in S/4HANA.
How it works in practice
The app is registered as an OAuth 2.0 client in SAP Cloud Identity Services, or in SAP BTP for a service deployed there. The token endpoint returns a JWT that expires in minutes. The call reaches S/4HANA through a Destination or SAP Cloud Connector, which forwards the token. S/4HANA trusts the identity provider, checks the signature, expiry, and audience, and reads the scopes from the token.
Scopes are defined by the API in SAP Business Accelerator Hub. They are coarse. They separate read from write and one business object from another. They do not carry company code, plant, or material type values.
| Scope | What it allows | What SAP still checks |
|---|---|---|
material.read | GET on the material master API | Business role for the service, plant and material type in the role range |
material.write | POST and PATCH on the material master API | Authorization object for material maintenance, change authority for the material type |
For this app I would request only material.read. If the token is missing, expired, or signed by an unknown issuer, SAP returns 401. If the token is valid but the technical user has no business role for the material service, SAP returns 403. The client should treat those differently. A 401 means get a new token. A 403 means the identity is known but not allowed, and repeating the call will not change the result.
Token request and call
# 1. Request a token with client credentials
curl -s -u "$CLIENT_ID:$CLIENT_SECRET" \
-d "grant_type=client_credentials&scope=material.read" \
"$IAS_TOKEN_URL"
# 2. Call the OData service with the token
curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
"$S4HANA_HOST/sap/opu/odata/sap/API_MATERIAL_SRV/A_Material?$top=10"Common failure to check
The most frequent issue at go-live is a scope granted in the identity provider but no matching business role in S/4HANA. The token validates, the scope is present, and the call still fails with 403. The fix is to assign the correct business role or PFCG role to the technical user, not to widen the scope. A second check is audience. A token issued for a different resource is rejected even if the signature is valid, so the client must request the token for the S/4HANA resource.
I would also keep one OAuth client per partner, request the smallest scope set that covers the read, and rotate the client secret on a schedule. Revoking one partner then does not affect the others.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-70What is an idempotency key in an SAP integration flow, and what does it stop a retry from doing?
The 90-second answer
An idempotency key is a unique value the sender puts on a request so SAP can recognise a retry of the same request. The integration flow stores the key with the response it got from SAP. When the same key arrives again, the flow returns the stored response instead of posting to SAP a second time.
That matters because a timeout does not tell the sender whether SAP posted. The order may exist in S/4HANA while the response was lost. A retry without a key looks like a new order, so SAP creates a second one. A retry with the same key is recognised as the same order.
Worked trace
A CRM sends a sales order to S/4HANA through Integration Suite. It sets Idempotency-Key: crm-8841-v1 on the request.
| Step | Request | What the flow does | Result in S/4HANA |
|---|---|---|---|
| 1 | POST order CRM-8841 with key crm-8841-v1 | Key not stored, so it calls SAP once and stores key plus response | Order 100042 created |
| 2 | CRM times out and retries the same order with the same key | Key found, so it replays the stored 201 response | No new order |
| 3 | CRM sends a new order CRM-8842 with key crm-8842-v1 | New key, so it calls SAP once | Order 100043 created |
Step 2 is the point. The client gets a successful answer, and SAP still has one order for CRM-8841.
Where the check sits
The flow checks the key before it calls the SAP endpoint. A short Groovy script in Integration Suite shows the shape:
def key = message.getHeaders().get('Idempotency-Key')
if (!key) {
throw new Exception('Idempotency-Key header is required')
}
def stored = messageStore.get(key)
if (stored != null) {
message.setBody(stored.responseBody)
return message
}
// Key is new: call SAP once, then store key and responseThe sender has to reuse the same key on every retry of that order. Generating a fresh key on each attempt defeats the check, because SAP sees each attempt as a different request. A new order needs a new key.
The same idea applies to IDoc and BAPI flows. The flow keys the stored response on the sender plus the idempotency key, and it keeps that record long enough to cover the sender retry window. If the record expires before a late retry arrives, the retry can post again, so retention has to match how long the sender may retry.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-71Walk me through how you monitor SAP Integration Suite iFlows in production, from message logs and traces to alerts and dead-letter handling when a flow keeps failing?
The 90-second answer
I monitor an iFlow in the Integration Suite Monitor workspace, not by reading payloads in a log file. Every message gets a Message ID and a status in Message Processing: processed, failed, or discarded. I open the failed message, read the step where it stopped, check the trace for that step, and only then decide whether to reprocess, fix the mapping or endpoint, or park it in a dead-letter queue. Alerts fire on the failed count and on age, not on every exception, so the on-call team sees a flow that is losing business messages instead of a noisy endpoint.
That split matters because the three artefacts answer different questions. Message Processing tells me which messages failed and when. The trace tells me which step and which payload caused it. The alert tells me whether anyone is acting on it. If I only have the first, I know there is a problem. If I only have the second, I can debug one message and miss the other 400.
Logs and traces, and what I actually set
In Cloud Integration I set trace level per integration flow and per step, not globally. None for a high-volume flow that is healthy, Persist when I need headers and properties retained for audit, Trace only for a short debugging window because it stores payloads. Payload traces can contain personal data and commercial terms, so I never leave Trace on in production and I never copy a payload into a ticket without masking it.
A worked trace from a failed order flow looks like this. The figures are illustrative, the fields are what I read in Monitor.
| Time | Message ID | Step | Status | Error seen in trace |
|---|---|---|---|---|
| 09:14:02 | 7f3c...a91 | Content Modifier | processed | none |
| 09:14:03 | 7f3c...a91 | Groovy script, map to S/4HANA | processed | none |
| 09:14:04 | 7f3c...a91 | HTTP adapter to S/4HANA OData | failed | 422, MaterialMaster not found for MAT-8841 |
| 09:14:04 | 7f3c...a91 | End event | failed | message stored in Message Processing |
The trace stops at the HTTP adapter, so I do not start by editing the Groovy script. I check whether MAT-8841 exists in S/4HANA, whether the sender sent a new material before its master data replicated, and whether the mapping sent the wrong key. That order saves a redeploy when the fault is upstream data.
For on-premise PI/PO the equivalent is SXMB_MONI for Integration Engine messages, WE02 and WE05 for IDocs, and the adapter monitoring in Runtime Workbench. I keep the same discipline: status first, step second, payload last.
Alerts that page the right person
I configure alerts in Integration Suite for a flow when the failed message count in a rolling window crosses a threshold, and a second alert when the oldest failed message ages past, say, 30 minutes. A count alert catches a burst. An age alert catches a slow leak where two messages a day fail and nobody notices until month-end close. I route the alert through SAP Cloud ALM or the BTP Alert Notification service to the support queue for that interface, with the flow name, Message ID and sender system in the subject. An alert that only says "integration failed" gets ignored.
I also alert on the endpoint side. If S/4HANA OData returns 503s, the iFlow will show many failures at the same step. That pattern points to the target system, not to the mapping, and the fix is capacity or a maintenance window, not a reprocess storm.
Retries and dead-letter handling
Retries belong inside the flow for transient faults: a timeout, a 502, a 503. I set a small number, for example three attempts with increasing delay, and I make the target call idempotent before I do. Reprocessing a failed message in Monitor replays the whole flow, so if the first attempt already posted a goods receipt and then failed on a later step, a blind reprocess creates a duplicate. The check is whether the target operation has a business key I can test for existence first.
For a permanent fault, such as a missing material master or a rejected validation, retrying wastes time. I route those messages to a dead-letter store instead of letting them loop. In Integration Suite that is typically a persistent JMS queue or a Data Store entry written by an error-handling sub-process, with the original payload, the error code and the Message ID preserved. A Groovy script in the error sub-process can do the routing:
// Error handling sub-process, Groovy script step
def props = message.getProperties()
def err = props.get('CamelExceptionCaught')
message.setHeader('DeadLetterReason', err?.getMessage()?.take(200))
message.setHeader('OriginalMessageId', message.getHeaders().get('MessageId'))
// Next step sends the message to the persistent dead-letter queueThe dead-letter queue is a work queue, not a graveyard. I review it daily in hypercare and weekly in steady state, group by error code, and fix the cause in batches. A queue with 12 messages all failing on MAT-8841 is one master data fix. A queue with 12 different errors is a design problem in the sender. I only move a message back for reprocessing after the fix is deployed and tested on one copy, and I delete or archive it from the queue once the reprocessed copy succeeds, so the same order cannot be posted twice.
The failure mode I watch for is a dead-letter queue that nobody owns. It grows silently, the business assumes the interface worked, and the reconciliation at period end finds the gap. That is why the age alert covers the dead-letter queue as well as failed messages, and why the queue count goes on the same dashboard as the processed count. If processed volume drops and the queue rises, the interface is failing even if no alert fired on a single message.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-72Walk me through how you would debug an ABAP dump in ST22 and find the root cause, from the error analysis to the code line that failed?
The 90-second answer
In ST22 I start from the dump header, not the code. I filter by date, user and transaction, open the newest dump, and read Error Analysis top to bottom. That section names the runtime error, the program and include, and the exact line. The source excerpt in Short Dump Contents marks the failing statement with >>>. I then check the Active ABAP Stack to see who called that routine, and the values of parameters and local variables at the point of failure. Only then do I open the debugger.
A concrete case: a sales order save dumps with CONVT_NO_NUMBER in ZSD_ORDER_SAVE, line 142. The user sees a generic save failure. ST22 tells a narrower story.
| ST22 section | What it shows in this dump | What I conclude |
|---|---|---|
| Error Analysis | Runtime error CONVT_NO_NUMBER, exception CX_SY_CONVERSION_NO_NUMBER | A character value was moved to a numeric target and could not be converted |
| Short Dump Contents, source excerpt | >>> MOVE lv_amount_text TO lv_amount. at line 142 in form SAVE_ITEM | The conversion statement is the trigger, not the database commit after it |
| Active ABAP Stack | SAVE_ITEM called from USER_COMMAND_0100, called from SAPLSYNN dynpro event | Input came from the screen field, so the value originates in user entry or a default |
| Parameters / local variables | lv_amount_text = '1.234,56', lv_amount = 0, wa_order-waerk = 'EUR' | A European decimal comma reached a statement expecting a plain number |
That trace rules out a database problem. No SQL statement appears in the stack, and the dump occurs before any COMMIT. It also rules out a missing authorization, which would dump as DBIF_RSQL_... or raise a different exception earlier.
Debugging to confirm it
I reproduce with the same user and order type, because a dump that depends on a user exit or a customizing default will not reproduce under my own user. In the debugger I set a breakpoint at line 142, or an external breakpoint on ZSD_ORDER_SAVE if the user cannot run /h in production. I inspect lv_amount_text in the watch list and step over the conversion. The debugger stops on the same exception, which confirms the ST22 reading.
For a dump in an update task or a background job, the same breakpoint approach needs Update debugging in the debugger options or an external breakpoint set in SE80 for the job user. Without that, the code runs in the update work process and the breakpoint never fires.
* Before: dumps when the screen passes a formatted amount
MOVE lv_amount_text TO lv_amount.
* After: convert explicitly and reject bad input before the move
DATA(lv_amount_text) = |{ lv_amount_text }|.
TRANSLATE lv_amount_text USING ' ,.'.
IF lv_amount_text CO '0123456789'.
MOVE lv_amount_text TO lv_amount.
ELSE.
MESSAGE e001(zsd) WITH lv_amount_text.
ENDIF.The fix belongs at the boundary. The screen field should be a CURR or QUAN type with a currency, so the dynpro conversion handles the comma. The explicit check is a guard for callers that pass text, such as an IDoc or a BAPI wrapper. I would also check where lv_amount_text is filled. In this case a user exit copied the amount from a text field in a prior step, which is why the comma survived.
What ST22 does not tell you
ST22 shows the state at the dump, not the history. If the bad value was written three steps earlier, the stack shows the caller but not which earlier statement assigned it. I then use a watchpoint on lv_amount_text in the debugger, or add a temporary WRITE in a test system, to catch the assignment. For SQL related dumps, such as DBIF_RSQL_INVALID_SQL or a timeout, I pair ST22 with ST05 SQL trace to see the generated statement and its runtime. For dumps raised as exceptions, I read the exception class and its previous exception chain in ST22, because the root cause is often in previous, not the top level message.
I close the ticket with the dump number, the ST22 error analysis text, the corrected line, and a retest with the original input 1.234,56. That gives support a repeatable check instead of a claim that the dump no longer appears.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-73A report reads MARA with SELECT * and searches a standard internal table by MATNR inside a loop. How would you tune it with explicit Open SQL fields and a hashed table, and what trade-off does that create?
The 90-second answer
I would change two things and measure both. First, replace SELECT * with the columns the report actually uses, so the database transfers less data and can use a covering index. Second, change the lookup table from a standard table to a hashed table keyed by MATNR, because the program searches by exact material number on every iteration. I would check the result with ST05 for the SQL and a simple timing or SAT trace for the loop.
The situation
SELECT * FROM mara INTO TABLE @DATA(lt_mara).
LOOP AT lt_orders INTO DATA(ls_order).
READ TABLE lt_mara INTO DATA(ls_mara)
WITH KEY matnr = ls_order-matnr.
" ... build output row ...
ENDLOOP.Two costs hide here. The SELECT returns every column of MARA, including fields the report never prints. The READ TABLE on a standard table scans from the start until it finds a match, and it does that for every order.
**Explicit fields instead of SELECT ***
SELECT * transfers columns you then discard. On a wide table that can be most of each row, and it can also prevent the database from satisfying the query from an index alone, because the query now needs columns outside that index. It also breaks quietly when a field is appended to the table, since the target structure changes without a code change.
SELECT matnr, mtart, matkl, ersda
FROM mara
INTO TABLE @DATA(lt_mara)
WHERE mtart = @lv_mtart.The list is the contract. A reader sees which fields the report depends on, and the optimizer sees the same. If the report later needs a new field, the change is a deliberate edit, not a surprise at runtime.
Hashed table for exact lookup
A standard table has no key. READ TABLE ... WITH KEY is a linear scan, so cost grows with table size. A hashed table stores rows by hash of the key, so an exact lookup is roughly constant time.
| Type | Exact lookup by MATNR | Range or ordered read | Insert cost |
|---|---|---|---|
| Standard table | O(n), scans rows | No order guaranteed | Cheap append |
| Hashed table | O(1) average | Not supported | Cheap, key must be unique |
| Sorted table | O(log n), binary search | Supported | Costly if inserted out of order |
Worked trace, with hypothetical but realistic figures: 1,000,000 materials in the table and 200,000 orders in the loop. With a standard table, the average search scans about 500,000 rows, so the loop does roughly 200,000 x 500,000 = 10^11 row comparisons. That is why the program looks hung even though each individual read is correct. With a hashed table keyed by MATNR, the same loop does 200,000 hash probes. The logic does not change. The access path does.
TYPES: BEGIN OF ty_mara,
matnr TYPE mara-matnr,
mtart TYPE mara-mtart,
matkl TYPE mara-matkl,
ersda TYPE mara-ersda,
END OF ty_mara.
DATA lt_mara TYPE HASHED TABLE OF ty_mara
WITH UNIQUE KEY matnr.
READ TABLE lt_mara INTO DATA(ls_mara)
WITH TABLE KEY matnr = ls_order-matnr.The trade-off is the point to state in an interview. A hashed table only answers exact key lookups. It cannot answer a range such as matnr BETWEEN ..., it does not return rows in order, and it needs a unique key. If the report later needs materials in MATNR order or a range, a sorted table is the better choice, at O(log n) per lookup and with re-sort cost on out-of-order inserts. I pick hashed here because the loop only ever asks for one exact MATNR.
Checking it worked
I run the report with the same selection parameters before and after. In ST05 I compare rows returned and SQL execution time. If the SQL time drops but the total runtime barely moves, the loop was the bottleneck and the table change is what mattered. If the loop time collapses in SAT and the SQL was already fast, the explicit field list was the smaller win. That split stops me tuning the wrong layer, and it gives a number to defend instead of a general claim about performance.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-74Walk me through the basics of ABAP Object-Oriented programming: classes, methods and interfaces in SAP?
The 90-second answer
In ABAP, a class is a template that bundles data and the code that works on that data. An object is a runtime instance of the class. Methods are the procedures you call on the object, and an interface is a named set of method signatures with no implementation, which a class must then provide.
In practice you define local classes inside a report or program for a one-off helper, and global classes in transaction SE24 when other programs need to reuse them. The same split applies to interfaces: local INTERFACE ... ENDINTERFACE in code, global interfaces in SE24.
INTERFACE lif_pricing.
METHODS calculate RETURNING VALUE(r_amount) TYPE p DECIMALS 2.
ENDINTERFACE.
CLASS lcl_order DEFINITION.
PUBLIC SECTION.
INTERFACES lif_pricing.
METHODS constructor IMPORTING iv_gross TYPE p DECIMALS 2.
PRIVATE SECTION.
DATA mv_gross TYPE p DECIMALS 2.
ENDCLASS.
CLASS lcl_order IMPLEMENTATION.
METHOD constructor.
mv_gross = iv_gross.
ENDMETHOD.
METHOD lif_pricing~calculate.
r_amount = mv_gross * '0.9'. "10% discount
ENDMETHOD.
ENDCLASS.
START-OF-SELECTION.
DATA(lo_order) = NEW lcl_order( iv_gross = 1000 ).
DATA(lv_net) = lo_order->lif_pricing~calculate( ).
WRITE lv_net. "900.00Three points carry most of the model. First, visibility: PUBLIC methods can be called from outside, PRIVATE only from inside the class, PROTECTED also from subclasses. Second, instance versus static: an instance method sees the object's attributes, a static method is called on the class itself with => and sees no instance data. Third, the constructor runs automatically on NEW and is where you set mandatory attributes, so an object is never left half built.
An interface adds a contract. lif_pricing promises a calculate method but says nothing about discounts. Any class that lists INTERFACES lif_pricing must implement that method, and code that only knows the interface can call it without knowing which class is behind it. That is how you swap a standard pricing class for a customer specific one without changing the caller. A class can implement several interfaces, but it can inherit from only one superclass.
| Class | Interface | |
|---|---|---|
| Holds data | Yes, attributes | No |
| Contains implementation | Yes, in methods | No, signatures only |
| Created as object | Yes, with NEW | No |
| Reuse | Global class in SE24, or local class | Global interface in SE24, or local interface |
Worked trace
| Step | Statement | Result |
|---|---|---|
| 1 | NEW lcl_order( iv_gross = 1000 ) | Constructor stores 1000 in mv_gross |
| 2 | lo_order->lif_pricing~calculate( ) | Method reads mv_gross, returns 900.00 |
| 3 | WRITE lv_net | Output 900.00 |
Failure modes interviewers probe
Calling an instance method with => raises a syntax error, because there is no object to supply mv_gross. Calling a method on an unassigned object reference raises a null object reference exception at runtime, so check IF lo_order IS NOT INITIAL or assign before use. Forgetting the interface prefix is another common slip: inside the implementing class the method is written lif_pricing~calculate, and callers outside use the same prefixed name. Finally, a class that declares an interface but does not implement every method will not activate, which is the compiler enforcing the contract rather than a runtime surprise.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-75You need validation on order save and a new field on the item screen in S/4HANA Cloud, public edition. Walk me through how you would choose between a user exit, a BAdI and an enhancement point, and what breaks on upgrade?
The 90-second answer
Start from the hook SAP released for that exact moment, not from the nearest place you can insert code. In S/4HANA the order is: released BAdI first, enhancement spot or point second, user exit only as a legacy fallback on premise. In public cloud, in-app extensibility is limited to released BAdIs, released enhancement spots, custom fields and CDS, plus developer extensibility with RAP on the embedded BTP Steampunk stack. User exits and implicit enhancement points are not available there.
A user exit is a pre-built FORM routine in a customer include, for example USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ for SD order save, or an EXIT_ function module in a standard function group. SAP placed the call, you fill the routine. You cannot move it, add a new one, or change its parameters. Because the code lives in a customer include, it is not a modification to SAP code and does not create SPAU or SPDD entries on upgrade. Its limits are different: one implementation only, no filtering, often tied to the GUI transaction that contains the call, and not released for cloud use.
A BAdI is a Business Add-In: SAP defines an interface and a call site, you implement the interface in your own class. The implementation is upgrade safe, can be filtered by document type, plant or sales organisation, and multiple implementations can run in a defined order. In S/4HANA many classic BAdIs are now released for cloud extensibility, which makes them the preferred in-app route in public cloud.
Enhancement points and spots are different. An implicit enhancement point is a place inside standard code where SAP allows you to insert code without changing the original statement. An explicit enhancement is code SAP itself inserted at a spot, which you can extend or replace. Both are upgrade safe in principle, but an implicit point can disappear if SAP refactors that code, and you get no contract about parameters or call frequency.
Choosing for your scenario
You need validation on order save and a new field on the item screen. Validation belongs in a BAdI at save, because it runs in GUI, Fiori and API paths that use the same save logic and it can raise a proper error message. A screen field is not a validation problem. In S/4HANA you add it as a custom field through extensibility, with a CDS view and UI annotation, or through an enhancement spot in the screen flow if you are on premise and the spot exists. Putting the field logic in a user exit screen include ties it to VA01 and VA02 only.
| Mechanism | Where code lives | Upgrade impact | Multiple customers | Cloud public edition |
|---|---|---|---|---|
| User exit | Customer include or EXIT_ FM, not a modification | No SPAU/SPDD, but not released and may be deprecated | No, one routine | Not available |
| BAdI | Own class implementing SAP interface | Safe if interface stays released | Yes, filter and order | Only released BAdIs |
| Implicit enhancement point | Inserted in standard code | Safe unless SAP removes the point | No, single insertion | Not available in-app |
| Explicit enhancement spot | SAP inserted spot, you extend it | Safe, SAP owns the spot | Limited | Only released spots |
" S/4HANA 2023, illustrative BAdI implementation, signature simplified
" BAdI: BADI_SD_SALESDOCUMENT_CHECK, method CHECK_BEFORE_SAVE
CLASS lcl_ex_sales_check DEFINITION.
PUBLIC SECTION.
INTERFACES if_ex_badi_sd_salesdocument_check.
ENDCLASS.
CLASS lcl_ex_sales_check IMPLEMENTATION.
METHOD if_ex_badi_sd_salesdocument_check~check_before_save.
DATA(lv_doc_type) TYPE vbak-auart.
lv_doc_type = 'TA'.
IF lv_doc_type = 'TA'.
MESSAGE e001(zsd) WITH 'Internal customers require a cost centre'.
ENDIF.
ENDMETHOD.
ENDCLASS.The user exit equivalent would be FORM USEREXIT_SAVE_DOCUMENT_PREPARE. in MV45AFZZ. It works in ECC and on premise S/4HANA, but you have no filter, no ordering, and a Fiori app or an OData create that bypasses that FORM will skip your check. That bypass is the failure mode I see most often: testing passes in VA01, production fails via API.
Failure modes to name in the interview
BAdIs can be called more than once during save, for example on item change and again on header save, so the implementation must be idempotent and must not create orders, post documents or update master data inside the check. Implicit enhancements have no such contract, so code that assumes a work area is filled can dump after an SAP patch changes the surrounding code. User exits that add screen fields usually require a screen modification and a transport of the include, which breaks clean core and blocks a move to public cloud.
My rule: if a released BAdI exists, use it and document the filter values. If only an enhancement spot exists, use it and add a regression test for the surrounding standard process. If only a user exit exists, use it on premise, record it as a remediation item for any S/4HANA cloud move, and test the same scenario through Fiori and the API, not just the GUI transaction.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-76Walk me through SAP output management for a sales order invoice: how output determination picks the form and printer, and how you trace it in the spool when it fails to print?
The 90-second answer
Output management decides, for a business document, which output type fires, which form renders it, and where it goes. In SD the chain is: output determination procedure assigned to the document type, condition types inside that procedure, access sequences that find condition records, and a partner and transmission medium on the output type. The system writes a row to the output log (table NAST) for each output type, then creates a spool request when the timing and medium allow it. If printing fails, I start in the output log, not in the spool. The log tells me whether determination never found the output type, found it but the form or printer was missing, or created the spool request and the spool itself failed.
How determination actually picks a form
Take a billing document. The output determination procedure for the billing type contains condition types such as LD00 for invoice. Each condition type has an access sequence. The access sequence reads condition tables, for example by sales organisation, customer, and output type, and finds a condition record that names the form type, the transmission medium (print, fax, email, EDI), the partner function, and the output device or destination.
Timing matters. Output can be set to send at creation, at a later event such as goods issue or release, or manually from the document. A common failure is an invoice configured for timing 4 (send immediately) when the business expects it after release. The output log then shows the entry as not processed, and no spool request exists. That is a determination problem, not a printer problem.
Forms in current S/4HANA are mostly Adobe Forms rendered to PDF, with older SAPscript and Smartforms still present in ECC estates. The form type on the condition record points to the form name. If that form is inactive, missing in the client, or its interface program dumps, determination can succeed and rendering fails. The spool request may exist with an error, or the output log may show a processing error depending on where it stopped.
| Step | Where to check | What a healthy result looks like | What it means if it fails |
|---|---|---|---|
| 1. Output type proposed | Output log on the document, or NAST filtered by object type and object key | LD00 present with correct partner and medium | Procedure, access sequence, or condition record missing |
| 2. Form and device resolved | Condition record for that output type and partner | Form name and output device filled | Form inactive, device not defined in SPAD, or partner has no device |
| 3. Spool request created | SP01 by spool request number from the output log | Status finished, PDF or print data present | Spool admin, device, or PDF conversion problem |
| 4. Delivery confirmed | Output log status, email or EDI status where relevant | Processed without error | Medium specific failure, for example email address missing |
Spool handling and the trace I run live
Once rendering succeeds, SAP creates a spool request. SP01 lists spool requests by user, device, and status. SP02 shows the content of one request. SPAD defines the output devices, host spool servers, and access methods. A device can be a physical printer, a PDF printer such as LP01 or PDF01 in many estates, or a logical destination. If the device is wrong, the spool request sits in error or goes to a device nobody monitors.
For a failed invoice print, my trace is fixed. First I open the billing document output log and note the spool request number. Then I open that request in SP02. If there is no spool request, I go back to determination and check timing and the condition record. If there is a spool request in error, I check the device in SPAD and the host spool server. If the request finished but the user has nothing, I check whether the device is a PDF device and whether the PDF was archived or sent to a logical destination the user cannot see.
" Check the output log for one billing document (checked against S/4HANA 2023)
SELECT SINGLE * FROM nast
WHERE objtype = 'VBRK'
AND objkey = @lv_billing_document
AND kappl = 'TX'
AND kschl = 'LD00'
INTO @DATA(ls_nast).
IF ls_nast IS INITIAL.
" No LD00 row: determination never proposed the output type.
" Check procedure assignment and condition records first.
ELSEIF ls_nast-anzahl IS NOT INITIAL.
" ls_nast-anzahl holds the spool request number when one was created.
" Open it in SP02 and check device, status and PDF content.
ENDIF.That snippet is a diagnostic shortcut. In a real ticket I would use the standard output log and SP01, and only use ABAP when I need to scan many documents for the same failure pattern.
Failure modes I name in the interview
Missing condition record for a new sales organisation is the most common go-live fault. The procedure is assigned, but the access sequence finds nothing for that combination, so no NAST row appears. The fix is a condition record, not a printer change.
A second pattern is a correct condition record pointing at a device that exists in SPAD but has the wrong host spool server or access method. The spool request errors out, and SP01 shows it immediately. A third pattern is email output where determination succeeds and the spool request finishes, but the partner master has no email address or the SCOT node is not configured. The output log then carries the error, and checking the printer alone wastes time.
Reprints deserve a mention. Repeating output from the document creates a new spool request and a new NAST entry. If the original failed because the form was inactive, a reprint after fixing the form works. If the original failed because the device was down, a reprint to the same device fails again. I check the device before I reprint.
When I explain this to a client, I separate the three layers every time: determination decides what should happen, the form decides what it looks like, and the spool decides where it goes. Most output incidents live in exactly one of those layers, and the output log tells me which one before I touch anything else.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-77Walk me through how you would configure an SAP approval workflow for purchase requisitions, including agent determination, deadline monitoring and escalation if the approver does not act?
The 90-second answer
For a purchase requisition release, I would use the standard release workflow and change three things: who the system picks as approver, when it chases that person, and where the work item goes when the deadline passes. Agent determination decides the first. Deadline monitoring decides the second. Escalation decides the third, and it is a separate workflow step, not a setting on the first step.
The workflow template contains a user decision step. At runtime that step calls agent determination to resolve a concrete user or role from the requisition data. If resolution returns nobody, no work item is created for a person. The requisition stays unreleased and the workflow log shows the error. That is where I check first when a buyer says nothing arrived, in SWFIA and the workflow log.
Agent determination
Standard options, in the order I would try them:
| Rule | Resolves to | Use when |
|---|---|---|
| User | One named user | A single buyer or plant manager always approves |
| Role | All users with a PFCG role | A pool of approvers can pick up the item |
| Function | Users assigned to a function in Org Management | Approval follows a job, not a person |
| Responsibility | Users from the HR org structure for a cost center, plant or purchasing group | Approver is the manager of the requesting unit |
| Custom rule | Result of a function module or BAdI | Amount, category or plant decides the approver |
For most clients, Responsibility or a custom rule is the right fit. A role alone creates a race: five people see the item in My Inbox, one approves, and the others only find out later. A custom rule lets me encode the rule the client actually described, for example requisitions up to EUR 10,000 to the cost center manager, above that to the plant manager.
In practice I keep the custom logic small. The workflow condition reads the total value, then branches to a role or a responsibility determination. The ABAP below is the value check I would reuse in that condition, using Open SQL against the PO item table:
DATA: lv_ebeln TYPE ekko-ebeln VALUE '4500000012',
lv_total TYPE ekpo-netwr.
SELECT SUM( netwr ) INTO @lv_total
FROM ekpo
WHERE ebeln = @lv_ebeln.
IF lv_total IS INITIAL.
lv_total = 0.
ENDIF.
IF lv_total > 10000.
"branch in workflow to plant manager determination
ELSE.
"branch in workflow to cost center manager determination
ENDIF.EKPO-NETWR is the item net value and EKKO holds the header, so the sum is the release-relevant total. The point is that the rule is testable in isolation: give it a document number, get one total back, and log the inputs when the total is initial.
Deadlines and escalation
On the user decision step I set a deadline, for example 48 hours, and activate deadline monitoring for the workflow. A background job then checks work items against that deadline. When the deadline is exceeded, the system executes the escalation branch I modelled: it can resubmit the item to the same agent with a reminder, forward it to a substitute, or create a new work item for the next level.
Worked trace for a EUR 14,000 requisition:
| Time | Event | System action |
|---|---|---|
| Day 0, 09:00 | Buyer creates PR, workflow starts | Value check returns 14000, branch selects plant manager, work item created |
| Day 0, 09:01 | Manager on leave | Substitution in My Inbox routes item to substitute, original agent unchanged in log |
| Day 2, 09:00 | 48 hour deadline exceeded | Deadline monitoring triggers escalation step, reminder sent, item stays with manager |
| Day 4, 09:00 | Second deadline exceeded | Escalation creates new work item for skip-level manager, first item cancelled |
| Day 4, 15:30 | Skip-level manager approves | PR released, workflow log shows both deadlines and the reassignment |
Two design choices matter here. First, I would not auto-approve on escalation. Auto-approval turns a missed deadline into a financial commitment nobody reviewed, and auditors will ask for the approval evidence. Escalating to a named manager keeps the evidence chain intact. Second, I would set the first deadline as a reminder and the second as a reassignment. One deadline that immediately reassigns feels aggressive to managers and produces the same outcome as no deadline, because people learn to ignore it.
Failure modes I check in testing
No agent found: the workflow ends with an error and the PR is stuck. I test this by creating a PR for a cost center with no manager in HR Org Management and confirm the fallback work item reaches a support role. User exists but has no SAP user or no My Inbox authorisation: the item is created but never seen. I check SWFIA for the work item and confirm the user can open it before go-live. Deadline monitoring not active: deadlines are modelled but never fire. I confirm the monitoring job runs in production and test with a 10 minute deadline in QA, not by waiting 48 hours.
That gives the client a workflow they can explain: the system picks the approver from the org structure and the document value, chases them at a stated interval, and moves the decision up a level when chasing stops working.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-78What is a variant in an SAP background job, and what does it store for the job step?
The 90-second answer
A variant is a saved set of selection screen parameters for a program. When you attach that variant to a step in a background job, the job runs with exactly those parameters every time, instead of the program defaults.
You create the job in SM36 and monitor it in SM37. A job step names a program, for example a custom reconciliation report. If you leave the variant field blank, SAP runs the program with its initial values. If you enter a variant, SAP loads the values stored in that variant before the step starts. That is the whole mechanism, and it is why the same job can be run safely in QA and production with different plants, periods or company codes.
You build the variant by running the program in the foreground, entering the parameters you want, then choosing Save as variant on the selection screen. You give it a name such as PROD or PLANT1010, and you can protect it so only the owner can change it. In SM36 you then enter that name on the step. In SM37 you can open the finished job and check which variant was used, which makes a failed run easier to reproduce.
| Without a variant | With a variant |
|---|---|
| Program defaults apply | Saved selection values apply |
| A developer change to defaults changes the next run | The run stays the same until the variant is changed |
| Hard to explain why a job processed plant 1020 | SM37 shows the variant name used for that run |
| Risk of processing all plants or the wrong period | Parameters are fixed and auditable |
A worked example makes the difference clear. Suppose the report Z_RECON has selection fields for plant and posting period. Its defaults are plant * and period 01. You save a variant PROD with plant 1010 and period 04. The job step in SM36 points to Z_RECON plus variant PROD. When SM37 releases the job at 02:00, the background work process starts Z_RECON, loads PROD, and processes only plant 1010 for period 04. If the job finishes with errors, you open the job log in SM37, confirm the variant was PROD, and rerun the program in the foreground with the same variant to reproduce the error.
From ABAP, the same link is the variant parameter on JOB_SUBMIT:
DATA: jobcount TYPE tbtco-jobcount.
CALL FUNCTION 'JOB_OPEN'
EXPORTING jobname = 'Z_NIGHTLY_RECON'
IMPORTING jobcount = jobcount.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING jobcount = jobcount
program = 'Z_RECON'
rmode = 'A'
variant = 'PROD'
authcknam = sy-uname.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING jobcount = jobcount
jobname = 'Z_NIGHTLY_RECON'
strtimmed = 'X'
sdlstrtdt = sy-datum
sdlstrttm = '020000'.If variant is omitted, the job uses program defaults. If the variant does not exist or the user running the job has no authority to use it, the step fails at start and SM37 shows the error in the job log. That failure is a useful check: it tells you the job definition, not the report logic, is wrong.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-79Walk me through how SAP number ranges work, including buffering, internal versus external assignment, and why rollbacks leave gaps?
The 90-second answer
A number range is a named interval in table NRIV that hands out document and master data numbers. You define the object, the interval number, the low and high values, the current number, and whether assignment is internal (the system proposes the number) or external (the user or an interface supplies it). When a number is assigned, SAP advances the current number in NRIV in a way that is not rolled back with your business document. If the posting then fails or the user cancels, that number is lost. Gaps are therefore normal in SAP. A design that promises to reuse numbers after rollback will produce duplicates under parallel posting.
Where the number lives
NRIV holds one row per object and interval. Take a custom sales order object ZORD, interval 01, from 100000 to 199999, current number 100042. Function module NUMBER_GET_NEXT reads that row, returns the next value, and writes the new current number back. SAP enqueues the interval internally so two users cannot receive the same value.
DATA lv_number TYPE n LENGTH 10.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
object = 'ZORD'
nriv_rlsubobject = '01'
IMPORTING
returncode = lv_number.RETURNCODE is the assigned number in this function module. The enqueue and dequeue are handled inside the call, so custom code should not add its own lock around it.
Buffering decides where most gaps come from
| Buffering | How it works | Cost | Gap behaviour |
|---|---|---|---|
| none | Every assignment reads and updates NRIV in the database | Highest contention, slowest under parallel posting | Gap only on rollback or failed posting |
| level 1 | Each application server caches a block, for example 50 numbers, and hands them out locally | Fast, low contention | Unused cached numbers are lost on server restart or crash |
| level 2 | Block held in shared memory across servers in the SAP system | Fast, better balance than level 1 | Smaller loss on restart, still not gapless |
Worked trace, interval 1000 to 1999, level 1 block of 50:
| Step | Server A | Server B | NRIV current in DB | Result |
|---|---|---|---|---|
| 1 | Requests block | 1049 | A holds 1000-1049 | |
| 2 | Assigns 1000, posts OK | 1049 | 1000 used | |
| 3 | Assigns 1001, user cancels | 1049 | 1001 never committed, never reused | |
| 4 | Server A restarts | 1049 | 1002-1049 discarded from cache | |
| 5 | Requests new block | 1099 | A gets 1050-1099 | |
| 6 | Requests block | 1149 | B gets 1100-1149 |
With no buffering the same trace would advance NRIV on every assignment, so step 4 would lose nothing, but 50 parallel FI postings would queue on the same NRIV row.
Assignment and rollback
Internal assignment means the screen field is proposed by the system and normally not changeable. External assignment means the user or an inbound IDoc supplies the number, and SAP checks it against the interval and against duplicates. Some objects allow both, with a flag for manual entry despite internal assignment. That choice matters for interfaces: an external number from a legacy system can collide after migration if the interval was not reserved.
Rollback gaps happen because the NRIV update is committed separately from the business logical unit of work. SAP does this deliberately. If the increment rolled back with the document, two parallel users could receive the same number after one rollback. The trade-off is uniqueness over continuity. Auditors in FI accept gaps from cancelled postings when the number range is documented, but a legally gapless sequence in some jurisdictions needs no buffering, a single interval per period, and a process that never cancels after assignment. Even then a dump after assignment leaves a gap.
Practical settings I check in a follow-up: warning percentage on the interval (for example 90 percent) so the team sees exhaustion before 199999 runs out, interval per fiscal year for FI where the law requires it, and a transport-safe object name so a sandbox interval never overwrites production NRIV on import. If a client reports missing numbers, I compare the NRIV current number against the highest used number in the document table and against server restart logs. A difference explained by restarts and rollbacks is expected. A difference with no restart and no rollback points to a custom program calling the number range and then failing before commit, which is a code defect, not an SAP defect.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-80An FI invoice posted in April is reversed in May after April is closed. How do reversal reasons decide whether the offset posts in April or May, and what does that do to each period's expense?
The 90-second answer
SAP FI never deletes a posted document. Reversal in FB08 posts a second document with the opposite debits and credits and links it to the original, so both stay visible for audit. Cancellation in that sense does not exist for a posted FI document. You can delete a parked document before posting, but after posting reversal is the standard correction.
The reversal reason you select in FB08 proposes the posting date for that offset document. That date decides the period that absorbs the credit. If April is still open and you reverse with the original posting date, April nets to zero. If April is closed and you reverse in May, April keeps the original expense and May takes the credit. The FI balance is correct in both cases. The period result is not.
Worked trace
A vendor invoice for EUR 10,000 posts on 28 April 2026 to the wrong cost centre. Period 04/2026 is then closed in OB52. The error is found on 12 May 2026, when period 05/2026 is open.
| Date | Document | Posting | Period | Expense in period |
|---|---|---|---|---|
| 28 Apr 2026 | 5105600001 | Dr expense 10,000, Cr vendor 10,000 | 04/2026 | +10,000 |
| 12 May 2026 | 5105600002 | Dr vendor 10,000, Cr expense 10,000 | 05/2026 | -10,000 |
Cumulative expense across both periods is zero. April still reports 10,000 and May reports a 10,000 credit. Controlling needs that split explained in the May variance review, or the credit looks like a saving.
If April had still been open, a reversal reason that proposes the original posting date would post document 5105600002 on 28 April. Both documents would sit in period 04 and April would report zero. That is the cleaner result, but only before April is reported or closed. Reopening a closed period to fix a cost centre error would change numbers already used for reporting and tax.
What the reversal reason controls
| Reversal reason type | Proposed posting date | Use it when |
|---|---|---|
| Reversal in current period | Today, in the open period | Original period is closed or already reported |
| Reversal in previous period | Last open period | You need the offset as close to the original as possible without touching a closed period |
| Reversal in original period | Original posting date | Original period is still open and not yet reported |
The reason is stored on the reversal document, so an auditor can see why the offset landed where it did. In FB08 the user can often change the proposed date. I would restrict the original period reason to a small finance role, because it is the one that rewrites a period others may have already read.
Sequence and side effects
If the invoice has been paid, it is a cleared item and FB08 will not reverse it directly. You reverse the payment document first, which reopens the invoice, then reverse the invoice, then post the corrected invoice. Skipping that order leaves the clearing broken.
Foreign currency creates a small leftover. The reversal is valued at the rate for its own posting date, not the original rate. An invoice posted at 1.10 and reversed in May at 1.05 leaves an exchange difference in May. Finance should expect that difference rather than treat the reversal as not balancing.
| Situation | Action | Result |
|---|---|---|
| Parked, not posted | Delete parked document | No posting ever existed |
| Posted, not cleared | FB08 reversal | Offsetting document, original marked reversed |
| Posted and cleared | Reverse payment first, then FB08 | Clearing and original both reversed |
| Posted, period closed | FB08 into open period | Prior period untouched, offset in current period |
The practical rule for the close checklist: note the original document, the reversal reason, and the period that absorbed the offset whenever a closed period document is reversed. That one line lets controlling separate a correction from trading performance in May.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-81Walk me through how Incoterms, shipping point and route determination work in SAP SD, and how they change delivery and billing for EXW versus DAP orders?
The 90-second answer
Incoterms in SAP SD are not just a text field on the sales order. The Incoterm (Incoterms 2020) stored in the customer master for the sales area, and copied to the sales order header, decides who contracts the carrier, who pays freight and insurance, and where risk passes. Shipping determination then turns that commercial deal into a physical plan: it picks the shipping point that will ship the delivery, and route determination picks the route and, in turn, the transportation planning point and freight pricing.
If you get the Incoterm wrong, the system can still create a delivery and an invoice. It will just charge the wrong party for freight, propose the wrong delivery date, and leave you with a customs or insurance gap that only shows up at the border.
How the determination chain runs
Shipping point determination is maintained in transaction OVL3. Its access sequence is plant, shipping condition, loading group. Plant comes from the material/plant master, shipping condition from the customer master (sales area), and loading group from the material master sales view. SAP reads them in that order and proposes the first shipping point that matches.
Route determination is maintained in transaction OVL2. Its access sequence is shipping point, destination country, transportation zone, transportation group. Destination country and transportation zone come from the customer master, transportation group from the material master sales view. The route then feeds transportation planning (shipment type, service agent, carrier) and the delivery header.
Worked trace: one order, two Incoterms
Assume plant 1000, material loading group 001 (palletised), transportation group 001 (road), customer shipping condition 01 (standard), destination DE, transport zone DE-NORTH.
| Step | EXW order | DAP order |
|---|---|---|
| Shipping point | 1010 Hamburg, from plant 1000 + shipping condition 01 + loading group 001 | Same 1010, determination does not read the Incoterm |
| Route | 99 EXW collection, no carrier planned by seller | 10 Road, carrier planned, shipment created in VT01N or via TM |
| Delivery date proposal | Based on loading date and customer factory calendar, buyer collects | Based on requested delivery date minus transit time on route 10 |
| Freight pricing | Condition type for freight is not proposed, or proposed at zero with a note | Freight condition FR01 proposed from route and Incoterm, added to pricing procedure |
| Billing | Delivery-based billing on goods issue, no freight line | Delivery-based billing, freight line included, revenue split between goods and freight |
The point candidates miss: shipping point and route do not read the Incoterm directly. They read shipping condition, loading group, plant, zone and transportation group. The Incoterm influences the outcome indirectly, through the route you maintain for that customer and through pricing. That is why a customer who buys both EXW and DAP usually needs two customer records, or a second sales area, rather than a user changing the Incoterm on the order header and hoping freight follows.
Incoterms 2020: what actually changes in SD
| Incoterm | Risk and cost pass to buyer at | Seller plans transport | Typical SD effect |
|---|---|---|---|
| EXW | Factory gate, goods placed at disposal | No | No route planning, no freight charge, delivery type for collection |
| FCA, FOB, FAS | Handover to carrier or ship side | Partial, buyer contracts main carriage | Export delivery, customs documents, freight often not charged |
| CFR, CIF, CPT, CIP | Shipment, seller pays carriage (and insurance for CIF/CIP) | Yes | Freight condition charged, insurance condition for CIF/CIP, bill of lading output |
| DAP, DPU | Named place at destination, buyer unloads (DAP) | Yes | Route and carrier mandatory, delivery date is the commitment, freight included or charged per contract |
| DDP | Destination, seller clears import | Yes | Seller bears duty and tax, tax determination must reflect import, no separate duty charge to buyer |
For DDP the tax point matters. If the seller clears import, the sales order tax determination should not charge import duty to the buyer as a separate line. If you leave the standard tax procedure, you will invoice duty twice, once in the price and once as a tax line, and Finance will see a mismatch against the customs entry.
Failure modes I check in support
Missing route: delivery creation fails or route stays blank, transportation planning cannot propose a carrier, and the delivery sits in "not yet processed" status. Check route determination for the exact combination of shipping point, destination country, zone and transportation group. A zone missing on the customer master is the usual cause.
Wrong shipping point: goods issue posts from the wrong plant stock, inventory is relieved in Hamburg instead of Munich, and the billing document carries the wrong plant for CO-PA. Trace it in the delivery header, field shipping point, back to loading group on the material. A material reclassified from bulk to palletised will silently move the shipping point.
Freight charged on EXW: pricing procedure proposes FR01 because the route is still a standard road route. The customer disputes the invoice, credit memo follows, and the freight revenue account is overstated. Fix is route 99 for EXW customers plus a pricing condition that excludes freight for that route, not a manual price change on each order.
Incoterm changed after order entry: Incoterms are pricing-relevant fields, so changing the Incoterm on the sales order header does trigger repricing on save. It does not redetermine the route on a delivery that already exists. You need to change the delivery route manually or recreate the delivery, then check the repriced freight line. That sequence is worth stating in an interview, because it shows you know where determination stops.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-82In SAP MM, which movement type posts goods receipt for a stock transfer order delivery between plants?
The 90-second answer
For a stock transfer order delivery between plants in the same company code, goods receipt is posted with movement type 101. That is the movement the receiving plant uses in MIGO against the outbound delivery, or against the STO itself. It clears the in-transit stock created at goods issue and puts the quantity into unrestricted stock at the receiving plant.
The paired movement at the supplying plant is 641 for goods issue. Movement 641 does not reduce unrestricted stock in the usual way. It moves the quantity from unrestricted stock at the supplying plant into stock in transit, where it stays until the 101 receipt posts. If you see 641 without a later 101, the stock is still in transit.
Worked trace
Plant 1000 supplies 500 pieces of material M-100 to plant 2000. Both plants are in company code 1000, the material is extended to both plants, and plant 1000 exists as a supplying plant in the vendor master of plant 2000.
| Step | Transaction | Movement | Result |
|---|---|---|---|
| 1. STO created | ME21N, order type UB | None | Receiving plant orders 500 pieces from supplying plant |
| 2. Outbound delivery created | VL10B from STO | None | Delivery document created for 500 pieces |
| 3. Goods issue posted | VL02N | 641 | Unrestricted stock at plant 1000 falls by 500, stock in transit rises by 500 |
| 4. Goods receipt posted | MIGO against delivery | 101 | Stock in transit falls by 500, unrestricted stock at plant 2000 rises by 500 |
Valuation on the 101 receipt follows the plant valuation of the receiving plant. With standard price, the receipt is valued at the standard price held for plant 2000. With moving average price, the receipt can change the moving average price at plant 2000, so finance checks the STO price before goods issue when the price differs between plants.
How this differs from a storage location transfer
Inside one plant, a transfer between storage locations uses movement type 311 in MB1B or MIGO. There is no STO, no delivery and no in-transit step. The quantity leaves the source storage location and arrives in the target storage location in the same posting. The STO route exists because the two plants are separate valuation and MRP views, so SAP needs a delivery document to track the quantity while it is on the road.
Failure modes to name in the interview
A 101 receipt fails most often on master data. If the material is not extended to the receiving plant, or the supplying plant record is missing, the STO or the delivery can exist while the receipt cannot post. Batch managed material must carry the batch on the delivery, and serialised material must have serial numbers captured at goods issue. A receipt that posts quantity without those numbers creates a serial history gap that is hard to repair later. Check the STO delivery status in ME2M and the in-transit balance for the material if goods issue has posted but no 101 follows within the expected transit time.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-83Walk me through subcontracting in MM when you issue components to a vendor, the vendor consumes only part of them, and the finished goods return: how do the subcontracting PO, component consumption and stock accounting work?
The 90-second answer
Subcontracting is a purchase order with item category L. You issue components to the vendor, the vendor consumes them, and you buy back the finished item. The PO carries the finished material as the order item and the components in the PO component list, maintained in ME21N on the Components tab or exploded from the material BOM. The PO price for the finished item must include the value of the components you supply plus the vendor processing fee. That pricing rule drives the whole accounting.
Component provision: valuated stock O
Goods issue against the subcontracting PO item with movement 541 transfers the component from unrestricted stock to special stock O, subcontractor stock, for that vendor and plant. This is a valuated stock transfer. The component value stays in the plant inventory valuation while it sits at the vendor. It is visible in MMBE under the vendor and in ME2O, PO history by vendor. No consumption and no P&L posting occur at 541. The stock is simply no longer unrestricted or available for other orders in the plant.
If a component is vendor supplied, you do not issue it. Mark it as vendor supplied in the PO component list and it never enters stock O. Its cost is already inside the finished item PO price. Mixing the two types up is a common setup error.
Consumption and finished goods receipt
Consumption is movement 543. It is valuated. It removes the consumed component value from stock O and posts that value as consumption, offset against GR/IR for the subcontracting PO. In standard flow it is proposed automatically when you post the goods receipt for the finished item, movement 101, from the ratio in the PO. You can also post 543 manually before the GR if the vendor reports actual consumption first.
Worked example, hypothetical figures: order quantity 100 finished units, PO price EUR 50 each. Components: A at 2 per unit, valued at EUR 10 each, B at 1 per unit, valued at EUR 20 each. Component value per finished unit is therefore EUR 40. The remaining EUR 10 is the vendor processing fee.
| Step | Posting | Component A | Component B | Finished stock |
|---|---|---|---|---|
| Issue to vendor | 541 | 220 issued | 110 issued | 0 |
| Vendor consumption | 543 | 200 consumed | 100 consumed | 0 |
| Finished GR | 101 | 0 | 0 | 100 received |
| Unused return | 542 | 20 returned | 10 returned | 0 |
The vendor was issued 10 percent extra of each component as scrap allowance. Only the consumed quantity leaves stock O for good. The 20 and 10 unused pieces return with movement 542, which moves them from stock O back to unrestricted stock at the same valuation.
On the 101 GR, the finished item is capitalised at the PO price, EUR 50 per unit. That EUR 50 is component value EUR 40 plus processing fee EUR 10. The GR posting debits finished stock and credits GR/IR for EUR 5,000. The component consumption value of EUR 4,000 is debited to GR/IR as the offset for the components you supplied. The net GR/IR balance left open on the PO item is EUR 1,000, which is the fee only. That is why the vendor invoices the fee and MIRO clears the remaining GR/IR balance. If you set the PO price to the fee alone, the finished stock would be capitalised too low and the component value would be lost from inventory.
Where it breaks in practice
First, the PO component quantity is wrong or missing. Automatic consumption then proposes the wrong 543 quantity, or none at all, and the GR posts cleanly while stock O drifts. Detection is a regular ME2O and MMBE review by vendor, comparing issued minus consumed minus returned against the vendor stock confirmation. Second, the vendor consumes less than the PO ratio because of a yield improvement, but nobody adjusts the PO component quantity or posts a manual 543 for the actual. The system keeps consuming at the old ratio and the finished stock capitalisation no longer matches actual component use. Third, batch managed components. The 541 issue must carry the batch and the 543 consumption must consume that same batch, otherwise batch stock O balances cannot be reconciled to the vendor batch records. Fourth, stock O is valuated but not unrestricted. Planners who treat it as available supply in the plant will under plan. It is inventory at the vendor, not available stock in the plant.
Subcontracting is not consignment. Consignment stock, special stock K, stays owned by the vendor until you withdraw it. Subcontractor stock O is your valuated material at the vendor. It is also not third party processing with item category D, where the vendor ships directly to your customer and no component ever leaves your plant. Choose L only when you physically issue components and take back a finished item.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-84Walk me through consignment stock in SAP MM and SD, including consignment issue and settlement, using a worked example?
The 90-second answer
Consignment stock stays the owner's property while it sits at the other party's location. In SAP it is special stock, not unrestricted plant stock, so valuation, MRP and availability check treat it separately. The two variants run in opposite directions. In MM, vendor consignment puts the vendor's stock in your plant. In SD, customer consignment puts your stock at the customer. Both end with a withdrawal that transfers ownership, and, on the vendor side, a settlement that pays for what was taken.
Start with customer consignment in SD. You customise a consignment sales order type, delivery type and billing type, with item category CON, and flag the material and customer for consignment. Fill-up moves stock to the customer with movement type 631, from unrestricted stock to consignment stock. It remains valued in your plant and storage location, but in the consignment special stock segment, so it is not available for normal sales orders. The customer can sell from it without a new order.
When the customer withdraws stock, SD posts a consignment issue delivery. Goods issue uses movement type 633, consignment stock to customer, not the normal 601 for unrestricted stock. That movement removes the quantity from consignment stock and triggers billing at the price agreed for consignment withdrawals, using the pricing procedure on the consignment billing type. There is no separate SD consignment settlement run equivalent to MRKO. Billing happens at issue, so period-end control is checking for issue deliveries that posted but were not billed, for example blocked for credit or pricing, and for physical stock at the customer that no longer matches the system quantity.
Vendor consignment in MM is the mirror image. Goods receipt with movement type 101 into consignment special stock, indicator K, records quantity only. You do not own it, so it does not post to your stock account. Withdrawal for production or resale uses movement type 632, consignment stock to unrestricted-use stock. At that point the stock becomes your own and is valued. Settlement then runs in MM with transaction MRKO, Settlement of Consignment Stock. MRKO settles the quantity withdrawn from the vendor in the period and creates the invoice verification document for payment, so the vendor is paid only for what you took, not for what is still sitting in your plant.
Worked trace
Hypothetical figures, one material, plant 1010, customer consignment, agreed withdrawal price EUR 50 per unit.
| Step | Movement or document | Consignment stock | Own unrestricted stock | Financial effect |
|---|---|---|---|---|
| Fill-up 1,000 units to customer | 631 | 1,000 | -1,000 | No revenue. Stock reclassified to special stock segment. |
| Customer withdraws 300 units | Consignment issue delivery, 633 | 700 | 0 | Billing document for 300 x EUR 50 = EUR 15,000. |
| Issue delivery blocked for credit | 633 posted, billing blocked | 700 | 0 | Stock gone, no revenue yet. This is the unbilled item to clear before close. |
| Customer returns 50 unsold units | Return to consignment stock per customising | 750 | 0 | Credit or stock adjustment depending on whether billing already posted. |
Vendor side, same material, 1,000 units received into consignment, 300 withdrawn with 632, MRKO settles 300. The vendor invoice is for 300 units only. The remaining 700 stay unvalued and unpaid. If MRKO is run twice for the same period without checking the settlement history, it must not settle the same withdrawal again. That history is your control.
Where it breaks
Three failure modes come up in projects. First, availability check. If consignment stock is not excluded from ATP for normal orders, sales can promise stock that belongs to the consignment pool and fill-up will fail at goods issue. Second, pricing on the SD side. If the pricing procedure for the consignment billing type is missing a condition type, the 633 issue posts with zero value and there is no later settlement run to fix it. Third, MRP on the MM side. If the material master MRP type and consignment flag are wrong, MRP may plan replenishment of stock you do not own, or fail to plan it at all. Check the special stock segment in MCHB and MB5B, stock on consignment, before you trust the MRP run.
Use consignment when the customer or vendor needs local availability without taking ownership or cash outlay up front. Do not use it as a workaround for slow-moving stock. It adds a fill-up, an issue and, for vendors, a settlement step to every movement, and the reconciliation only works if both sides count the same physical stock.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-85Walk me through service procurement in MM for a EUR 25,000 maintenance contract: service masters, PO item types, service entry sheets, and approval before invoice verification?
The 90-second answer
Services have no goods receipt, so the PO alone cannot prove what was delivered. SAP splits proof into two documents. The service PO (item category D) authorises a vendor, an account assignment and a value limit. The service entry sheet (SES), entered in ML81N, records what the vendor actually did, in hours or units, against that PO item. Only an approved SES can be invoiced in MIRO. That separation is the control: procurement commits the money, the requester confirms the work, finance pays against confirmed work.
Service masters and the PO
Create the reusable service in AC03 before any PO. A service master carries the activity number, a short text, a service category (for example maintenance or consulting), a valuation class and a default account assignment category. It is not a material master. It has no plant, no moving average price and no stock. Reusing one master keeps reporting on service spend consistent and stops buyers inventing a new text for the same work.
On the PO, use item category D. Two variants matter. A planned service item lists quantity and price per service, for example 100 hours of preventive maintenance at EUR 120. A limit-based item (often called a limit item) carries only a total limit, for example EUR 25,000, with no fixed quantity. The limit item suits a maintenance contract where hours are unknown in advance. The PO item also carries the account assignment, usually a cost centre or an internal order, and the delivery date as the planned completion date. If the PO value exceeds the release limit in Customizing, the PO goes to release in ME53N under a release strategy based on value and account assignment. An unreleased PO cannot be ordered and its SES cannot be approved.
Worked trace: EUR 25,000 contract
Assume a limit-based PO item for EUR 25,000, account assignment to cost centre 4100, released by the procurement manager.
| Step | Document | Entry | System check |
|---|---|---|---|
| 1 | PO 4500001234 item 10 | Limit EUR 25,000, service master MAINT-H | Released, orderable |
| 2 | SES 10000001 in ML81N | 180 hours at EUR 120 = EUR 21,600, period 05/2026 | EUR 21,600 is within the EUR 25,000 limit, balance EUR 3,400 remains |
| 3 | SES approval | Approved by maintenance supervisor | Status changes to approved, posting is now possible |
| 4 | Invoice in MIRO | Vendor invoice EUR 21,600 referencing SES 10000001 | Three-way match compares PO price, SES quantity and invoice amount |
| 5 | Payment | F110 payment run | Paid only if no tolerance block remains |
If the SES had claimed 220 hours, EUR 26,400, ML81N would warn or block depending on Customizing for tolerance and limit checks. The buyer then either rejects the SES, asks the vendor to correct the invoice, or increases the PO limit through a PO change with a new release. Posting an invoice above the PO limit without that change is the classic audit finding in service procurement.
Approval and failure modes
Approval happens twice, for different reasons. PO release approves the commitment. SES approval approves the performance. In ML81N the SES can be saved as a draft, submitted for approval, approved or rejected. Approval can be manual, or driven by a workflow with agent determination by cost centre or plant, with deadline monitoring and escalation if the supervisor does not act. In S/4HANA the SES must be approved before MIRO can post against it. An unapproved SES is visible in ML82 and ML83 reports, which is how month-end teams find services performed but not yet confirmed.
Three failures recur. First, buyers create a limit item with no account assignment, so the SES posts to a suspense or fails the account determination at invoice time. Second, the SES is entered in the wrong period, for example work done in April entered in May, which shifts cost and breaks accruals. Third, the vendor invoices the full contract value in one invoice while the SES covers only part of it. MIRO then blocks on the price or quantity variance tolerance, and the invoice sits in the blocked queue until the SES and invoice agree.
Use a planned service item when scope and price are fixed and you want variance control per line. Use a limit item when scope is open but budget is capped. In both cases, never let the invoice be the first record of the work. The SES is that record.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-86Walk me through how rebate agreements in SAP SD work, from accruals to settlement and billing?
The 90-second answer
A rebate agreement in SD is a contract with a customer that pays money back if billed sales reach an agreed volume, value or period target. You create it in VB01, the system accrues the expected rebate at billing, and at the end of the settlement period a settlement run calculates what the customer actually earned, clears the accrual, and issues a credit memo for the amount payable.
Three pieces decide the outcome: the condition type on the agreement, the accrual account determination, and the settlement billing type. Get those three right and the rest is volume selection and posting control.
How it is set up
In VB01 you set the agreement type, validity period, customer and material scope, and the condition records. The condition type, for example a percentage or a fixed amount per unit, carries the calculation rule. It also carries two flags that matter later: whether it is accrual relevant, and which account determination key it uses.
That account determination separates the P&L view from the balance sheet view. At billing, SAP posts the accrual to a balance sheet liability account for rebate accruals, with the offset to a rebate expense account in the P&L. The customer does not see this posting. Finance sees a liability building up as sales are billed.
At billing (VF01/VF03), EUR 1,000,000 of eligible sales at 5%:
Dr Rebate expense (P&L) EUR 50,000
Cr Rebate accruals (balance sheet) EUR 50,000If the condition type is not marked accrual relevant, no posting happens at billing. The rebate is then calculated only at settlement, which surprises Finance at period end because no liability was built during the period.
Accruals during the period
Accruals are calculated from billing documents, not from sales orders or deliveries. A sales order that has not been billed creates no accrual. A credit memo that reduces a billing document also reduces the accrual base, provided the billing type is included in the rebate relevant billing types for the agreement.
This is the most common source of a mismatch between Sales and Finance. Sales reports order intake, Finance reports billed sales, and only billed sales drive the accrual. Returns and credit memos posted after the accrual run will change the base and must be picked up by a subsequent settlement.
Settlement
At period end you run the settlement for one agreement in VBO1, or for many agreements in the collective run VB06. VBO3 displays a settlement document after it is created. SAP selects the billed sales in the settlement period that fall inside the agreement scope, applies the condition records, and compares the result with the accruals already posted.
Worked example, figures labelled as an example:
| Step | Amount |
|---|---|
| Accrued at billing on EUR 1,000,000 at 5% | EUR 50,000 |
| Eligible billed sales in settlement period | EUR 900,000 |
| Rebate actually earned at 5% | EUR 45,000 |
| Excess accrual to reverse | EUR 5,000 |
| Credit memo to customer | EUR 45,000 |
The settlement posting clears the accrual account and settles the difference through the P&L:
Settlement posting:
Dr Rebate accruals (balance sheet) EUR 50,000
Cr Rebate expense (P&L) EUR 5,000
Cr Customer clearing / credit memo EUR 45,000The EUR 5,000 excess accrual is reversed to the P&L. It is not billed back to the customer, because the customer never received that EUR 5,000. It was only an internal accrual.
If the earned rebate had been EUR 55,000 instead, the extra EUR 5,000 would be posted as additional expense at settlement, not at billing. That timing difference is normal and should be explained to Finance before they close the period.
Settlement billing
The settlement run creates a billing document according to the settlement billing type on the agreement. The standard outcomes are:
| Outcome | Billing document | When it is used |
|---|---|---|
| Credit memo | Credit memo | Earned rebate is payable to the customer |
| No billing document | None | Accruals exceeded the earned rebate, the excess is only reversed to the P&L |
| Invoice | Invoice | Partial settlements already paid exceed the final earned rebate, so the customer owes the overpayment back |
| Subsequent credit | Subsequent credit memo | Partial settlement during the agreement validity, with a final settlement still to come |
A credit memo reduces the customer receivable and can be offset in the payment run. If the agreement is set up for payment instead of a credit memo, the settlement amount is passed to the payment program. Do not mix both on the same agreement. The credit memo route is the default in most SD setups because it keeps the rebate inside SD billing and FI receivables.
Partial settlements use the subsequent settlement function VBO2. They pay out part of the accrual early and leave the agreement open. The final settlement then only settles the remaining period. If you run a final settlement and later post a credit memo for a return that belongs to the settled period, you need a subsequent settlement to correct it. The original settlement document is not changed.
Failure modes to check
A settlement that returns zero usually means the billing types, sales organisation or material scope on the agreement do not match the billing documents. Check the rebate relevant billing types first, then the condition records and their validity dates.
A settlement that pays more than Finance expected usually means returns or credit memos were excluded from the accrual base, or a partial settlement was run twice. Compare the eligible sales list from the settlement run with the billing document list in VF03 for the same period and scope.
An accrual account that does not clear to zero after settlement means the account determination key on the condition type differs from the key used at settlement, or a manual posting hit the same account. Reconcile the accrual account by agreement before you close the period.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-87A EUR 100,000 sales order has a billing plan milestone for a 30% down payment, the customer pays only EUR 20,000, and the final invoice is due: walk me through the down payment request, FI postings and final billing, and where it breaks?
The 90-second answer
A down payment in SD is three separate objects, and confusing them causes most of the problems I see in go-live support. The billing plan in the sales order says when money may be requested. The down payment request is the SD document you send to the customer. The FI down payment is the money actually received, posted with a special general ledger indicator so it does not hit revenue.
Take a EUR 100,000 order, net, no tax on the advance in this example, with a billing plan milestone of 30% on order acceptance flagged for a down payment request. The billing plan is maintained in the sales order header, billing plan tab, and copied from the billing plan type and date rule in customizing. It controls the milestone date, percentage and amount. It does not post anything.
From the sales order you create the down payment request. In standard S/4HANA SD this creates a billing document of type FAZ, down payment request. It shows EUR 30,000 due, it can be printed or sent, and it is not accounting relevant. No FI document, no revenue, no receivables balance in FI. That surprises finance teams, so I state it in the workshop before anyone asks why the customer balance has not moved.
The customer pays EUR 20,000, not EUR 30,000. FI posts that receipt with F-29, Down Payment Received, not F-28. F-29 posts the bank debit and credits the down payments received account in the customer master, with the special GL indicator for down payments, standard indicator A. The EUR 20,000 sits as an open down payment item, referenced to the FAZ request. Revenue is still zero. If you post it with F-28 instead, it lands on the normal receivables reconciliation account and the final invoice cannot clear it cleanly.
At final billing, VF01 creates the invoice, billing type F1, for EUR 100,000. Because an FI down payment exists, SD proposes a down payment billing document, type FAY, to clear it. The FAY document is accounting relevant. It debits the down payments received account and credits receivables for the amount actually paid, EUR 20,000. The F1 invoice itself debits receivables EUR 100,000 and credits revenue EUR 100,000. Net open item for the customer is EUR 80,000.
Worked trace
| Step | Document | Debit | Credit | Open customer item |
|---|---|---|---|---|
| Request | FAZ 30,000 | none in FI | none in FI | none |
| Receipt | F-29 20,000 | Bank 20,000 | Down payments received 20,000 | 20,000 down payment |
| Invoice | F1 100,000 | Receivables 100,000 | Revenue 100,000 | 100,000 receivable |
| Clearing | FAY 20,000 | Down payments received 20,000 | Receivables 20,000 | 80,000 receivable |
The EUR 10,000 shortfall is not a tolerance issue and not a billing block. It is simply unpaid. The remaining EUR 80,000 is due on the invoice terms. If the contract required full advance before delivery, that control belongs in the delivery block and credit settings, not in the down payment posting.
Where it breaks
Creating the FAZ twice is possible if users do not check the billing plan status. The second request does not create a second FI liability, but the customer receives two payment requests and pays the wrong one, then F-29 cannot be matched by reference. I check billing plan status and the FAZ document flow in VA03 before releasing a second request.
Cancelling the sales order or posting a credit memo after the F-29 receipt leaves an orphan down payment item. The credit memo in SD does not automatically reverse the FI down payment. Finance must clear or refund the special GL item in FI, otherwise the down payments received account keeps a balance after the order is gone. That is the reconciliation I run at month end: open down payment items with no open sales order.
Tax is the other trap. I assumed tax at final invoice above. In countries that tax advances, the FAZ and the F-29 receipt need tax handling at advance stage, and the final invoice must not tax the same amount again. That is a country and tax procedure decision, agreed with Finance before configuration, not a default I would leave in place.
If the final invoice is created before the F-29 receipt is posted, SD will not propose the FAY clearing document. Users then post the invoice, the customer pays the gross amount, and the down payment item stays open. The fix is to post the receipt first, then check the invoice proposal, or clear the down payment manually in FI with a documented reason. I would not let users force it by changing the billing type.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-88A sold-to has no discount record but sits under a customer hierarchy node that does, while a vendor under a vendor hierarchy node expects node payment terms on the PO. How does pricing find the node record in SD, and do MM payment terms inherit the same way?
The 90-second answer
In SD, a customer hierarchy can supply a price only if the pricing configuration searches it. A sold-to assigned to a hierarchy node does not automatically inherit the node's discount. The access sequence for the condition type must include the hierarchy level, and a condition record must exist for that node. In MM, a vendor hierarchy does not work the same way for payment terms. Assigning a vendor to a node groups the vendor for reporting and analysis. It does not copy node payment terms to a purchase order. PO payment terms come from the vendor master purchasing organisation view, or from an info record or contract when the PO is created from one.
SD trace: node discount with no sold-to record
Assume hierarchy type EU, level 10 is the node DE-SOUTH, and sold-to 1001 is assigned to it. No condition record exists for sold-to 1001 for discount condition type K007. A record exists for node DE-SOUTH. The order is created for sold-to 1001 in a sales area. Pricing procedure determination reads the customer pricing procedure for 1001 in KNVP for that sales area. For K007, SAP then searches the access sequence in order.
| Step | What SAP searches | Result in this case |
|---|---|---|
| 1 | Sold-to 1001 in the sales area | No record found |
| 2 | Hierarchy level, node DE-SOUTH, if included in the access sequence | Record found, discount applied |
| 3 | Further levels in the sequence, such as material or material group | Searched only if earlier steps found nothing and the sequence continues |
If step 2 is not in the access sequence, the node record is never read. The order prices at list and the node discount looks maintained but unused. Pricing analysis on the order shows each access sequence step and whether a record was found, which is the fastest way to prove which step fired.
Order of levels matters. Put sold-to before the hierarchy level when a specific sold-to record should win over the group record. Reverse that order only when the group price must override the sold-to price, and document the choice because users will ask why a sold-to record did not fire.
MM contrast: vendor hierarchy and payment terms
Vendor V is assigned to node GROUP-A in a vendor hierarchy. GROUP-A carries payment terms Z30, net 30 days. Vendor V's purchasing organisation view carries Z60, net 60 days. A PO is created for V in that purchasing organisation. The PO header proposes Z60 from the vendor master. The hierarchy assignment does not change it. If the PO is created from an info record or contract that carries different terms, those terms can be proposed instead, depending on the creation path and field control. The node terms still do not flow through automatically.
| PO field | Source | Node effect |
|---|---|---|
| Payment terms | Vendor master purchasing view, then info record or contract if used | None in standard PO creation |
| Incoterms | Vendor master, then info record or contract if used | None in standard PO creation |
| Price | Info record, contract, or manual entry | Hierarchy is not a price source |
| Grouping for reporting | Vendor hierarchy node assignment | This is the reliable use of the hierarchy |
Failure mode and fix
The typical MM complaint is that finance agreed Z30 at group level, but POs pay at Z60 and invoices pay late or early against expectation. The fix is to maintain Z30 in each vendor purchasing view, or to add explicit logic at PO creation that reads the node and writes the PO header. The second option needs a clear rule for which node wins when a vendor sits under more than one node, and it needs testing with a vendor that has no direct terms. Without that logic, the hierarchy remains a reporting structure. That is the core difference from SD, where the hierarchy can become a pricing source, but only through the access sequence.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-89Walk me through how MRP in SAP turns a sales order for 1,000 finished units into planned orders, and how MRP type and lot sizing change that result?
The 90-second answer
MRP in SAP PP is a netting and explosion run. It takes independent requirements (sales orders, forecasts, PIRs) and dependent requirements from BOM explosion, subtracts available stock and receipts, adds safety stock, and creates procurement proposals, usually planned orders, for the shortfall. You run it in MD01 for total planning across a plant, MD02 for single-item multi-level planning, or MD03 for single-item single-level planning, and you read the result in MD04.
Two settings decide what comes out. The MRP type in the material master MRP 1 view decides whether and how the material is planned. The lot sizing procedure in MRP 1 decides how a net requirement is grouped into order quantities. A planned order in PLAF is only a proposal. It becomes a purchase requisition, a production order, or a stock transfer requisition when a planner converts it, manually in MD04 or automatically with a conversion run.
Worked trace: one level, then explosion
Assume finished material FG-1000, plant 1010. Sales order needs 1,000 units on 15 June. On-hand stock is 200, safety stock is 100, no open receipts. BOM: 1 FG needs 2 of component COMP-A. Lot sizing is EX, exact lot size, for FG. For COMP-A, lot sizing is FX, fixed lot size 500.
| Step | Calculation | Result |
|---|---|---|
| FG gross requirement | Sales order | 1,000 |
| FG net requirement | 1,000 - 200 on-hand + 100 safety stock | 900 |
| FG planned order, EX | Order exactly 900 | 900, start date back-scheduled from 15 June |
| COMP-A dependent requirement | 900 x 2 | 1,800 |
| COMP-A stock and receipts | 300 on-hand, 0 receipts | 300 available |
| COMP-A net requirement | 1,800 - 300 | 1,500 |
| COMP-A planned orders, FX 500 | Round 1,500 up to fixed lots | 3 planned orders of 500 |
That last row is the interview point. EX gives one order for 900. FX gives three orders of 500 and leaves 0 excess here, but if the net requirement had been 1,501, FX would create 4 lots of 500, 2,000 units in total, because the procedure rounds up to the fixed size. Dynamic lot sizing, for example period lot size by month, would instead group all net requirements falling in June into one order, which suits a component with setup cost but creates a larger single order and more stock.
MRP types: the choice that matters
| MRP type | Meaning | Use it when |
|---|---|---|
| PD | MRP, material planned by MRP | Standard case for finished goods and components with sales or dependent demand |
| PB | PB MRP, planned by PB | You plan from planned independent requirements, for example forecast or a sales plan, and consume them with sales orders |
| P1 to P4 | Planning with forecast, variants differ in consumption of sales orders and PIRs | Make-to-stock or forecast-driven production where the forecast, not a specific sales order, drives the plan |
| VS, VB | Reorder point planning, with or without automatic replenishment | Low-value or stable-consumption materials where a reorder point is enough and full MRP is overkill |
| ND | No MRP | Spare parts or materials you deliberately exclude, they will never get a planned order from MRP |
A common failure is setting a component to ND because it is bought cheaply, then wondering why MRP never raises a requisition when the parent order explodes. The BOM explosion still creates the dependent requirement, but ND stops the procurement proposal. The shortage only shows up at goods issue. The reverse failure is PD on a material with no valid BOM, no lot size, or no procurement type in MRP 2. The run completes, MD04 shows a shortage, and no planned order appears. Check MRP 2 procurement type, F for external procurement or E for in-house production, before you blame the run.
Planned orders and conversion
A planned order has a start and finish date, a quantity from lot sizing, and a procurement type. It does not reserve stock, it does not create a commitment, and it can be replanned or deleted by the next run if the requirement disappears. That is why planners firm planned orders they intend to keep. Conversion is the decision point: a purchased component becomes a purchase requisition and then a PO, a manufactured item becomes a production order, and a material supplied from another plant becomes a stock transfer requisition. Automatic conversion exists, but in most plants a planner reviews the MD04 list first, because lot sizing and lead times are master data guesses until someone checks them against a real supplier or a real work centre load.
If the interviewer pushes on consumption, PB is the answer to give. Planned independent requirements are consumed backward and forward within the consumption periods in MRP 3, so a sales order inside the backward consumption period reduces the PIR quantity instead of creating a second requirement on top of it. Without that, forecast plus sales orders double count and MRP over-plans.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-90What happens to a phantom assembly when SAP explodes its BOM in MRP?
The 90-second answer
When SAP explodes a BOM in MRP, a phantom assembly is passed through. SAP creates no planned order, no production order and no stock for the phantom itself. Its components become direct requirements of the parent material, at the parent quantity multiplied through the phantom quantity.
BOM explosion is the level-by-level walk from the finished material down to the lowest component level. MRP uses that walk to turn a finished quantity into component requirements. A phantom is the one level in the walk that MRP does not plan as a material in its own right.
Worked explosion
Take 100 finished pumps, FG-100. Its BOM contains KIT-10, a seal kit marked as a phantom in the BOM item, at 2 per pump. The kit BOM contains BOLT-M6 at 4 per kit and GASKET-2 at 1 per kit. FG-100 also contains MOTOR-5 at 1 per pump.
| Level | Material | Qty per parent | Qty for 100 pumps | MRP result |
|---|---|---|---|---|
| 0 | FG-100 finished pump | 1 | 100 | Planned from sales or planned independent requirements |
| 1 | KIT-10 seal kit, phantom | 2 | 200 kits | No planned order, no stock |
| 1 | MOTOR-5 motor | 1 | 100 | Planned order or purchase requisition |
| 2 | BOLT-M6 bolt | 4 per kit | 800 | Planned order or purchase requisition |
| 2 | GASKET-2 gasket | 1 per kit | 200 | Planned order or purchase requisition |
The arithmetic is the explosion: 100 pumps x 2 kits x 4 bolts = 800 bolts. SAP does not create a requirement for 200 KIT-10 units. It creates requirements for 800 bolts and 200 gaskets directly under FG-100, because the phantom level is collapsed. CS12 shows this multilevel result for FG-100. CS11 shows one level at a time. In the MRP run, low-level codes sequence the planning so components at the lowest level are planned after every parent that uses them.
Phantom versus real subassembly
| Point | Phantom assembly | Real subassembly |
|---|---|---|
| --- | --- | --- |
| --- | --- | --- |
| Stocked in inventory | No stock record is built for it | Yes, with batch and serial history where activated |
| Own production order | No. Components are issued to the parent order | Yes. Its own order posts the subassembly to stock |
| MRP behaviour | Explodes through to components in the parent run | Planned independently, then consumed by the parent |
| Costing | Component costs roll into the parent | Costed as a semi-finished material, then used at that cost in the parent |
| Typical use | Kits and packaging groups never held in stock | A subassembly built ahead, tested separately, or held as spares |
The phantom flag sits on the BOM item usage, so the same material can be phantom in one BOM and a normal stocked item in another. That is a frequent workshop confusion. The flag describes how the material is used in that BOM.
Where it breaks in practice
A phantom that should be stocked removes traceability. Quality cannot trace a finished pump back to a kit batch because no kit batch ever existed. A real subassembly marked phantom by mistake removes its planned order, so the shop expects a subassembly that MRP never planned. Lead time is the other trap. Because the phantom has no order, its components inherit the parent start date. A bolt with a 6 week procurement lead time for a pump with a 2 week assembly lead time lands too late unless planned independent requirements or component lead time offset in MRP master data pulls the requirement forward.
To check a design, I run CS12 for the finished material, confirm the phantom level collapses, then check MD04 for a component to confirm MRP created the requirement at the parent level. If the phantom itself shows a planned order, the BOM item setup does not match the intended design.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-91A routing has parallel operations and a bottleneck work center at 140% load, yet confirmations show idle time. How do you explain capacity, sequence the operations, and fix the plan?
The 90-second answer
I would separate three things that are usually conflated: what the routing says should happen, what capacity planning says the work center can absorb, and what confirmations say actually happened. The routing, attached to the material master or production version, defines the operation sequence for a production order. Each operation points to a work center, carries setup and run time, a base quantity, and a capacity key. Capacity planning then turns those times into load on that work center for a period. Confirmations, posted with CO11N or the confirmation app, write back actual setup, run, yield and scrap, and consume the planned capacity. If load is 140% and the floor reports idle time, I do not start by adding shifts. I check whether the load is real, whether the sequence is forcing work to the wrong work center, and whether confirmations are posting to a different operation or capacity category than the plan assumed.
How the pieces connect
A routing is a sequence of operations, for example 0010 cutting, 0020 welding, 0030 assembly, 0040 test. Operation sequence numbers control the order, and you can model parallel operations, alternative sequences, and operations that are not relevant for scheduling or costing. The material master, through the production version, selects which routing and BOM to use for a given lot size range. When a production order is created, SAP copies the routing into the order, schedules the operations, and creates capacity requirements per operation and work center.
Work center capacity is not a single number. It is available capacity from the shift definition and factory calendar, minus downtime, divided across capacity categories such as machine, labor, or both. A work center can be set for finite scheduling, where SAP checks load and can delay the order, or infinite scheduling, where it always fits and overload only shows up later in CM01. That flag is a common cause of the symptom in the question.
Worked trace: why 140% can coexist with idle time
Assume a lot of 100 pieces. Operation 0020 welding has setup 60 minutes and run 2 minutes per piece. Planned time is 60 + (2 x 100) = 260 minutes. If the work center has 480 minutes available in the shift and two orders each plan 260 minutes, load is 520 minutes, or 108%. Add a third order and load reaches 780 minutes, or 163%. The arithmetic is straightforward. The diagnostic problem is that the 260 minutes may be split across a machine capacity category and a labor capacity category, and the confirmation may post all 260 minutes to labor while the plan loaded the machine. CM01 then still shows the machine overloaded, while the labor team is idle.
| Check | What I look at | What it tells me |
|---|---|---|
| Routing operation | Sequence, work center, capacity key, base quantity | Whether time is planned on the right resource |
| Order operations | Scheduled dates, operation status, split | Whether parallel or alternative sequence logic moved the work |
| CM01 and capacity load | Load by capacity category and period | Whether overload is machine, labor, or both |
| Confirmations | Actual setup and run per operation, yield, scrap | Whether actuals match the operation that consumed capacity |
| Work center master | Finite or infinite scheduling, shift, formula | Whether SAP was allowed to overload by design |
Confirmations and the failure modes
A confirmation closes the loop. It posts actual activity quantities, confirms yield, records scrap, and updates the operation status. If an operation is confirmed with a yield lower than planned, the remaining quantity still needs capacity. If a partial confirmation is posted, the remaining planned capacity stays open. If operators confirm on the wrong operation, or use a confirmation proposal that defaults to the first open operation, actuals land where the plan did not expect them. Another failure mode is confirming with a different work center or capacity category than the routing operation specifies, which happens after a work center change mid order. The order then shows variance that looks like a capacity problem but is really a master data and shop floor discipline problem.
I would also check lot size. Setup time is per lot, run time is per piece. If the routing base quantity is 1 and the order lot is 100, the formula must scale correctly. If someone changed the base quantity to 100 without adjusting run time, planned time collapses and the work center looks underloaded on paper while the floor is overloaded in reality. The reverse error creates phantom overload.
What I would change
First, fix the sequence if parallel operations are modeled as sequential, because that inflates lead time and pushes load into the wrong period. Second, move the bottleneck operation to the correct work center or split it across two work centers with a capacity split, rather than raising available capacity on paper. Third, set finite scheduling on the bottleneck work center so new orders cannot silently overload it, and accept that lead time will extend instead. Fourth, align confirmation practice so actuals post to the same operation and capacity category as the plan, and review unconfirmed operations weekly. Adding a shift only helps if the constraint is genuinely labor and the shift definition, factory calendar, and capacity category all reflect it. Otherwise you pay for capacity that CM01 reports as used and the floor experiences as idle.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-92Walk me through how you would set up employee master data and daily time recording for 500 factory staff on shifts, and what breaks if the work schedule or time type is wrong?
The 90-second answer
For 500 shift workers I would build the person once in HR master data, then let time recording only add facts about when they worked. In SAP HCM the person is a personnel number, and everything about them is stored as infotypes with validity periods. The core set is IT0001 Organisational assignment (personnel area, employee group and subgroup, cost centre, position), IT0002 Personal data, IT0007 Planned working time (daily and weekly hours, break rule), and IT0008 Basic pay (pay scale group and level). If IT0001 or IT0007 is wrong, time evaluation and payroll inherit the error, so I fix master data before I touch time entry.
Daily time comes in as IT2002 Attendances for worked time, IT2001 Absences for leave or sickness, and IT2005 Overtime. Workers enter it in CAT2 or the Fiori Manage Time Sheets app, a supervisor approves it, then time evaluation (driver RPTTM00) reads the work schedule, absences and attendances together and produces time types and quota deductions. Payroll (RPCALC00) then reads the evaluated results. That separation matters: CAT2 records what happened, evaluation decides what it means, payroll decides what it pays.
Worked trace
Assume a shift worker on IT0007 with 8.00 hours planned per day, 0.50 hours unpaid break, and a daily overtime threshold of 8.00 hours. The employee works 07:00 to 16:00, takes the break, and records 8.50 hours attendance.
| Step | Input | Evaluation result |
|---|---|---|
| Planned time from IT0007 | 8.00 h | Planned working time 8.00 h |
| Attendance IT2002 | 07:00 to 16:00 less 0.50 h break | Actual working time 8.50 h |
| Comparison | 8.50 less 8.00 | Overtime 0.50 h on IT2005 logic |
| Absence check | No IT2001 record | No leave deduction, quota unchanged |
| Payroll input | 8.00 h base plus 0.50 h overtime | Base wage type paid in full, overtime wage type at the agreed rate |
If the same person had an IT2001 absence for 8.00 hours that day and no attendance, evaluation would post absence time instead of attendance and deduct the leave quota. If both records existed for the same hours, evaluation would flag a collision and the time sheet would not release cleanly to payroll. That is the first check I run before payroll: no unresolved collisions, no missing work schedule, no unapproved time sheets.
Positive versus negative time recording
| Approach | What the employee enters | When it fits | Main risk |
|---|---|---|---|
| Positive time recording | Start, end, break and absence for every day | Factory shifts, hourly paid staff, overtime control | Missing entries block evaluation and payroll |
| Negative time recording | Only exceptions such as absence, overtime or a different shift | Salaried staff on a fixed schedule | Unrecorded overtime or a wrong IT0007 schedule goes unnoticed |
For factory staff I would choose positive recording. The business needs proof of presence for safety and pay, and overtime is frequent enough that exceptions alone would understate it. Negative recording is cheaper to run but depends entirely on IT0007 being correct for everyone, which is rarely true across shift patterns, part time contracts and public holiday calendars.
Where it breaks
The common failures are master data failures. A worker transferred to a night shift without IT0007 being delimited and re-created will be evaluated against the old day shift, so normal night hours appear as overtime or as missing time. A cost centre change missing from IT0001 sends the payroll posting to the old cost centre in CO, and Finance finds the variance at month end rather than at entry. A personnel number created twice, or an infotype record entered with overlapping validity dates, creates delimitation errors that stop evaluation for that employee.
I would also check the time type determination and the pairing of start and end times. A forgotten clock out, or a break recorded as paid when the break rule says unpaid, shifts 0.50 hours between base pay and overtime. On 500 employees that is 250 hours in a month, which payroll will pay incorrectly if evaluation is released without the exception report. My go live checks are therefore concrete: run evaluation for a test group covering each shift pattern, reconcile evaluated hours to approved time sheets, and only then release payroll.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-93How does SAP GRC detect a segregation of duties conflict when one user can maintain vendors and post invoices, and how do remediation and mitigation differ?
The 90-second answer
SAP GRC Access Control checks roles, not intentions. I define a risk rule with two conflicting functions. In this case, vendor maintenance and invoice verification. GRC expands the user's PFCG roles into the transactions and authorizations behind them, then reports a conflict if one user holds both functions. The business then chooses remediation, which removes the conflict, or mitigation, which leaves the conflict in place and covers it with a compensating control.
How GRC detects the conflict
Each function in a risk rule is a set of transactions and authorization objects. A simplified version for this scenario:
| Function | Example transactions | Capability |
|---|---|---|
| Vendor maintenance | FK01, FK02, XK01, XK02 | Create or change a vendor, including bank details |
| Invoice verification | MIRO, MRBR | Post or release a vendor invoice against a purchase order |
When I run a SoD analysis for a user, GRC reads the single and composite roles assigned to that user, expands them to functions, and compares them against every active risk rule. It reports the specific roles and functions that create the conflict, so the role owner can act on it.
Worked trace for one user:
| Step | Finding | Result |
|---|---|---|
| Roles assigned | Z_MM_BUYER and Z_AP_CLERK | Both roles present |
| Functions derived | Vendor maintenance from Z_MM_BUYER, invoice verification from Z_AP_CLERK | Both sides of the rule present |
| SoD analysis | Rule SOD-VENDOR-INVOICE matched | Conflict reported |
| Usage check | FK02 and MIRO both executed in the last 90 days | Violation in use, not only potential |
That last distinction matters. A potential conflict means the roles allow both functions. A violation in use means the user actually executed both. Auditors treat the second as evidence that the risk has already occurred.
Remediation versus mitigation
| Approach | What changes | Main trade-off |
|---|---|---|
| Remediation | Remove or split a role, or restrict it by company code or purchasing group | Cleanest control, but may slow work or leave cover gaps in a small team |
| Mitigation | Keep the roles and assign a compensating control in GRC with an owner and an expiry date | Keeps operations running, but creates ongoing monitoring and audit evidence |
A typical mitigation here is independent review of vendor bank changes by Finance before the next payment run. GRC records who owns the control, what it covers, and when it expires. When the expiry passes, the conflict shows as unmitigated again in reporting, which forces a decision instead of letting the exception fade.
I would present remediation as the default and mitigation as the exception. The fraud path in this pairing is direct: change the vendor bank account, post an invoice, receive payment. A detective review after payment catches the loss late. If the business cannot split the duties, I would push for a preventive step on the vendor change itself, such as approval in the vendor master workflow, and use the GRC mitigation to document the remaining risk until that is in place.
One check I always run before closing the analysis: custom transactions. GRC only evaluates a custom Z transaction if it is mapped to a function in the ruleset. A custom invoice posting transaction that is not mapped will not trigger the standard rule, so the conflict stays hidden. I check the roles involved for unmapped transactions in the same process area.
That gives the business the decision in concrete terms: what the conflict is, whether it has been used, and what covers it until the role design is fixed.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-94Which SAP tables store change documents that show who changed a field, when, and from what value to what value?
The 90-second answer
Change documents are stored in CDHDR and CDPOS. CDHDR is the header: one row per change event, with OBJECTCLAS, OBJECTID, CHANGENR, USERNAME, UDATE, UTIME, TCODE and CHANGE_IND. CDPOS is the detail: one row per field changed, with TABNAME, TABKEY, FNAME, VALUE_OLD and VALUE_NEW. Together they answer who changed what, when, and from what value to what value.
That only works if change documents are switched on for the object. The application must write them, usually through the standard CDHDR_UPDATE logic, or the table must have table logging activated. Without that, CDHDR has no row to find.
Worked trace
Hypothetical example, vendor 4711, field LFBK-BANKN changed by user JSMITH via XK02 on 2026-03-14 at 09:42:11.
| Table | Key fields | What it shows |
|---|---|---|
| CDHDR | OBJECTCLAS=KRED, OBJECTID=4711, CHANGENR=0000001, USERNAME=JSMITH, UDATE=20260314, UTIME=094211, TCODE=XK02, CHANGE_IND=U | One change event for that vendor |
| CDPOS | TABNAME=LFBK, TABKEY=4711DE, FNAME=BANKN, VALUE_OLD=DE89370400440532013000, VALUE_NEW=DE89370400440532013999 | The field, old value, new value |
| CDPOS | TABNAME=LFBK, TABKEY=4711DE, FNAME=BANKL, VALUE_OLD=37040044, VALUE_NEW=37040044 | Unchanged fields can also appear, depending on the application |
CHANGE_IND in CDHDR tells you the type of event: U for update, I for insert, E for delete, J for insert including deleted fields, D for delete including deleted fields. Read CDPOS in CHANGENR order and you can rebuild the value at any point in time.
Reading it in ABAP
Checked against S/4HANA 2023 Open SQL. This is the pattern I would use for an audit extract, not SELECT * on CDPOS.
SELECT SINGLE username, udate, utime, tcode, change_ind
FROM cdhdr
WHERE objectclas = 'KRED'
AND objectid = '4711'
ORDER BY udate DESC, utime DESC
INTO @DATA(ls_hdr).
SELECT tabname, fname, value_old, value_new
FROM cdpos
WHERE objectclas = 'KRED'
AND objectid = '4711'
AND changenr = '0000001'
INTO TABLE @DATA(lt_pos).In practice I would join CDHDR to CDPOS on OBJECTCLAS, OBJECTID and CHANGENR, restrict UDATE to the audit period, and page the result. CDPOS grows fast, so an unrestricted scan is the first thing that breaks.
Change documents versus table logging versus security audit log
| Mechanism | Where it lands | What it captures | Limit |
|---|---|---|---|
| Change documents | CDHDR, CDPOS | Field-level old and new values, user, date, time, transaction | Only for objects the application logs |
| Table logging | DBTABLOG | Full before and after image of a database table row | Must be activated per table in SE13, high volume, short retention |
| Security audit log | SM20, SM19 filters | Logon, failed logon, transaction start, read access if configured | Who did what in the system, not the field values changed |
Table logging is the fallback when the application does not write change documents. You activate it for a table in SE13, SAP writes before and after images to DBTABLOG, and you read them with the table logging evaluation tools. It proves a row changed, but it does not give you the clean FNAME, VALUE_OLD, VALUE_NEW view that CDPOS gives, and it costs storage on every update.
Failure modes I check first
No CDHDR row usually means the object class was never activated for that application, or the change was made by a program that bypasses the standard update logic. I check the OBJECTCLAS assignment and whether the change came through a BAPI, IDoc or direct table update, because those paths do not always write change documents the same way.
A second trap is retention and archiving. CDHDR and CDPOS are archived, so a missing row for an old period may be in the archive, not proof that no change happened. I state the archive status before I tell an auditor there is no record.
For read access, change documents do not help. That is SM20 read access logging, configured with SM19, and it records who read a sensitive object. Auditors often ask for both, and they are different questions.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-95Walk me through how you would set up SAP data archiving with ILM for FI documents subject to 10-year retention, a litigation hold, and a deletion request that arrives before the retention date?
The 90-second answer
I would separate three decisions that clients often merge: when data may be archived, when it must be kept, and when it may be destroyed. Archiving moves eligible data out of the database to an archive store and marks the original as archived. ILM, Information Lifecycle Management, governs the lifecycle after that, including retention, blocking and deletion. A legal hold overrides both. If a deletion request arrives before retention expires, or while a hold is active, ILM blocks deletion and logs the attempt. The data stays retrievable for audit until the hold is released and retention has passed.
In S/4HANA I would configure this in layers. First, the archiving object and its write, delete and reload programs, for example FI_DOCUMNT for FI documents, run through SARA with a job variant per object and company code. Second, ILM retention policies linked to the archiving object, with a retention period derived from the document date and a blocking period before deletion. Third, legal holds created in ILM for the affected company codes, document numbers or business objects, with a named owner and release process. No single user should be able to create a hold, release it and run deletion.
Retention, blocking and deletion in practice
Retention is not a date typed on the document. It is a policy: for German tax relevant FI documents, assume 10 years from the end of the posting year, so a document posted in March 2020 is retained until 31 December 2030. The policy is assigned to the archiving object, and ILM calculates the end of retention from the relevant date field. I would add a blocking period, for example 90 days after retention expires, during which deletion cannot run. That window catches late audits and gives Finance time to object.
SARA has three distinct steps and the order matters. Write creates the archive file. Delete removes the online data, and SARA only allows it after a successful write for that run. Reload restores archived data back to the database. Reload is a verification and recovery tool, not a prerequisite for delete. I would run reload on a sample in QA to prove retrieval works, but I would not gate production deletion on it.
ILM deletion is separate again. It destroys the archived copy once retention and blocking have passed and no hold exists. Mixing the SARA delete with ILM deletion is a common failure. The first reduces database size. The second is legally irreversible.
| Event | Online data | Archive copy | ILM action |
|---|---|---|---|
| SARA write succeeds | Still online | Stored | Retention clock starts |
| SARA delete runs | Removed, readable via archive | Stored | Retention clock continues |
| Retention not expired | Archived | Stored | Deletion blocked |
| Legal hold placed | Archived | Stored | Deletion blocked, hold logged |
| Hold released, retention expired | Archived | Stored | Eligible for deletion run |
| ILM deletion run completes | Archived | Deleted | Deletion logged with policy and run ID |
Worked trace
Assume a hypothetical FI document, 5105600001, posted 15 March 2020, EUR 48,000, company code 1000. Retention policy: 10 years to end of posting year, plus 90 day blocking period. Litigation hold placed 10 June 2026 for a tax dispute covering company code 1000 and fiscal year 2020.
| Date | Event | Result |
|---|---|---|
| 2021-06-01 | SARA write for FI_DOCUMNT | Archive file written, online data still present |
| 2021-06-02 | SARA delete for same run | Online BSEG data deleted, document still readable via archive |
| 2026-06-10 | Legal hold created in ILM | Hold ID LH-2026-014, owner Legal, scope FY2020 |
| 2027-02-01 | Business requests deletion under a data minimisation request | ILM blocks deletion, reason: retention until 2030-12-31 and active hold, attempt logged |
| 2030-12-31 | Retention expires | Blocking period runs to 2031-03-31 |
| 2031-04-15 | Hold released by Legal after dispute closes | Release logged, second approver confirmed |
| 2031-05-01 | ILM deletion run | Archive copy deleted, deletion certificate retained |
The subtle failure mode is a hold placed only on the online document. If the hold is not propagated to the archive store and to ILM, the archive copy can be deleted on schedule while Finance still needs it for the dispute. I would test this in QA by archiving a test document, placing a hold, running the ILM deletion job in simulation, and confirming the document is excluded. I would also test the reverse: hold released, retention expired, deletion runs, and the document is no longer retrievable, while the deletion log remains.
Controls I would hand over
Access to SARA, ILM retention policies and hold release needs segregation. The person who runs deletion should not release holds. Every deletion run should produce a log with archiving object, policy, period, number of objects deleted and run ID, stored outside the archive being deleted. I would also monitor archive growth and failed archive writes weekly. A failed write that still allows the delete program to run is the worst outcome, because the online data is gone and the archive is incomplete. The SARA sequence prevents that by requiring a successful write before deletion, and I would keep that sequence locked in production.
For retrieval, users need to know that an archived FI document is read only. They can display it through the archive information system or the standard document display with archive access, but they cannot reverse it. If Finance needs to correct an archived document, the correction posts as a new document in the current period. That constraint is exactly why retention and hold decisions have to be made before the first archive run, not after a dispute starts.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-96A CDS view returns 80 million billing rows to ABAP for aggregation. Why does pushing the filter and SUM into HANA via CDS usually beat adding a secondary index on HANA column store?
The 90-second answer
Pushing the filter and the SUM into the CDS view lets HANA scan only the columns it needs, in compressed column vectors, and return the aggregated rows. Adding a secondary index on a HANA column store table does not do that work. It helps a highly selective point lookup, and it costs memory and slows inserts and delta merges. For an 80 million row billing report, the win is returning thousands of aggregated rows to ABAP instead of 80 million detail rows.
Assume S/4HANA on HANA 2.0, a CDS view over VBRK and VBRP, and a report that filters by posting date and sales organisation. The slow version selects all fields, returns every row, and aggregates in an ABAP internal table. The tuned version filters and aggregates in CDS.
Why column store favours pushdown
HANA column store keeps each column in its own compressed vector. A query reading three columns from a 40 column table touches only those three vectors. That is projection pushdown, and it is why SELECT * in CDS is expensive even before row count matters. Vectorised execution then processes batches of values inside HANA, so SUM(netwr) over a filtered set runs without row by row ABAP logic.
Delta storage sits alongside that main compressed data. New and changed rows land in delta until a delta merge folds them into main. A table with a large delta scans both parts and merges results at query time. If the delta is 15 million rows on an 80 million row table, a delta merge usually helps more than any index. I check the delta ratio in HANA Cockpit and look for long running transactions that block the merge.
The CDS change
@AbapCatalog.sqlViewName: 'ZSD_BILLING_AGG'
define view ZSD_BILLING_AGG
with parameters
p_date : abap.dats,
p_vkorg : vkorg
as select from vbrk
inner join vbrp on vbrp.vbeln = vbrk.vbeln
{
vbrk.vkorg,
vbrp.matnr,
sum( vbrp.netwr ) as net_value : dec(15,2)
}
where vbrk.erdat >= :p_date
and vbrk.vkorg = :p_vkorg
and vbrk.fktyp = 'V'
group by vbrk.vkorg, vbrp.matnr;The date and sales organisation filter, the join, and the aggregation now execute in HANA. The Fiori app receives the grouped result. Parameters also keep the statement shape stable, which helps the plan cache compared with building SQL with literals in ABAP.
| Approach | What it changes | When it helps | Cost |
|---|---|---|---|
| --- | --- | --- | --- |
| --- | --- | --- | --- |
| --- | --- | --- | --- |
| --- | --- | --- | --- |
Push filter and SUM into CDS | Fewer columns scanned, fewer rows returned | Analytical reports over millions of rows | Requires the view to expose only needed fields |
| Delta merge | Folds delta rows into compressed main storage | Delta above roughly 10 to 20 percent of main | Merge needs memory and can be blocked by open transactions |
| Secondary index on column store | Faster selective lookup on indexed columns | Single document lookup in a custom table | Extra memory, slower inserts and merges, little help for scans |
Worked trace, labelled as an example
Before tuning, the SQL trace shows 80 million rows returned to ABAP and 45 seconds elapsed. After the CDS change and a delta merge, the same parameters return 12,000 grouped rows in 1.8 seconds. Most of that gain comes from the row count returned, not from a new access path. If the execution plan still shows a large intermediate result after pushdown, I check the join to VBRP and whether a filter on VBRK is missing, because that join is where the result explodes.
I would keep a secondary index out of this report. I would reserve it for a different pattern, such as a custom table queried by one key value, and I would prove it with the execution plan before and after. For this billing report, column pruning, filter pushdown, aggregation in HANA, and a clean delta are the levers that move the trace.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-97SAP sends a delivery for 100 units to an external WMS, which confirms only 60 shipped. How would you test that partial-shipment flow and reconcile SAP against the WMS?
The 90-second answer
I would test the partial shipment as a quantity reconciliation, not as a message check. SAP sends delivery 9000003 for 100 EA. The WMS confirms shipment S-771 for 60 EA shipped and 40 EA short. SAP should post goods issue for 60 EA only, leave the delivery open for 40 EA, and show sent 100, confirmed 60, posted 60, open 40. If SAP posts 100 EA, the test fails even if the confirmation message returned success.
Assume S/4HANA in QA, delivery and goods issue in SAP, and the WMS connected through Integration Suite or IDoc. Both sides log the same keys: SAP delivery number and item, material, batch, quantity and unit of measure, plus the WMS shipment ID.
Test data for this case
I use a fixed QA delivery so the trace is findable later. One material, MAT-100, maintained in EA, batch B1, plant 1000, storage location WMS1. The delivery is created for 100 EA with no delivery block and sufficient stock. The WMS test user is instructed to ship 60 EA and short-pick 40 EA, with a reason code for stock shortage. I run the same delivery twice: once against a stub WMS that returns the canned 60 EA confirmation, and once against the real WMS in its test client. The stub run proves the SAP logic quickly. The real run proves the mapping, units and batch handling.
| Step | SAP side | WMS side | Check |
|---|---|---|---|
| 1. Create delivery | 9000003, item 10, 100 EA, batch B1 | Not yet received | Delivery released, no block |
| 2. Send outbound | Outbound IDoc or iFlow trace created | Receives 100 EA, batch B1 | WMS quantity matches SAP |
| 3. Ship partial | No posting yet | Shipment S-771, 60 EA shipped, 40 EA short | Confirmation carries shipment ID |
| 4. Post goods issue | Movement 601, 60 EA | No further action | Posted quantity equals confirmed |
| 5. Reconcile | Delivery open for 40 EA | Shipment closed at 60 EA | Difference equals open quantity |
Reconciliation arithmetic
After the confirmation is processed, I compare the three totals for the same delivery item. The SAP posted total comes from the goods issue document:
-- QA client, goods issue 601 for the test delivery
SELECT vbeln, posnr, SUM(menge) AS qty_posted
FROM likp
JOIN lips ON lips.vbeln = likp.vbeln
JOIN mseg ON mseg.vbeln = lips.vbeln AND mseg.bwart = '601'
WHERE likp.vbeln = '9000003'
GROUP BY vbeln, posnr;The WMS export for S-771 gives shipped 60 EA. The check is then:
| Measure | Quantity |
|---|---|
| Sent by SAP | 100 EA |
| Confirmed by WMS | 60 EA |
| Posted in SAP (601) | 60 EA |
| Open on delivery | 40 EA |
That passes because confirmed equals posted, and sent minus posted equals open. If posted were 100 EA, the difference would be unexplained and stock, delivery status and any subsequent billing would all be wrong. I also check the delivery item status in VL03N. It should show partially delivered, not fully delivered, so a second shipment for the remaining 40 EA can still be planned.
Two failure modes worth adding to the same run
First, a duplicate confirmation. I resend S-771 with the same message ID. SAP should log it as a duplicate and post no second goods issue. The posted total must stay at 60 EA. Second, a unit mismatch. If the WMS confirms in PC while the material is in EA, SAP can post a wrong quantity without an error. I test that by confirming 60 PC against a material where 1 EA equals 1 PC in this case, then repeat with a material where the conversion differs, and confirm SAP either converts correctly or rejects the message. A partial shipment test that only checks the happy path will miss both defects, and both appear in production within the first weeks of go-live.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-98How do EDI transaction sets 850, 810 and 856 map to SAP purchase orders, invoices and deliveries?
The 90-second answer
850, 810 and 856 are X12 transaction sets for the buy side of procurement. 850 is the purchase order a buyer sends to a supplier, 856 is the advance ship notice the supplier sends back when goods ship, and 810 is the invoice the supplier sends for payment. In SAP that sequence lands as a purchase order, an inbound delivery with a goods receipt, and a logistics invoice verified in MIRO.
| X12 set | Meaning | Direction | SAP document | Usual SAP inbound IDoc |
|---|---|---|---|---|
| 850 | Purchase order | Buyer to supplier | Purchase order, tables EKKO/EKPO | ORDERS |
| 856 | Advance ship notice (ASN) | Supplier to buyer | Inbound delivery, then goods receipt | DESADV |
| 810 | Invoice | Supplier to buyer | Logistics invoice, then FI document | INVOIC |
How the mapping works in practice
SAP does not read X12 directly. An EDI subsystem or SAP Integration Suite converts X12 to an IDoc, and a partner profile in WE20 routes that IDoc to the right application. The conversion is where the field mapping lives, so a candidate should be able to point to the segment that carries the key number.
For an 850, the BEG segment carries the purchase order number and date, PO1 lines carry material, quantity and price, and N1 segments carry the ship-to and bill-to parties. Those map to EKKO header fields and EKPO item fields, including plant, delivery date and order price unit. If the vendor master or material master does not exist, the ORDERS IDoc posts with an error in WE02 and no PO is created. That is the first check in a failed 850.
For an 856, the BSN segment carries the shipment identification and ship date, HL loops carry the pack and item hierarchy, and TD5 carries carrier and routing detail. In SAP this becomes an inbound delivery in VL33N, linked to the PO item, with despatch advice number stored on the delivery. Posting the goods receipt against that inbound delivery in MIGO updates stock and creates the GR/IR clearing entry. A quantity on the ASN that exceeds the open PO quantity, or a material that does not match the PO item, blocks that step.
For an 810, the BIG segment carries invoice number and date, IT1 lines carry quantity and price per item, and TDS carries the total amount. The INVOIC IDoc posts a logistics invoice in MIRO. SAP then runs the three-way match against the PO price and quantity and the goods receipt quantity. A price variance inside tolerance posts and pays. A variance outside tolerance blocks the invoice for payment, and the block reason shows in MIRO and in the vendor line item.
Worked trace
A supplier sends an 850 with BEG00NE4500012345*20260501 and one PO1 line for 100 EA of material 100-200 at EUR 12.50. After conversion the ORDERS IDoc shows E1EDP01 with PO quantity 100 and net price 12.50. SAP creates PO 4500012345, item 10, order value EUR 1,250. The supplier ships 100 EA and sends an 856 referencing that PO. SAP creates inbound delivery 180000001 for 100 EA. Goods receipt posts 100 EA to unrestricted stock. The supplier then sends an 810 for EUR 1,250. MIRO compares invoice quantity 100 and price EUR 12.50 to the PO and to the GR quantity of 100, finds no variance, and posts the invoice. GR/IR clears to zero for that item.
Failure modes to name
Partner profile missing or wrong message type means the IDoc sits in WE02 with no application posting. Vendor or material not found means the IDoc posts but the PO, delivery or invoice does not. PO number on the 810 that does not match EKKO, or an ASN quantity that does not match the open PO quantity, means MIRO or goods receipt blocks. Each failure is detected in WE02 for the IDoc status, in WE05 for the partner, and in the application transaction for the blocked document, which is how you separate a conversion problem from a master data problem from a business variance.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-99Walk me through how you would decommission the legacy ECC system after S/4HANA go-live, covering legal data retention, audit reporting access, and the cutover steps before switch-off?
The 90-second answer
I would not switch ECC off at go-live. I would freeze it, prove S/4HANA holds the legal record, keep read-only reporting for the retention period, and decommission in stages with Finance, Tax and Legal signing each gate. The trap is treating decommissioning as an infrastructure task. It is a legal evidence task: if an auditor in year 7 cannot reproduce a 2026 invoice, GR/IR balance or tax filing from retained data, the system was decommissioned too early.
Assumptions I state up front: ECC 6.0 to S/4HANA on-premise or RISE, German entity so HGB/AO retention applies, and no separate historical warehouse already certified for audit use.
Retention before anything is deleted
I build a retention matrix by object, not by system. FI posting documents, tax-relevant SD billing and MM invoices: 10 years under AO/HGB. Commercial letters and non-tax records: 6 years. HR and payroll: separate rules and GDPR deletion duties. Each row names the legal basis, the clock start, the archive object, and the owner who can approve destruction.
In S/4HANA I use ILM and data archiving for live data, and for ECC I take a final archive plus a read-only copy. SAP ILM lets me set residence times and block deletion under a litigation hold. That matters because a deletion request or a hold can arrive after go-live. If I simply dump tables to flat files, I lose the audit trail, change documents and the ability to run a standard report the auditor asks for.
| Record | Retention clock | Retained where | Access after ECC off |
|---|---|---|---|
| FI document, tax invoice | 10 years from period end | S/4HANA ACDOCA plus ECC archive | Fiori / S/4HANA reporting, archive info system |
| Open item at cutover | Until cleared plus 10 years | S/4HANA, migrated open items | Standard FI open item list |
| SD order, delivery, billing | 10 years if tax relevant | S/4HANA plus ECC archive | VA03/VF03 equivalent in S/4HANA, archived view |
| Change documents CDHDR/CDPOS | With business object | Archive with object | Read via archive, not live ECC |
| Personal data, no retention duty | Until purpose ends | Delete per GDPR schedule | No reporting access |
Reporting access that survives
Auditors and Finance do not need live ECC. They need three things: a reproducible report, drilldown to the document, and proof the numbers tie to the filed return. I provide that in two layers. Layer one is S/4HANA for anything migrated: Universal Journal ACDOCA for FI/CO, and the migrated SD/MM history. Layer two is a read-only ECC archive system, network isolated, no posting users, with the same clients and authorisations for a small auditor role. I keep it until the last 10-year clock expires, then destroy it under ILM with a signed destruction log.
Before freeze I run a reconciliation pack and store the output with the archive. Example check, figures labelled as a worked example: ECC BSEG for company 1000, fiscal 2026, debit total EUR 48,210,440. S/4HANA ACDOCA same selection EUR 48,210,440. Difference EUR 0. I repeat it for credit, for open items at cutover, and for GR/IR. Any non-zero difference stops the gate.
-- ECC read-only archive: prove FI totals before freeze
SELECT BUKRS, GJAHR, SUM(DMBTR) AS debit_total
FROM BSEG
WHERE BUKRS = '1000' AND GJAHR = '2026' AND SHKZG = 'S'
GROUP BY BUKRS, GJAHR;Cutover sequence
Interfaces are the usual failure. I inventory every RFC, IDoc and file flow out of ECC, reroute or retire each one, and monitor for 60 days for stragglers. A partner still sending to ECC after freeze creates postings nobody sees in S/4HANA. I also block number ranges and batch jobs in ECC so a forgotten job cannot post into a closed period.
Two failure modes I name in the interview. First, open items and in-flight documents at cutover: a PO delivered in ECC but invoiced in S/4HANA breaks GR/IR unless the open PO history is migrated and tested. Second, a litigation hold placed on a vendor or customer after archiving: without ILM holds, a scheduled deletion job destroys evidence. I test both: create a hold, run the deletion job in simulation, and prove the record survives.
I decommission the hardware only when Legal signs that the last retention clock has run, the archive has passed an auditor retrieval test, and the destruction log is stored in S/4HANA. Until then, read-only ECC is cheaper than reconstructing evidence in year 8.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-100In week 6 of Realize, Procurement asks for a custom approval screen for requisitions over EUR 10,000, though the standard release strategy could cover it. How would you assess the request and present accept versus defer options, with cost and risk, to the steering committee?
The 90-second answer
I would log it as a change request against the signed scope, assess it against the standard release strategy that is already configured, and put two priced options in front of the steering committee: build the custom screen now, or defer it and use the standard approval at go-live. I would recommend deferral, because the control the buyers want already exists and the screen adds build, test and upgrade cost without adding a new control.
No build starts until the committee records a decision. That is the whole control. A verbal yes from a procurement manager does not release budget or change the plan.
How I assess this specific request
First I check the baseline. The fit-gap log should show whether a custom approval screen was in scope. If it was not, this is a change, even though the underlying approval requirement was in scope.
Then I test the standard. In S/4HANA the release strategy in the purchase requisition, with release groups, release codes and agent determination, already routes requisitions over EUR 10,000 to the right approver and records who released it. I would demo that flow to the buyers with their own requisition values. If the gap is only the look of the screen, not the approval logic, the functional gap is small.
Next I price the build properly. On S/4HANA Cloud, public edition, this is not a user exit in the core. It is an in-app extension or a side-by-side app on BTP, plus roles, workflow or release integration, and new UAT scripts. Figures below are illustrative for a mid-size rollout.
| Impact area | Finding for CR-047 |
|---|---|
| Functional | Standard release strategy covers approval and audit trail. Custom screen changes presentation only. |
| Technical | 25 to 40 person-days for the app, plus PFCG roles and testing of the release integration. |
| Test | New UAT scripts for two buyer groups, regression on the existing release strategy, retest across two sprints. |
| Training | Updated work instructions and super-user sessions for about 60 buyers. |
| Cost and date | About EUR 38,000 at a blended external rate, and 3 weeks if it sits on the UAT sign-off path. |
The options I present
| Option | Cost and timeline | Risk |
|---|---|---|
| Accept now | EUR 38,000, 3 weeks, drawn from contingency | Custom app to maintain on upgrade, clean core pressure, UAT delay if the build slips |
| Defer to Phase 2 | EUR 0 now, backlog item with owner and target release | Buyers use the standard Fiori release queue at go-live, and may build workarounds that are hard to unwind |
| Defer with workaround | About EUR 4,000 and 1 week to tune the release queue, tile and training | Less tailored screen, needs clear communication so buyers do not treat it as a temporary failure |
I recommend defer with workaround. The committee can still choose accept now, but it does so with the upgrade and testing cost on the page, not discovered later.
Failure modes I check before the meeting
Shadow scope is the first. I compare the change log with workbench requests in QA each week. If a transport for this screen is already in QA with no CR number, I stop it there and ask the committee to decide retrospectively, rather than letting it reach production untested.
The second is approval without test scope. If the committee accepts the build, the CR stays open until the regression scripts named in the assessment have passed and the results are linked to the CR. A build that passes only the happy path can still break the existing release strategy for requisitions under the threshold.
The third is contingency burn with no forecast. I report CR spend against contingency in person-days and euros at each steering meeting. If contingency falls below 15% while more than a third of Realize remains, I propose deferrals at that meeting instead of waiting for the next one.
Curated: · Written: · Reviewed: —
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.