openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRT_BROWSE_MEASURES:
    post:
      tags:
      - RRT1
      operationId: /rfc/RRT_BROWSE_MEASURES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CAT_NAM:
                  type: string
                  maxLength: 32
                I_CUBE_NAM:
                  type: string
                  maxLength: 70
                I_MES_NAM:
                  type: string
                  maxLength: 30
                I_MES_UNAM:
                  type: string
                  maxLength: 143
                I_NO_MEASURES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ")'
                E_T_AGGREXC:
                  type: array
                  items:
                    type: object
                    properties:
                      CAT_NAM:
                        type: string
                        maxLength: 32
                        description: CATALOG to which the CUBE belongs
                      CUBE_NAM:
                        type: string
                        maxLength: 70
                        description: Cube name
                      MES_UNAM:
                        type: string
                        maxLength: 143
                        description: Unique name of a member
                      MES_AGGREGATOR:
                        type: integer
                        format: int64
                        description: 'Aggregational behaviour for key figure  enumValues: 006=MEASURE_AGGR_VAR,011=MEASURE_AGGR_COUNT_NOT_ZERO,001=MEASURE_AGGR_SUM,008=MEASURE_AGGR_AVG_NOT_ZERO,004=MEASURE_AGGR_MAX,007=MEASURE_AGGR_STD,013=MEASURE_AGGR_LAST,000=MEASURE_AGGR_UNKNOWN,002=MEASURE_AGGR_COUNT,010=MEASURE_AGGR_AVG_PERIOD,127=MEASURE_AGGR_CALCULATED,009=MEASURE_AGGR_AVG_CALENDAR_DAYS,014=MEASURE_AGGR_NOP,012=MEASURE_AGGR_FIRST,003=MEASURE_AGGR_MIN,005=MEASURE_AGGR_AVG'
                        enum:
                        - '006'
                        - '011'
                        - '001'
                        - '008'
                        - '004'
                        - '007'
                        - '013'
                        - '000'
                        - '002'
                        - '010'
                        - '127'
                        - '009'
                        - '014'
                        - '012'
                        - '003'
                        - '005'
                      MES_AGGR_EXCEPTIONAL:
                        type: integer
                        format: int64
                        description: 'Aggregational behaviour for key figure  enumValues: 006=MEASURE_AGGR_VAR,011=MEASURE_AGGR_COUNT_NOT_ZERO,001=MEASURE_AGGR_SUM,008=MEASURE_AGGR_AVG_NOT_ZERO,004=MEASURE_AGGR_MAX,007=MEASURE_AGGR_STD,013=MEASURE_AGGR_LAST,000=MEASURE_AGGR_UNKNOWN,002=MEASURE_AGGR_COUNT,010=MEASURE_AGGR_AVG_PERIOD,127=MEASURE_AGGR_CALCULATED,009=MEASURE_AGGR_AVG_CALENDAR_DAYS,014=MEASURE_AGGR_NOP,012=MEASURE_AGGR_FIRST,003=MEASURE_AGGR_MIN,005=MEASURE_AGGR_AVG'
                        enum:
                        - '006'
                        - '011'
                        - '001'
                        - '008'
                        - '004'
                        - '007'
                        - '013'
                        - '000'
                        - '002'
                        - '010'
                        - '127'
                        - '009'
                        - '014'
                        - '012'
                        - '003'
                        - '005'
                      MES_AGGR_REF_DIM:
                        type: string
                        maxLength: 32
                        description: Unique name of dimension (dimension unique name)
                E_T_MEASURES:
                  type: array
                  items:
                    type: object
                    properties:
                      CAT_NAM:
                        type: string
                        maxLength: 32
                        description: CATALOG to which the CUBE belongs
                      CUBE_NAM:
                        type: string
                        maxLength: 70
                        description: Cube name
                      MES_NAM:
                        type: string
                        maxLength: 30
                        description: Key figure
                      MES_UNAM:
                        type: string
                        maxLength: 143
                        description: Unique name of a member
                      MES_CAP:
                        type: string
                        maxLength: 60
                        description: Long description
                      MES_UID:
                        type: string
                        maxLength: 25
                        description: UUID in compressed form
                      MES_AGGREGATOR:
                        type: integer
                        format: int64
                        description: 'Aggregational behaviour for key figure  enumValues: 006=MEASURE_AGGR_VAR,011=MEASURE_AGGR_COUNT_NOT_ZERO,001=MEASURE_AGGR_SUM,008=MEASURE_AGGR_AVG_NOT_ZERO,004=MEASURE_AGGR_MAX,007=MEASURE_AGGR_STD,013=MEASURE_AGGR_LAST,000=MEASURE_AGGR_UNKNOWN,002=MEASURE_AGGR_COUNT,010=MEASURE_AGGR_AVG_PERIOD,127=MEASURE_AGGR_CALCULATED,009=MEASURE_AGGR_AVG_CALENDAR_DAYS,014=MEASURE_AGGR_NOP,012=MEASURE_AGGR_FIRST,003=MEASURE_AGGR_MIN,005=MEASURE_AGGR_AVG'
                        enum:
                        - '006'
                        - '011'
                        - '001'
                        - '008'
                        - '004'
                        - '007'
                        - '013'
                        - '000'
                        - '002'
                        - '010'
                        - '127'
                        - '009'
                        - '014'
                        - '012'
                        - '003'
                        - '005'
                      DATA_TYPE:
                        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
                      NUM_PREC:
                        type: string
                        maxLength: 1
                        description: Maximum precision (only given if data type is numeric)
                      NUM_SCALE:
                        type: string
                        maxLength: 1
                        description: Display factor (if applicable)
                      MES_UNITS:
                        type: string
                        maxLength: 60
                        description: Unit of measurement (dollars, item, if applicable)
                      DSCRPTN:
                        type: string
                        maxLength: 60
                        description: Long description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_AGGREXC:
                    type: array
                    items:
                      type: object
                      properties:
                        CAT_NAM:
                          type: string
                          maxLength: 32
                          description: CATALOG to which the CUBE belongs
                        CUBE_NAM:
                          type: string
                          maxLength: 70
                          description: Cube name
                        MES_UNAM:
                          type: string
                          maxLength: 143
                          description: Unique name of a member
                        MES_AGGREGATOR:
                          type: integer
                          format: int64
                          description: 'Aggregational behaviour for key figure  enumValues: 006=MEASURE_AGGR_VAR,011=MEASURE_AGGR_COUNT_NOT_ZERO,001=MEASURE_AGGR_SUM,008=MEASURE_AGGR_AVG_NOT_ZERO,004=MEASURE_AGGR_MAX,007=MEASURE_AGGR_STD,013=MEASURE_AGGR_LAST,000=MEASURE_AGGR_UNKNOWN,002=MEASURE_AGGR_COUNT,010=MEASURE_AGGR_AVG_PERIOD,127=MEASURE_AGGR_CALCULATED,009=MEASURE_AGGR_AVG_CALENDAR_DAYS,014=MEASURE_AGGR_NOP,012=MEASURE_AGGR_FIRST,003=MEASURE_AGGR_MIN,005=MEASURE_AGGR_AVG'
                          enum:
                          - '006'
                          - '011'
                          - '001'
                          - '008'
                          - '004'
                          - '007'
                          - '013'
                          - '000'
                          - '002'
                          - '010'
                          - '127'
                          - '009'
                          - '014'
                          - '012'
                          - '003'
                          - '005'
                        MES_AGGR_EXCEPTIONAL:
                          type: integer
                          format: int64
                          description: 'Aggregational behaviour for key figure  enumValues: 006=MEASURE_AGGR_VAR,011=MEASURE_AGGR_COUNT_NOT_ZERO,001=MEASURE_AGGR_SUM,008=MEASURE_AGGR_AVG_NOT_ZERO,004=MEASURE_AGGR_MAX,007=MEASURE_AGGR_STD,013=MEASURE_AGGR_LAST,000=MEASURE_AGGR_UNKNOWN,002=MEASURE_AGGR_COUNT,010=MEASURE_AGGR_AVG_PERIOD,127=MEASURE_AGGR_CALCULATED,009=MEASURE_AGGR_AVG_CALENDAR_DAYS,014=MEASURE_AGGR_NOP,012=MEASURE_AGGR_FIRST,003=MEASURE_AGGR_MIN,005=MEASURE_AGGR_AVG'
                          enum:
                          - '006'
                          - '011'
                          - '001'
                          - '008'
                          - '004'
                          - '007'
                          - '013'
                          - '000'
                          - '002'
                          - '010'
                          - '127'
                          - '009'
                          - '014'
                          - '012'
                          - '003'
                          - '005'
                        MES_AGGR_REF_DIM:
                          type: string
                          maxLength: 32
                          description: Unique name of dimension (dimension unique name)
                  E_T_MEASURES:
                    type: array
                    items:
                      type: object
                      properties:
                        CAT_NAM:
                          type: string
                          maxLength: 32
                          description: CATALOG to which the CUBE belongs
                        CUBE_NAM:
                          type: string
                          maxLength: 70
                          description: Cube name
                        MES_NAM:
                          type: string
                          maxLength: 30
                          description: Key figure
                        MES_UNAM:
                          type: string
                          maxLength: 143
                          description: Unique name of a member
                        MES_CAP:
                          type: string
                          maxLength: 60
                          description: Long description
                        MES_UID:
                          type: string
                          maxLength: 25
                          description: UUID in compressed form
                        MES_AGGREGATOR:
                          type: integer
                          format: int64
                          description: 'Aggregational behaviour for key figure  enumValues: 006=MEASURE_AGGR_VAR,011=MEASURE_AGGR_COUNT_NOT_ZERO,001=MEASURE_AGGR_SUM,008=MEASURE_AGGR_AVG_NOT_ZERO,004=MEASURE_AGGR_MAX,007=MEASURE_AGGR_STD,013=MEASURE_AGGR_LAST,000=MEASURE_AGGR_UNKNOWN,002=MEASURE_AGGR_COUNT,010=MEASURE_AGGR_AVG_PERIOD,127=MEASURE_AGGR_CALCULATED,009=MEASURE_AGGR_AVG_CALENDAR_DAYS,014=MEASURE_AGGR_NOP,012=MEASURE_AGGR_FIRST,003=MEASURE_AGGR_MIN,005=MEASURE_AGGR_AVG'
                          enum:
                          - '006'
                          - '011'
                          - '001'
                          - '008'
                          - '004'
                          - '007'
                          - '013'
                          - '000'
                          - '002'
                          - '010'
                          - '127'
                          - '009'
                          - '014'
                          - '012'
                          - '003'
                          - '005'
                        DATA_TYPE:
                          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
                        NUM_PREC:
                          type: string
                          maxLength: 1
                          description: Maximum precision (only given if data type is numeric)
                        NUM_SCALE:
                          type: string
                          maxLength: 1
                          description: Display factor (if applicable)
                        MES_UNITS:
                          type: string
                          maxLength: 60
                          description: Unit of measurement (dollars, item, if applicable)
                        DSCRPTN:
                          type: string
                          maxLength: 60
                          description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
