openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_DYNP:
    post:
      tags:
      - SVRR
      summary: Returns a Screen Version
      operationId: /rfc/SVRS_GET_VERSION_DYNP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT_NAME:
                  type: string
                  maxLength: 34
                  description: Report name + screen number
                VERSNO:
                  type: integer
                  format: int64
                  description: Version number of the object
                D020S_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      PROG:
                        type: string
                        maxLength: 8
                        description: CHAR08 Data Element for SYST
                      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 from SAP Logon
                      CUPO:
                        type: string
                        maxLength: 30
                        description: CHAR30 for SYST
                      DGEN:
                        type: string
                        maxLength: 6
                        description: Date Data Element for SYST
                      TGEN:
                        type: string
                        maxLength: 6
                        description: TIME Data Element for SYST
                D020T_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      PROG:
                        type: string
                        maxLength: 8
                        description: ABAP program name
                      DYNR:
                        type: integer
                        format: int64
                        description: Screen number
                      LANG:
                        type: string
                        maxLength: 1
                        description: 'Language: Screen description text'
                      DTXT:
                        type: string
                        maxLength: 60
                        description: Short description from ABAP Dictionary
                D021S_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      FNAM:
                        type: string
                        maxLength: 30
                        description: ''
                      DIDX:
                        type: string
                        format: byte
                        description: ''
                      FLG1:
                        type: string
                        format: byte
                        description: ''
                      FLG2:
                        type: string
                        format: byte
                        description: ''
                      FLG3:
                        type: string
                        format: byte
                        description: ''
                      FILL:
                        type: string
                        maxLength: 1
                        description: ''
                      FMB1:
                        type: string
                        format: byte
                        description: ''
                      FMB2:
                        type: string
                        format: byte
                        description: ''
                      COLR:
                        type: string
                        maxLength: 1
                        description: ''
                      LENG:
                        type: string
                        format: byte
                        description: ''
                      LINE:
                        type: string
                        format: byte
                        description: ''
                      COLN:
                        type: string
                        format: byte
                        description: ''
                      LTYP:
                        type: string
                        maxLength: 1
                        description: ''
                      LANF:
                        type: string
                        format: byte
                        description: ''
                      LBLK:
                        type: string
                        format: byte
                        description: ''
                      LREP:
                        type: string
                        format: byte
                        description: ''
                      FMKY:
                        type: string
                        maxLength: 3
                        description: ''
                      PAID:
                        type: string
                        maxLength: 3
                        description: ''
                      UCNV:
                        type: string
                        maxLength: 5
                        description: ''
                      TYPE:
                        type: string
                        maxLength: 4
                        description: ''
                      AUTH:
                        type: string
                        maxLength: 3
                        description: ''
                      WNAM:
                        type: string
                        maxLength: 30
                        description: ''
                      DMAC:
                        type: string
                        maxLength: 31
                        description: ''
                      GRP1:
                        type: string
                        maxLength: 3
                        description: ''
                      GRP2:
                        type: string
                        maxLength: 3
                        description: ''
                      GRP3:
                        type: string
                        maxLength: 3
                        description: ''
                      GRP4:
                        type: string
                        maxLength: 3
                        description: ''
                      ITYP:
                        type: string
                        maxLength: 1
                        description: ''
                      AGLT:
                        type: string
                        format: byte
                        description: ''
                      ADEZ:
                        type: string
                        format: byte
                        description: ''
                      STXT:
                        type: string
                        maxLength: 132
                        description: ''
                      FTYPE:
                        type: string
                        maxLength: 5
                        description: ''
                      FCOUNT:
                        type: string
                        maxLength: 3
                        description: ''
                D021T_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      PROG:
                        type: string
                        maxLength: 8
                        description: ABAP Program Name
                      DYNR:
                        type: integer
                        format: int64
                        description: Screen Number
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      FLDN:
                        type: string
                        maxLength: 30
                        description: Field Name
                      DTXT:
                        type: string
                        maxLength: 79
                        description: Screen Field Texts
                D022S_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: Screen text line in the flow logic
                D023S_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      FNAM:
                        type: string
                        maxLength: 30
                        description: ''
                      FLDP:
                        type: string
                        maxLength: 3
                        description: ''
                      FLDN:
                        type: string
                        maxLength: 30
                        description: ''
              required:
              - OBJECT_NAME
              - VERSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  D020S_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        PROG:
                          type: string
                          maxLength: 8
                          description: CHAR08 Data Element for SYST
                        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 from SAP Logon
                        CUPO:
                          type: string
                          maxLength: 30
                          description: CHAR30 for SYST
                        DGEN:
                          type: string
                          maxLength: 6
                          description: Date Data Element for SYST
                        TGEN:
                          type: string
                          maxLength: 6
                          description: TIME Data Element for SYST
                  D020T_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        PROG:
                          type: string
                          maxLength: 8
                          description: ABAP program name
                        DYNR:
                          type: integer
                          format: int64
                          description: Screen number
                        LANG:
                          type: string
                          maxLength: 1
                          description: 'Language: Screen description text'
                        DTXT:
                          type: string
                          maxLength: 60
                          description: Short description from ABAP Dictionary
                  D021S_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        FNAM:
                          type: string
                          maxLength: 30
                          description: ''
                        DIDX:
                          type: string
                          format: byte
                          description: ''
                        FLG1:
                          type: string
                          format: byte
                          description: ''
                        FLG2:
                          type: string
                          format: byte
                          description: ''
                        FLG3:
                          type: string
                          format: byte
                          description: ''
                        FILL:
                          type: string
                          maxLength: 1
                          description: ''
                        FMB1:
                          type: string
                          format: byte
                          description: ''
                        FMB2:
                          type: string
                          format: byte
                          description: ''
                        COLR:
                          type: string
                          maxLength: 1
                          description: ''
                        LENG:
                          type: string
                          format: byte
                          description: ''
                        LINE:
                          type: string
                          format: byte
                          description: ''
                        COLN:
                          type: string
                          format: byte
                          description: ''
                        LTYP:
                          type: string
                          maxLength: 1
                          description: ''
                        LANF:
                          type: string
                          format: byte
                          description: ''
                        LBLK:
                          type: string
                          format: byte
                          description: ''
                        LREP:
                          type: string
                          format: byte
                          description: ''
                        FMKY:
                          type: string
                          maxLength: 3
                          description: ''
                        PAID:
                          type: string
                          maxLength: 3
                          description: ''
                        UCNV:
                          type: string
                          maxLength: 5
                          description: ''
                        TYPE:
                          type: string
                          maxLength: 4
                          description: ''
                        AUTH:
                          type: string
                          maxLength: 3
                          description: ''
                        WNAM:
                          type: string
                          maxLength: 30
                          description: ''
                        DMAC:
                          type: string
                          maxLength: 31
                          description: ''
                        GRP1:
                          type: string
                          maxLength: 3
                          description: ''
                        GRP2:
                          type: string
                          maxLength: 3
                          description: ''
                        GRP3:
                          type: string
                          maxLength: 3
                          description: ''
                        GRP4:
                          type: string
                          maxLength: 3
                          description: ''
                        ITYP:
                          type: string
                          maxLength: 1
                          description: ''
                        AGLT:
                          type: string
                          format: byte
                          description: ''
                        ADEZ:
                          type: string
                          format: byte
                          description: ''
                        STXT:
                          type: string
                          maxLength: 132
                          description: ''
                        FTYPE:
                          type: string
                          maxLength: 5
                          description: ''
                        FCOUNT:
                          type: string
                          maxLength: 3
                          description: ''
                  D021T_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        PROG:
                          type: string
                          maxLength: 8
                          description: ABAP Program Name
                        DYNR:
                          type: integer
                          format: int64
                          description: Screen Number
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        FLDN:
                          type: string
                          maxLength: 30
                          description: Field Name
                        DTXT:
                          type: string
                          maxLength: 79
                          description: Screen Field Texts
                  D022S_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: Screen text line in the flow logic
                  D023S_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        FNAM:
                          type: string
                          maxLength: 30
                          description: ''
                        FLDP:
                          type: string
                          maxLength: 3
                          description: ''
                        FLDN:
                          type: string
                          maxLength: 30
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
