The focus of this blog is to present an overview of the new programming techniques in ABAP after the introduction of HANA database. The focus will be towards providing a guideline on why and how an ABAP developer should start transitioning its code to use the new coding technique’s.
Technical Overview of CDS View - SAP HANA Part IIAshish Saxena
It is very important that a developer understands that technically, CDS is an enhancement of SQL which provides a Data Definition Language (DDL) for defining semantically rich database tables/views (CDS entities) and user-defined types in the database. Unlike the SAP HANA CDS, ABAP CDS are independent of the database system. The entities of the models defined in ABAP CDS provide enhanced access functions compared with existing database tables and views defined in ABAP Dictionary, making it possible to optimize Open SQL-based applications. And it is because of these unparalleled advantages that ABAP CDS is the most preferred form of methodology when it comes to Code to Data paradigm.
Technical Overview of CDS View – SAP HANA Part IAshish Saxena
SAP HANA has introduced new paradigms to SAP ABAP application programming. Before SAP HANA, development paradigm in SAP was based on DATA-to-Code where intensive calculation was done at the application layer and database utilization was minimized. New programming paradigm in SAP HANA is Code-to-Data, where the intensive calculation is done at the database layer and less programming at application layer.
Technical Overview of CDS View - SAP HANA Part IIAshish Saxena
It is very important that a developer understands that technically, CDS is an enhancement of SQL which provides a Data Definition Language (DDL) for defining semantically rich database tables/views (CDS entities) and user-defined types in the database. Unlike the SAP HANA CDS, ABAP CDS are independent of the database system. The entities of the models defined in ABAP CDS provide enhanced access functions compared with existing database tables and views defined in ABAP Dictionary, making it possible to optimize Open SQL-based applications. And it is because of these unparalleled advantages that ABAP CDS is the most preferred form of methodology when it comes to Code to Data paradigm.
Technical Overview of CDS View – SAP HANA Part IAshish Saxena
SAP HANA has introduced new paradigms to SAP ABAP application programming. Before SAP HANA, development paradigm in SAP was based on DATA-to-Code where intensive calculation was done at the application layer and database utilization was minimized. New programming paradigm in SAP HANA is Code-to-Data, where the intensive calculation is done at the database layer and less programming at application layer.
OData (Open Data Protocol) is an ISO/IEC approved, OASIS standard that defines a set of best practices for building and consuming RESTful APIs. OData helps you focus on your business logic while building RESTful APIs without having to worry about the various approaches to define request and response headers, status codes, HTTP methods, URL conventions, media types, payload formats, query options, etc. OData also provides guidance for tracking changes, defining functions/actions for reusable procedures, and sending asynchronous/batch requests.
The Open Data Protocol (OData) enables the creation of REST-based data services, which allow resources, identified using Uniform Resource Identifiers (URIs) and defined in a data model, to be published and edited by Web clients using simple HTTP messages.
study material for beginners of SAP ABAP .
1. Introduction to SAP 06
2. ABAB Data Dictionary 60
3. Introduction to ASAP Programming 89
4. Control Structures 12
5. Strings 6
6. Internal Tables 23
7. Open SQL
8. ABAB Debugging 13
9. Reports 74
10. Modularizing Techniques 44
This presentation is at the beginners level and mainly focusses on how to create and consume OData service in ASP.NET. OData (Open Data Protocol) is a standardized protocol for creating and consuming data APIs through regular HTTP requests and REST.
OData (Open Data Protocol) is an ISO/IEC approved, OASIS standard that defines a set of best practices for building and consuming RESTful APIs. OData helps you focus on your business logic while building RESTful APIs without having to worry about the various approaches to define request and response headers, status codes, HTTP methods, URL conventions, media types, payload formats, query options, etc. OData also provides guidance for tracking changes, defining functions/actions for reusable procedures, and sending asynchronous/batch requests.
The Open Data Protocol (OData) enables the creation of REST-based data services, which allow resources, identified using Uniform Resource Identifiers (URIs) and defined in a data model, to be published and edited by Web clients using simple HTTP messages.
study material for beginners of SAP ABAP .
1. Introduction to SAP 06
2. ABAB Data Dictionary 60
3. Introduction to ASAP Programming 89
4. Control Structures 12
5. Strings 6
6. Internal Tables 23
7. Open SQL
8. ABAB Debugging 13
9. Reports 74
10. Modularizing Techniques 44
This presentation is at the beginners level and mainly focusses on how to create and consume OData service in ASP.NET. OData (Open Data Protocol) is a standardized protocol for creating and consuming data APIs through regular HTTP requests and REST.
Introduction to GCP DataFlow PresentationKnoldus Inc.
In this session, we will learn about how Dataflow is a fully managed streaming analytics service that minimizes latency, processing time, and cost through autoscaling and batch processing.
In this session from SAP Inside Track Hamburg 2012 I'm introducing frameworks from SAP Business Suite Foundation and discuss the problem of missing documentation.
SAP Overview and Architecture
Learn SAP: You Tube Channel - Business Consulting
https://www.youtube.com/channel/UCJWpmkuzZv-VDUyBGhR8yOw
Please Like, Comment, Share and Subscribe
This PPT will help for SAP Interview Questions particularly SAP domain Candidates. for more information please login to www.rekruitin.com
By ReKruiTIn.com
Big Data Transformation Powered By Apache Spark.pptxKnoldus Inc.
Witness how Spark revolutionizes data processing. Dive into transformative functions like aggregation, array manipulation, and advanced joins, unveiling Spark as the driving force for actionable insights in the vast expanse of big data.
Big Data Transformations Powered By SparkKnoldus Inc.
Witness how Spark revolutionizes data processing. Big Data is everywhere and see how spark leverages its features to provide valuable insights to the businesses. Dive into transformative functions like aggregation, array manipulation, and advanced joins, unveiling Spark as the driving force for actionable insights in the vast expanse of big data.
Whether MVC for user interfaces, or Spine and Leaf for data centers, new
architecture patterns in our industry act as sort of historical markers of the
effectiveness and acceptance of new technologies. Practical techniques push the
bounds resulting in a shift. Application of distributed storage and streaming
capabilities such as Kafka and of course Hadoop are shifting Big Data architectures
from a layer cake concept, or North/South oriented approach to one which can be
thought of as an East/West architectural concept. Recently popular is Lambda
Architecture, this article presents an SAP HANA based rendering of the Lambda
Architecture.
Similar to Beginner's Guide: Programming with ABAP on HANA (20)
Changing Business Models: The Shift to B2B2C and D2C SalesAshish Saxena
Times are changing, and business models are no longer limited to only B2B or B2C. We are seeing a slow
change to alternative models such as B2B2C (business-to-business-to-consumer), D2C (direct-to-consumer)
or B2E (business-to-employee) in order to better meet more specific end-consumer needs.
In this white paper, we’re delving into the trends impacting this shift away from traditional business models in
the e-commerce landscape. We’re also sharing a useful step-by-step guide on how to implement a successful
D2C strategy.
SAP Field Service Management -Planning & DispatchingAshish Saxena
In many industries such as the medical devices industry, Food processing, Manufacturing, etc., any machine downtime means lost production volume which results in loss of thousands of dollars of revenue. According to Analyst firm Aberdeen Research, 82 percent of companies have experienced unplanned downtime over the past three years and that unplanned downtime can cost a company as much as $260,000 an hour!
Smart Railways Predicative Maintenance of Door SubsystemAshish Saxena
Large assets in Railways require frequent health monitoring. These assets can be either train borne or along the tracks. Sensors and IoT technologies that are implemented together with integrated security, asset management, and predictive maintenance are improving timely decision-making for issues like safety, scheduling, and system capacity.
Intelligent Sales Execution with SAP Sales Cloud for Smarter and Faster SalesAshish Saxena
In today's ultra-competitive business environment, the most significant factor in companies' long-term growth and success remains is the ability to create, implement, and execute successful sales strategies. But top sales strategies require articulate planning and timely insights into your sales operations. According to research, a startling number of today's businesses are operating with poorly defined strategies to increase sales. And the reason is the lack of an Intelligent Technology-enabled sales platform.
SAP came up with Intelligent sales execution. Where they have three modules in SAP Sales Cloud – Pipeline manager, Forecast tracker, and Pipeline flow.
Benefit and Enablers of Deploying IoT SolutionAshish Saxena
The rise of the data-driven economy with IoT enables improved productivity, cost optimization, and new business models. We have highlighted the benefits and enablers of deploying an IoT solution.
How to Achieve Operational Excellence in Enterprise Asset Management?Ashish Saxena
Organizations can achieve operational excellence can by effective execution of their business
strategy. Companies can increase competitive advantage by operational excellence in the
business processes, productivity, and value to the customer. Operational excellence in the asset intensive industries is defined as follows: Excellence through assets, Work Processes, and People
alignment to achieve an ideal state of performance
Trends and Benefits of Implementing E-Commerce for B2B Companies Ashish Saxena
Digital technologies are the new normal, and B2B companies also realized it. They are adapting and transforming their customer experience and selling strategies by adopting e-commerce as a primary sales channel. Customer expectations in B2B world are similar to B2C; after all, it is the same people who place orders for B2C companies on websites like Amazon. B2B companies are still behind in adopting e-commerce solutions unlike B2C companies. Acc to recent study while 30% of B2B buyers would prefer to buy at least 90% of products online, only 20% are currently doing so. This means far less B2B companies are selling their products online. Listed below are the top 3 concerns of B2B companies:
Fleet management systems monitor different kinds of motor vehicles such as cars, vans, trucks, aircraft, ships, and rail cars. Managing a fleet of vehicles is a challenging task. Fleet Management System Or Enterprise Asset management system allows companies to remove or minimize the risks associated with vehicle investment and improve efficiency, productivity, and compliance with government legislation.
Are you looking to deploy new technologies and innovative solutions for Asset Management or Field Service? Contact us for a detailed presentation on IoT, Asset Management, or Field service.
SMART PUMPS NEW BUSINESS MODELS WITH IoT (INTERNT OF THINGS)Ashish Saxena
Centrifugal slurry pumps are used in many applications such as in the mining, chemical and in the industrial plants. Making pumps smart by implementing IoT has enabled the companies to change the business model and go from reactive to predictive operating strategies.
Reinvent Your Business With Enterprise Asset ManagementAshish Saxena
Gone are the days when enterprise asset management (EAM) was just a maintenance department responsibility. EAM is now becoming an integral part of organizations focused on the operations-centric business approach. This market is witnessing a tectonic shift in EAM's capability to serve as critical differentiators.
Read "Reinvent Your Business with Enterprise Asset Management" In this article, we have shared a model to manage asset life cycle and the benefits of implementing an EAM for an organization
Delivered a SAP EAM/Field Service solution for Construction and Mining Equipm...Ashish Saxena
Accrete delivered a SAP EAM/Field Service solution to monitor and improve KPI’s like average response time, repeat cases per equipment, mean time to repair, MTBF, profitability per equipment and more. 3350 Scott Blvd, Bldg. 34 Santa Clara, CA 95054 Phone: +
According to SAP, SAP PI dual-stack installations (ABAP and JAVA) will be supported by SAP only until the end of 2020. This scenario requires companies to upgrade/migrate to SAP PO release 7.5.
Application Server ABAP within SAP NetWeaver 7.10, 7.11, 7.20, 7.30 will be supported in mainstream maintenance till the end of 2020 with no extended maintenance.
Based on our experience to upgrade/migrate SAP PI/PO to SAP PO 7.5. We have created the SAP PI/PO FAQ’s guide to provide the information to make an informed decision on how to balance the cost, risk, and time for SAPPO 7.5 Upgrade/Migration. It covers everything you need to know on your path to SAP PO 7.5.
CRM in S/4HANA: Roadmap, Architecture and Business ProcessAshish Saxena
SAP CRM on-premise was SAP’s widely adopted CRM offering. This solution is being used by thousands of companies throughout the world across a variety of industries in the areas of Sales, Service, Marketing and Interaction Center. However, the software industry has moved towards Cloud and SaaS offerings in the last few years. SAP has launched their own cloud offerings like SAP S/4HANA for ERP, SAP C/4HANA for Pre-Sales/Customer Service/Field Service/Commerce, SuccessFactors for HR etc. They have also developed SAP S/4HANA for Customer Management offering that will enable migration of SAP CRM customers to this solution for their back-office operations.
With the tremendous success of SAP S/4HANA in the customer digital transformation journey, SAP has embedded the SAP CRM solution into SAP S/4HANA that reduces landscape complexity significantly and consolidates back-office capabilities. SAP S/4HANA for Customer Management is an add-on to SAP S/4HANA. This solution enables you to manage your customer relationships for Sales, Interaction Center and Service business processes, eliminates data exchange issues of SAP CRM, and leverage the functionality of new cloud-based S/4HANA solution.
In this webinar, we shared S/4HANA Customer Management, S/4HANA Customer Management Architecture, its roadmap, an overview of migration from SAP CRM, as well as the obstacles on the road to S/4HANA.
Recorded webinar : http://bit.ly/2GzEgay
Migrate Custom data/object in SAP S/4 HANA Ashish Saxena
S/4 HANA migration cockpit comes with preconfigured content and mapping for each migration object. For all major functional areas like product, customer, bank, profit centre, cost centre, plant, GL, etc. migration objects are predefined and their sequence and dependency is also defined.
Reimagine Service Delivery using IoT and AIAshish Saxena
For many industries such as Medical devices, Industrial equipment, Manufacturing, Transportation, Utilities and many more, field service organization is key to the success of the company.
The effect of technology on field service and manufacturing cannot be underestimated, especially as new technologies like IoT, Artificial intelligence (AI) and Machine learning (ML) have proven capabilities to streamline and transform traditional workflows & service delivery models. These technologies can also enable digital transformation initiatives in field service organizations. However, companies are facing technical challenges in developing & implementing an end to end solution and understanding how they can benefit from these technologies.
In this webinar we covered:
1) Field Service Challenges
2) Key challenges in building IoT/ML/AI enabled Field service operations
3) Customer Case studies
4) Our Solution Overview
5) How you can grow revenue and optimize operations
Derek Binkley, Director of Technical Services at ARCA talked about how they leveraged the IOT/ML/AI solution to solve their service challenges. ARCA is a provider of largest selection of cash handling devices of any manufacturer in the world. They provide cash automation technologies to customers in over 50 countries and support these devices from their headquarters in North Carolina.
How to Improve Customer Lifetime Value (CLV) using SAP Billing (BRIM/Hybris B...Ashish Saxena
Customer Lifetime Value (CLV) is one of the critical metrics that contribute to recurring revenue cycle, especially in today’s customer-centric ecosystem.
What is CLV? It represents the estimated value of a customer during the whole business relationship time. To maximize CLV, companies need to focus on increasing customer retention and customer experience. This will result in recurring revenue and make your company profitable.
So how do the leading companies across different verticals maximize Customer Lifetime Value? How do they personalize services and pricing to increase customer retention and customer experience?
Watch our recorded one-hour webinar (https://bit.ly/2OXVKDy), It will take you through the steps that you can take and maximize customer lifetime value by using highly-automated billing and revenue management solutions.
Service Ticket Creation in SAP Hybris (C4C) from Hybris Commerce Online StoreAshish Saxena
Users can encounter issues on an e-Commerce website while browsing the product catalog, adding a product to the cart, have pricing issues or placing an order and they can create an issue in Hybris commerce. A service ticket is then automatically created in SAP Hybris for Service using SAP ODATA Service call. Customer care agents can then process the service ticket in SAP Hybris for Service. The Service tickets details are updated in Hybris commerce thru another ODATA service call. In addition, email updates are also sent to the user.
This document describes how to integrate SAP Hybris Commerce with a SAP Hybris for Service. The document is intended as a guide to help you perform the steps necessary for successful integration between the two systems.
SAP Hybris for Service (C4C) is a SAP Cloud based CRM solution and is different from the traditional SAP CRM on-premise system. SAP Hybris service solution provides service ticketing and field service functionality with an option to access information on mobile devices.
SAP Hybris Commerce solution has a robust product catalog, web content management tools, commerce capabilities, order management and enables responsive websites.
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
First Steps with Globus Compute Multi-User EndpointsGlobus
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
Traditional software testing methods are being challenged in retail, where customer expectations and technological advancements continually shape the landscape. Enter generative AI—a transformative subset of artificial intelligence technologies poised to revolutionize software testing.
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
Understanding Globus Data Transfers with NetSageGlobus
NetSage is an open privacy-aware network measurement, analysis, and visualization service designed to help end-users visualize and reason about large data transfers. NetSage traditionally has used a combination of passive measurements, including SNMP and flow data, as well as active measurements, mainly perfSONAR, to provide longitudinal network performance data visualization. It has been deployed by dozens of networks world wide, and is supported domestically by the Engagement and Performance Operations Center (EPOC), NSF #2328479. We have recently expanded the NetSage data sources to include logs for Globus data transfers, following the same privacy-preserving approach as for Flow data. Using the logs for the Texas Advanced Computing Center (TACC) as an example, this talk will walk through several different example use cases that NetSage can answer, including: Who is using Globus to share data with my institution, and what kind of performance are they able to achieve? How many transfers has Globus supported for us? Which sites are we sharing the most data with, and how is that changing over time? How is my site using Globus to move data internally, and what kind of performance do we see for those transfers? What percentage of data transfers at my institution used Globus, and how did the overall data transfer performance compare to the Globus users?
Large Language Models and the End of ProgrammingMatt Welsh
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
The European Union Agency for Law Enforcement Cooperation (Europol) has suffered an alleged data breach after a notorious threat actor claimed to have exfiltrated data from its systems. Infamous data leaker IntelBroker posted on the even more infamous BreachForums hacking forum, saying that Europol suffered a data breach this month.
The alleged breach affected Europol agencies CCSE, EC3, Europol Platform for Experts, Law Enforcement Forum, and SIRIUS. Infiltration of these entities can disrupt ongoing investigations and compromise sensitive intelligence shared among international law enforcement agencies.
However, this is neither the first nor the last activity of IntekBroker. We have compiled for you what happened in the last few days. To track such hacker activities on dark web sources like hacker forums, private Telegram channels, and other hidden platforms where cyber threats often originate, you can check SOCRadar’s Dark Web News.
Stay Informed on Threat Actors’ Activity on the Dark Web with SOCRadar!
In software engineering, the right architecture is essential for robust, scalable platforms. Wix has undergone a pivotal shift from event sourcing to a CRUD-based model for its microservices. This talk will chart the course of this pivotal journey.
Event sourcing, which records state changes as immutable events, provided robust auditing and "time travel" debugging for Wix Stores' microservices. Despite its benefits, the complexity it introduced in state management slowed development. Wix responded by adopting a simpler, unified CRUD model. This talk will explore the challenges of event sourcing and the advantages of Wix's new "CRUD on steroids" approach, which streamlines API integration and domain event management while preserving data integrity and system resilience.
Participants will gain valuable insights into Wix's strategies for ensuring atomicity in database updates and event production, as well as caching, materialization, and performance optimization techniques within a distributed system.
Join us to discover how Wix has mastered the art of balancing simplicity and extensibility, and learn how the re-adoption of the modest CRUD has turbocharged their development velocity, resilience, and scalability in a high-growth environment.
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus
As part of the DOE Integrated Research Infrastructure (IRI) program, NERSC at Lawrence Berkeley National Lab and ALCF at Argonne National Lab are working closely with General Atomics on accelerating the computing requirements of the DIII-D experiment. As part of the work the team is investigating ways to speedup the time to solution for many different parts of the DIII-D workflow including how they run jobs on HPC systems. One of these routes is looking at Globus Compute as a way to replace the current method for managing tasks and we describe a brief proof of concept showing how Globus Compute could help to schedule jobs and be a tool to connect compute at different facilities.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
1. What does this document have to offer?
The focus of this blog is to present an overview of the new programming techniques in ABAP after the introduction of HANA database. The
focus will be towards providing a guideline on why and how an ABAP developer should start transitioning its code to use the new coding
technique’s.
Who should be reading this?
Here the target audience would be ABAP developers who are looking forward to getting a basic understanding of ABAP on HANA programming
and to understand why to opt for these new features.
Areas covered in this blog…
Code to Data Paradigm, OpenSQL, CDS Views, AMDPs.
Let us begin!
SAP ABAP has been rapidly evolving over the years. With the introduction of S/4HANA, it went to graduate to become a far more impressive
and productive language. If you ask me how ABAP has improved then the answer is "Code-To-Data" Paradigm.
What is Code-To-Data Paradigm?
The traditional approach involves bringing data from database to our presentation server, doing the data intensive calculations & filtering and
then presenting the filtered data to a user.
The new HANA approach is to push our code to the database layer where all the data resides, do the calculations at database layer and bring
only the relevant records to presentation server.
Beginner’s Guide
Programming with ABAP on HANA
by Pallavi Gupta, Accrete Solutions
Because of C2D paradigm, the delay caused due to the latency of bringing large volumes of data to presentation layer is removed drastically
resulting in high performance even with very large datasets.
To better understand this let me proceed using a basic scenario that any ABAP developer can easily relate to:
Example Scenario: An ALV report that returns the master data of “ALL” vendors and their addresses for vendors that are active, not marked for
central deletion, not marked for deletion under “ALL” company code, not marked for deletion under “ALL” purchasing organization.
In this scenario, the performance would suffer because of fetching data for all vendors, for all company codes & for all Purchasing Organization.
The resulting report will require a background run and the traditional ABAP report flow ,in this case, would fetch data as follows:
2. Here the presentation layer would interact with a couple of times if no joins are used under select statement. Moreover using joins to fetch
data from these tables would also be very slow because of large volumes of vendor data in the system. So how must I improve the
performance here?
Answer!- Code PushDown using
OpenSQL programming
CDS Views
ABAP Managed Database Procedures
Let us visit each of the above features that were introduced with HANA DB.
1.OpenSQL Programming
With OpenSQL programming, you can write openSQL syntax in your ABAP code. The syntax for OpenSQL differs from that of ABAP, for
example, the fields in select statement are comma separated, all the host variables are escaped using ‘@’ sign, the concatenation can be done
in a single statement using ‘| |’ and so on and so forth.
The above scenario will be written as follows:
Result:
Here you can see that report ran for 1621 ms and returned us the desired results.
This is a very basic example that I took but in real time scenarios where you may be doing some aggregations, or you may be to translating
some data during selection, or you may be grouping your result set based on some fields then the OpenSQL really does magic.
SAP has introduced a large number of syntax that can be utilized in the code to improve its performance. To start with you can find very
descriptive examples and code snippets in the ABAP glossary itself.
3. SAP has introduced a large number of syntax that can be utilized in code to improve its performance. To start with you can find very descriptive
examples and code snippets in the ABAP glossary itself.
2. Core Data Services (CDS) Views
SAP introduced a new data modeling infrastructure known as core data services or CDS. With CDS, data models are defined and consumed on
database server rather than on application server. As a result, the table result view is created at the database level. CDS are completely
compatible with openSQL and can be written using ABAP development tools like Eclipse Oxygen. These can be consumed by reports and
AMDPs as well.
The above code will be created as a data definition in Eclipse and defined as follows:
Result:
The CDS view returned the result in 39ms. Awesome? Yes, it is.
Now CDS views could also be created with parameters or with associations. You may choose to create a CDS with parameters if you have a
fixed result set and some input parameters to pass.
You could also create a CDS with the association for a similar scenario if you have many tables to address in the view and if you want to keep
the result set flexible.
4. Similarly, an AMDP class implementation will have methods defined with a syntax “BY DATABASE PROCEDURE FOR <database> LANGUAGE
<language>. In our case database will be HDB (HANA DB) and language will always be SQLSCRIPT.
This AMDP class can then be consumed in an ABAP program to achieve the code push down functionality.
This AMDP class can then be consumed in an ABAP program to achieve the code push down functionality.
Result:
What to choose OpenSQL or CDS or AMDP?
A question that would arise in any developers mind would be how to make a choice amongst the three programming techniques.
3. ABAP Managed Database Procedures (AMDP)
AMDPs, as the name says, are database procedures that run on the database directly and are written directly in ABAP. AMDPs are written
using AMDP classes. Below is an example using the above scenario of how to create an AMDP class. The interface
“IF_AMDP_MARKER_HDB” distinguishes an AMDP class from other classes.
Class definition: