Which SAP S/4HANA data model changes break custom code most often, and how does each one show up in your code?
Say your answer out loud first.
Practise another way
Six come up in almost every conversion. Inventory moved to MATDOC, so MKPF, MSEG and stock tables are served by compatibility views. Finance moved to the universal journal ACDOCA, and BSEG holds only operational items.
Customers and vendors must be business partners. SD lost the status tables VBUK and VBUP. Pricing results moved from KONV to PRCD_ELEMENTS. And the material number grew to 40 characters. Reads often still work; writes, DDIC views and fixed lengths break.
1. Inventory management (MM-IM). Material documents are stored in MATDOC; MKPF and MSEG no longer get data, and stock quantities are calculated from documents.
SELECTs on MSEG or stock tables such as MARD are redirected to CDS compatibility views (for example the DDL source NSDM_DDL_MSEG).
Breaks: writes to MKPF/MSEG or stock fields, DDIC database views joining MSEG, slow mass reads through the views.
2. Finance: the universal journal. ACDOCA holds the line items for G/L, asset accounting, controlling, material ledger and profitability analysis.
BSEG remains for operational items (payables, receivables, tax, open items) and can be summarized. Breaks: Z reports that build balances from BSEG or from old totals tables.
3. Business partner. Customer and vendor master data is maintained through the business partner with CVI; the XD/XK/FD/FK maintenance transactions are replaced by BP. Breaks: BDC recordings on XD01/XK01, direct writes to KNA1/LFA1, custom fields on old customer/vendor screens.
4. Sales (SD).
- VBUK and VBUP are gone as data stores; status fields moved into VBAK/VBAP, LIKP/LIPS and VBRK.
- Document category VBTYP (1 character) is replaced by VBTYPL (4 characters).
- Index tables such as VAKPA and VAPMA are no longer used. Breaks: SELECTs on VBUK/VBUP, comparisons of VBTYP with literals.
5. Pricing. Results are stored in PRCD_ELEMENTS with longer fields; KONV stays only as a structure definition, and V_KONV_CDS is a read-only fallback view.
Breaks: SELECTs on KONV.
6. Field length extensions. The material number is 40 characters in the database (activation is a separate decision); amount fields can be extended too. Breaks: offsets, concatenations, fixed-length interfaces and files.
How it shows up. All six are covered by ATC checks in the S4HANA_READINESS variants, and several have quick fixes in ADT (VBUK/VBUP/VBFA, KONV, BSEG, VBTYP, material number, amounts).
Rule of thumb. Reads usually keep working thanks to compatibility views; writes, database-level access and length assumptions break. The released successors for ABAP Cloud are CDS views such as I_MaterialDocumentItem_2, I_JournalEntryItem, I_Customer and I_Supplier.
Lists the changes by area, says for each what still works and what breaks, and knows which have quick fixes.
Says 'tables were merged for HANA' without names, or claims every old SELECT stops working.
Claiming that all old tables are gone. Most still exist for reads; the real damage is in writes, DB views and length assumptions.
- Why does a SELECT on MSEG still return data?
- What happens to a custom field appended to VBUK?
- Why is BSEG not a full replacement for ACDOCA?
- Which of these changes has quick fixes?
6 official pages, 1 prep guide and 1 technical reference. Confidence: high. Checked 3 Dec 2026.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Technical reference Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Prep guide Gives the question.