openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_F4_HELP_FOR_AGR:
    post:
      tags:
      - PRGN_TREE
      operationId: /rfc/PRGN_F4_HELP_FOR_AGR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RANGES_PARAMETER_FOR_SELECT:
                  type: string
                  maxLength: 30
                TARGET_SYSTEM:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                AGR_TAB3:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      LINE:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Role name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AGR_NAME:
                    type: string
                    maxLength: 30
                    description: Logical Destination (Specified in Function Call)
                  ANSWER:
                    type: string
                    maxLength: 1
                    description: Logical Destination (Specified in Function Call)
                  AGR_TAB3:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        LINE:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Role name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
