🌍 Why Real Scenarios in SAP Matter
Understanding real scenarios in SAP is the single most important skill that notice a practical SAP learner from a job-ready SAP consultant. You can memorise every transaction code, every table name, and every configuration menu — but if you cannot go through a complete end-to-end business process from start to finish, you will struggle in a real SAP implementation project. Real scenarios in SAP show you exactly how different modules connect together, which documents get created at each step, which tables get populated, which T-codes are used, and what happens when something goes wrong. This tutorial or document breaks down SAP real-world scenarios across Procure-to-Pay, Order-to-Cash, Record-to-Report, Hire-to-Retire, Plan-to-Produce, and more — with step-by-step process flows, document tables, and real ABAP code examples.
End-to-End Processes
Learn how SAP modules connect across real business cycles — from raw material purchase to customer invoice payment.
T-Codes at Every Step
Every scenario includes the exact transaction codes used at each step so you can practice in a real SAP system.
Tables and Documents
See which SAP tables get populated, which documents get created, and how data flows between modules at each step.
🛒 Procure-to-Pay (P2P) — Full Purchasing Cycle
The Procure-to-Pay process is the most commonly discussed real scenario in SAP MM interviews and implementations. It covers the complete journey from the moment a business identifies a need for goods or services all the way through to the payment of the vendor invoice. all Understanding every step of this cycle — including which SAP documents are created, which tables are updated, and which T-codes are used — is essential for any MM consultant or ABAP developer working in the procurement space.
In a real company scenario, imagine a manufacturing plant in Mumbai that needs to purchase 500 units of raw material (Steel Sheets — Material STEEL-001) from a vendor. The stores manager create a request, procurement processes it into a purchase order, goods are received from the vendor, and finally the finance team pays the vendor invoice. Here is exactly how this work out in SAP:
Steel Manufacturer — Raw Material Procurement Cycle
The stores department raises a Purchase Requisition for 500 units of STEEL-001 in plant 1000, storage location 0001. SAP creates a PR document and saves the request in table EBAN. The PR has no commitment of funds yet — it is just an internal request.
T-Code: ME51N (Create PR) · ME52N (Change) · ME53N (Display)The purchasing team sends a Request for Quotation (RFQ) to three shortlisted vendors. Vendor quotes are entered in SAP using ME47 and compared using ME49 (Price Comparison). The best-price vendor is selected for the Purchase Order.
T-Code: ME41 (Create RFQ) · ME47 (Enter Quotation) · ME49 (Price Comparison)A Purchase Order is created for 500 units at ₹450/unit from vendor STEEL-VENDORS-001. SAP saves the PO header in table EKKO and the line items in table EKPO. The PO number (EBELN) becomes the reference document for all subsequent steps. The PO is printed and sent to the vendor.
T-Code: ME21N (Create PO) · ME22N (Change) · ME23N (Display)The vendor delivers 500 units of STEEL-001. The warehouse team performs a Goods Receipt in MIGO with movement type 101 (GR against PO). SAP creates a Material Document in tables MKPF (header) and MSEG (items). Stock in MARD increases. Simultaneously, SAP automatically creates an accounting document in BKPF/BSEG: Debit Stock Account, Credit GR/IR Clearing Account.
T-Code: MIGO (Goods Receipt) · MB51 (Material Document List)The vendor sends an invoice for ₹2,25,000 (500 units × ₹450). The finance team posts the invoice in MIRO referencing the Purchase Order number. SAP performs a three-way match: PO quantity vs GR quantity vs Invoice quantity. If all match, the invoice is posted: Debit GR/IR Clearing, Credit Vendor Account. The vendor open item appears in table BSIK.
T-Code: MIRO (Invoice Verification) · MIR4 (Display Invoice)On the due date (based on payment terms NET30), the finance team runs the automatic payment program F110. SAP clears the vendor open item from BSIK and moves it to BSAK. The bank account is credited and the vendor account is debited. The P2P cycle is now complete.
T-Code: F110 (Automatic Payment) · F-53 (Manual Payment) · FK10N (Vendor Balance)| Step | SAP Document | T-Code | Tables Updated | Accounting Impact |
|---|---|---|---|---|
| 1 | Purchase Requisition | ME51N | EBAN | None (internal request) |
| 2 | RFQ / Quotation | ME41/ME47 | EKKO, EKPO (doc type AN) | None |
| 3 | Purchase Order | ME21N | EKKO, EKPO | Commitment created |
| 4 | Goods Receipt (101) | MIGO | MKPF, MSEG, MARD, MBEW | Dr: Stock / Cr: GR/IR |
| 5 | Invoice Verification | MIRO | BKPF, BSEG, BSIK | Dr: GR/IR / Cr: Vendor |
| 6 | Vendor Payment | F110 | BKPF, BSEG, BSAK | Dr: Vendor / Cr: Bank |
Real Interview Tip: In P2P interviews, always mention the three-way match in MIRO — PO quantity, GR quantity, and Invoice quantity must all match. If they do not match, SAP blocks the invoice and creates a variance posting. This is one of the most common real-scenario questions in SAP MM interviews.
🚚 Order-to-Cash (O2C) — Complete Sales Cycle
The Order-to-Cash process is the mirror image of Procure-to-Pay but on the sales side. It covers everything from the customer placing an order all the way through to receiving payment for the goods or services delivered. O2C is the core scenario for all SAP SD consultants and is always tested in SAP SD interviews. In a real company, imagine a pharmaceutical company receiving a bulk order from a hospital chain for 1,000 boxes of medicines.
Pharma Company — Hospital Bulk Order Sales Cycle
The hospital submits an inquiry for 1,000 boxes of Medicine-MED001. The sales team creates a Quotation (document type QT) with a validity of 30 days, price ₹850/box. The quotation is stored in VBAK (header) and VBAP (items). The customer can accept or negotiate this quotation.
T-Code: VA11 (Inquiry) · VA21 (Quotation) · VA23 (Display Quotation)The hospital confirms the order. A Sales Order (document type OR) is created with reference to the quotation. SAP copies the data automatically. The sales order is saved in VBAK (header) and VBAP (items), with schedule lines in VBEP. SAP performs an availability check (ATP) and confirms the delivery date. Credit limit check is also performed against the customer's credit limit.
T-Code: VA01 (Create SO) · VA02 (Change) · VA03 (Display)On the scheduled delivery date, the warehouse creates an outbound delivery (document type LF) referencing the sales order. The delivery is stored in LIKP (header) and LIPS (items). The warehouse team performs picking — selecting the 1,000 boxes from their storage bins — and confirms the picked quantity in VL02N.
T-Code: VL01N (Create Delivery) · VL02N (Change / Pick / PGI)PGI is the critical step where the inventory is officially reduced and ownership transfers to the customer. In VL02N, the warehouse manager clicks Post Goods Issue. SAP creates a material document (MKPF/MSEG) with movement type 601. Stock in MARD decreases. An accounting document is automatically created: Debit Cost of Goods Sold (COGS), Credit Finished Goods Inventory. After PGI, the delivery document is no longer editable.
T-Code: VL02N (PGI) · MB51 (Material Document List)After PGI, the billing department creates a customer invoice (document type F2) referencing the delivery. SAP copies all data from the delivery and calculates prices using the pricing procedure. The billing document is stored in VBRK (header) and VBRP (items). An accounting document is created: Debit Customer Account (AR), Credit Revenue Account.
T-Code: VF01 (Create Billing) · VF02 (Change) · VF03 (Display)The hospital pays the invoice of ₹8,50,000 within 30 days. The finance team posts the incoming payment using F-28, clearing the customer open item from BSID to BSAD. The O2C cycle is complete. The entire document chain can be traced using the Document Flow (VBFA table) in VA03 or VF03.
T-Code: F-28 (Incoming Payment) · FBL5N (Customer Line Items) · VF03 (Document Flow)| Document | Type | Header Table | Item Table | Link Table |
|---|---|---|---|---|
| Sales Order | OR | VBAK | VBAP | VBFA |
| Delivery | LF | LIKP | LIPS | VBFA |
| Material Doc (PGI) | 601 | MKPF | MSEG | — |
| Billing Document | F2 | VBRK | VBRP | VBFA |
| Accounting Doc (AR) | DR | BKPF | BSEG / BSID | — |
Key SD Fact: In SAP SD, you can view the entire O2C document chain from any document using the Document Flow button (Shift+F5 in VA03, VF03, etc.). All links between sales orders, deliveries, billing documents, and accounting documents are stored in table VBFA — the most important navigation table in SD.
📒 Record-to-Report (R2R) — Month-End Financial Close
The Record-to-Report process covers everything from recording daily financial transactions to generating the final financial statements at the end of an accounting period. This is the core scenario for SAP FICO consultants and is directly linked to every business transaction in other modules — every goods receipt, every customer invoice, every payroll run creates accounting entries that must be reconciled and reported. Let us walk through a real month-end close scenario for an Indian manufacturing company.
Step 1 — Daily Transaction Recording
Throughout the month, every business transaction in MM, SD, HR, and PP automatically creates FI accounting documents. A GR in MIGO creates a BKPF/BSEG entry. A billing document in VF01 creates a BKPF/BSEG entry. A payroll run creates salary postings. Manual journal entries are posted using FB01 for items like bank charges, depreciation provisions, and accruals. All of these entries flow into the General Ledger using transaction code FB50.
Step 2 — Account Payables and Receivables Reconciliation
Before month-end close, the finance team reconciles all open items. For Accounts Payable, the team uses FBL1N to list all vendor open items and checks that every purchase invoice (posted via MIRO) has a corresponding payment or is within its payment terms. For Accounts Receivable, FBL5N is used to check all customer open items and chase overdue invoices. The reconciliation account balance in the G/L (SKA1/SKB1) must match the sub-ledger totals exactly — this is a critical SAP control.
Step 3 — Asset Depreciation Run — AFAB
Fixed asset depreciation is calculated and posted automatically using transaction AFAB. SAP reads all asset master records from the Asset Accounting module (AA), calculates depreciation according to the depreciation key configured for each asset, and posts a journal entry: Debit Depreciation Expense, Credit Accumulated Depreciation. This posting appears in BKPF/BSEG and affects the G/L balances for the period.
Step 4 — Foreign Currency Revaluation — FAGL_FC_VAL
For any open items in foreign currencies (customer invoices in USD, vendor invoices in EUR), SAP revalues these at the month-end exchange rate using FAGL_FC_VAL. Exchange rate gains and losses are posted automatically. This is a critical step for any company with international transactions.
Step 5 — Period Close and Financial Statements — S_ALR_87012284
Once all transactions are recorded and reconciled, the period is closed using OB52 (close posting periods for normal postings). The financial statements are generated using S_ALR_87012284 (Balance Sheet) and S_ALR_87012285 (Profit and Loss). The SAP system produces these reports directly from the G/L balances stored in FAGLFLEXA (S/4HANA) or GLT0 (ECC).
| Task | T-Code | Description | Tables |
|---|---|---|---|
| Manual Journal Entry | FB01 / FB50 | Post manual G/L entries, accruals, provisions | BKPF, BSEG |
| Vendor Open Items | FBL1N | Review all open AP invoices by vendor | BSIK, BSAK |
| Customer Open Items | FBL5N | Review all open AR invoices by customer | BSID, BSAD |
| G/L Line Items | FBL3N | Review all G/L account postings | BSIS, BSAS |
| Asset Depreciation | AFAB | Run periodic depreciation for all assets | BKPF, BSEG, ANLA |
| GR/IR Clearing | F.13 / MR11 | Clear GR/IR account differences | BKPF, BSEG |
| FX Revaluation | FAGL_FC_VAL | Revalue foreign currency open items | BKPF, BSEG |
| Close Period | OB52 | Close accounting period for posting | T001B |
| Balance Sheet | S_ALR_87012284 | Generate Balance Sheet report | FAGLFLEXA / GLT0 |
| P&L Statement | S_ALR_87012285 | Generate Profit & Loss Statement | FAGLFLEXA / GLT0 |
Real Project Tip: In SAP implementation projects, the month-end close checklist is a critical deliverable. A typical FI month-end close has 30–50 steps that must be completed in a specific sequence. The most common real-world issue is the GR/IR clearing account — goods received but not yet invoiced, or invoices posted without a matching GR, create balances on the GR/IR account that must be cleared or explained every month.
👥 Hire-to-Retire (H2R) — Employee Lifecycle in SAP
The Hire-to-Retire process covers the complete lifecycle of an employee in SAP — from the moment they are hired until they retire or leave the organisation. This scenario is essential for SAP HR (HCM) consultants and is increasingly important as organisations move to SAP SuccessFactors integrated with core HR. Let us walk through a real scenario of hiring a new Finance Manager at a large Indian conglomerate.
Hiring a Finance Manager — Complete HR Lifecycle
The HR team uses PA40 to hire the new Finance Manager. They select action type "Hiring" (01) and enter the start date. SAP creates a personnel number (PERNR) and automatically opens the relevant infotypes in sequence. Infotype 0000 (Actions) is the first record created, stored in table PA0000.
T-Code: PA40 (Personnel Actions) · PA30 (Maintain HR Master Data)The HR administrator fills in the core infotypes: IT 0001 (Org Assignment — position, cost centre, company code), IT 0002 (Personal Data — name, date of birth, gender), IT 0006 (Address — home address for payslip), IT 0007 (Planned Working Time — work schedule), and IT 0008 (Basic Pay — salary, pay grade). Each infotype record has a validity period (BEGDA to ENDDA) allowing the complete history of all changes to be tracked.
T-Code: PA30 (Maintain HR Master Data) · PA20 (Display)The HR team assigns the employee to the correct position in the organisational hierarchy using PPOME. The Finance Manager position is linked to the Finance department org unit, which is linked to the Finance Director position above it. All org structure data is stored in HRP1000 (object names) and HRP1001 (relationships).
T-Code: PPOME (Maintain Org Structure) · PP01 (Maintain Plan Data)At month end, the payroll run calculates the employee's gross salary, applies all deductions (PF, ESI, professional tax, income tax TDS), and produces the net pay figure. The payroll results are stored in cluster tables (RT, CRT). After simulation and verification, the payroll is posted to FI — creating accounting entries: Debit Salary Expense (CO cost centre), Credit Salary Payable.
T-Code: PC00_M40_CALC (Payroll Run India) · PC00_M40_CEDT (Payslip)Two years later, the Finance Manager is promoted to Finance Director. HR runs a "Promotion" action in PA40. IT 0001 is updated with the new position, IT 0008 is updated with the new salary. The old records are delimited (ENDDA set to the day before the change date) and new records created from the promotion date — preserving the complete history.
T-Code: PA40 (Personnel Action — Promotion/Transfer)On retirement, HR runs a "Leaving" action (10) in PA40 with the last working day as the end date. All infotypes are delimited to the leaving date. The final payroll run calculates the last month's salary plus any gratuity and leave encashment. The employee is archived and the personnel number is locked for further changes.
T-Code: PA40 (Leaving Action) · PU00 (Delete Payroll Results for Testing)Key HR Concept: Every infotype record in SAP HR has a validity period defined by BEGDA (Begin Date) and ENDDA (End Date). When you change data — for example, a salary change — SAP does not overwrite the old record. Instead, it creates a new record from the change date and sets the ENDDA of the old record to the day before. This gives you a complete audit history of every change ever made to employee data.
🏭 Plan-to-Produce (P2P) — Manufacturing Order Cycle
The Plan-to-Produce process covers the full manufacturing cycle in SAP PP — from demand planning and Material Requirements Planning (MRP) through production order execution and goods receipt of the finished product into stock. This scenario is essential for any SAP PP consultant or ABAP developer working in manufacturing industries. Let us walk through a real scenario at an automotive parts manufacturer producing 200 units of a gearbox assembly.
Step 1 — Sales & Operations Planning (SOP) — MC81
The planning team creates a demand plan for 200 gearbox assemblies (GEAR-ASSY-001) for the next month using Sales and Operations Planning (MC81). This creates a Planned Independent Requirement (PIR) in table PBIM. The PIR tells MRP that 200 units will be needed and triggers the planning run.
Step 2 — Material Requirements Planning (MRP) — MD01N
The MRP controller runs the planning run using MD01N. SAP explodes the Bill of Materials (BOM from STKO/STPO) and checks current stock levels (MARD) against the requirements. For items below the reorder point, SAP automatically creates Planned Orders for production and Purchase Requisitions for purchased components. The planning result can be viewed in MD04 (Stock/Requirements List).
Step 3 — Production Order Creation — CO01
The production supervisor converts the Planned Order into a Production Order using CO01 or CO40. The production order contains all the routing operations (from PLPO) and the complete component list from the BOM (STPO). The production order is stored in tables AUFK (order header) and AFKO (order-specific data). Components are reserved in warehouse using table RESB.
Step 4 — Goods Issue to Production Order — MIGO (261)
Before production starts, the warehouse issues all raw material components to the production order using MIGO with movement type 261. For example, 200 gear shafts, 400 bearings, and 200 gear housings are issued. Each goods issue creates a material document (MKPF/MSEG) and reduces stock in MARD. The cost of the issued materials is charged to the production order.
Step 5 — Production Confirmations — CO11N
As production progresses, the machine operator confirms completed quantities at each work centre operation using CO11N. This records the actual labour time and machine time spent. The actual costs (labour, machine, overhead) are posted to the production order using the activity type rates configured in CO. The order status changes from REL (Released) to CNF (Confirmed) as operations are completed.
Step 6 — Goods Receipt of Finished Goods — MIGO (101)
When all 200 gearboxes are assembled, the production team performs a Goods Receipt against the production order using MIGO (movement type 101). The finished goods stock in MARD increases by 200 units. An accounting document is created: Debit Finished Goods Inventory, Credit Production Order (settling the production costs). The production order is then settled and closed using KO88.
| Step | Activity | T-Code | Key Tables |
|---|---|---|---|
| 1 | Demand Planning (PIR) | MD61 / MC81 | PBIM, PBED |
| 2 | MRP Run | MD01N / MD02 | MDVP, MDTB (planned orders) |
| 3 | Production Order | CO01 / CO40 | AUFK, AFKO, AFPO |
| 4 | Goods Issue (261) | MIGO | MKPF, MSEG, MARD, RESB |
| 5 | Production Confirmation | CO11N | AFRU (confirmations) |
| 6 | Goods Receipt (101) | MIGO | MKPF, MSEG, MARD |
| 7 | Order Settlement | KO88 | BKPF, BSEG, COEP |
💻 Real ABAP Development Scenario — Custom Report
In every SAP implementation, standard reports do not always meet every business requirement. A very common real scenario in SAP ABAP development is building a custom Purchase Order aging report that shows all open purchase orders along with how many days each PO has been open, the total value, and the GR status. This type of report is requested in almost every MM implementation. Here is the real ABAP code pattern used for this scenario:
"Real Scenario: Purchase Order Aging Report "Shows all open POs with days open and GR status REPORT zpo_aging_report. TYPES: BEGIN OF ty_po, ebeln TYPE ekko-ebeln, "PO Number lifnr TYPE ekko-lifnr, "Vendor bedat TYPE ekko-bedat, "PO Date matnr TYPE ekpo-matnr, "Material menge TYPE ekpo-menge, "Order Qty wemng TYPE eket-wemng, "GR Qty netpr TYPE ekpo-netpr, "Net Price days_open TYPE i, "Days PO is open END OF ty_po. DATA: lt_po TYPE TABLE OF ty_po, ls_po LIKE LINE OF lt_po, lv_today TYPE sy-datum. lv_today = sy-datum. "Step 1: Read open purchase orders from EKKO + EKPO SELECT ekko~ebeln ekko~lifnr ekko~bedat ekpo~matnr ekpo~menge ekpo~netpr FROM ekko JOIN ekpo ON ekpo~ebeln = ekko~ebeln INTO TABLE @lt_po WHERE ekko~bstyp = 'F' "Purchase Orders only AND ekko~loekz = ' ' "Not deleted AND ekpo~elikz = ' '. "Delivery not completed "Step 2: Calculate days open and add GR qty from EKBE LOOP AT lt_po INTO ls_po. ls_po-days_open = lv_today - ls_po-bedat. "Get total GR quantity from purchasing history SELECT SUM( menge ) FROM ekbe INTO @ls_po-wemng WHERE ebeln = @ls_po-ebeln AND vgabe = '1'. "Goods Receipt transactions MODIFY lt_po FROM ls_po. ENDLOOP. "Step 3: Display using ALV Grid CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'ZTY_PO' TABLES t_outtab = lt_po.
This pattern of joining EKKO and EKPO then enriching with EKBE data is used in almost every real SAP MM project. The same approach can be extended to check vendor performance, procurement analytics, or budget consumption reporting. In a real project, you would also add selection screen parameters (company code, plant, date range, vendor) and use a field catalogue for the ALV display.
Real ABAP Best Practice: Always use SELECT with JOIN in a single database call rather than nested SELECT inside LOOP — this is called a "SELECT in LOOP" antipattern and causes serious performance issues on large data volumes. In real projects, a PO table can have millions of records and a single SELECT inside LOOP can make a report run for hours instead of seconds.
⚠️ Real Error Scenarios in SAP — How to Resolve Them
One of the most practical aspects of understanding real scenarios in SAP is knowing how to handle real errors that occur in live systems. Every SAP consultant will encounter these errors repeatedly in their career. Understanding why they occur and how to fix them is what makes a good consultant great.
Error 1 — "No Goods Receipt Possible" When Creating MIRO
This error occurs when the finance team tries to post an invoice in MIRO but the GR has not yet been posted against the Purchase Order. The root cause is that the PO has the GR-Based Invoice Verification flag (WEBRE) set in EKPO, meaning SAP requires a goods receipt before an invoice can be posted. The solution is to first post the GR in MIGO (movement type 101) referencing the PO, and then post the invoice in MIRO.
Error 2 — Credit Block on Sales Order (VA01)
In a real O2C scenario, when the sales team tries to create a sales order for a customer who has exceeded their credit limit, SAP automatically places a credit block. The sales order is saved but cannot proceed to delivery. The credit block must be released by an authorised person using VKM3 (Release Sales Orders). In the meantime, the customer's finance controller should review the overdue invoices and either collect payment or request a temporary credit limit increase via FD32 (Change Customer Credit Data).
Error 3 — "Account Determination Error" in MIGO or VF01
This is one of the most common real errors in SAP FI integration. It occurs when SAP cannot find the correct G/L account to post to because the account determination configuration in OBYC (for MM transactions) or VKOA (for SD billing) is incomplete. The fix requires an FI/MM or FI/SD consultant to go to the relevant configuration transaction, identify the missing combination of valuation class, transaction key, and chart of accounts, and add the correct G/L account assignment.
Error 4 — Payroll Not Running — Locked Infotype
During a monthly payroll run, if an employee record is locked (the lock indicator is set in PA0003 — Payroll Status), the payroll program will skip that employee and log an error. This commonly happens when an HR administrator is in the middle of editing an infotype for an employee while payroll is running. The solution is to have the administrator unlock the record in PA0003 or wait until the next payroll run after the infotype change is saved and completed.
| Error | Module | Root Cause | Resolution T-Code |
|---|---|---|---|
| GR-Based Invoice Verification block | MM/FI | Invoice posted before GR | MIGO (post GR first) |
| Credit block on sales order | SD/FI | Customer exceeded credit limit | VKM3 (release credit block) |
| Account determination error | FI/MM | Missing G/L account mapping | OBYC / VKOA |
| Three-way match variance | MM/FI | Invoice qty ≠ GR qty | MIRO (partial matching) |
| Payroll locked infotype | HR | Infotype locked during payroll | PA0003 (unlock) |
| MRP no planned orders created | PP | Missing MRP type in MARC | MM02 (MRP 1 view) |
| Document type not permitted | FI | Wrong fiscal year variant | OB29 (fiscal year) |
| PGI not possible — stock missing | SD/MM | Insufficient stock in storage loc | MB52 (warehouse stock) |
🔗 Real SAP Cross-Module Integration Scenarios
The true power of SAP is how all modules work together seamlessly. In a real SAP implementation, no module works in isolation. Understanding cross-module integration scenarios is what separates a module-specialist consultant from a true SAP solution architect. Here are the most important cross-module integration points that occur in every real SAP project.
MM-FI Integration — Automatic Account Determination
Every goods movement in SAP MM (MIGO) automatically creates a financial accounting document in SAP FI without any manual intervention. When you post a Goods Receipt (movement type 101), SAP uses the account determination configuration to automatically identify the correct G/L accounts to debit and credit. The valuation class of the material (stored in MBEW-BKLAS) is combined with the transaction/event key in table T030 to find the G/L account. This automatic integration means that the warehouse team can post goods movements without any knowledge of financial accounting — SAP handles all accounting automatically.
SD-FI Integration — Billing to Accounting
When a billing document is released to accounting in VF01, SAP automatically posts a financial accounting document. The revenue G/L account is determined from the condition type in the pricing procedure (table VKOA). The customer's reconciliation account (stored in KNB1-AKONT) is automatically used as the accounts receivable posting account. No manual journal entry is needed — the entire FI impact of a customer sale is handled automatically by the SD-FI integration.
PP-CO Integration — Production Order Costing
Every production order in SAP PP is automatically costed in CO. When a Goods Issue is posted to the production order (movement type 261), the cost of the materials is charged to the order. When a confirmation is posted (CO11N), the actual labour and machine time costs are charged. At month-end, the production order variance (difference between planned cost and actual cost) is settled to the product cost collector using KO88. All of this happens automatically through the PP-CO integration without any separate journal entry.
HR-FI Integration — Payroll Posting
After the payroll run is completed and approved, the payroll results are posted to Financial Accounting using transaction PC00_M40_CIPE (for India). This creates accounting entries for salary expense per cost centre (from IT 0001), deductions payable, and net pay payable to the bank. The cost centre information from HR Infotype 0001 is directly used to distribute payroll costs across different departments in CO — this is the HR-CO integration that allows management to see exact departmental labour costs.
| Integration | Trigger | Config Table | Result in FI |
|---|---|---|---|
| MM → FI | Goods Movement (MIGO) | T030 (OBYC) | Auto accounting document (BKPF/BSEG) |
| SD → FI | Billing (VF01) | VKOA | Revenue + AR accounting document |
| PP → CO | GI/Confirmation/Settlement | CSSL | Cost posted to production order (COEP) |
| HR → FI | Payroll Posting | T52EK | Salary expense per cost centre |
| MM → CO | Purchase Order (ME21N) | EKKN | Commitment posted to cost centre |
| PS → CO | WBS actual posting | PRPS | Project cost posted to COEP |
🎯 Real SAP Scenario-Based Interview Questions
SAP interviews — especially for mid-to-senior level consultant positions — heavily focus on real scenarios. Interviewers do not want to know if you can define what a Purchase Order is. They want to know if you can handle a real business situation in SAP. Here are the most commonly asked scenario-based interview questions and how to approach each answer.
| Module | Scenario Question | Key Points in Answer |
|---|---|---|
| MM | A vendor invoice is blocked in MIRO. How do you investigate and resolve it? | Check three-way match (PO qty, GR qty, Invoice qty). Check tolerance limits in OMR6. Check GR-based IV flag in PO item. |
| SD | A customer's sales order is saved but the delivery cannot be created. What are the possible reasons? | Credit block (VKM3), availability check failure (MD04), delivery block in sales order, incomplete data check (V_UC). |
| FI | The GR/IR clearing account has a large unexplained balance at month-end. What do you do? | Run MR11 to check GR/IR differences. Check EKBE for unmatched GR and IR documents. Report to business for write-off or follow-up. |
| CO | A cost centre is over-budget in the middle of the month. What reports do you run and what actions do you take? | Run KSB1 (cost centre actual line items). Compare with plan in KSB2. Identify large postings. Advise department to submit budget supplement request. |
| HR | An employee's salary was not processed in this month's payroll run. How do you investigate? | Check payroll log in PC_PAYRESULT. Check lock status in PA0003. Check if IT 0008 is valid for the payroll period. Run payroll simulation. |
| PP | MRP ran but did not create planned orders for a material. What could be wrong? | Check MRP type in MM02 (MRP 1). Check if material has PIR or sales order as demand. Check lot size procedures. Check plant-specific settings in MARC. |
| ABAP | A custom report is running very slowly on the production system. How do you optimise it? | Check for SELECT in LOOP (antipattern). Add database indexes. Use parallel cursor technique. Use HANA-optimised OPEN SQL. Check SM50 for long-running processes. |
Interview Strategy: When answering any SAP scenario question, always use the STAR method — Situation (describe the scenario), Task (what needed to be done), Action (exactly which T-codes, tables, or configuration steps you used), Result (how the issue was resolved or the process completed). Interviewers are looking for specific T-codes and table names — generic answers will not impress an experienced SAP interviewer.
📋 SAP Real Scenarios — Master Reference Table
The table below is your complete quick reference for all major SAP end-to-end real scenarios. Use it as a revision guide before interviews, as a reference during implementation projects, and as a training resource when learning a new SAP module.
| Scenario | Module | Process | Key T-Codes | Key Tables |
|---|---|---|---|---|
| Procure-to-Pay | MM / FI | PR → RFQ → PO → GR → IR → Payment | ME51N, ME21N, MIGO, MIRO, F110 | EBAN, EKKO, EKPO, MKPF, MSEG, BSIK |
| Order-to-Cash | SD / FI | Quotation → SO → Delivery → PGI → Billing → Payment | VA01, VL01N, VF01, F-28 | VBAK, VBAP, LIKP, VBRK, VBFA, BSID |
| Record-to-Report | FI / CO | Postings → Reconciliation → Close → Report | FB01, AFAB, OB52, S_ALR_87012284 | BKPF, BSEG, FAGLFLEXA, GLT0 |
| Hire-to-Retire | HR | Hire → Master Data → Payroll → Promote → Leave | PA40, PA30, PC00_M40_CALC | PA0001, PA0002, PA0008, HRP1000 |
| Plan-to-Produce | PP / MM / CO | PIR → MRP → Prod Order → GI → Confirm → GR → Settle | MD01N, CO01, MIGO, CO11N, KO88 | AUFK, AFKO, MKPF, MSEG, COEP |
| Invoice-to-Pay | FI / MM | Invoice receipt → 3-way match → Approval → Payment | MIRO, F110, FK10N | BKPF, BSEG, BSIK, BSAK |
| Asset Lifecycle | FI-AA | Capitalise → Depreciate → Transfer → Retire | AS01, AFAB, ABUMN, ABAVN | ANLA, ANLZ, ANEP, BKPF |
| Intercompany Sales | SD / MM / FI | SO (co A) → PO auto (co B) → Delivery → ICO billing | VA01, ME21N, VF01 | VBAK, EKKO, VBRK, BKPF |
| Return-to-Vendor | MM | Return Delivery → Credit Memo → Vendor credit | MIGO (122), MIRO credit | MKPF, MSEG, BKPF, BSEG |
| Credit Memo to Customer | SD / FI | Return SO → Return Delivery → Credit Billing | VA01 (RE), VL01N, VF01 (G2) | VBAK, LIKP, VBRK, BSID |
📘 Related SAP Tutorials
SAP All Tables List
Complete reference to 100+ SAP database tables across all modules with key fields.
Read TutorialSAP Table Relationships
How SAP tables connect using primary keys, foreign keys, and document flows.
Read TutorialSAP FICO Training 2026
Complete FI/CO module guide with configuration, scenarios and interview prep.
Read Tutorial