Beyond ABAPdesigned by@Tejoram97
Beyond ABAP / PP ABAP / Interview Questions

Interview Questions

PP ABAP · Logistics ·

Open the interactive lesson →

All PP (Production Planning) interview questions in one place, grouped by page. Read the page when an answer needs more depth.

How to practise: cover the answer, say yours out loud in 30–60 seconds, then compare.

01 · PP Overview, Architecture & Organization Structure

Q1. What does PP cover and which sub-components does it have?

Planning and execution of production: basic data (BOM, work center, routing), S&OP, demand management, MPS, MRP, capacity planning, production orders (SFC), process orders (PP-PI), repetitive manufacturing and KANBAN.

Q2. Difference between discrete, process and repetitive manufacturing?

Discrete uses production orders with BOM and routing for changing lots; process (PP-PI) uses process orders with master recipes, resources and batches; repetitive (REM) plans quantities per period on a line and backflushes without individual orders, costs on a product cost collector.

Q3. What is the difference between MTS, MTO and ATO in planning terms?

MTS produces on forecast into anonymous stock (strategy 10/11). MTO plans only for a sales order in an individual customer segment (20). ATO plans components on forecast and final assembly on the sales order (40, 50, 70); the sales order consumes the PIRs.

Q4. What is an MRP area and why is it important in S/4HANA?

A planning unit inside a plant (plant, storage location or subcontractor type) with its own MRP settings per material (MDMA). In S/4HANA storage location MRP no longer exists, so separately planned storage locations and subcontractor stock are planned with MRP areas.

Q5. What is the MRP controller and where is it used?

A per-plant key (MARC-DISPO, T024D) for the person or group planning a material. It is the main selection field of MRP runs, MD04 / MD07 and the Fiori MRP apps, and is often used in authorization checks and custom reports.

Q6. How does PP integrate with CO?

The standard cost estimate uses BOM and routing with activity prices from the work center's cost center. The production order collects plan and actual costs (material from goods issue, activities from confirmations), then WIP and variances are calculated and the order is settled to stock or the sales order.

Q7. Which planning levels exist between S&OP and execution?

S&OP (IBP) → demand management (PIRs) → MPS (critical items) → MRP (all levels) → capacity planning or PP/DS → execution with production orders, process orders, REM or KANBAN.

Q8. Embedded PP/DS vs APO PP/DS?

APO PP/DS runs in a separate SCM system connected via CIF integration models. Embedded PP/DS runs inside S/4HANA with liveCache in SAP HANA, uses the same master data flagged for Advanced Planning and avoids a second system and replication.

Q9. Does MRP consider capacity?

No – classic MRP and MRP Live plan with infinite capacity and only schedule lead times. Capacity is checked afterwards with capacity evaluation and leveling (CM01, CM21) or with finite scheduling in PP/DS.

Q10. Which tables tell a production order from a process order?

Both are in AUFK / AFKO / AFPO; AUFK-AUTYP is 10 for production orders and 40 for process orders, and the order type (AUFK-AUART, e.g. PP01 / PI01) carries the detailed control.

Q11. As an architect, when would you propose embedded PP/DS or IBP?

Embedded PP/DS when finite, sequence-dependent scheduling of bottleneck resources is needed close to execution. IBP when the company needs collaborative S&OP, statistical forecasting and multi-plant supply planning. Plain MRP Live with capacity leveling stays the default for simpler plants.

02 · Master Data & Data Model

Q1. Which material master fields matter most for MRP?

MRP type (DISMM), MRP controller (DISPO), lot size (DISLS + limits), procurement type (BESKZ), special procurement (SOBSL), in-house production / planned delivery time, safety stock, strategy group (STRGR) and the BOM selection method – all in MARC (MDMA per MRP area).

Q2. Explain the BOM tables and how you read a BOM.

MAST links material, plant and usage to the BOM number and alternative; STKO is the header per alternative; STAS assigns items to alternatives; STPO holds the items. For multi-level explosion use CS_BOM_EXPL_MAT_V2 instead of own recursion.

