sap_write_code
Writes ABAP source code objects (programs, includes, function groups, functions, classes) to SAP ECC or S/4HANA via the configured /write_code endpoint. Syntax check and activation are not performed.
Instructions
Forward an ABAP source-write request to the configured /write_code endpoint. This connector does not redirect class writes, apply compatibility fixes, run a separate syntax check or activate objects itself. Confirm supported object types, authorization, validation and activation behavior on the installed backend before allowing writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source code lines | |
| package | No | Development package for CLAS (defaults to $TMP) | $TMP |
| fugr_name | No | Function group name (required for FUNC type) | |
| transport | No | Transport request for CLAS (required if package != $TMP) | |
| short_text | No | Description text | |
| object_name | Yes | Name for the object | |
| object_type | Yes | Type of object to create |