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

Interview Questions

SD ABAP · Logistics ·

Open the interactive lesson →

All SD 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 · SD Overview, Organization Structure & Master Data

Q1. What is SD and which modules does it integrate with?

Sales and Distribution handles pre-sales, sales orders, shipping, billing and credit checks. It integrates with MM (stock, goods issue, purchase requisitions), FI (accounting document, receivables), CO (profit center, CO-PA), PP (requirements to MRP), LE (delivery, warehouse) and PS (WBS billing).

Q2. What is a sales area?

The combination of sales organization, distribution channel and division (table TVTA). Customer sales data (KNVV), prices and every sales document belong to exactly one sales area.

Q3. Can a sales organization belong to more than one company code?

No. A sales organization is assigned to exactly one company code; a company code can have several sales organizations. A plant also belongs to one company code, but it can deliver for sales orgs of other company codes (intercompany sales).

Q4. What is the difference between a plant and a shipping point?

The plant holds the stock (MM). The shipping point is the place that processes the outbound delivery; it is assigned to plants and determined from shipping condition, loading group and plant. One delivery has one shipping point.

Q5. How is the customer master handled in S/4HANA?

As a business partner in transaction BP with roles (FLCU00 company code data, FLCU01 sales data). CVI synchronises it with KNA1, KNB1 and KNVV, linked through CVI_CUST_LINK. XD01/VD01 redirect to BP.

Q6. Which tables hold customer data at the three levels?

General: KNA1 (address in ADRC, e-mail in ADR6, bank KNBK, tax KNVI). Company code: KNB1 (dunning KNB5, payment history KNB4). Sales area: KNVV (partner functions KNVP).

Q7. Which material master tables does SD read?

MARA general, MAKT descriptions, MVKE sales data per sales org and distribution channel, MARC plant data, MARD storage location stock, MBEW valuation, MARM units of measure.

Q8. What is a CMIR?

Customer-material info record (VD51–VD53, table KNMT): the customer's own material number and description plus defaults like delivering plant for one customer and material. It has priority when the delivering plant is proposed.

Q9. Name the four main partner functions and their internal keys.

Sold-to SP (AG), ship-to SH (WE), bill-to BP (RE), payer PY (RG). VBPA and KNVP store the internal keys, so SELECTs must use AG / WE / RE / RG.

Q10. How is the delivering plant determined in a sales order?

From the CMIR first, then the customer master (KNVV-VWERK), then the material master (MVKE-DWERK). The plant must be allowed for the sales org and distribution channel (TVKWZ).

Q11. What is a one-time customer?

A customer master of a one-time account group (CPD) shared by many occasional buyers; their name and address are entered in each document instead of creating a new master record.

02 · Order-to-Cash Process & Sales Documents

Q1. Explain the order-to-cash cycle with t-codes.

Inquiry VA11 → quotation VA21 → (contract VA41) → sales order VA01 → delivery VL01N → picking, packing and goods issue VL02N (movement 601) → billing VF01 / VF04 → accounting document and payment (F-28). VBFA links all documents.

Q2. Which tables store a sales order?

VBAK header, VBAP items, VBEP schedule lines, VBKD business data, VBPA partners, VBFA document flow; prices in PRCD_ELEMENTS (ECC: KONV) via VBAK-KNUMV. Delivery LIKP / LIPS, billing VBRK / VBRP.

Q3. What happened to VBUK and VBUP in S/4HANA?

They were removed. The status fields (GBSTK, LFSTK, FKSTK, CMGST …) moved into the header and item tables of each document: VBAK / VBAP, LIKP / LIPS, VBRK. Custom code reading VBUK / VBUP must be adapted.

Q4. How is the item category determined?

In VOV4 from sales document type + item category group of the material (MVKE-MTPOS) + usage + higher-level item category, e.g. OR + NORM → TAN, OR + BANS → TAS.

Q5. How is the schedule line category determined and what does it control?

In VOV5 from item category + MRP type (e.g. TAN + PD → CP). It controls delivery relevance, movement type, availability check and transfer of requirements.

Q6. What is copy control? Name the transactions.

Rules for creating a document with reference and what is copied: VTAA sales → sales, VTLA sales → delivery, VTFL delivery → billing, VTFA sales → billing, VTFF billing → billing. Copy requirements and data transfer routines are VOFM routines.

Q7. How do you find all deliveries and invoices for a sales order?

Read VBFA with VBELV = order number and VBTYP_N = 'J' (deliveries) or 'M' (invoices); or FM RV_ORDER_FLOW_INFORMATION; in the GUI the document flow in VA03.

Q8. What is the incompletion log?

A list of mandatory fields still missing in a document, from the incompletion procedure (OVA2). Stored in VBUV; incomplete documents listed with V.02; can block delivery or billing.