Q3. What are BOM usage and BOM category?

Usage (STLAN) says which area the BOM is for – 1 production, 2 engineering, 5 sales, 6 costing. Category (STLTY) says what it belongs to – M material, K sales order, P WBS element, E equipment.

Q4. Which tables hold routings and how are they linked to the work center?

MAPL (material allocation), PLKO (header), PLAS (operation selection), PLPO (operations). PLPO-ARBID points to CRHD-OBJID, the internal work center key.

Q5. What is a production version and why is it mandatory in S/4HANA?

MKAL combines a BOM alternative and a routing for a lot-size range and validity. In S/4HANA MRP and order creation select BOM and routing only through the production version, so every produced material needs one; in ECC it was optional (BOM alternative also by lot size or date via MARC-ALTSL).

Q6. Name the production order tables.

AUFK master, AFKO header, AFPO item, AFVC / AFVV operations, RESB components, JEST status, AFRU confirmations; goods movements in MATDOC and costs in ACDOCA (ECC MKPF / MSEG and COEP).

Q7. How do you find whether a production order is released or technically completed?

Read JEST with the order's OBJNR (AUFK-OBJNR) and INACT = space: I0002 REL, I0045 TECO, I0046 CLSD. In code prefer function module STATUS_READ or the released view I_MfgOrderWithStatus.

Q8. What is the difference between PLAF and AFKO / AFPO?

PLAF is the planned order – an MRP proposal that MRP may change or delete. AFKO / AFPO is the production order – a binding execution document with operations, reservations and costs.

Q9. Which tables store PIRs?

PBIM (header per material, plant, requirements type, version) and PBED (schedule lines with date and quantity); history in PBHI.

Q10. What changed in the MRP tables in S/4HANA?

The planning file is one table PPH_DBVM; MRP Live does not write MRP lists (MDKP / MDTB); storage location MRP is replaced by MRP areas; stock comes from MATDOC.

Q11. Why should a custom report use CDS views instead of AFKO / PLAF?

Released views are a stable contract (upgrade-safe, cloud-ready), carry semantics and associations, work in public cloud where tables are not accessible, and push the joins to SAP HANA.

03 · Business Processes & Configuration

Q1. Walk through the make-to-stock process with t-codes.

PIR MD61 → MRP MD01N (ECC MD01) → evaluate MD04 → convert CO40 / CO41 → production order CO01 / CO02 → release CO02 / CO05N → goods issue 261 (MIGO or backflush) → confirmation CO11N → goods receipt 101 → WIP / variance / settlement KKAX, KKS2, KO88 → TECO and close.

Q2. What does MRP do for one material?

Net requirements calculation (stock + receipts − requirements − safety stock), lot sizing, procurement type decision, scheduling backwards from the requirement date and BOM explosion into dependent requirements for the next low-level code.

Q3. Difference between MD01 and MD01N?

MD01 is classic MRP in ABAP per plant, optionally writing MRP lists. MD01N is MRP Live: planned in SAP HANA, several plants with stock transfers in one run, no MRP lists, much faster; materials that cannot be planned in HANA fall back to the ABAP logic.

Q4. What are planning modes 1, 2 and 3?

1 adapts existing proposals, 2 re-explodes BOM and routing of existing proposals, 3 deletes and recreates all proposals.

Q5. What does MD04 show and where does the data come from?

All MRP elements of a material in date order with the available quantity – PIRs, sales orders, dependent requirements, planned and production orders, purchase requisitions and orders, stock. It is built at runtime from the documents, not from the MRP list.

Q6. Name the production order statuses and what TECO does.

CRTD, REL, PCNF / CNF, DLV, TECO, CLSD. TECO ends the order logistically: open reservations and capacity requirements are removed, but costs can still be posted and the order can be settled.

Q7. What is backflushing and where is it controlled?

Automatic goods issue (261) of components at confirmation of the operation they are allocated to. Controlled by the backflush indicator in the material master, work center or routing component allocation.

