openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_ACTIVITY_GROUPS_LOAD_RFC:
    post:
      tags:
      - PRGN_EXCHANGE
      operationId: /rfc/PRGN_ACTIVITY_GROUPS_LOAD_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY_GROUP:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Role Name
                LIKE_PARAMETER_FOR_SELECT:
                  type: string
                  maxLength: 30
                RANGES_PARAMETER_FOR_SELECT:
                  type: string
                  maxLength: 30
                SELECT_ALL_ACTIVITY_GROUPS:
                  type: string
                  default: ' '
                  maxLength: 1
                SELECT_TEXTS:
                  type: string
                  default: X
                  maxLength: 1
                SELECT_TEXTS_IN_ANY_LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 1
                ACTIVITY_GROUPS_TEXTS:
                  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:
                  ACTIVITY_GROUPS_TEXTS:
                    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.