Q9. Explain the consignment process.

Fill-up KB moves our stock to the customer (special stock, not billed); issue KE bills what the customer used; pick-up KA brings unused stock back; returns KR takes issued goods back into consignment stock and credits the customer.

Q10. What is the difference between a third-party order and an intercompany sale?

Third-party: an external vendor ships directly to our customer (item TAS, purchase requisition, no outbound delivery). Intercompany: a plant of another company code of the same group delivers; the selling company invoices the customer (F2) and is invoiced internally (IV).

Q11. Difference between a cash sale and a rush order?

Both create the delivery immediately. A cash sale also prints the invoice immediately (order-related BV, paid in cash); a rush order is billed later from the delivery (F2).

Q12. How do SD and PS work together in a service contract?

Contract items are assigned to WBS elements that collect costs (service orders, networks, activities). Billing runs through debit memo requests (e.g. resource-related billing DP91) and corrections through credit memo requests.

03 · Pricing, Output, Credit & Other SD Functions

Q1. Explain the condition technique.

Fields from the field catalog form condition tables; an access sequence searches these tables in order; a condition type uses an access sequence; condition types are listed in a procedure; procedure determination picks the procedure for the document. The values themselves are condition records (VK11).

Q2. How is the pricing procedure determined?

In OVKK by sales organization, distribution channel, division, the document pricing procedure of the sales document type and the customer pricing procedure from the customer's sales area data (KNVV).

Q3. Where are the prices of a sales order stored, in ECC and in S/4HANA?

Under VBAK-KNUMV: in ECC in table KONV, in S/4HANA in PRCD_ELEMENTS. Condition records (master data) are in Annn → KONH / KONP.

Q4. What is the exclusive indicator in an access sequence?

When a valid record is found in one access, the search stops – later (less specific) tables are not read. Without it, the system continues and may find several records.

Q5. What are V/06, V/07 and V/08?

V/06 condition types, V/07 access sequences, V/08 pricing procedures (V/03 – V/05 condition tables). For account determination the same objects are V/09 – V/14.

Q6. How does SD find the revenue G/L account?

Account determination with condition type KOFI: the records in VKOA combine chart of accounts, sales organization, customer and material account assignment groups and the account key of the pricing line (ERL, ERS …). Blocked billing documents are released with VFX3.

Q7. What is NAST and what replaces it in S/4HANA?

NAST stores the output records (output type, medium, status) of ECC output determination configured in NACE. S/4HANA output management uses BRF+ decision tables (OPD) and stores output requests in the APOC tables.

Q8. Static vs dynamic credit check?

Static: exposure = open orders + open deliveries + open billing documents + open receivables against the limit. Dynamic: open order values are only counted up to a credit horizon date.

Q9. What changes in credit management in S/4HANA?

Classic FI-AR-CR (FD32, KNKA, KNKK) is replaced by SAP Credit Management: credit data on the business partner (UKM_BP, role UKM000), tables UKMBP_CMS and UKMBP_CMS_SGM, credit exposure UKM_ITEM and documented credit decisions. The SD check is still configured in OVA8.

Q10. What decides whether an availability check is done?

The checking group (material master), checking rule (transaction), scope of check (OVZ9) and the schedule line category. The confirmed quantity is in VBEP; requirements go to VBBE for MRP. S/4HANA adds aATP (backorder processing, product allocation).

Q11. What replaced SD rebate processing in S/4HANA?

Condition contracts in Settlement Management (WCOCO, settlement WB2R_SC). The rebate index VBOX is no longer needed; agreement table KONA belongs to the ECC solution.

Q12. VEKP vs VEPO?

VEKP is the handling unit header (HU number, packaging material, weight); VEPO is the handling unit item – what is packed in it (delivery item, material, quantity or a lower-level HU).

04 · SD for ABAP Developers – Exits, BAdIs, BAPIs & S/4HANA

Q1. Which user exits have you used in the sales order?

MV45AFZZ: USEREXIT_MOVE_FIELD_TO_VBAK / VBAP to default fields, USEREXIT_SAVE_DOCUMENT_PREPARE for checks before saving, USEREXIT_SAVE_DOCUMENT to write own tables, USEREXIT_PRICING_PREPARE_TKOMP for custom pricing fields, USEREXIT_FIELD_MODIFICATION for screen attributes.

Q2. Difference between USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT?

SAVE_DOCUMENT_PREPARE runs before the final checks – you can still change data or stop the save with an error. SAVE_DOCUMENT runs during saving when the document number is known – used to update own tables, no more messages to the user.

Q3. How do you add a custom field to the sales order?