Q8. How does make-to-order differ from make-to-stock in the system?

The sales order creates a requirement in an individual customer segment; planned and production orders carry the sales order assignment; the product goes into sales order stock E and is delivered from there; settlement goes to stock (valuated) or the sales order.

Q9. How does repetitive manufacturing post production?

MFBF backflush: goods receipt of the assembly with movement type 131 and consumption of components with 261 in one step, costs on a product cost collector settled per period – no production orders.

Q10. Which customizing controls a production order?

Order type (OPJH) and its plant-dependent parameters (OPL8), scheduling parameters (OPU3), availability checking control (OPJK), confirmation parameters (OPK4), production scheduling profile (OPKP) and the control keys of the operations.

Q11. A confirmation was posted but the components were not issued – where do you look?

COGI: failed goods movements from confirmations / backflush (table AFFW), e.g. missing stock or a locked material. Fix the cause and reprocess there.

Q12. Does the MRP run check capacity, and what do you use instead?

No, it plans with infinite capacity. Lead time scheduling creates capacity requirements, which are evaluated with CM01 and leveled with CM21 / CM25 (S/4HANA: compatibility scope; apps Capacity Scheduling Table / Board), or scheduled finitely with embedded PP/DS.

04 · Integration, Reporting & Analytics

Q1. Which documents does a production order create from creation to settlement?

Creation: reservations (RESB), capacity requirements, purchase requisitions for external operations, planned costs. Release: inspection lot (type 03), staging. Goods issue 261 and goods receipt 101: material documents in MATDOC and accounting lines in ACDOCA (ECC MKPF / MSEG, COEP / BSEG). Confirmations: AFRU and activity costs. Period end: WIP or variances and settlement.

Q2. What is backflush and what happens when it fails?

Automatic goods issue 261 of components when their operation is confirmed, switched on in the material, work center or routing. Failed postings do not block the confirmation; they go to AFFW and must be reprocessed in COGI before period end.

Q3. Which movement types are used in production?

261 / 262 goods issue to the order and reversal, 101 / 102 goods receipt from the order and reversal, 531 by-product receipt, 311 transfer for staging; 543 / 541 in subcontracting.

Q4. How is an automatic goods receipt triggered?

By the control key of the operation (automatic goods receipt flag), usually on the last operation: confirming it posts 101 for the confirmed yield.

Q5. Which QM inspection types belong to production?

03 in-process inspection, lot created at order release with characteristics on routing operations; 04 goods receipt inspection from production, lot created at GR 101 with stock in quality inspection until the usage decision.

Q6. Explain WIP and variance calculation for a production order.

While an order is released but not delivered, debits minus credits are WIP and capitalized. Once it is delivered or TECO, WIP is reversed and variances (actual minus target costs, target cost version 0) are calculated by category; settlement (CO88) posts WIP to the balance sheet and variances to price difference accounts.

Q7. What is event-based production cost posting?

An S/4HANA approach that posts WIP, variances and settlement in real time with each goods movement, confirmation and final delivery instead of period-end runs. It is the standard in the public cloud (scope item 3F0); on-premise and private cloud mostly still run the period-end steps.

Q8. How does make-to-order integrate PP with SD?

The sales order item creates an individual customer segment in MRP; planned and production orders are assigned to the sales order item; the goods receipt goes to sales order stock E (MSKA) and the delivery is taken from it. With valuated stock the order settles to the material.

Q9. What is a production supply area and how does EWM stage components?

A PSA is the staging location near the line, mapped between S/4HANA and EWM. With advanced production integration the order release creates a production material request in EWM; pick parts are staged per order, release order parts across orders, crate parts by container replenishment.

Q10. How would you integrate S/4HANA with an MES?

Orders out at release (LOIPRO IDoc or production order API), confirmations and goods movements back through the confirmation API / BAPI or IDocs, events for status changes. For SAP Digital Manufacturing use the standard integration flows via SAP Cloud Integration and the Cloud Connector, and agree who posts goods movements so nothing is posted twice.

