ABAP Cloud Part 3: Replacing Direct Table and Classic API Dependencies
Preview · a free account unlocks the full lesson
Remediate classic dependencies step by step: inventory tables, function modules, classes and statements used; find released successors; replace table reads with CDS, BAPIs with RAP interfaces or wrappers, and system fields with released classes.
In this lessonShow sectionsHide sections
Visual overview
Explanation
Parts 1 and 2 set the goal. Migrating existing code, or porting a design, to ABAP Cloud is mostly a matter of dependency remediation, and this part gives the method for doing it.
The first step is an inventory: listing every SAP object the code touches — tables and views, function modules and BAPIs, classes, BAdIs, transactions called, and statements used such as WRITE, SUBMIT, CALL TRANSACTION, or dynpro logic. ATC cloud readiness findings, covered in Part 4, produce most of this list automatically.
The next step is finding successors for each dependency. ADT shows the API state of an object, including a successor if SAP has defined one, often phrased as "use I_… instead." The SAP Business Accelerator Hub lists released APIs by product. And SAP's Cloudification Repository offers a public list of classic objects alongside their released successors.
A number of replacement patterns recur often. A table read becomes a released CDS view — VBAK/VBAP becomes I_SalesOrder/I_SalesOrderItem, LFA1 becomes I_Supplier, MARA becomes I_Product. A change made via a BAPI or function module becomes EML against a released RAP BO interface (named with a …TP suffix) or a released API class. sy-uname, sy-datum and sy-uzeit become cl_abap_context_info.
Number ranges become cl_numberrange_runtime, which is released. The application log becomes cl_bali_log and related released classes. HTTP calls become cl_web_http_client_manager together with cl_http_destination_provider. Lists and reports become a RAP service with Fiori Elements, or a console class for technical tools. Background processing becomes application jobs, using released job APIs.
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Referenced SAP objects
Reviewed reference pages for the objects this page mentions.
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.