openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BUPA_FOREIGN_INITIALIZE_OBJECT:
    post:
      tags:
      - BUPA_FOREIGN
      operationId: /rfc/BUPA_FOREIGN_INITIALIZE_OBJECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ACTION:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Activity
                I_AKTYP:
                  type: string
                  default: ' '
                  maxLength: 2
                T_APPLI:
                  type: array
                  items:
                    type: object
                    properties:
                      APPLI:
                        type: string
                        maxLength: 4
                        description: Application
                T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      ARBGB:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TXTNR:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      TEXT:
                        type: string
                        maxLength: 73
                        description: 'CBP: Message text'
                      TBFLD:
                        type: string
                        maxLength: 70
                        description: Table field (table name-field name)
                      DISP_REP:
                        type: string
                        maxLength: 1
                        description: 'BP message handler: (W,I,S) Display message several times'
                      CANCEL:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      TEXT_EXT:
                        type: string
                        maxLength: 273
                        description: 'CBP: Message Text (Extended Version)'
                      STEPL:
                        type: integer
                        format: int32
                        description: Index of Current Step Loop Line
                T_ROLE:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLECATEGORY:
                        type: string
                        maxLength: 6
                        description: BP Role Category
                      ROLE:
                        type: string
                        maxLength: 6
                        description: BP Role
                      ROLETITLE:
                        type: string
                        maxLength: 25
                        description: BP Role Title
                      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_SICHT:
                  type: array
                  items:
                    type: object
                    properties:
                      SICHT:
                        type: string
                        maxLength: 6
                        description: View
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  T_APPLI:
                    type: array
                    items:
                      type: object
                      properties:
                        APPLI:
                          type: string
                          maxLength: 4
                          description: Application
                  T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        ARBGB:
                          type: string
                          maxLength: 20
                          description: Message Class
                        TXTNR:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        TEXT:
                          type: string
                          maxLength: 73
                          description: 'CBP: Message text'
                        TBFLD:
                          type: string
                          maxLength: 70
                          description: Table field (table name-field name)
                        DISP_REP:
                          type: string
                          maxLength: 1
                          description: 'BP message handler: (W,I,S) Display message several times'
                        CANCEL:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                        TEXT_EXT:
                          type: string
                          maxLength: 273
                          description: 'CBP: Message Text (Extended Version)'
                        STEPL:
                          type: integer
                          format: int32
                          description: Index of Current Step Loop Line
                  T_ROLE:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLECATEGORY:
                          type: string
                          maxLength: 6
                          description: BP Role Category
                        ROLE:
                          type: string
                          maxLength: 6
                          description: BP Role
                        ROLETITLE:
                          type: string
                          maxLength: 25
                          description: BP Role Title
                        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_SICHT:
                    type: array
                    items:
                      type: object
                      properties:
                        SICHT:
                          type: string
                          maxLength: 6
                          description: View
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
