openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_AUTH_ACTIVITY_GROUPS_LOAD:
    post:
      tags:
      - S_AUTH_TOOL_2
      operationId: /rfc/S_AUTH_ACTIVITY_GROUPS_LOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY_GROUP:
                  type: string
                  default: ' '
                  maxLength: 30
                LIKE_PARAMETER_FOR_SELECT:
                  type: string
                  default: ' '
                  maxLength: 30
                NO_BW_ACTGROUPS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Customized ('C') or standard menu ('S') flag
                NO_DERIVED_ROLES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Customized ('C') or standard menu ('S') flag
                NO_SAP_ROLES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Customized ('C') or standard menu ('S') flag
                ONLY_SAP_ACTGROUPS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Customized ('C') or standard menu ('S') flag
                RANGES_PARAMETER_FOR_SELECT:
                  type: string
                  default: ' '
                  maxLength: 30
                RESTRICT_TO_THIS_CHILD_AGR:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Role Name
                SELECT_ALL_ACTIVITY_GROUPS:
                  type: string
                  default: X
                  maxLength: 1
                SELECT_TEXTS:
                  type: string
                  default: X
                  maxLength: 1
                SELECT_TEXTS_IN_ANY_LANGUAGE:
                  type: string
                  default: X
                  maxLength: 1
                COLLECTIVE_ACTGROUPS:
                  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
                SINGLE_ACTGROUPS:
                  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:
                  COLLECTIVE_ACTGROUPS:
                    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
                  SINGLE_ACTGROUPS:
                    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.
