openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CAT_REF_DATA_GET:
    post:
      tags:
      - STTF
      operationId: /rfc/CAT_REF_DATA_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ABLNR:
                  type: string
                  maxLength: 30
                PSVAR:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Variant ID
                SPRAS:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                VARID:
                  type: string
                  default: ' '
                  maxLength: 8
                  description: Variant ID
                PARA:
                  type: array
                  items:
                    type: object
                    properties:
                      PARNA:
                        type: string
                        maxLength: 12
                        description: CATT - Parameter name
                      PATYP:
                        type: string
                        maxLength: 1
                        description: CATT - Parameter type (I,E,V)
                      PSVAR:
                        type: string
                        maxLength: 1
                        description: CATT - Special variables selection field
                      PILEN:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      PDTEL:
                        type: string
                        maxLength: 30
                        description: 'CATT: Parameter Name'
                      PATXT:
                        type: string
                        maxLength: 50
                        description: 'CATT: Parameter Text'
                      PAVAL:
                        type: string
                        maxLength: 132
                        description: CATT - Parameter value
                      PDLEN:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      PDTYP:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      PITYP:
                        type: string
                        maxLength: 1
                        description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      PINDIV:
                        type: string
                        maxLength: 1
                        description: 'CATT: Save Status'
              required:
              - ABLNR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ABBRU:
                    type: string
                    maxLength: 1
                    description: Termination flag
                  AENDER:
                    type: string
                    maxLength: 12
                    description: Last Changed By
                  ATYP:
                    type: string
                    maxLength: 1
                  CBAU:
                    type: string
                    maxLength: 1
                  ERFAS:
                    type: string
                    maxLength: 12
                    description: Creator
                  FRANGE:
                    type: string
                    maxLength: 24
                    description: Component Assignment
                  INAKT:
                    type: string
                    maxLength: 1
                  KONTK:
                    type: string
                    maxLength: 1
                  KTEXT:
                    type: string
                    maxLength: 50
                  MUSER:
                    type: string
                    maxLength: 12
                    description: Person Responsible
                  OSPRA:
                    type: string
                    maxLength: 1
                  PRIO:
                    type: integer
                    format: int64
                    description: Priority
                  PRREL:
                    type: string
                    maxLength: 3
                  RVON:
                    type: string
                    maxLength: 3
                    description: Valid from release
                  SPRAK:
                    type: string
                    maxLength: 1
                  TITLE:
                    type: string
                    maxLength: 75
                  VARTX:
                    type: string
                    maxLength: 50
                    description: Variant Text
                  PARA:
                    type: array
                    items:
                      type: object
                      properties:
                        PARNA:
                          type: string
                          maxLength: 12
                          description: CATT - Parameter name
                        PATYP:
                          type: string
                          maxLength: 1
                          description: CATT - Parameter type (I,E,V)
                        PSVAR:
                          type: string
                          maxLength: 1
                          description: CATT - Special variables selection field
                        PILEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        PDTEL:
                          type: string
                          maxLength: 30
                          description: 'CATT: Parameter Name'
                        PATXT:
                          type: string
                          maxLength: 50
                          description: 'CATT: Parameter Text'
                        PAVAL:
                          type: string
                          maxLength: 132
                          description: CATT - Parameter value
                        PDLEN:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        PDTYP:
                          type: string
                          maxLength: 4
                          description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                            accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                            field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                          enum:
                          - NUMC
                          - INT2
                          - DEC
                          - VARC
                          - INT1
                          - RAW
                          - CUKY
                          - QUAN
                          - FLTP
                          - LRAW
                          - PREC
                          - CHAR
                          - ACCP
                          - INT4
                          - RSTR
                          - STRG
                          - LANG
                          - TIMS
                          - UNIT
                          - CLNT
                          - DATS
                          - LCHR
                          - CURR
                          - SSTR
                        PITYP:
                          type: string
                          maxLength: 1
                          description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character
                            string (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        PINDIV:
                          type: string
                          maxLength: 1
                          description: 'CATT: Save Status'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