Q11. A user asks for a report of open production orders with components. What do you check first?

Whether COOIS (with a saved layout, list Components) or a Fiori app already covers it; if a field is missing, extend COOIS with BAdI WORKORDER_INFOSYSTEM. Only then build a custom report on released CDS views.

Q12. Why do custom reports based on MD05 / MDTB show old data in S/4HANA?

MRP Live does not write MRP lists (MDKP / MDTB). Live data must come from the stock / requirements list logic (MD04, its APIs) or released CDS views; the MRP cockpit apps replace the MRP list.

05 · Development & Extensibility

Q1. Which exits or BAdIs do you use to check a production order before it is saved?

Customer exit PPCO0007 (check or change header data at save) or BAdI WORKORDER_UPDATE method AT_SAVE, which can refuse the save by raising ERROR_WITH_MESSAGE. For release-specific checks WORKORDER_UPDATE~AT_RELEASE.

Q2. How do you change the goods movements posted at confirmation?

BAdI WORKORDER_GOODSMVT: method BACKFLUSH for component issues, GOODS_RECEIPT for the automatic GR, IM_CALLED to react to inventory errors. Alternatively pass adjusted GOODSMOVEMENTS to the confirmation BAPI.

Q3. Which customer exits exist for confirmations?

CONFPP01 default values, CONFPP02 / CONFPP04 input checks (04 may change the confirmation), CONFPP05 at save for own updates (no dialog, no error messages), CONFPP07 own subscreen. Plus BAdI WORKORDER_CONFIRM.

Q4. How do you post a confirmation with backflush from a program?

Call BAPI_PRODORDCONF_GET_TT_PROP with the order, operation and yield and PROPOSE-GOODSMOVEMENT = 'X' to get the backflush and GR movements, then BAPI_PRODORDCONF_CREATE_TT with the time tickets, goods movements and link table, check RETURN and DETAIL_RETURN, and commit with WAIT.

Q5. Your MD_CHANGE_MRP_DATA implementation stopped working after moving to MD01N. Why?

MRP Live plans in SAP HANA and does not call classic ABAP BAdIs. Port the logic to the AMDP BAdIs for MRP Live or force the materials to classic planning with MD_MRP_FORCE_CLASSIC; PPH_CHECK_MRP_ON_HANA shows which materials are planned classically (older releases; the report shows as obsolete in newer ones).

Q6. How do you add a custom column to COOIS?

Append the field to the COOIS list structure (e.g. IOHEADER for the header list) and fill it in an implementation of BAdI WORKORDER_INFOSYSTEM; the field then appears in the layout like a standard column.

Q7. Which BAPIs cover the production order lifecycle?

BAPI_PLANNEDORDER_CREATE, BAPI_PRODORD_CREATE_FROM_PLORD or BAPI_PRODORD_CREATE, BAPI_PRODORD_RELEASE, BAPI_PRODORDCONF_CREATE_TT, BAPI_PRODORD_COMPLETE_TECH – each followed by BAPI_TRANSACTION_COMMIT.

Q8. How do you explode a BOM in ABAP?

With CS_BOM_EXPL_MAT_V2 (application PP01, validity date, quantity, MEHRS = 'X' for multi-level); STB returns the items with level and quantity. Never write recursive SELECTs on STPO.

Q9. Which IDocs are used to connect an MES?

LOIPRO for production and process orders (also used by SAP Digital Manufacturing), LOIPLO for planned orders, LOIROU, MATMAS and BOMMAT for master data; confirmations come back via PPCC2PRETTICKET or the confirmation BAPI / API, goods movements via MBGMCR.

Q10. Which OData APIs would you use for a new MES integration?

API_PRODUCTION_ORDER_2_SRV to read orders, API_PROD_ORDER_CONFIRMATION_2_SRV for confirmations, API_PLANNED_ORDERS for planned orders, master data APIs for BOM, routing and work center – scenario SAP_COM_0104 – plus business events for status changes.

