openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_RFC_READ_TEXTS:
    post:
      tags:
      - PRGN_CATT
      operationId: /rfc/PRGN_RFC_READ_TEXTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY_GROUP:
                  type: string
                  maxLength: 30
                  description: Activity group name
                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
              required:
              - ACTIVITY_GROUP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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.
