openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MASTERIDOC_CREATE_REQ_VFNMAS:
    post:
      tags:
      - CUFD
      operationId: /rfc/MASTERIDOC_CREATE_REQ_VFNMAS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DLOCK_IGNORE:
                  type: string
                  maxLength: 1
                  description: Ignore distribution lock
                KEY_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date
                MESSAGE_TYPE:
                  type: string
                  maxLength: 30
                  description: Message Type
                PARALLEL:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Parallel processing
                RCVPFC:
                  type: string
                  maxLength: 2
                  description: Ignore distribution lock
                RCVPRN:
                  type: string
                  maxLength: 10
                  description: Ignore distribution lock
                RCVPRT:
                  type: string
                  maxLength: 2
                  description: Ignore distribution lock
                SNDPFC:
                  type: string
                  maxLength: 2
                  description: Ignore distribution lock
                SNDPRN:
                  type: string
                  maxLength: 10
                  description: Ignore distribution lock
                SNDPRT:
                  type: string
                  maxLength: 2
                  description: Ignore distribution lock
                VAR_FUNCTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      FNAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
              required:
              - MESSAGE_TYPE
              - RCVPFC
              - RCVPRN
              - RCVPRT
              - SNDPFC
              - SNDPRN
              - SNDPRT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CREATED_COMM_IDOCS:
                    type: integer
                    format: int32
                    description: Parallel processing
                  VAR_FUNCTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        FNAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
