openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_READ_DEVELOPMENT_OBJECT:
    post:
      tags:
      - FRFC
      operationId: /rfc/RFC_READ_DEVELOPMENT_OBJECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROGRAM:
                  type: string
                  maxLength: 40
                WITH_DYNPROS:
                  type: string
                  default: ' '
                  maxLength: 1
                DYNPROS:
                  type: array
                  items:
                    type: object
                    properties:
                      PROG:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      DNUM:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      TYPE:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      FNUM:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      DGRP:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      BZMX:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      BZBR:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      MILI:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      MICO:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      MALI:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      MACO:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      NOLI:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      NOCO:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      VALP:
                        type: integer
                        format: int32
                        description: BIN1 data element for SYST
                      CUAN:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      HDAT:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPRA:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      CUPO:
                        type: string
                        maxLength: 132
                        description: Field name
                      DGEN:
                        type: string
                        format: date
                        description: Date data element for SYST
                      TGEN:
                        type: string
                        maxLength: 6
                        description: TIME Data Element for SYST
                QTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: Screen text line in the flow logic
                TEXTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 1
                        description: ABAP/4 text pool ID (selection text/numbered text)
                      KEY:
                        type: string
                        maxLength: 8
                        description: Text element key (number/selection name)
                      ENTRY:
                        type: string
                        maxLength: 255
                        description: Language-dependent text in ABAP/4 text pool
                      LENGTH:
                        type: integer
                        format: int32
                        description: Reserved length for text (with language reserve)
              required:
              - PROGRAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ATTRIBUTS:
                    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
                  SYSTEM:
                    type: string
                    maxLength: 8
                  DYNPROS:
                    type: array
                    items:
                      type: object
                      properties:
                        PROG:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        DNUM:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        TYPE:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        FNUM:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        DGRP:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        BZMX:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        BZBR:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        MILI:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        MICO:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        MALI:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        MACO:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        NOLI:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        NOCO:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        VALP:
                          type: integer
                          format: int32
                          description: BIN1 data element for SYST
                        CUAN:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        HDAT:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SPRA:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        CUPO:
                          type: string
                          maxLength: 132
                          description: Field name
                        DGEN:
                          type: string
                          format: date
                          description: Date data element for SYST
                        TGEN:
                          type: string
                          maxLength: 6
                          description: TIME Data Element for SYST
                  QTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: Screen text line in the flow logic
                  TEXTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 1
                          description: ABAP/4 text pool ID (selection text/numbered text)
                        KEY:
                          type: string
                          maxLength: 8
                          description: Text element key (number/selection name)
                        ENTRY:
                          type: string
                          maxLength: 255
                          description: Language-dependent text in ABAP/4 text pool
                        LENGTH:
                          type: integer
                          format: int32
                          description: Reserved length for text (with language reserve)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
