openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSBB_WORKBOOK_COMP_TREE_READ:
    post:
      tags:
      - RSMENU
      operationId: /rfc/RSBB_WORKBOOK_COMP_TREE_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OPEN:
                  type: string
                  default: X
                  maxLength: 1
                I_SHOW_ITEMS:
                  type: string
                  default: X
                  maxLength: 1
                I_SHOW_TEMPLATES:
                  type: string
                  default: X
                  maxLength: 1
                I_SHOW_VIEWS:
                  type: string
                  default: X
                  maxLength: 1
                C_T_NODES_TREE:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT_KEY:
                        type: string
                        maxLength: 12
                        description: 'Tree Control: Node Key'
                      PARENT_KEY:
                        type: string
                        maxLength: 12
                        description: 'Tree Control: Node Key'
                      GUID:
                        type: string
                        maxLength: 300
                        description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID,URL)
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                      ICONID:
                        type: string
                        maxLength: 10
                        description: Icon ID in a Tree Node
                      DISABLED_ICONID:
                        type: string
                        maxLength: 10
                        description: Icon ID in a Tree Node
                      HIDDEN:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      DISABLED:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      ISFOLDER:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      EXPANDED:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      EXPANDER:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                E_T_NODES_STRUCTURE:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      ITEMKEY:
                        type: string
                        maxLength: 12
                        description: Item Key
                      ITEMTEXT:
                        type: string
                        maxLength: 60
                        description: Long description
                      ITEMTYPE:
                        type: integer
                        format: int64
                        description: 'Item type  enumValues: 0=Hierarchy,4=Button,2=Text,1=Image,3=Boolean,5=Link'
                        enum:
                        - '0'
                        - '4'
                        - '2'
                        - '1'
                        - '3'
                        - '5'
                      COLINDEX:
                        type: integer
                        format: int64
                        description: Column Index in the Data Table
                      HIDDEN:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      EDITABLE:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      EXPAND_ON_DBLCLK:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      DISABLED:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      FOCUS:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      ALIGN:
                        type: integer
                        format: int64
                        description: 'Text alignment in a SAP table tree column  enumValues: 0=Left,2=Right,1=Centered,3=Automatic'
                        enum:
                        - '0'
                        - '2'
                        - '1'
                        - '3'
                      WIDTH:
                        type: integer
                        format: int64
                        description: Column width
                      MINWIDTH:
                        type: integer
                        format: int64
                        description: Min. Column Width
                      MAXWIDTH:
                        type: integer
                        format: int64
                        description: Max. Column Width
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  C_T_NODES_TREE:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT_KEY:
                          type: string
                          maxLength: 12
                          description: 'Tree Control: Node Key'
                        PARENT_KEY:
                          type: string
                          maxLength: 12
                          description: 'Tree Control: Node Key'
                        GUID:
                          type: string
                          maxLength: 300
                          description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID,URL)
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                        ICONID:
                          type: string
                          maxLength: 10
                          description: Icon ID in a Tree Node
                        DISABLED_ICONID:
                          type: string
                          maxLength: 10
                          description: Icon ID in a Tree Node
                        HIDDEN:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        DISABLED:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        ISFOLDER:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        EXPANDED:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        EXPANDER:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                  E_T_NODES_STRUCTURE:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        ITEMKEY:
                          type: string
                          maxLength: 12
                          description: Item Key
                        ITEMTEXT:
                          type: string
                          maxLength: 60
                          description: Long description
                        ITEMTYPE:
                          type: integer
                          format: int64
                          description: 'Item type  enumValues: 0=Hierarchy,4=Button,2=Text,1=Image,3=Boolean,5=Link'
                          enum:
                          - '0'
                          - '4'
                          - '2'
                          - '1'
                          - '3'
                          - '5'
                        COLINDEX:
                          type: integer
                          format: int64
                          description: Column Index in the Data Table
                        HIDDEN:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        EDITABLE:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        EXPAND_ON_DBLCLK:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        DISABLED:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        FOCUS:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        ALIGN:
                          type: integer
                          format: int64
                          description: 'Text alignment in a SAP table tree column  enumValues: 0=Left,2=Right,1=Centered,3=Automatic'
                          enum:
                          - '0'
                          - '2'
                          - '1'
                          - '3'
                        WIDTH:
                          type: integer
                          format: int64
                          description: Column width
                        MINWIDTH:
                          type: integer
                          format: int64
                          description: Min. Column Width
                        MAXWIDTH:
                          type: integer
                          format: int64
                          description: Max. Column Width
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
