openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SSF_PREPARE_SYNTAX_CHECK:
    post:
      tags:
      - STXBG
      summary: Insert a function module in the R/3 development environment
      operationId: /rfc/SSF_PREPARE_SYNTAX_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNCNAME:
                  type: string
                  maxLength: 30
                  description: Function Module Name
                INTERFACE_GLOBAL:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Global interface ID
                REMOTE_CALL:
                  type: string
                  default: ' '
                  maxLength: 1
                UPDATE_TASK:
                  type: string
                  default: ' '
                  maxLength: 1
                CHANGING_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBFIELD:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      DEFAULT:
                        type: string
                        maxLength: 21
                        description: Default value for import parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      REFERENCE:
                        type: string
                        maxLength: 1
                        description: Call by reference
                      CHANGING:
                        type: string
                        maxLength: 1
                        description: Changing a parameter allowed
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                EXCEPTION_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      EXCEPTION:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                EXPORT_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBFIELD:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      REFERENCE:
                        type: string
                        maxLength: 1
                        description: Call by reference
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                IMPORT_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBFIELD:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      DEFAULT:
                        type: string
                        maxLength: 21
                        description: Default value for import parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      REFERENCE:
                        type: string
                        maxLength: 1
                        description: Call by reference
                      CHANGING:
                        type: string
                        maxLength: 1
                        description: Changing a parameter allowed
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
                TABLES_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBSTRUCT:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
              required:
              - FUNCNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHANGING_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBFIELD:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        DEFAULT:
                          type: string
                          maxLength: 21
                          description: Default value for import parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        CHANGING:
                          type: string
                          maxLength: 1
                          description: Changing a parameter allowed
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  EXCEPTION_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        EXCEPTION:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                  EXPORT_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBFIELD:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  IMPORT_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBFIELD:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        DEFAULT:
                          type: string
                          maxLength: 21
                          description: Default value for import parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        CHANGING:
                          type: string
                          maxLength: 1
                          description: Changing a parameter allowed
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
                  TABLES_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBSTRUCT:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
