openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDBC_DB_DATA_RECEIVED_RFC:
    post:
      tags:
      - RSDBC
      operationId: /rfc/RSDBC_DB_DATA_RECEIVED_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_FORMNAME:
                  type: string
                  maxLength: 30
                I_PROGNAME:
                  type: string
                  maxLength: 40
                I_S_HEADER:
                  type: object
                  properties:
                    REQUNR:
                      type: string
                      maxLength: 30
                      description: Request number for the data transfer
                    REQOBJTYPE:
                      type: string
                      maxLength: 1
                      description: 'Type of requested data  enumValues: T=Master data text (language dependent description),D=Transaction data,M=Master data attributes,H=Hierachies'
                      enum:
                      - T
                      - D
                      - M
                      - H
                    IOBJECT:
                      type: string
                      maxLength: 30
                      description: Object of the data import (InfoSource / InfoObject)
                    REQDATE:
                      type: string
                      format: date
                      description: Date on which the data was requested (UTC)
                    REQTIME:
                      type: string
                      maxLength: 6
                      description: Time at which the data was requested (UTC)
                    REQUSER:
                      type: string
                      maxLength: 12
                      description: User Name
                    DATAPAKID:
                      type: integer
                      format: int64
                      description: Data packet number
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Source system
                    SELDATE:
                      type: string
                      format: date
                      description: Date upon which the data was selected (UTC)
                    SELTIME:
                      type: string
                      maxLength: 6
                      description: Time at which the data was selected (UTC)
                I_S_TRAN:
                  type: object
                  properties:
                    TRANSTRU:
                      type: string
                      maxLength: 27
                      description: Transfer Structure Between Source System and BI
                    OBJVERS:
                      type: string
                      maxLength: 1
                      description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                      enum:
                      - N
                      - A
                      - M
                      - D
                      - H
                      - T
                    OBJSTAT:
                      type: string
                      maxLength: 3
                      description: 'Object Status  enumValues: OFF=Switched off,INA=Inactive, not executable,ACT=Active, executable,PRO=Productive'
                      enum:
                      - 'OFF'
                      - INA
                      - ACT
                      - PRO
                    ACTIVFL:
                      type: string
                      maxLength: 1
                      description: 'Active and revised version do not agree  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    TSMETHODE:
                      type: string
                      maxLength: 1
                      description: 'Method for Transferring Data from Source System to BI System  enumValues: ""=,T=Transactional RFC,I=IDoc'
                      enum:
                      - ''
                      - T
                      - I
                    ODSTYPE:
                      type: string
                      maxLength: 1
                      description: 'Operational Data Store type  enumValues: T=Transfer structure,""=No ODS,I=IDoc'
                      enum:
                      - T
                      - ''
                      - I
                    ODSNAME:
                      type: string
                      maxLength: 30
                      description: Name of the Persistant Staging Area
                    ODSVERSION:
                      type: integer
                      format: int64
                      description: Active version of the Operational Data Store
                    TRANSTRU_APPL:
                      type: string
                      maxLength: 30
                      description: Transfer Structure of Application Format in BI
                    TRANSTRU_CHAR:
                      type: string
                      maxLength: 27
                      description: Transfer structure character between source and Warehouse
                    TRANSTRU_IDOC:
                      type: string
                      maxLength: 27
                      description: Transfer structure IDoc segment between source and Warehouse
                    TRANSTRU_IDOC3:
                      type: string
                      maxLength: 10
                      description: Transfer structure 3.x IDoc segment
                    OBJSTATOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object Status  enumValues: OFF=Switched off,INA=Inactive, not executable,ACT=Active, executable,PRO=Productive'
                      enum:
                      - 'OFF'
                      - INA
                      - ACT
                      - PRO
                    PROGNAME:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    FORMNAME:
                      type: string
                      maxLength: 30
                      description: Name of the Subroutine
                    GLBCODE:
                      type: string
                      maxLength: 25
                      description: Code ID for global ABAP code for conversion rules
                    OWNER:
                      type: string
                      maxLength: 12
                      description: Owner (Person Responsible)
                    TSTMPOLTP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    TSTPNM:
                      type: string
                      maxLength: 12
                      description: Last changed by
                    TIMESTMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Source system
                    CONTREL:
                      type: string
                      maxLength: 6
                      description: Content release
                    CONTTIMESTMP:
                      type: integer
                      format: int64
                      description: 'Content time stamp: Last modification to the object by SAP'
                    STARTROUTINE:
                      type: string
                      maxLength: 25
                      description: 'BW Generation tool: GUID in compressed form (CHAR25)'
                    EDSFL:
                      type: string
                      maxLength: 1
                      description: 'Flag: Generate export data source  enumValues: ""=Blank,X=Selection,.=Radio button'
                      enum:
                      - ''
                      - X
                      - .
                    PSADATCLS:
                      type: string
                      maxLength: 5
                      description: Data Class for PSA Table
                    PSASIZCAT:
                      type: string
                      maxLength: 2
                      description: 'Size Category for PSA Table  enumValues: 4=Tables > 160 MB,14=Value cannot be maintained manually (Early Watch value),0=Tables < 500K,1=Tables < 1.5 MB,2=Tables < 6.5 MB,3=Tables < 25 MB'
                      enum:
                      - '4'
                      - '14'
                      - '0'
                      - '1'
                      - '2'
                      - '3'
              required:
              - I_FORMNAME
              - I_PROGNAME
              - I_S_HEADER
              - I_S_TRAN
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
