openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMI_XBP_VARIANT_INFO_GET:
    post:
      tags:
      - SXJI
      summary: 'Obsolete: Use BAPI_XBP_VARIANT_INFO_GET'
      operationId: /rfc/SXMI_XBP_VARIANT_INFO_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ABAP_PROGRAM_NAME:
                  type: string
                  maxLength: 40
                  description: ABAP program name
                EXTERNAL_USER_NAME:
                  type: string
                  maxLength: 16
                  description: External user name
                ABAP_VARIANT_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      REPORT:
                        type: string
                        maxLength: 40
                        description: Report Name
                      VARIANT:
                        type: string
                        maxLength: 14
                        description: Variant Name
              required:
              - ABAP_PROGRAM_NAME
              - EXTERNAL_USER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ABAP_VARIANT_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        REPORT:
                          type: string
                          maxLength: 40
                          description: Report Name
                        VARIANT:
                          type: string
                          maxLength: 14
                          description: Variant Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
