openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DD_DB_IMIG_TRANSFER_DATA:
    post:
      tags:
      - SDBM
      operationId: /rfc/DD_DB_IMIG_TRANSFER_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                KEY_WA:
                  type: object
                  properties:
                    LINE:
                      type: string
                      format: byte
                      description: 'Table analysis: For external table data up to length 1024'
                KEY_WA2048:
                  type: object
                  properties:
                    LINE:
                      type: string
                      maxLength: 2048
                      description: Table Row
                KEY_WA256:
                  type: object
                  properties:
                    LINE:
                      type: string
                      format: byte
                      description: Table container Remote client copy
                KEY_WA4096:
                  type: object
                  properties:
                    LINE:
                      type: string
                      format: byte
                      description: Empty table 4096
                KEY_WA64:
                  type: object
                  properties:
                    LINE:
                      type: string
                      format: byte
                      description: Table container, Remote Client Copy 64 Bytes
                OPERATION:
                  type: string
                  maxLength: 30
                  description: 30 Characters
                TARGETNAME:
                  type: string
                  maxLength: 30
                  description: Table Name
                TICNV_WA:
                  type: object
                  properties:
                    TABNAME:
                      type: string
                      maxLength: 30
                      description: Table for incremental conversion
                    CNVID:
                      type: string
                      maxLength: 50
                      description: Unique ID of table conversion
                    CNVCONTEXT:
                      type: string
                      maxLength: 10
                      description: 'Context in which the conversion runs  enumValues: POSTUPG=Operation after upgrade,DEVEL=Operation in a development system,STANDARD=Operation in standard conversion program,UPGRADE=Operation as part of upgrade,USER_DEF=User-defined operations,CUSTOMER=Customer operation,UPG_SHD=Operation as part of the System Switch Upgrade'
                      enum:
                      - POSTUPG
                      - DEVEL
                      - STANDARD
                      - UPGRADE
                      - USER_DEF
                      - CUSTOMER
                      - UPG_SHD
                    SCENARIO:
                      type: string
                      maxLength: 10
                      description: 'Sscenario (graph) of a conversion  enumValues: EDIDOC=Special conversion of EDIDOC,PREUPGFREE=Incremental conversion prior to upgrade (without modif.),CDCLS=Special conversion of CDCLS,PREMIGFREE=Incremental migration (without modification),PREMIGUNON=Incremental Migration to Unicode (non MDMP),PREMIGUMDM=Incremental Migration to Unicode (MDMP),PREUPG=Incremental converson prior to upgrade'
                      enum:
                      - EDIDOC
                      - PREUPGFREE
                      - CDCLS
                      - PREMIGFREE
                      - PREMIGUNON
                      - PREMIGUMDM
                      - PREUPG
                    SCHEMA1:
                      type: string
                      maxLength: 3
                      description: Starting Schema
                    SCHEMA2:
                      type: string
                      maxLength: 3
                      description: Target Schema
                    EXECMODE:
                      type: string
                      maxLength: 1
                      description: 'DD: Entry for Background Processing or Upgrade'
                    SEVERITY:
                      type: string
                      maxLength: 1
                      description: 'DD: Status of an Entry for Mass Processing'
                    SCANNR:
                      type: integer
                      format: int32
                      description: Index of Internal Tables
                    PROCCLASS:
                      type: string
                      maxLength: 5
                      description: 'Schedulable process classes  enumValues: OPTI=Optimize processes,TRA2=Status switch already scheduled,STAT=Status calculation,TRAN=Status Switch,ICNV=Incremental conversion process,NOPS=Table remains excluded from all processes'
                      enum:
                      - OPTI
                      - TRA2
                      - STAT
                      - TRAN
                      - ICNV
                      - NOPS
                    M_RUN_TIME:
                      type: integer
                      format: int32
                      description: Maximum runtime of conversion process in minutes
                    M_LOCK_CNT:
                      type: integer
                      format: int32
                      description: Maximum number of locks which the conversion process holds
                    M_PROC_NUM:
                      type: integer
                      format: int32
                      description: Maximum number of parallel conversion processes
                    ARRAY_SIZE:
                      type: integer
                      format: int32
                      description: Size of data packet for mass processing
                    SCHEMAREP:
                      type: string
                      maxLength: 40
                      description: Template report for incremental table conversion
                    FIRSTSCHEM:
                      type: string
                      maxLength: 30
                      description: Schema for first conversion run
                    SCHEMAREP2:
                      type: string
                      maxLength: 40
                      description: Template report for incremental table conversion
                    SECSCHEM:
                      type: string
                      maxLength: 30
                      description: Schema for second and all subsequent conversion runs
                    SCHEMAREP3:
                      type: string
                      maxLength: 40
                      description: Template report for incremental table conversion
                    THIRDSCHEM:
                      type: string
                      maxLength: 30
                      description: Schema for last conversion run
                    CLIENT_ADD:
                      type: string
                      maxLength: 1
                      description: ID for added client
                    PDATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    PTIME:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    PTIME_OFF:
                      type: integer
                      format: int64
                      description: Delay until conversion process is started
                    CNVSTEP:
                      type: integer
                      format: int32
                      description: Index of Internal Tables
                    CNVSTATE:
                      type: string
                      maxLength: 10
                      description: Status of the incremental conversion
                    POSTSTATE:
                      type: string
                      maxLength: 10
                      description: Next status of incremental conversion
                    TARSTATE:
                      type: string
                      maxLength: 10
                      description: Next status of incremental conversion
                    CNVFIELD:
                      type: string
                      maxLength: 30
                      description: Indicator field for incremental conversion
                    CPFIELD:
                      type: string
                      maxLength: 30
                      description: Indicator field for incremental conversion
                    BASETAB:
                      type: string
                      maxLength: 30
                      description: Base table of incremental conversion
                    LOGTAB:
                      type: string
                      maxLength: 30
                      description: Logging table for incremental conversion
                    LOGTAB2:
                      type: string
                      maxLength: 30
                      description: Logging table for incremental conversion
                    TABNAMES:
                      type: string
                      maxLength: 255
                      description: Logical source tables of incremental conversion
                    TABALIAS:
                      type: string
                      maxLength: 255
                      description: Logical source tables of incremental conversion
                    TARGETTAB:
                      type: string
                      maxLength: 30
                      description: Target container for incremental conversion
                    TMPTABS:
                      type: string
                      maxLength: 255
                      description: Logical target tables of incremental conversion
                    KEYVIEW:
                      type: string
                      maxLength: 30
                      description: Name of SAP Table View
                    VIEWINDEX:
                      type: string
                      maxLength: 18
                      description: ''
                    PROCNAME:
                      type: string
                      maxLength: 20
                      description: ''
                    TRG_UPD1:
                      type: string
                      maxLength: 30
                      description: Name of update trigger
                    TRG_DEL1:
                      type: string
                      maxLength: 30
                      description: Name of delete trigger
                    TRG_INS1:
                      type: string
                      maxLength: 30
                      description: Name of current insert trigger
                    TRG_UPD2:
                      type: string
                      maxLength: 30
                      description: Name of update trigger
                    TRG_UPD3:
                      type: string
                      maxLength: 30
                      description: Name of update trigger
                    TRG_INS2:
                      type: string
                      maxLength: 30
                      description: Name of current insert trigger
                    STATEREPID:
                      type: string
                      maxLength: 40
                      description: 'DD: Report for including conversion exits'
                    TAB_WIDTH:
                      type: integer
                      format: int32
                      description: Table Width (Nametab) in Bytes
                    CDATE:
                      type: string
                      format: date
                      description: Date
                    CTIME:
                      type: string
                      maxLength: 6
                      description: Time
                    CUSER:
                      type: string
                      maxLength: 12
                      description: User Name
                    MIGDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    MIGREP:
                      type: string
                      maxLength: 40
                      description: Template report for incremental table conversion
                    MIGSCHEM:
                      type: string
                      maxLength: 30
                      description: Schema for incremental migration
                DATA_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: 'Table analysis: For external table data up to length 1024'
                DATA_TAB2048:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 2048
                        description: Table Row
                DATA_TAB256:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Table container Remote client copy
                DATA_TAB4096:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Empty table 4096
                DATA_TAB64:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Table container, Remote Client Copy 64 Bytes
                DATA_TAB_ENDIAN:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Table container, Remote Client Copy 64 Bytes
                INT_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field in Incremental Conversion
                      DTYP:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
              required:
              - OPERATION
              - TARGETNAME
              - TICNV_WA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DELCNT:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  INSCNT:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  RC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  UPDCNT:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  DATA_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: 'Table analysis: For external table data up to length 1024'
                  DATA_TAB2048:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 2048
                          description: Table Row
                  DATA_TAB256:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Table container Remote client copy
                  DATA_TAB4096:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Empty table 4096
                  DATA_TAB64:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Table container, Remote Client Copy 64 Bytes
                  DATA_TAB_ENDIAN:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Table container, Remote Client Copy 64 Bytes
                  INT_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field in Incremental Conversion
                        DTYP:
                          type: string
                          maxLength: 4
                          description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                            accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                            field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                          enum:
                          - NUMC
                          - INT2
                          - DEC
                          - VARC
                          - INT1
                          - RAW
                          - CUKY
                          - QUAN
                          - FLTP
                          - LRAW
                          - PREC
                          - CHAR
                          - ACCP
                          - INT4
                          - RSTR
                          - STRG
                          - LANG
                          - TIMS
                          - UNIT
                          - CLNT
                          - DATS
                          - LCHR
                          - CURR
                          - SSTR
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
