SAP S4HANA Technical Part 2 - Old & New Tables Confusion
SAP S4HANA Technical Part 2 - Old & New Tables Confusion
SAP S4HANA Technical Part 2 - Old & New Tables Confusion
Part 2
– Old & New Tables Confusion
On high-level SAP has re-engineered the platform in S/4 HANA to maximize
the in-memory capabilities of HANA database. Although there has been some
drastic change, still S/4 HANA does not need Greenfield Implementation. Do
not be scared of the term Greenfield. Greenfield means barren, clean lands
where you can do anything you want i.e fresh SAP S/4 Implementation. We
just introduced a jargon used in SAP i.e Greenfield. 🙂
S/4 HANA is being promoted by SAP as Simple SAP. They say S/4 HANA
Business Suite would revolutionize the way we did business. It would make
everything Simple. S/4 HANA brings in transactional simplicity, advanced
analytics, innovation, and enhancement of the functionality as compared to
traditional SAP ERP.
S/4 HANA provides a new data model by removing old tables, aggregate
tables, and index tables to create fewer columnar-based tables and deliver a
real single version of the truth. Tables MATDOC and ACDOCA are two
examples of this simplicity. SAP S/4HANA is designed with an SAP Fiori
integrated user experience that provides users with instant insight and
works on any mobile device. It offers real-time operational analytics on
the SAP ERP platform thus reducing the dependency on SAP Business
Warehouse (SAP BW) reporting.
Getting rid of aggregate and index tables allow for the reduction of data
footprint because calculations for transactions are performed on the
database layer instead of the traditional application layer on an ad hoc basis.
So, as per our understanding, S/4 HANA brings forth changes in the Data
Model, which in turn provides the Simplification.
The scary thoughts which every ABAPer has when they hear, HANA has made
the index tables and aggregate table obsolete and redundant.
Thankfully, SAP did not waste your effort. All those programs would still
continue to function as designed?
But how?
SAP has created Compatible Views for those tables with the same name.
So, your report would recalculate the same values as the tables would have
done (since the view name is same as the table) and your report would work
in the new S/4 HANA world too.
Having said that the old Reports would continue working, we might no longer
need some custom reports as that functionality might be available in S/4
HANA as standard. Or we might also need to re-write the old Report even
though it is working to make use of the speed of HANA and/or use the new
tables available which would improve the process and the performance.
On one hand, SAP claims to eliminate redundant Document Index Tables viz
VAKPA, VAPMA, VLKPA, VLPMA, VRKPA, VRPMA etc.
BUT WHY DO THEY CONTINUE TO
POPULATE THESE TABLES FOR NEW
TRANSACTIONS?
Isn’t it still creating those extra footprints? We have no answer to it as of
now. Maybe some expert would put the explanation in the comment section.
Now let us contradict the above theory that SAP has created Views with the
same name as the tables which they have marked as Obsolete in S/4 HANA.
Most of the tables have the corresponding View so the reports using those
tables still continue to work as the view namesake does the trick and
redirect at database layer and pull the correct data from the database.
KONV is empty in S/4 HANA. Unlike MKPF, BKPF which are still populated for
new transactions in S/4 HANA along with MATDOC and ACDOCA
tables, KONV/KONP are not populated at all, neither for the old data
nor for new transaction data. PRCD_ELEMENTS is the single source of
truth for condition records.
So if you are moving to S/4 HANA, one task is confirmed for you. You are
bound to make changes to all custom codes where KONV/KONP is used for
the Select query. 🙂
Later we found that SAP has created a CDS View for KONV. It is christened
as V_KONV_CDS. But why have they NOT named the view same as the
table name i.e KONV? That way, it would have saved the ABAPer from
correcting all the Select Queries.
Look how they have created CDS View with the same name as the previous
transparent table for BSIS.
Before we close today, let us talk about LSMW.
If R/2 to R/3 gave birth to LSMW then ECC to S/4 HANA gave birth to SAP
Rapid Data Migration and S/4 HANA Migration Cockpit. Details of these tools
would follow up in some other articles.
On a separate note, in case we are still in ECC and planning to move to S/4
HANA in near future, we can follow the below Prepare -> Plan ->
Implement strategy for migration to S/4 HANA.
Hope we were able to throw some practical questions from Real S/4 HANA
Project. There are some open questions for which we are still looking for an
explanation and answer. In the next article, we would put some more real
issues and findings from S/4 HANA Project.