openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_PROGRAM_CHECK_SYNTAX:
    post:
      tags:
      - SEDA
      operationId: /rfc/RFC_PROGRAM_CHECK_SYNTAX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GLOBAL_PROGRAM:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: ABAP Program Name
                REPLACING:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                SOURCE_NAME:
                  type: string
                  maxLength: 40
                  description: ABAP Program Name
                TRDIR_RAHMEN_ENTRY:
                  type: object
                  properties:
                    NAME:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    SQLX:
                      type: string
                      maxLength: 1
                      description: Source code protection
                    EDTX:
                      type: string
                      maxLength: 1
                      description: 'Editor lock flag  enumValues: X=Switch on,""=Switch off'
                      enum:
                      - X
                      - ''
                    VARCL:
                      type: string
                      maxLength: 1
                      description: Case-Sensitive
                    DBAPL:
                      type: string
                      maxLength: 1
                      description: Application database
                    DBNA:
                      type: string
                      maxLength: 2
                      description: Logical database
                    CLAS:
                      type: string
                      maxLength: 4
                      description: Program class
                    TYPE:
                      type: string
                      maxLength: 3
                      description: Selection screen version
                    OCCURS:
                      type: string
                      maxLength: 1
                      description: Automatically generated program
                    SUBC:
                      type: string
                      maxLength: 1
                      description: 'Program type  enumValues: X=XSLT Program,S=Subroutine Pool,F=Function group,I=INCLUDE program,M=Module Pool,J=Interface pool,T=Type Pool,K=Class pool,1=Executable program'
                      enum:
                      - X
                      - S
                      - F
                      - I
                      - M
                      - J
                      - T
                      - K
                      - '1'
                    APPL:
                      type: string
                      maxLength: 1
                      description: Application
                    SECU:
                      type: string
                      maxLength: 8
                      description: Authorization Group
                    CNAM:
                      type: string
                      maxLength: 12
                      description: Author
                    CDAT:
                      type: string
                      format: date
                      description: Created on
                    UNAM:
                      type: string
                      maxLength: 12
                      description: Last changed by
                    UDAT:
                      type: string
                      format: date
                      description: Changed On
                    VERN:
                      type: string
                      maxLength: 6
                      description: Version number
                    LEVL:
                      type: string
                      maxLength: 4
                      description: Level
                    RSTAT:
                      type: string
                      maxLength: 1
                      description: 'Status  enumValues: P=SAP Standard Production Program,""=,K=Customer Production Program,T=Test Program,S=System Program'
                      enum:
                      - P
                      - ''
                      - K
                      - T
                      - S
                    RMAND:
                      type: string
                      maxLength: 3
                      description: Client
                    RLOAD:
                      type: string
                      maxLength: 1
                      description: Master Language
                    FIXPT:
                      type: string
                      maxLength: 1
                      description: 'Fixed point arithmetic  enumValues: X=Switch on,""=Switch off'
                      enum:
                      - X
                      - ''
                    SSET:
                      type: string
                      maxLength: 1
                      description: 'Start only via variant  enumValues: X=Switch on,""=Switch off'
                      enum:
                      - X
                      - ''
                    SDATE:
                      type: string
                      format: date
                      description: 'Standard selection screen generation: Date'
                    STIME:
                      type: string
                      maxLength: 6
                      description: 'Standard selection screen generation: Time'
                    IDATE:
                      type: string
                      format: date
                      description: 'Selection screen generation: Date'
                    ITIME:
                      type: string
                      maxLength: 6
                      description: 'Selection screen generation: Time'
                    LDBNAME:
                      type: string
                      maxLength: 20
                      description: LDB name
                    UCCHECK:
                      type: string
                      maxLength: 1
                      description: Flag, if unicode check was performed
                TRDIR_SOURCE_ENTRY:
                  type: object
                  properties:
                    NAME:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    SQLX:
                      type: string
                      maxLength: 1
                      description: Source code protection
                    EDTX:
                      type: string
                      maxLength: 1
                      description: 'Editor lock flag  enumValues: X=Switch on,""=Switch off'
                      enum:
                      - X
                      - ''
                    VARCL:
                      type: string
                      maxLength: 1
                      description: Case-Sensitive
                    DBAPL:
                      type: string
                      maxLength: 1
                      description: Application database
                    DBNA:
                      type: string
                      maxLength: 2
                      description: Logical database
                    CLAS:
                      type: string
                      maxLength: 4
                      description: Program class
                    TYPE:
                      type: string
                      maxLength: 3
                      description: Selection screen version
                    OCCURS:
                      type: string
                      maxLength: 1
                      description: Automatically generated program
                    SUBC:
                      type: string
                      maxLength: 1
                      description: 'Program type  enumValues: X=XSLT Program,S=Subroutine Pool,F=Function group,I=INCLUDE program,M=Module Pool,J=Interface pool,T=Type Pool,K=Class pool,1=Executable program'
                      enum:
                      - X
                      - S
                      - F
                      - I
                      - M
                      - J
                      - T
                      - K
                      - '1'
                    APPL:
                      type: string
                      maxLength: 1
                      description: Application
                    SECU:
                      type: string
                      maxLength: 8
                      description: Authorization Group
                    CNAM:
                      type: string
                      maxLength: 12
                      description: Author
                    CDAT:
                      type: string
                      format: date
                      description: Created on
                    UNAM:
                      type: string
                      maxLength: 12
                      description: Last changed by
                    UDAT:
                      type: string
                      format: date
                      description: Changed On
                    VERN:
                      type: string
                      maxLength: 6
                      description: Version number
                    LEVL:
                      type: string
                      maxLength: 4
                      description: Level
                    RSTAT:
                      type: string
                      maxLength: 1
                      description: 'Status  enumValues: P=SAP Standard Production Program,""=,K=Customer Production Program,T=Test Program,S=System Program'
                      enum:
                      - P
                      - ''
                      - K
                      - T
                      - S
                    RMAND:
                      type: string
                      maxLength: 3
                      description: Client
                    RLOAD:
                      type: string
                      maxLength: 1
                      description: Master Language
                    FIXPT:
                      type: string
                      maxLength: 1
                      description: 'Fixed point arithmetic  enumValues: X=Switch on,""=Switch off'
                      enum:
                      - X
                      - ''
                    SSET:
                      type: string
                      maxLength: 1
                      description: 'Start only via variant  enumValues: X=Switch on,""=Switch off'
                      enum:
                      - X
                      - ''
                    SDATE:
                      type: string
                      format: date
                      description: 'Standard selection screen generation: Date'
                    STIME:
                      type: string
                      maxLength: 6
                      description: 'Standard selection screen generation: Time'
                    IDATE:
                      type: string
                      format: date
                      description: 'Selection screen generation: Date'
                    ITIME:
                      type: string
                      maxLength: 6
                      description: 'Selection screen generation: Time'
                    LDBNAME:
                      type: string
                      maxLength: 20
                      description: LDB name
                    UCCHECK:
                      type: string
                      maxLength: 1
                      description: Flag, if unicode check was performed
                ERROR_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      STMT_CNT:
                        type: integer
                        format: int32
                        description: Natural number
                      INCNAME:
                        type: string
                        maxLength: 40
                        description: 'ABAP Program: Current Main Program'
                      LINE:
                        type: integer
                        format: int32
                        description: Natural number
                      COL:
                        type: integer
                        format: int32
                        description: Natural number
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      KEYWORD:
                        type: string
                        maxLength: 20
                        description: ABAP key word in syntax error message
                      MSGNUMBER:
                        type: string
                        maxLength: 4
                        description: Syntax error message number
                      MESSAGE:
                        type: string
                        maxLength: 240
                        description: Text field of length 240
                      KIND:
                        type: string
                        maxLength: 4
                        description: Error Interpretation for SLIN
                REPLACING_SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
                SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
                WARNINGS_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      STMT_CNT:
                        type: integer
                        format: int32
                        description: Natural number
                      INCNAME:
                        type: string
                        maxLength: 40
                        description: 'ABAP Program: Current Main Program'
                      LINE:
                        type: integer
                        format: int32
                        description: Natural number
                      COL:
                        type: integer
                        format: int32
                        description: Natural number
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      KEYWORD:
                        type: string
                        maxLength: 20
                        description: ABAP key word in syntax error message
                      MSGNUMBER:
                        type: string
                        maxLength: 4
                        description: Syntax error message number
                      MESSAGE:
                        type: string
                        maxLength: 240
                        description: Text field of length 240
                      KIND:
                        type: string
                        maxLength: 4
                        description: Error Interpretation for SLIN
              required:
              - REPLACING
              - SOURCE_NAME
              - TRDIR_SOURCE_ENTRY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_INCLUDE:
                    type: string
                    maxLength: 40
                    description: ABAP Program Name
                  ERROR_LINE:
                    type: integer
                    format: int32
                    description: Loops, Current Loop Pass
                  ERROR_MESSAGE:
                    type: string
                    maxLength: 240
                    description: Single-Character Flag
                  ERROR_OFFSET:
                    type: integer
                    format: int32
                    description: Loops, Current Loop Pass
                  ERROR_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  ERROR_WORD:
                    type: string
                    maxLength: 30
                    description: Name of a module integrated into navigation
                  MESSAGE_ID:
                    type: string
                    maxLength: 20
                    description: Application Area
                  ERROR_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        STMT_CNT:
                          type: integer
                          format: int32
                          description: Natural number
                        INCNAME:
                          type: string
                          maxLength: 40
                          description: 'ABAP Program: Current Main Program'
                        LINE:
                          type: integer
                          format: int32
                          description: Natural number
                        COL:
                          type: integer
                          format: int32
                          description: Natural number
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        KEYWORD:
                          type: string
                          maxLength: 20
                          description: ABAP key word in syntax error message
                        MSGNUMBER:
                          type: string
                          maxLength: 4
                          description: Syntax error message number
                        MESSAGE:
                          type: string
                          maxLength: 240
                          description: Text field of length 240
                        KIND:
                          type: string
                          maxLength: 4
                          description: Error Interpretation for SLIN
                  REPLACING_SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
                  SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
                  WARNINGS_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        STMT_CNT:
                          type: integer
                          format: int32
                          description: Natural number
                        INCNAME:
                          type: string
                          maxLength: 40
                          description: 'ABAP Program: Current Main Program'
                        LINE:
                          type: integer
                          format: int32
                          description: Natural number
                        COL:
                          type: integer
                          format: int32
                          description: Natural number
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        KEYWORD:
                          type: string
                          maxLength: 20
                          description: ABAP key word in syntax error message
                        MSGNUMBER:
                          type: string
                          maxLength: 4
                          description: Syntax error message number
                        MESSAGE:
                          type: string
                          maxLength: 240
                          description: Text field of length 240
                        KIND:
                          type: string
                          maxLength: 4
                          description: Error Interpretation for SLIN
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
