Documente Academic
Documente Profesional
Documente Cultură
Shares
15 Comments
1. Anbu
Reply
Linkin Pereira
Thanks for your feedback. S/4H is considerably new and recently SAP added
their 1000 customer on s/4 HANA. Stay tuned as more will come in the future
blog.
Reply
Reply
Linkin Pereira
3. Kajal khetiya
I want to learn many things in sap and I m beginner in sap thank u sir for motivation.
Reply
4. Kripa Rangachari
I started following your blogs and & youtube videos. Thanks for sharing the knowledge..
Regards,
Kripa Rangachari.
Reply
5. Michael
It seems to be a bad idea to use this paradigms even if they seem to be technically
appealing. You explained yourself why it is not a good idea to push down.
1. As a developer you would have to work in two environments, HANA DB to create the
DB artifacts and ABAP to consume those artifacts as remote proxies.
To keep maintainablity of your code over long years or even generations of programmers
you would normally try to avoid to distribute your program logic into two layers: The
ABAP code and some logic located the database layer and possibly bound to a database
vendor or database release. I.e. do no use of any predefined procedure on the database
level even if this will give you some performance advantage.
2. You will have to bear the responsibility of keeping your HANA and ABAP artifacts in
sync and take care of the life cycle management.
Keeping the database and application layer artefacts (manually) in sync is a risk for your
productive environment.
Overall the new paradigm is bad form the viewpoint of maintainability, service stability
and thus for total cost of ownership.
Reply
6. Raj
We head about the proverb. old wine in new bottle. In the initial days i remember
client/server programming like VB/SQL server or VB/oracle. we use to develop stored
procedure in backend and consume them in front end like VB or some other tool.
The performance of those applications is great inspite of other challenges. Now we are
getting there again but in different flavors.
The only one thing i am always confused in SAP world the concept is more or less is
simple but the terminology or woding or branding the SAP use confuses me a lot.
Reply
Linkin Pereira
Yes Raj, I echo your thoughts. Old wine in New bottle. Good way to put it.
Initially it was a great idea when data processing was pushed to the database
layer, but later there were considerable challenges to this approach. Hence later
software moved towards a solid 3 tier architecture and kept data processing to
the middle layer.
But HANA and in-memory database are challenging this thought once again.
The advantages are clearly visible until off course we hit another snag. But for
now, it seems this is the direction SAP is focusing on.
Reply
7. Manoj Priyadarshi
It’s great Article in simple words explaining SAP HANA for technical guys. Even I have
worked on one S/4 implementation project but it seems I need to learn a lot on S/4
HANA. Keep me updated.
Reply
Linkin Pereira
Hey Glad you liked this article Manoj. Happy to share what I have learnt so far.
Will keep posting more. Keep reading and commenting.
Cheers
Reply
8. Harshit Jain
Hi Linkin
Can you please explain OLTP and OLAP?
Reply
Linkin Pereira
Hey Harshit, good you asked that – I totally forgot to elaborate on it.
OLTP stands for Online Transaction Processing. Softwares which are used to
record daily transactions and computations come under this category. For a
typical OLTP software to function well, the underlying database needs to be in a
normalized form. Usually this means Real Time Transactional Data.
OLAP on the other hand stands for Online Analytical Processing. Such
software, as the name suggests, are used for reporting and data analysis
purposes. Such systems usually run on historic data which is not update daily.
In such softwares the database needs to be in a denormalized form to support
faster data access and reporting.
—
Because of the nature of these systems and the constraints they lay on the
underlying database design, they could either support OLTP or OLAP not both.
HANA thru if its Column store, Row store data storage principle breaks this
constraint and can therefore allow the same system to support both, OLTP as
well as OLAP architecture at the same time based on the application
requirement.
smartScale for HANA will consists of the appropriate components with newly added HANA Code
Optimization Ruleset.
8/13/2013 8
Presenter
www.smartShiftTech.com
• Column and Row Store • Dictionary based (compression) • ACID RDBMS • Stand-alone or SAP Business
Suite/BW • JBDC, ODBC, ADBC, MDX • Unstructured Data Support • Full Text Searchable • HW
8/13/2013 11
• Unicode Only • Integration with ‘R’ • Large Tables • Dynamic Tables • ABAP Code Must be Optimized •
Eclipse based IDE (ADT) • Optimization for Star Queries • Signification Performance Improvements •
8/13/2013 12
• Does not impact transaction processing • Enables “reporting without fear” by increasing reporting
speeds dramatically • Eliminates SAP as Access Loader • Keeps processing within SAP and not Excel •
Avoid using old and/or partial data • Convert batch processes to real-time operations • Enable new
HANA “Objectives”
8/13/2013 13
© 2013 smartShift Technologies. All rights reserved
Attribute View
8/13/2013 14
• Can join multiple tables • Perform simple calculations • Only SQL Functions can be used
Analytical View
8/13/2013 15
• Replaces cubes in traditional BW • Joins attribute views and fact tables • Perform calculations and
Calculated View
8/13/2013 16
• Full SQLScript • Must define output record type • Supports measures and hierarchies • Callable via
standard OPENSQL
DB Procedure
8/13/2013 17
• Full SQLScript • Can define a output record type • Callable via CALL DATABASE PROCEDURE • Creates
DB Procedure (cont.)
8/13/2013 18
8/13/2013 19
• View defined in HANA • Externalized so that it can be referenced by ABAP code • Can be used in
OpenSQL statements
8/13/2013 20
The view is now visible in DDIC and can be used in ABAP programming, e.g. for declarations, selections,
etc.
www.smartShiftTech.com
• Reduce result set • Reduce amount of data transfer • Reduce number of DB round trips • Index/Query
optimization • Text search for F4 help and type-ahead search • Avoid native SQL • Consider changes
in the order in the result • Use buffering on application server • Existing best practices still apply •
8/13/2013 22
• Side-car vs. Primary DB • Instance Size o Memory o CPU • Table Partitioning • Consider Changes in
8/13/2013 23
These patterns focus on the push-down paradigm as well as on restrictions that HANA is imposing.
Locate joins on transactional table Locate “SELECT … FOR ALL ENTRIES” statements Locate SQL
on SAP “index” tables (i.e. VAPMA) Clusters of related table SQL (i.e. VBAK, VBUK, VBAP) Custom
read cluster tables Sort of internal tables sourced from SQL Processing of internal tables sourced
8/13/2013 24
www.smartShiftTech.com
8/13/2013 25
8/13/2013 26
• Make the new view visible to app layer: define a dictionary view
8/13/2013 28
13.08.2013 29
Replacing SELECT ... FOR ALL ENTRIES: • Required data is provides by View ZV_ERROR_DOCS, based on
8/13/2013 30
8/13/2013 31
8/13/2013 32
8/13/2013 33
8/13/2013 34
• Example 2 demonstrated a new ABAP language feature: o CALL PROCEDURE • ABAP for HANA
introduces a new usage pattern for a well known and commonly used programming feature: o ALV
Grids • True to the motto “push code down to db layer”, the new ALV grid model, also called IDA-
ALV (inegrated data access list viewer), implements much of the processing in the DB layer •
Example from NW 7.4 SP0 follows. Note that SP2 adds some features not available in SP0: o Setting
8/13/2013 35
• Internal Tables with Empty Keys • New Internal Table Functions • ABAP Objects (Exporting, Importing
and Changing, Partially Implemented Interfaces for Testing) • Table Expressions • Conditional
8/13/2013 36
8/13/2013 37
smartScale for HANA will consists of the appropriate components with newly added HANA Code
Optimization Ruleset.
• smartAnalyze o SaaS Analysis • smartUpgrade o Unicode Enablement o Change Impact Analysis •
1.
2.
3.
4. SAP HANA