openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BCW_BI_TEMPLATECLASS_COPY:
    post:
      tags:
      - BVW_BATCHINPUT
      operationId: /rfc/BCW_BI_TEMPLATECLASS_COPY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLSNAME_001:
                  type: string
                  default: cl_bvw_template
                  maxLength: 132
                CLSNAME_003:
                  type: string
                  default: CL_BVW_PAYMORDER14
                  maxLength: 132
                CLSNAME_007:
                  type: string
                  default: CL_BVW_PAYMORDER14
                  maxLength: 132
                CTU:
                  type: string
                  default: X
                  maxLength: 1
                GROUP:
                  type: string
                  maxLength: 12
                HOLDDATE:
                  type: string
                  format: date
                KEEP:
                  type: string
                  maxLength: 1
                MODE:
                  type: string
                  default: N
                  maxLength: 1
                NODATA:
                  type: string
                  default: /
                  maxLength: 1
                TYPE_04_004:
                  type: string
                  default: char1
                  maxLength: 132
                TYPE_05_005:
                  type: string
                  default: char1
                  maxLength: 132
                TYPE_06_006:
                  type: string
                  default: char1
                  maxLength: 132
                UPDATE:
                  type: string
                  default: L
                  maxLength: 1
                USER:
                  type: string
                  maxLength: 12
                VALUE_02_002:
                  type: string
                  default: CL_BVW_PAYMORDER14
                  maxLength: 132
                MESSTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: BDC Transaction code
                      DYNAME:
                        type: string
                        maxLength: 40
                        description: Batch input module name
                      DYNUMB:
                        type: string
                        maxLength: 4
                        description: Batch input screen number
                      MSGTYP:
                        type: string
                        maxLength: 1
                        description: Batch input message type
                      MSGSPRA:
                        type: string
                        maxLength: 1
                        description: Language ID of a message
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Batch input message ID
                      MSGNR:
                        type: string
                        maxLength: 3
                        description: Batch input message number
                      MSGV1:
                        type: string
                        maxLength: 100
                        description: Variable part of a message
                      MSGV2:
                        type: string
                        maxLength: 100
                        description: Variable part of a message
                      MSGV3:
                        type: string
                        maxLength: 100
                        description: Variable part of a message
                      MSGV4:
                        type: string
                        maxLength: 100
                        description: Variable part of a message
                      ENV:
                        type: string
                        maxLength: 4
                        description: 'Batch input monitoring activity  enumValues: ABTC=Transfer sessions to background processing,AONL=Process sessions online,ANAL=Analyze sessions and logs,LOCK=Lock and release sessions,EXPO=Export Folders,FREE=Release sessions,DELE=Delete sessions,REOG=Reorganize sessions and logs,IMPO=Import Folders'
                        enum:
                        - ABTC
                        - AONL
                        - ANAL
                        - LOCK
                        - EXPO
                        - FREE
                        - DELE
                        - REOG
                        - IMPO
                      FLDNAME:
                        type: string
                        maxLength: 132
                        description: Field name
              required:
              - CLSNAME_001
              - CLSNAME_003
              - CLSNAME_007
              - TYPE_04_004
              - TYPE_05_005
              - TYPE_06_006
              - VALUE_02_002
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SUBRC:
                    type: integer
                    format: int32
                  MESSTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: BDC Transaction code
                        DYNAME:
                          type: string
                          maxLength: 40
                          description: Batch input module name
                        DYNUMB:
                          type: string
                          maxLength: 4
                          description: Batch input screen number
                        MSGTYP:
                          type: string
                          maxLength: 1
                          description: Batch input message type
                        MSGSPRA:
                          type: string
                          maxLength: 1
                          description: Language ID of a message
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Batch input message ID
                        MSGNR:
                          type: string
                          maxLength: 3
                          description: Batch input message number
                        MSGV1:
                          type: string
                          maxLength: 100
                          description: Variable part of a message
                        MSGV2:
                          type: string
                          maxLength: 100
                          description: Variable part of a message
                        MSGV3:
                          type: string
                          maxLength: 100
                          description: Variable part of a message
                        MSGV4:
                          type: string
                          maxLength: 100
                          description: Variable part of a message
                        ENV:
                          type: string
                          maxLength: 4
                          description: 'Batch input monitoring activity  enumValues: ABTC=Transfer sessions to background processing,AONL=Process sessions online,ANAL=Analyze sessions and logs,LOCK=Lock and release sessions,EXPO=Export Folders,FREE=Release sessions,DELE=Delete sessions,REOG=Reorganize sessions and logs,IMPO=Import Folders'
                          enum:
                          - ABTC
                          - AONL
                          - ANAL
                          - LOCK
                          - EXPO
                          - FREE
                          - DELE
                          - REOG
                          - IMPO
                        FLDNAME:
                          type: string
                          maxLength: 132
                          description: Field name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