Append the field to VBAK or VBAP, place it on screen 8309 / 8459 (Additional data B), handle it in MV45AOZZ / MV45AIZZ; for BAPIs add it to BAPE_VBAK(X) / VBAKKOZ(X). In S/4HANA prefer the Custom Fields app.

Q4. What is VOFM and why does it need an access key?

VOFM maintains numbered routines (requirements, formulas, data transfer) used by pricing, output and copy control. Customer routines (600 – 999) are stored in SAP includes, so the first change needs an access key. After transport, RV80HGEN generates them.

Q5. How do you add a new field to pricing?

Add it to KOMKAZ / KOMPAZ, add it to the field catalog, create a condition table and access sequence step, and fill it in USEREXIT_PRICING_PREPARE_TKOMK / TKOMP (order and billing).

Q6. Which BAdI do you use for deliveries?

LE_SHP_DELIVERY_PROC (change header / item, checks, save), LE_SHP_TAB_CUST_HEAD / ITEM for own tabs, LE_SHP_GOODSMOVEMENT for goods issue data.

Q7. Why is the order type 'TA' in BAPI_SALESORDER_CREATEFROMDAT2 and not 'OR'?

BAPIs work with internal values and do not run conversion exits. OR is the external (English) value of internal TA; the same applies to partner roles AG / WE (SP / SH).

Q8. What must you do after calling a sales BAPI?

Check RETURN for E or A messages; then BAPI_TRANSACTION_COMMIT with WAIT = 'X' or BAPI_TRANSACTION_ROLLBACK. Without a commit nothing is saved.

Q9. Which IDocs are used in SD?

ORDERS (inbound order, ORDERS05, FM IDOC_INPUT_ORDERS), ORDCHG, ORDRSP (order confirmation), DESADV (shipping notification, DELVRY), INVOIC (invoice, INVOIC02). Outbound ones are triggered by output types with medium 6 (ECC / NAST) or by the IDoc channel of S/4HANA output management.

Q10. Your old report reads VBUK and KONV. What changes in S/4HANA?

VBUK / VBUP are not filled: read the status fields from VBAK / VBAP (LIKP / LIPS, VBRK). KONV is replaced by PRCD_ELEMENTS. Even better: use released CDS views such as I_SalesOrderItem.

Q11. How would you extend the sales order in a clean-core way?

Custom Fields for new fields, Custom Logic or ADT implementations of released BAdIs (SD_SLS_…) for logic, released CDS views and APIs (API_SALES_ORDER_SRV, OData V4) for reading and integration – user exits and VOFM only when no released option exists (on-premise).

Q12. How do you find the document flow of an order in code?

Read VBFA with VBELV = order number for direct successors, or use SD_DOCUMENT_FLOW_GET for the whole chain; in S/4HANA also CDS views for the document flow.

05 · SD T-Codes & Tables Reference

Q1. Which tables link a sales order to its delivery and invoice?

VBAK/VBAP → VBFA (document flow) → LIKP/LIPS for the delivery and VBRK/VBRP for the invoice. VBFA holds preceding document VBELV/POSNV and subsequent document VBELN/POSNN.

Q2. Where is the overall status of a sales order in S/4HANA?

In VBAK itself (for example GBSTK overall status). VBUK/VBUP no longer exist; header status moved to VBAK, LIKP and VBRK, item status to VBAP and LIPS.

Q3. Where are the pricing conditions of a sales order or invoice?

Read with the condition number KNUMV from VBAK or VBRK: in ECC table KONV, in S/4HANA PRCD_ELEMENTS. Condition master records are in the Annn tables and KONH/KONP.

Q4. Which tables hold customer sales area data and partner functions?

KNVV for sales area data and KNVP for partner functions on the customer; VBPA for the partners of a document. In S/4HANA they are filled from the business partner through CVI.

Q5. Which t-codes set up pricing?

V/03 condition table, V/07 access sequence, V/06 condition type, V/08 pricing procedure, OVKK procedure determination; VK11 maintains the condition records.

Q6. Which t-codes show deliveries waiting for picking or goods issue?

VL06O (outbound delivery monitor), or directly VL06P for picking and VL06G for goods issue. VL10A lists sales orders that are due for delivery.

Q7. How do you release a credit-blocked order, in ECC and in S/4HANA?

ECC: VKM1 lists credit-blocked documents and releases them; S/4HANA: VKM1 is not available – UKM_MY_DCDS (documented credit decisions). Credit limits: FD32 (KNKK) in ECC, UKM_BP (UKMBP_CMS_SGM) in S/4HANA SAP Credit Management.

Q8. How do you find the output of a billing document?

Classic output: NAST with application V3 and the billing number as object key; re-send with VF31. S/4HANA output management: output requests in APOC_D_OR_ROOT, rules in OPD.