openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MENU_F4_HELP_HIERARCHY:
    post:
      tags:
      - SMTR
      operationId: /rfc/MENU_F4_HELP_HIERARCHY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALLOW_TCODE_START:
                  type: string
                  default: ' '
                  maxLength: 1
                ALL_LANGUAGES:
                  type: string
                  default: ' '
                  maxLength: 1
                NO_WARNING:
                  type: string
                  default: X
                  maxLength: 1
                RFC_TARGET_DESTINATION:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                SHOW_TECHNICAL_NAMES:
                  type: string
                  default: ' '
                  maxLength: 1
                SINGLE_SELECTION:
                  type: string
                  default: ' '
                  maxLength: 1
                SSM_MENU_TYPE:
                  type: string
                  default: S
                  maxLength: 1
                TARGET_RELEASE:
                  type: string
                  default: SY-SAPRL
                  maxLength: 4
                  description: R/3 System, system release
                SELECTED_NODES_HIERARCHY:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSTOMIZED:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: Level in the menu
                      REPORTTYPE:
                        type: string
                        maxLength: 2
                        description: Report type
                      REPORT:
                        type: string
                        maxLength: 48
                        description: Extended program name
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
                      PAR_MENU:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      CUST_FLAG:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      SAP_GUID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                SELECTED_NODES_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                SELECTED_TCODES:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Transaction Code
                SELECTED_TCODES_TUPEL:
                  type: array
                  items:
                    type: object
                    properties:
                      REPORTTYPE:
                        type: string
                        maxLength: 2
                        description: Report type
                      REPORT:
                        type: string
                        maxLength: 48
                        description: Extended program name
                      PAR_MENU:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      PAR_REPORT:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SELECTED_NODES_HIERARCHY:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSTOMIZED:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: Level in the menu
                        REPORTTYPE:
                          type: string
                          maxLength: 2
                          description: Report type
                        REPORT:
                          type: string
                          maxLength: 48
                          description: Extended program name
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
                        PAR_MENU:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        CUST_FLAG:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        SAP_GUID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                  SELECTED_NODES_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                  SELECTED_TCODES:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction Code
                  SELECTED_TCODES_TUPEL:
                    type: array
                    items:
                      type: object
                      properties:
                        REPORTTYPE:
                          type: string
                          maxLength: 2
                          description: Report type
                        REPORT:
                          type: string
                          maxLength: 48
                          description: Extended program name
                        PAR_MENU:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        PAR_REPORT:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