Q11. What are typical PP RICEFW objects?

Reports (backlog, shortages, MRP evaluations, WIP), MES and PLM interfaces, conversions of BOMs, routings, work centers and production versions, enhancements at order save and backflush, shop floor papers, and status-driven notifications.

Q12. How would you build the same order check in a clean-core way?

Use a released BAdI through Custom Logic or ABAP Cloud if one exists for the object; otherwise move the check to the integration layer or a side-by-side app on released APIs and events, and keep a classic BAdI only on-premise with a documented exception.

06 · S/4HANA, Cloud & Architect View

Q1. What are the main PP simplification items in S/4HANA?

MRP Live (MD01N) without MRP lists, the single planning file PPH_DBVM, MRP areas instead of storage location MRP, mandatory production versions, removed MRP creation indicators, SOP and long-term planning in compatibility scope with IBP and pMRP as successors, embedded PP/DS instead of APO, MATDOC and ACDOCA, 40-character material numbers.

Q2. What changes for custom code that reads MRP results?

MDKP / MDTB are not written by MRP Live, so such reports show old data. Read live data through the stock / requirements list API (MD_STOCK_REQUIREMENTS_LIST_API), API_MRP_MATERIALS_SRV_01 or released CDS views; planning file reads move to PPH_DBVM.

Q3. Why is the production version mandatory and how do you prepare for it?

S/4HANA selects BOM and routing only through the production version in MRP and order creation. Before conversion run CS_BOM_PRODVER_MIGRATION02 to generate missing versions; in greenfield load them with the Migration Cockpit after BOMs and routings.

Q4. When would you recommend embedded PP/DS, IBP, DDMRP or pMRP?

Embedded PP/DS for finite, sequence-dependent scheduling of bottlenecks; IBP for collaborative S&OP, statistical forecasting and multi-site supply planning; DDMRP for volatile demand with long lead times; pMRP for medium-term what-if simulation instead of long-term planning.

Q5. What is the difference between the editions for manufacturing?

On-premise and private cloud have the full PP scope (PP-PI, REM, KANBAN, PP/DS) with classic and clean-core extensibility. Public cloud offers standard scope items such as BJ5, BJE, BJH and BJ8, released extensibility only, event-based production accounting and valuated sales order stock only.

Q6. In which order do you migrate PP master data?

Material, work centers (after cost centers and activity types), BOMs, routings / master recipes, production versions, then PIRs. Open orders are usually completed in the legacy system or recreated.

Q7. How do you choose between discrete, process and repetitive manufacturing?

By the product and process: recipes, batches and quantities in kg or litres → PP-PI; stable high volume on lines → REM with period costing; changing lots with routings → discrete. A plant can mix them per material.

Q8. How would you design MRP areas for a plant?

Keep the plant MRP area as default; add storage location MRP areas only where a location must be planned separately (e.g. a remote spare-parts store) and subcontractor MRP areas for provided components. Each storage location belongs to at most one MRP area.

Q9. Which MES integration pattern would you choose?

With SAP Digital Manufacturing the standard integration (order IDocs out, APIs back) via Integration Suite and Cloud Connector; for a third-party MES the released OData APIs and events, IDocs where the MES expects them. In both cases one system owns goods movements and confirmations.

Q10. How do you keep PP developments clean-core?

Released CDS views for reading, released APIs and events for integration, released BAdIs or Custom Logic for logic, Custom Fields for fields, side-by-side apps on BTP; classic exits only on-premise with a documented exception and a plan to replace them.

Q11. What happens to SOP and long-term planning in S/4HANA?

They are compatibility scope with limited usage rights. The successors are SAP IBP for S&OP and demand / supply planning and predictive MRP for medium-term simulation.

Q12. What would you check first in a brownfield PP conversion?

The Readiness Check and simplification items (storage location MRP, production versions, MRP lists, compatibility scope usage), custom code reading MDTB, MDVM, MKPF / MSEG and COEP, classic MRP BAdIs that MRP Live will not call, and APO / CIF dependencies.