adt_write_function_module_source
Edit an existing function module's ABAP source code with lock, write, unlock, and optional activation. Accepts FUNCTION ... ENDFUNCTION format, auto-normalized for ADT.
Instructions
Edit an existing function module's source (lock -> write -> unlock -> optional activate). Accepts the classic FUNCTION z_fm. ... ENDFUNCTION. form or the normalized form; it is auto-normalized to what ADT accepts. Blocked in read-only mode; name must match the Z*/Y* prefix. For a first-time create use adt_create_function_module instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | New full function module ABAP source (FUNCTION ... ENDFUNCTION). | |
| activate | No | Activate after writing. Default true. | |
| transport | No | Transport request. Omit + non-$TMP object -> asked to create one. | |
| functionGroup | No | Owning function group. Omit to auto-resolve via search. | |
| functionModule | Yes | Function module name, e.g. ZMY_FM |