openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_RFC_CHANGE_TRANSACTIONS:
    post:
      tags:
      - PRGN_CATT
      operationId: /rfc/PRGN_RFC_CHANGE_TRANSACTIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY_GROUP:
                  type: string
                  maxLength: 30
                  description: Role Name
                NO_CHECK_ON_TCODES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Role Name
                HIERARCHY_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      FOLDER:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Current Transaction Code
                      TARGET_SYS:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                HIERARCHY_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
                TCODES:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Transaction Code
              required:
              - ACTIVITY_GROUP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HIERARCHY_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        FOLDER:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Current Transaction Code
                        TARGET_SYS:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                  HIERARCHY_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
                  TCODES:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction Code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
