openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EDI_AGREE_OUT_IDOC_TEST:
    post:
      tags:
      - EDI6
      summary: Insert new entry (process code) in EDP12
      operationId: /rfc/EDI_AGREE_OUT_IDOC_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                REC_EDP12:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    RCVPRN:
                      type: string
                      maxLength: 10
                      description: Partner Number of Receiver
                    RCVPRT:
                      type: string
                      maxLength: 2
                      description: Partner Type of Receiver
                    RCVPFC:
                      type: string
                      maxLength: 2
                      description: Partner function of recipient
                    KAPPL:
                      type: string
                      maxLength: 2
                      description: Application for message conditions - without value table
                    KSCHL:
                      type: string
                      maxLength: 4
                      description: Message type
                    AENDE:
                      type: string
                      maxLength: 1
                      description: 'Change message flag  enumValues: X=Change message,""=No change message'
                      enum:
                      - X
                      - ''
                    EVCODA:
                      type: string
                      maxLength: 30
                      description: Outbound process code
                    MESTYP:
                      type: string
                      maxLength: 30
                      description: Message type
                    MESCOD:
                      type: string
                      maxLength: 3
                      description: Message code
                    MESFCT:
                      type: string
                      maxLength: 3
                      description: Message function
                    TEST:
                      type: string
                      maxLength: 1
                      description: 'Flag for test mode  enumValues: ""=Blank,X=Selection flag'
                      enum:
                      - ''
                      - X
              required:
              - REC_EDP12
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
