CreateProgram
Create ABAP programs (reports, includes, module pools) in SAP systems with proper naming conventions, package assignment, and source code management.
Instructions
Create a new ABAP program (report) in SAP system with source code. Supports executable programs, includes, module pools. Uses stateful session for proper lock management.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program_name | Yes | Program name (e.g., Z_TEST_PROGRAM_001). Must follow SAP naming conventions (start with Z or Y). | |
| description | No | Program description. If not provided, program_name will be used. | |
| package_name | Yes | Package name (e.g., ZOK_LAB, $TMP for local objects) | |
| transport_request | No | Transport request number (e.g., E19K905635). Required for transportable packages. | |
| program_type | No | Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable' | |
| application | No | Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*' | |
| source_code | No | Complete ABAP program source code. If not provided, generates minimal template based on program_type. | |
| activate | No | Activate program after creation. Default: true. Set to false for batch operations (activate multiple objects later). |