openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EDI_PARTNER_READ_INCOMING:
    post:
      tags:
      - EDI6
      summary: 'EDI PP: Read partner profile for inbound processing (EDK21 -> EDP21)'
      operationId: /rfc/EDI_PARTNER_READ_INCOMING
      requestBody:
        content:
          application/json:
            schema:
              properties:
                REC_EDK21:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    SNDPRN:
                      type: string
                      maxLength: 10
                      description: Partner Number of Sender
                    SNDPRT:
                      type: string
                      maxLength: 2
                      description: Partner Type of Sender
                    SNDPFC:
                      type: string
                      maxLength: 2
                      description: Partner function of sender
                    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_EDK21
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  REC_EDP21:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SNDPRN:
                        type: string
                        maxLength: 10
                        description: Partner Number of Sender
                      SNDPRT:
                        type: string
                        maxLength: 2
                        description: Partner Type of Sender
                      SNDPFC:
                        type: string
                        maxLength: 2
                        description: Partner function of sender
                      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
                      EVCODE:
                        type: string
                        maxLength: 30
                        description: Inbound Process Code
                      SYNCHK:
                        type: string
                        maxLength: 1
                        description: 'Cancel Processing After Syntax Error  enumValues: X=Syntax check on,""=Syntax check off'
                        enum:
                        - X
                        - ''
                      METHOD:
                        type: string
                        maxLength: 1
                        description: 'Choice: EDI or ALE (no longer used)'
                      USRTYP:
                        type: string
                        maxLength: 10
                        description: User Type
                      USRKEY:
                        type: string
                        maxLength: 70
                        description: 'Permitted users: ID'
                      USRLNG:
                        type: string
                        maxLength: 1
                        description: Language of notification
                      INMOD:
                        type: string
                        maxLength: 1
                        description: 'IDoc processing immediate or via queue  enumValues: 3=Trigger by background program,1=Trigger immediately,2=Obsolete, replaced by 3'
                        enum:
                        - '3'
                        - '1'
                        - '2'
                      DCART:
                        type: string
                        maxLength: 1
                        description: 'Type of data transfer to the application  enumValues: ""=Blank,X=Selection flag'
                        enum:
                        - ''
                        - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
