openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_EXT_GET_CUSTVERS:
    post:
      tags:
      - SCR2
      operationId: /rfc/RS_SCRP_EXT_GET_CUSTVERS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TRANSPORT_KEY:
                  type: object
                  properties:
                    DEVCLASS:
                      type: string
                      maxLength: 30
                      description: Package
                    OBJ_TYPE:
                      type: string
                      maxLength: 4
                      description: Object Type
                    OBJ_NAME:
                      type: string
                      maxLength: 40
                      description: Object Name in Object Directory
                    SUB_TYPE:
                      type: string
                      maxLength: 4
                      description: Object Type
                    SUB_NAME:
                      type: string
                      maxLength: 120
                      description: Object name in SUBKEY
                FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      FNAM:
                        type: string
                        maxLength: 132
                        description: Field name
                      DIDX:
                        type: string
                        format: byte
                        description: Box height
                      FLG1:
                        type: string
                        format: byte
                        description: Flag byte 1
                      FLG2:
                        type: string
                        format: byte
                        description: Flag byte 2
                      FLG3:
                        type: string
                        format: byte
                        description: Flag byte 3
                      FILL:
                        type: string
                        maxLength: 1
                        description: Padding character, leading zero
                      FMB1:
                        type: string
                        format: byte
                        description: Format byte
                      FMB2:
                        type: string
                        format: byte
                        description: Format byte extension
                      COLR:
                        type: string
                        maxLength: 1
                        description: Color
                      LENG:
                        type: string
                        format: byte
                        description: Text length
                      LINE:
                        type: string
                        format: byte
                        description: Line
                      COLN:
                        type: string
                        format: byte
                        description: Column
                      LTYP:
                        type: string
                        maxLength: 1
                        description: Loop type
                      LANF:
                        type: string
                        format: byte
                        description: Loop start line
                      LBLK:
                        type: string
                        format: byte
                        description: Loop block size
                      LREP:
                        type: string
                        format: byte
                        description: Loop repeat factor
                      FMKY:
                        type: string
                        maxLength: 3
                        description: Function menu key
                      PAID:
                        type: string
                        maxLength: 20
                        description: Set/Get parameter ID
                      UCNV:
                        type: string
                        maxLength: 5
                        description: User conversion routine
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Field Format
                      AUTH:
                        type: string
                        maxLength: 3
                        description: Authorization ID
                      WNAM:
                        type: string
                        maxLength: 132
                        description: Currency key field
                      DMAC:
                        type: string
                        maxLength: 132
                        description: Matchcode file name
                      GRP1:
                        type: string
                        maxLength: 3
                        description: Modification group 1
                      GRP2:
                        type: string
                        maxLength: 3
                        description: Modification group 2
                      GRP3:
                        type: string
                        maxLength: 3
                        description: Modification group 3
                      GRP4:
                        type: string
                        maxLength: 3
                        description: Modification group 4
                      ITYP:
                        type: string
                        maxLength: 1
                        description: Internal type from ABAP Dictionary
                      AGLT:
                        type: string
                        format: byte
                        description: Number of valid positions
                      ADEZ:
                        type: string
                        format: byte
                        description: No. of decimal places
                      STXT:
                        type: string
                        maxLength: 132
                        description: Text
                      RES1:
                        type: string
                        maxLength: 255
                        description: Screen source reserve field area without structure
                      RES2:
                        type: string
                        maxLength: 255
                        description: Screen source reserve field area without structure
                FIELD_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PROG:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      DYNR:
                        type: integer
                        format: int64
                        description: Screen number
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      FLDN:
                        type: string
                        maxLength: 132
                        description: Field name
                      DTXT:
                        type: string
                        maxLength: 132
                        description: Screen key word text (Lg. 79 --> Lg. 132)
                FLOWLOGIC:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: Screen text line in the flow logic
                HEADER_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PROG:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      DYNR:
                        type: integer
                        format: int64
                        description: Screen number
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language of screen description text
                      DTXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 10
                        description: 'Parameter informatino type for a screen  enumValues: SHLP=Search help,CTMENU=Context menu,CLASS=Class,CNTCMP=Control Composite,PROPERTY=Properties'
                        enum:
                        - SHLP
                        - CTMENU
                        - CLASS
                        - CNTCMP
                        - PROPERTY
                      CONTENT:
                        type: string
                        maxLength: 512
                        description: Parameter information
              required:
              - TRANSPORT_KEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HEADER:
                    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
                  FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        FNAM:
                          type: string
                          maxLength: 132
                          description: Field name
                        DIDX:
                          type: string
                          format: byte
                          description: Box height
                        FLG1:
                          type: string
                          format: byte
                          description: Flag byte 1
                        FLG2:
                          type: string
                          format: byte
                          description: Flag byte 2
                        FLG3:
                          type: string
                          format: byte
                          description: Flag byte 3
                        FILL:
                          type: string
                          maxLength: 1
                          description: Padding character, leading zero
                        FMB1:
                          type: string
                          format: byte
                          description: Format byte
                        FMB2:
                          type: string
                          format: byte
                          description: Format byte extension
                        COLR:
                          type: string
                          maxLength: 1
                          description: Color
                        LENG:
                          type: string
                          format: byte
                          description: Text length
                        LINE:
                          type: string
                          format: byte
                          description: Line
                        COLN:
                          type: string
                          format: byte
                          description: Column
                        LTYP:
                          type: string
                          maxLength: 1
                          description: Loop type
                        LANF:
                          type: string
                          format: byte
                          description: Loop start line
                        LBLK:
                          type: string
                          format: byte
                          description: Loop block size
                        LREP:
                          type: string
                          format: byte
                          description: Loop repeat factor
                        FMKY:
                          type: string
                          maxLength: 3
                          description: Function menu key
                        PAID:
                          type: string
                          maxLength: 20
                          description: Set/Get parameter ID
                        UCNV:
                          type: string
                          maxLength: 5
                          description: User conversion routine
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Field Format
                        AUTH:
                          type: string
                          maxLength: 3
                          description: Authorization ID
                        WNAM:
                          type: string
                          maxLength: 132
                          description: Currency key field
                        DMAC:
                          type: string
                          maxLength: 132
                          description: Matchcode file name
                        GRP1:
                          type: string
                          maxLength: 3
                          description: Modification group 1
                        GRP2:
                          type: string
                          maxLength: 3
                          description: Modification group 2
                        GRP3:
                          type: string
                          maxLength: 3
                          description: Modification group 3
                        GRP4:
                          type: string
                          maxLength: 3
                          description: Modification group 4
                        ITYP:
                          type: string
                          maxLength: 1
                          description: Internal type from ABAP Dictionary
                        AGLT:
                          type: string
                          format: byte
                          description: Number of valid positions
                        ADEZ:
                          type: string
                          format: byte
                          description: No. of decimal places
                        STXT:
                          type: string
                          maxLength: 132
                          description: Text
                        RES1:
                          type: string
                          maxLength: 255
                          description: Screen source reserve field area without structure
                        RES2:
                          type: string
                          maxLength: 255
                          description: Screen source reserve field area without structure
                  FIELD_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PROG:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        DYNR:
                          type: integer
                          format: int64
                          description: Screen number
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        FLDN:
                          type: string
                          maxLength: 132
                          description: Field name
                        DTXT:
                          type: string
                          maxLength: 132
                          description: Screen key word text (Lg. 79 --> Lg. 132)
                  FLOWLOGIC:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: Screen text line in the flow logic
                  HEADER_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PROG:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        DYNR:
                          type: integer
                          format: int64
                          description: Screen number
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language of screen description text
                        DTXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                  PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 10
                          description: 'Parameter informatino type for a screen  enumValues: SHLP=Search help,CTMENU=Context menu,CLASS=Class,CNTCMP=Control Composite,PROPERTY=Properties'
                          enum:
                          - SHLP
                          - CTMENU
                          - CLASS
                          - CNTCMP
                          - PROPERTY
                        CONTENT:
                          type: string
                          maxLength: 512
                          description: Parameter information
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
