write_abap_object
Writes a single ABAP object to SAP via ADT REST, following the required order for RAP migration: CDS views, behavior definition, then implementation class.
Instructions
STEP 3 — Writes a single ABAP object to SAP via ADT REST. CRITICAL: Always follow this exact order: 1st=CDS Root View (DDLS), 2nd=CDS Child Views (DDLS), 3rd=Behavior Definition (BDEF), 4th=Implementation Class (CLAS), 5th=Metadata Extension (DDLS). NEVER write BDEF before CDS views. NEVER write CLAS before BDEF. One object at a time only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| transport | Yes | Transport request number | |
| object_name | Yes | Object name in SAP | |
| object_type | Yes | ABAP object type | |
| source_code | Yes | Full ABAP/CDS source to write |