sap cds interview questions

SAP HANA stands for High Performance Analytical Appliance- in-memory computing engine. HANA is linked to ERP systems; Frontend modeling studio can be used for replication server management and load control.

SAP HANA has an in-memory computing engine and access the data straightaway without any backup. To avoid the risk of losing data in case of hardware failure or power cutoff, persistence layer comes as a savior and stores all the data in the hard drive which is not volatile.

Latency is referred to the length of time to replicate data from the source system to the target system.

Transformation rule is the rule specified in the advanced replication setting transaction for the source table such that data is transformed during the replication process.

To avoid un-necessary information from being stored, you have to pause the replication by stopping the schema-related jobs

11) Explain what happens if the replication is suspended for a longer period of time or system outage of SLT or HANA system?

If the replication is suspended for a longer period of time, the size of the logging tables increases.

The transaction manager co-ordinates database transactions and keeps a record of running and closed transactions. When transaction is rolled back or committed, the transaction manager notifies the involved storage engines about the event so they can run necessary actions.

You can avoid un-necessary logging information from being stored by pausing the replication by stopping the schema-related jobs.

In the HANA database, each SQL statement is implemented in the reference of the transaction. New session is allotted to a new transaction.

SAP ABAP HANA CDS Interview Questions
  • Question #1: What is SAP HANA CDS view?
  • Question #2: Which three TADIR objects/artifacts are created on activation of a ABAP HANA CDS?
  • Question #3: How many types of ABAP HANA CDS views are there?
  • Question #4: What is Association and Path expression in ABAP HANA CDS?

Question #11: What are the best practices which developers should keep in mind while using ABAP Core Data Services (CDS)?

SAP ABAP HANA Core Data Services(CDS) are foundation of new ABAP. It uses code push down technique and data virtualization for data fetching from much faster HANA database.

Some of best practices are as below:

  • Use latest innovations in CDS after ABAP 7.50. They help to reduce ABAP code logic and conditions on application layer. CDS executes at Database layer hence makes the application faster.
  • Publishes oData services on the fly
  • CDS can be consumed directly by Fiori reports effortlessly. This feature should be used as and when required instead of providing conventional reporting solutions to customers(e.g. ALV).
  • Analytics out of box
  • Question #12: How ABAP CDS controls Access with DCL(Data Control Language)?

    SAP ABAP HANA Core Data Services(CDS) uses syntax Define Role for access condition. This role management arrangement can further utilizes PFCG based role access. Example:

    And CDS view is as follows:

    Question #13: Which annotation in SAP ABAP CDS View is used to define underlying ABAP Data Dictionary(DDIC) structure?

    ABAP Core Data Services uses syntax @AbapCatalog.sqlViewName to define underlying ABAP Data Dictionary(DDIC) structure. Example:

    In above example, view DEMO_VIEW_ANNOT can be checked in ABAP dictionary Transaction SE11 however it can’t be edited there. To edit a CDS view, developer needs to use ADT(ABAP Development Tools for Eclipse). Detailed tutorial on how to install & use ADT is HERE.

    Another example:

    @EndUserText.label is used to define short text of underlying ABAP Data Dictionary(DDIC) structure.

    Basic ABAP CDS Interview Questions

  • What is SAP CDS View?
  • How to create a ABAP CDS View?
  • How many types of CDS Views are there?
  • What are the artifacts generated during CDS View creation? Also explain the concept of cardinality and path expressions.
  • Explain the concepts of CDS View Association.
  • Explain the benefits of ABAP CDS Views over ABAP Views.
  • Explain the limitations of ABAP CDS.
  • Explain the use of Access Control
  • Explain the concept of Metadata Extensions
  • Explain the concept of Annotation in SAP ABAP CDS
  • Explain the concept of Field level data manipulation in ABAP CDS
  • Explain the concept of “Group By” in ABAP CDS.
  • Explain the use of BOPF in ABAP CDS.
  • Explain the concept code-to-data’ or ‘code-pushdown” paradigm.
  • Explain the following in terms of ABAP on HANA:
    1. Enhanced Search Help (F4 help)
    2. SAP List Viewer with Integrated Data Access (ALV with IDA)
    3. Open SQL
    4. ABAP Core Data Services (CDS)
    5. ABAP Managed Database Procedures (AMDP)
    6. ABAP CDS table functions
    7. Metadata Extensions
  • Explain the best practises related to ABAP CDS.
  • What is the use of Data Control Language (DCL) in ABAP CDS?
  • Explain the concept of CDS View extension.
  • How to perform unit and currency conversion in ABAP CDS?
  • How to use String Functions in ABAP CDS Views?
  • How to implement the mathematical aggregate expressions in ABAP CDS?
  • How to use joins in ABAP CDS Views?
  • Explain CDS Test Double Framework.
  • Explain ABAP CDS Unit Testing.
  • Explain ABAP CDS Hierarchical Testing.
  • FAQ

    What type of questions are asked in CDS interview?

    What is SAP CDS Views? Core Data Service (CDS) Views are virtual data models of SAP HANA which allows direct access to underlying tables of the HANA database. SAP CDS Views came into being with SAP’s new programming model. SAP CDS Views aim to push logic from the application server to the client-side and database.

    What does CDS mean in SAP?

    What is the role of an Army/Navy/Air Force Officer? What are the qualities of an Army/Navy/Air Force Officer? What experience do you have in this military field? How have you helped your friend in their time of need?

    What is SAP CD annotation?

    CDS stands for Core Data Services. This is the new programming paradigm within new SAP environment specifically S/4HANA systems.

    Related Posts

    Leave a Reply

    Your email address will not be published.