openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSR_NET_RESULTSET_GET:
    post:
      tags:
      - RSR_XLS_RFC
      summary: Retrieves the resultset of a dataprovider
      operationId: /rfc/RSR_NET_RESULTSET_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_APPLICATION:
                  type: string
                I_DATAPROVIDERNM:
                  type: string
                E_T_GRID:
                  type: array
                  items:
                    type: object
                    properties:
                      X:
                        type: integer
                        format: int32
                        description: Column coordinate
                      Y:
                        type: integer
                        format: int32
                        description: Row Coordinates
                      DATA:
                        type: string
                        maxLength: 73
                        description: Data part of a grid cell
                      CONTENT:
                        type: string
                        maxLength: 4
                        description: Semantic content of a grid cell
                      TLEVEL:
                        type: integer
                        format: int64
                        description: Node level
                      DRILLSTATE:
                        type: string
                        maxLength: 1
                        description: 'Status of a hierarchy node with respect to tree structure  enumValues: L=End Node,C=Node is Collapsed,E=Node is Expanded,""=End node'
                        enum:
                        - L
                        - C
                        - E
                        - ''
                      MWKZ:
                        type: string
                        maxLength: 1
                        description: Grouping of the key figures
                      NUM_PREC:
                        type: string
                        maxLength: 1
                        description: 'StrMember: Number of places after decimal point for output  enumValues: 0=0,1=0.0,6=0.000000,5=0.00000,8=0.00000000,2=0.00,3=0.000,""=Not defined,4=0.0000,7=0.0000000,9=0.000000000'
                        enum:
                        - '0'
                        - '1'
                        - '6'
                        - '5'
                        - '8'
                        - '2'
                        - '3'
                        - ''
                        - '4'
                        - '7'
                        - '9'
                      NUM_SCALE:
                        type: string
                        maxLength: 1
                        description: 'StrMember: Scaling factor of a number  enumValues: 1=in 10,3=in 1,000,5=in 100,000,0=in 1,6=in 1,000,000,8=in 100,000,000,""=Not defined,2=in 100,4=in 10,000,7=in 10,000,000,9=in 1,000,000,000'
                        enum:
                        - '1'
                        - '3'
                        - '5'
                        - '0'
                        - '6'
                        - '8'
                        - ''
                        - '2'
                        - '4'
                        - '7'
                        - '9'
                      CURRENCY:
                        type: string
                        maxLength: 5
                        description: 'StrMember: Target currency for currency translation'
                      UNIT:
                        type: string
                        maxLength: 3
                        description: Unit key
                      ICON_SHIFT:
                        type: integer
                        format: int64
                        description: Node level
                      DATACELLTYPE:
                        type: string
                        maxLength: 3
                        description: 'Data Cell Type  enumValues: F=Format Cell,S=Structure Cell,E=Error Cell,D=Data Cell,HT=Caption cell text,CT=Characteristic Cell text,A=Attribute Cell,CK=Characteristic Cell Key,HK=Caption cell key,H=Caption Cell,C=Characteristic Cell'
                        enum:
                        - F
                        - S
                        - E
                        - D
                        - HT
                        - CT
                        - A
                        - CK
                        - HK
                        - H
                        - C
                      CHAVL_EXT:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      IOBJNM_COLUMN:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      IOBJNM_ROW:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      ELTUID1:
                        type: string
                        maxLength: 25
                        description: 'BW: Unequivocal ID in room and time'
                      ELTUID2:
                        type: string
                        maxLength: 25
                        description: 'BW: Unequivocal ID in room and time'
                      ROW:
                        type: integer
                        format: int32
                        description: Row Coordinates
                      COLUMN:
                        type: integer
                        format: int32
                        description: Column coordinate
                      NODE_IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      INPUT:
                        type: string
                        maxLength: 1
                        description: 'No Entry Possible  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      VALTYPE:
                        type: string
                        maxLength: 1
                        description: 'Value Type  enumValues: %=Percentage,""=Initial / Undefined,T=Time,P=Normal,H=Number with Higher Accuracy,D=Date,F=Floating point no.'
                        enum:
                        - '%'
                        - ''
                        - T
                        - P
                        - H
                        - D
                        - F
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
                E_T_RANGES:
                  type: array
                  items:
                    type: object
                    properties:
                      X1:
                        type: integer
                        format: int32
                        description: Column coordinate
                      Y1:
                        type: integer
                        format: int32
                        description: Row Coordinates
                      X2:
                        type: integer
                        format: int32
                        description: Column coordinate
                      Y2:
                        type: integer
                        format: int32
                        description: Row Coordinates
                      CONTENT:
                        type: string
                        maxLength: 4
                        description: Semantic content of a grid cell
                      VBFORMAT:
                        type: string
                        maxLength: 64
                        description: VB Format key
                E_T_SYMBOLS:
                  type: array
                  items:
                    type: object
                    properties:
                      X:
                        type: integer
                        format: int32
                        description: Column Coordinate
                      Y:
                        type: integer
                        format: int32
                        description: Row Coordinates
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Symbol Type  enumValues: C=Collapsed Hierarchy Nodes,U=Nodes Expanded after the Last Characteristic,D=Document Link,B=BOR Link,E=Expanded Hierarchy Nodes'
                        enum:
                        - C
                        - U
                        - D
                        - B
                        - E
                      AXIS:
                        type: string
                        maxLength: 1
                        description: 'Axis, along which a characteristic is arranged in a query  enumValues: 2=Pages,F=Characteristic is unused (free),3=Sections,0=Columns,4=Chapters,""=defaults (i.e. X for formula elements, Y for chars),1=Rows'
                        enum:
                        - '2'
                        - F
                        - '3'
                        - '0'
                        - '4'
                        - ''
                        - '1'
                      NODE_POSIT:
                        type: string
                        maxLength: 1
                        description: 'Query: Position of the results row  enumValues: 1=Bottom/right,""=Default (bottom/right),2=Top/left'
                        enum:
                        - '1'
                        - ''
                        - '2'
                      TLEVEL:
                        type: integer
                        format: int64
                        description: Node level
                      TXTID:
                        type: integer
                        format: int64
                        description: Text ID
                      TXTINDEX:
                        type: integer
                        format: int64
                        description: Text ID
                      ICON_SHIFT:
                        type: integer
                        format: int64
                        description: Node level
                      POSITION:
                        type: integer
                        format: int32
                        description: Natural number
                      URL:
                        type: string
                        maxLength: 255
                        description: Char255
                E_T_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      TXTID:
                        type: integer
                        format: int64
                        description: Text ID
                      FS:
                        type: integer
                        format: int64
                        description: Sequence Number
                      TXT:
                        type: string
                        maxLength: 60
                        description: Long description
                E_T_TXT_ELEMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SYM_TYPE:
                        type: string
                        maxLength: 1
                        description: Type of text symbol
                      SYM_TIMEDEP:
                        type: string
                        maxLength: 1
                        description: Symbol is time-dependent (e.g. sy-date, sy-time)
                      SYM_NAME:
                        type: string
                        maxLength: 40
                        description: ID of a text symbol
                      SYM_FS:
                        type: integer
                        format: int64
                        description: Next record no. of an entry in the symbol table
                      SYM_BEGIN_GROUP:
                        type: string
                        maxLength: 1
                        description: 'Indicator, that a group starts with this menu entry  enumValues: ""=false,X=True'
                        enum:
                        - ''
                        - X
                      SYM_CAPTION:
                        type: string
                        maxLength: 60
                        description: Long description
                      SYM_VALUE_TYPE:
                        type: string
                        maxLength: 2
                        description: 'Type of symbol value  enumValues: TT='
                        enum:
                        - TT
                      SYM_VALUE:
                        type: string
                        maxLength: 132
                        description: Value of a text symbol
                      SYM_OUTPUTLEN:
                        type: integer
                        format: int64
                        description: Output Length
                I_T_STATISTIC_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      EVENTID:
                        type: integer
                        format: int64
                        description: OLAP Statistics Event (Type NUMC9)
                      HANDLEID:
                        type: integer
                        format: int64
                        description: Internal ID of a Query Runtime Object
                      HANDLETP:
                        type: string
                        maxLength: 4
                        description: Internal Type of Query Runtime Object
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: OLAP Statistik Object Name  (QueryID, TemplateID,...)
                      EVTIME:
                        type: integer
                        format: int64
                        description: Validity Period
                      EVCOUNT:
                        type: integer
                        format: int64
                        description: 'BW Statistics: Number'
              required:
              - I_APPLICATION
              - I_DATAPROVIDERNM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_EDITABLE:
                    type: integer
                    format: int32
                  E_MAX_X:
                    type: integer
                    format: int32
                  E_MAX_Y:
                    type: integer
                    format: int32
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value of ABAP Statements
                  E_T_GRID:
                    type: array
                    items:
                      type: object
                      properties:
                        X:
                          type: integer
                          format: int32
                          description: Column coordinate
                        Y:
                          type: integer
                          format: int32
                          description: Row Coordinates
                        DATA:
                          type: string
                          maxLength: 73
                          description: Data part of a grid cell
                        CONTENT:
                          type: string
                          maxLength: 4
                          description: Semantic content of a grid cell
                        TLEVEL:
                          type: integer
                          format: int64
                          description: Node level
                        DRILLSTATE:
                          type: string
                          maxLength: 1
                          description: 'Status of a hierarchy node with respect to tree structure  enumValues: L=End Node,C=Node is Collapsed,E=Node is Expanded,""=End node'
                          enum:
                          - L
                          - C
                          - E
                          - ''
                        MWKZ:
                          type: string
                          maxLength: 1
                          description: Grouping of the key figures
                        NUM_PREC:
                          type: string
                          maxLength: 1
                          description: 'StrMember: Number of places after decimal point for output  enumValues: 0=0,1=0.0,6=0.000000,5=0.00000,8=0.00000000,2=0.00,3=0.000,""=Not defined,4=0.0000,7=0.0000000,9=0.000000000'
                          enum:
                          - '0'
                          - '1'
                          - '6'
                          - '5'
                          - '8'
                          - '2'
                          - '3'
                          - ''
                          - '4'
                          - '7'
                          - '9'
                        NUM_SCALE:
                          type: string
                          maxLength: 1
                          description: 'StrMember: Scaling factor of a number  enumValues: 1=in 10,3=in 1,000,5=in 100,000,0=in 1,6=in 1,000,000,8=in 100,000,000,""=Not defined,2=in 100,4=in 10,000,7=in 10,000,000,9=in 1,000,000,000'
                          enum:
                          - '1'
                          - '3'
                          - '5'
                          - '0'
                          - '6'
                          - '8'
                          - ''
                          - '2'
                          - '4'
                          - '7'
                          - '9'
                        CURRENCY:
                          type: string
                          maxLength: 5
                          description: 'StrMember: Target currency for currency translation'
                        UNIT:
                          type: string
                          maxLength: 3
                          description: Unit key
                        ICON_SHIFT:
                          type: integer
                          format: int64
                          description: Node level
                        DATACELLTYPE:
                          type: string
                          maxLength: 3
                          description: 'Data Cell Type  enumValues: F=Format Cell,S=Structure Cell,E=Error Cell,D=Data Cell,HT=Caption cell text,CT=Characteristic Cell text,A=Attribute Cell,CK=Characteristic Cell Key,HK=Caption cell key,H=Caption Cell,C=Characteristic Cell'
                          enum:
                          - F
                          - S
                          - E
                          - D
                          - HT
                          - CT
                          - A
                          - CK
                          - HK
                          - H
                          - C
                        CHAVL_EXT:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        IOBJNM_COLUMN:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        IOBJNM_ROW:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        ELTUID1:
                          type: string
                          maxLength: 25
                          description: 'BW: Unequivocal ID in room and time'
                        ELTUID2:
                          type: string
                          maxLength: 25
                          description: 'BW: Unequivocal ID in room and time'
                        ROW:
                          type: integer
                          format: int32
                          description: Row Coordinates
                        COLUMN:
                          type: integer
                          format: int32
                          description: Column coordinate
                        NODE_IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        INPUT:
                          type: string
                          maxLength: 1
                          description: 'No Entry Possible  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        VALTYPE:
                          type: string
                          maxLength: 1
                          description: 'Value Type  enumValues: %=Percentage,""=Initial / Undefined,T=Time,P=Normal,H=Number with Higher Accuracy,D=Date,F=Floating point no.'
                          enum:
                          - '%'
                          - ''
                          - T
                          - P
                          - H
                          - D
                          - F
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
                  E_T_RANGES:
                    type: array
                    items:
                      type: object
                      properties:
                        X1:
                          type: integer
                          format: int32
                          description: Column coordinate
                        Y1:
                          type: integer
                          format: int32
                          description: Row Coordinates
                        X2:
                          type: integer
                          format: int32
                          description: Column coordinate
                        Y2:
                          type: integer
                          format: int32
                          description: Row Coordinates
                        CONTENT:
                          type: string
                          maxLength: 4
                          description: Semantic content of a grid cell
                        VBFORMAT:
                          type: string
                          maxLength: 64
                          description: VB Format key
                  E_T_SYMBOLS:
                    type: array
                    items:
                      type: object
                      properties:
                        X:
                          type: integer
                          format: int32
                          description: Column Coordinate
                        Y:
                          type: integer
                          format: int32
                          description: Row Coordinates
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Symbol Type  enumValues: C=Collapsed Hierarchy Nodes,U=Nodes Expanded after the Last Characteristic,D=Document Link,B=BOR Link,E=Expanded Hierarchy Nodes'
                          enum:
                          - C
                          - U
                          - D
                          - B
                          - E
                        AXIS:
                          type: string
                          maxLength: 1
                          description: 'Axis, along which a characteristic is arranged in a query  enumValues: 2=Pages,F=Characteristic is unused (free),3=Sections,0=Columns,4=Chapters,""=defaults (i.e. X for formula elements, Y for chars),1=Rows'
                          enum:
                          - '2'
                          - F
                          - '3'
                          - '0'
                          - '4'
                          - ''
                          - '1'
                        NODE_POSIT:
                          type: string
                          maxLength: 1
                          description: 'Query: Position of the results row  enumValues: 1=Bottom/right,""=Default (bottom/right),2=Top/left'
                          enum:
                          - '1'
                          - ''
                          - '2'
                        TLEVEL:
                          type: integer
                          format: int64
                          description: Node level
                        TXTID:
                          type: integer
                          format: int64
                          description: Text ID
                        TXTINDEX:
                          type: integer
                          format: int64
                          description: Text ID
                        ICON_SHIFT:
                          type: integer
                          format: int64
                          description: Node level
                        POSITION:
                          type: integer
                          format: int32
                          description: Natural number
                        URL:
                          type: string
                          maxLength: 255
                          description: Char255
                  E_T_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        TXTID:
                          type: integer
                          format: int64
                          description: Text ID
                        FS:
                          type: integer
                          format: int64
                          description: Sequence Number
                        TXT:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_TXT_ELEMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SYM_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of text symbol
                        SYM_TIMEDEP:
                          type: string
                          maxLength: 1
                          description: Symbol is time-dependent (e.g. sy-date, sy-time)
                        SYM_NAME:
                          type: string
                          maxLength: 40
                          description: ID of a text symbol
                        SYM_FS:
                          type: integer
                          format: int64
                          description: Next record no. of an entry in the symbol table
                        SYM_BEGIN_GROUP:
                          type: string
                          maxLength: 1
                          description: 'Indicator, that a group starts with this menu entry  enumValues: ""=false,X=True'
                          enum:
                          - ''
                          - X
                        SYM_CAPTION:
                          type: string
                          maxLength: 60
                          description: Long description
                        SYM_VALUE_TYPE:
                          type: string
                          maxLength: 2
                          description: 'Type of symbol value  enumValues: TT='
                          enum:
                          - TT
                        SYM_VALUE:
                          type: string
                          maxLength: 132
                          description: Value of a text symbol
                        SYM_OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                  I_T_STATISTIC_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        EVENTID:
                          type: integer
                          format: int64
                          description: OLAP Statistics Event (Type NUMC9)
                        HANDLEID:
                          type: integer
                          format: int64
                          description: Internal ID of a Query Runtime Object
                        HANDLETP:
                          type: string
                          maxLength: 4
                          description: Internal Type of Query Runtime Object
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: OLAP Statistik Object Name  (QueryID, TemplateID,...)
                        EVTIME:
                          type: integer
                          format: int64
                          description: Validity Period
                        EVCOUNT:
                          type: integer
                          format: int64
                          description: 'BW Statistics: Number'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
