SAP ABAP Interview Cheatsheet (Quick Revision Guide)

1. ABAP Basic Concepts

  • Data Dictionary: Tables, Views, Search Help, Domains, Data Elements.
  • Types of Tables:
    • Transparent
    • Pooled
    • Cluster
  • Internal Tables: STANDARD, SORTED, HASHED.
  • Work Areas vs Field Symbols vs References.

2. ABAP OOP (Object Oriented Programming)

  • Class types: Local/Global (SE24)
  • Methods, Constructors
  • Inheritance, Polymorphism
  • Interfaces
  • Events & Handlers
  • Exception Classes (CX_*)

3. Modularization Techniques

  • Subroutines (FORM/ENDFORM)
  • Function Modules – RFC, Normal, Updates.
  • Methods – Instance & Static.
  • Badis, User Exits, Customer Exits.

4. Enhancement Framework

  • Implicit/Explicit Enhancements
  • BADIs (Classic + New)
  • Enhancement Spots
  • BTEs
  • User Exits (CMOD/SMOD)

5. ABAP Dictionary (DDIC)

  • Domains, Data Elements
  • Structures / Table Types
  • Lock Objects
  • Search Helps
  • Views (Database, Projection, Maintenance, Help View)
  • Indexes & Performance

6. Internal Tables – Must Know

  • Declaration (TYPE STANDARD TABLE OF…)
  • Operations: APPEND, COLLECT, INSERT, DELETE, READ TABLE
  • LOOP AT with WHERE
  • FIELD-SYMBOLS <fs>
  • SORT, DELETE ADJACENT DUPLICATES

7. SQL in ABAP

  • Open SQL (SELECT, INSERT, UPDATE, MODIFY, DELETE)
  • Joins (Inner, Left, Right)
  • Aggregate functions
  • FOR ALL ENTRIES rules
  • UP TO n ROWS, ORDER BY, GROUP BY
  • New SQL: CORRESPONDING, CAST, COALESCE, CONCAT, UNION

8. ABAP 7.4+ / 7.5+ New Syntax

Hot area in interviews.

  • Inline declarations (DATA(lv_var)).
  • New LOOP syntax (LOOP AT it INTO DATA(ls)…)
  • Constructor expressions:
    • VALUE, NEW, REF, REDUCE, COND, SWITCH.
  • Table expressions (it[ key ]).
  • FILTER, SORT, GROUP BY.
  • Boolean expressions.

9. Performance Tuning

Interview favourite.

  • Proper indexing
  • Avoid SELECT *
  • Buffering tables
  • Avoid nested SELECTs
  • Use FOR ALL ENTRIES carefully
  • Use hashed/sorted tables
  • Move logic to DB: CDS/AMDP
  • Parallel Processing via RFC

10. Reports

  • Classical Reports
  • Interactive Reports
  • ALV Reports
  • ALV Types:
    • REUSE_ALV_GRID
    • OO ALV (CL_GUI_ALV_GRID)
  • Modern: SALV Classes (CL_SALV_TABLE)

11. SmartForms & Adobe Forms

  • SMARTFORMS:
    • Driver program, Form interface, Windows, Logic
  • Adobe Forms:
    • Interface, Context, Layout, Scripts

12. BDC / BAPI

BDC Techniques

  • Session Method
  • Call Transaction
  • Direct Input

BAPI

  • Standardized APIs
  • Transaction Commit (BAPI_TRANSACTION_COMMIT)
  • Return Messages (RETURN)

13. ALE / IDocs

  • IDoc Types: Basic, Extension
  • Segments, Message Types
  • tCodes: WE02, WE05, WE19, WE20
  • Outbound/Inbound Processing
  • Partner Profiles

14. ABAP Web Dynpro

  • MVC architecture
  • Context Nodes
  • Supply Function
  • UI Elements
  • Navigation

15. SAP Script

  • Layout Sets, Windows
  • Standard Texts (SO10)
  • Printer settings

16. CDS Views (Hot Topic)

  • Basic + Composite CDS
  • Associations
  • Annotations (@AbapCatalog.sqlViewName, @OData.publish)
  • Joins & Path Expressions
  • Analytical Views
  • Access Control (DCL)

17. AMDP (ABAP Managed DB Procedures)

  • SQLScript-based DB procedures
  • Created in Class → METHODS ... BY DATABASE PROCEDURE
  • Used for heavy data lifting
  • DB-specific optimizations
  • Error handling using SQLScript

18. OData / Gateway

  • Create Service (SEGW)
  • Entity Set, Model Provider Class (MPC), Data Provider Class (DPC)
  • CRUD operations (GET_ENTITY, GET_ENTITYSET, CREATE_ENTITY, UPDATE_ENTITY)
  • Deep Entity
  • $filter, $expand, $metadata

19. ABAP Debugging & Tools

  • Classic Debugger vs New Debugger
  • Breakpoints (Static, Dynamic, Conditional)
  • Watchpoints
  • ST05 – SQL Trace
  • SAT – Runtime Analysis
  • SCI/SLIN – Code Inspector

20. Hot Scenario-Based Questions

These ALWAYS come:

  1. How will you optimize a slow ABAP report?
  2. Difference between HASHED, SORTED and STANDARD tables?
  3. How to avoid duplicates while appending internal tables?
  4. How do you debug an IDoc failure?
  5. What is the best way to handle mass data processing?
  6. How to decide between BAPI and BDC?
  7. Explain a real time enhancement you implemented.
  8. How to convert classical report to ALV?
  9. When to use CDS view vs AMDP?
  10. How do you activate OData service?

I share content relevant to Tech/Interview/Corporate/ & Anything Stuff !!

Do follow for more useful content : https://www.linkedin.com/in/vartika-gupta24/