openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_DBREAD_BUT100:
    post:
      tags:
      - FSBP_DBREAD
      operationId: /rfc/FSBP_DBREAD_BUT100
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DB:
                  type: string
                  maxLength: 1
                  description: 'Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ")'
                I_DFVAL:
                  type: string
                  maxLength: 20
                  description: 'BP: Differentiation Type Value'
                I_PARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                I_RLTYP:
                  type: string
                  maxLength: 6
                  description: 'BDT: Object Part'
                I_VALDT:
                  type: string
                  format: date
                  default: SY-DATLO
                  description: Date and time, local date of user
                T_BUT100:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      RLTYP:
                        type: string
                        maxLength: 6
                        description: BP Role
                      DFVAL:
                        type: string
                        maxLength: 20
                        description: 'BP: Differentiation type value'
                      VALID_FROM:
                        type: integer
                        format: int64
                        description: Validity Start of a BP Role
                      VALID_TO:
                        type: integer
                        format: int64
                        description: Validity End of a BP Role
              required:
              - I_PARTNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BUT100:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      RLTYP:
                        type: string
                        maxLength: 6
                        description: BP Role
                      DFVAL:
                        type: string
                        maxLength: 20
                        description: 'BP: Differentiation type value'
                      VALID_FROM:
                        type: integer
                        format: int64
                        description: Validity Start of a BP Role
                      VALID_TO:
                        type: integer
                        format: int64
                        description: Validity End of a BP Role
                  T_BUT100:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        RLTYP:
                          type: string
                          maxLength: 6
                          description: BP Role
                        DFVAL:
                          type: string
                          maxLength: 20
                          description: 'BP: Differentiation type value'
                        VALID_FROM:
                          type: integer
                          format: int64
                          description: Validity Start of a BP Role
                        VALID_TO:
                          type: integer
                          format: int64
                          description: Validity End of a BP Role
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
