openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSFH_GET_DATA:
    post:
      tags:
      - RSFH
      operationId: /rfc/RSFH_GET_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ABAPMEMORY:
                  type: string
                  default: ''
                  maxLength: 1
                I_DEBUGMODE:
                  type: string
                  default: ''
                  maxLength: 1
                I_FORCEGEN:
                  type: string
                  default: ' '
                  maxLength: 1
                I_MAXFETCH:
                  type: integer
                  format: int64
                  default: 1
                I_MAXSIZE:
                  type: integer
                  format: int64
                  default: 10
                I_QUIET:
                  type: string
                  default: ' '
                  maxLength: 1
                I_REQUNR:
                  type: string
                  default: '1'
                  maxLength: 30
                I_RLOGSYS:
                  type: string
                  maxLength: 10
                I_SHOWLIST:
                  type: string
                  default: X
                  maxLength: 1
                I_S_OSOURCE:
                  type: object
                  properties:
                    OLTPSOURCE:
                      type: string
                      maxLength: 30
                      description: DataSource
                    TYPE:
                      type: string
                      maxLength: 4
                      description: 'DataSource Type  enumValues: APPE=DataSource Append,HIER=Hierarchy Nodes,SEGM=Segmented Data,TRAN=Transactional Data,ATTR=Attributes,TEXT=Text,ODS=ODS DataSource'
                      enum:
                      - APPE
                      - HIER
                      - SEGM
                      - TRAN
                      - ATTR
                      - TEXT
                      - ODS
                    APPLNM:
                      type: string
                      maxLength: 30
                      description: Application Component
                    BASOSOURCE:
                      type: string
                      maxLength: 30
                      description: Internal Name of DataSource
                    DELTA:
                      type: string
                      maxLength: 4
                      description: Delta Process for a DataSource
                    READONLY:
                      type: string
                      maxLength: 1
                      description: 'Key Figures for Extractor Tests in Delta Mode  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    INITSIMU:
                      type: string
                      maxLength: 1
                      description: 'DataSource Controls the Delta Init Simulation Mode  enumValues: 2=Extractor Does Not Control ''Delta Init Simulation'' Mode,1=Extractor Controls ''Delta Init Simulation'' Mode,""=undefined'
                      enum:
                      - '2'
                      - '1'
                      - ''
                    INITCOMMIT:
                      type: string
                      maxLength: 1
                      description: 'Extractor Needs SAP-Commit After Init-Phase  enumValues: ""=Undefined,1=SAP Commit after Initialization Phase,2=No SAP Commit after Initialization Phase'
                      enum:
                      - ''
                      - '1'
                      - '2'
                    ZDD_ABLE:
                      type: string
                      maxLength: 1
                      description: 'Indicator: DataSource Can Post During Delta Init  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    STOCKUPD:
                      type: string
                      maxLength: 1
                      description: 'DataSource generates an initial non-cumulative  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    EXMETHOD:
                      type: string
                      maxLength: 2
                      description: 'DataSource Extraction Methods  enumValues: A=DataSource Append,FS=Function Module (Segmented Data Transfer),F2=Function Module (Simple Interface),Q=Extraction Using ABAP Query,V=Transparent Table or DB View,D=Fixed Domain Value,F1=Function Module (Complete Interface)'
                      enum:
                      - A
                      - FS
                      - F2
                      - Q
                      - V
                      - D
                      - F1
                    EXTRACTOR:
                      type: string
                      maxLength: 30
                      description: DataSource Extractor
                    EXSTRUCT:
                      type: string
                      maxLength: 30
                      description: Extract Structure for a DataSource
                    GENFLAG:
                      type: string
                      maxLength: 1
                      description: 'DataSource uses generic interfaces  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    VIRTCUBE:
                      type: string
                      maxLength: 1
                      description: 'Direct Access to Data Using a DataSource  enumValues: 2=Extractor Supports Preaggregation,1=Extractor Does Not Support Preaggregation,D=Direct Access Not Possible'
                      enum:
                      - '2'
                      - '1'
                      - D
                    TSTPNM:
                      type: string
                      maxLength: 12
                      description: Last changed by
                    TSTPDAT:
                      type: string
                      format: date
                      description: Changed On
                    TSTPTIM:
                      type: string
                      maxLength: 6
                      description: Changed at
                    FIELD:
                      type: string
                      maxLength: 30
                      description: Extract Structure Field
                    SELECTION:
                      type: string
                      maxLength: 1
                      description: 'Properties of a DataSource Field  enumValues: M=Selection Required, Visible,2=Pure Selection Field, Selection Set,4=No Selection Possible, Visibility Adjustable,""=No Selection Possible, Visibility Set,3=Selection Adjustable, Visibility Adjustable,X=Selection Adjustable, Visibility Set,A=Field in OLTP and BW Hidden by SAP'
                      enum:
                      - M
                      - '2'
                      - '4'
                      - ''
                      - '3'
                      - X
                      - A
                    SELOPTS:
                      type: integer
                      format: int32
                      description: 'Selection Options  enumValues: 2=Selection BT Permitted,0=Undefined Selection Options,7=Selection EQ, BT, CP Permitted,1=Selection EQ Permitted,3=Selection EQ, BT Permitted'
                      enum:
                      - '2'
                      - '0'
                      - '7'
                      - '1'
                      - '3'
                    NOTEXREL:
                      type: string
                      maxLength: 1
                      description: 'Indicator  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    UNIFIELDNM:
                      type: string
                      maxLength: 30
                      description: Reference field for currency and qty fields
                    TXTSH:
                      type: string
                      maxLength: 20
                      description: Short description
                    TXTMD:
                      type: string
                      maxLength: 40
                      description: Medium description
                    TXTLG:
                      type: string
                      maxLength: 60
                      description: Long description
                    DEVCLASS:
                      type: string
                      maxLength: 30
                      description: Package
                    ORIGLANGU:
                      type: string
                      maxLength: 1
                      description: Language Key
                    STATUS:
                      type: string
                      maxLength: 1
                      description: 'OLTP Source Version  enumValues: M=Modified Version,P=Version Delivered in Patch,D=Delivered Version (From this System),A=active version'
                      enum:
                      - M
                      - P
                      - D
                      - A
                    DTELNM:
                      type: string
                      maxLength: 30
                      description: Data element (semantic domain)
                    OBJVERS:
                      type: string
                      maxLength: 1
                      description: 'OLTP Source Version  enumValues: M=Modified Version,P=Version Delivered in Patch,D=Delivered Version (From this System),A=active version'
                      enum:
                      - M
                      - P
                      - D
                      - A
                    TECHEXT:
                      type: string
                      maxLength: 30
                      description: DataSource Extractor
                    INVFIELD:
                      type: string
                      maxLength: 30
                      description: Name of Cancellation Field
                    STORNO:
                      type: string
                      maxLength: 1
                      description: 'Field Inverted When Cancelled (*-1)  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    F4TYPE:
                      type: string
                      maxLength: 1
                      description: 'F4 Type for a DataSource Field  enumValues: 3=Input Help Switched Off,1=Matchcodes,""=DDIC Standard Help,2=DataSource Text'
                      enum:
                      - '3'
                      - '1'
                      - ''
                      - '2'
                    F4EXTRAKT:
                      type: string
                      maxLength: 30
                      description: Extractor for Input Help
                    AFTERIMP:
                      type: string
                      maxLength: 30
                      description: Function name
                    BEFOREXP:
                      type: string
                      maxLength: 30
                      description: Function name
                    MAINTAIN:
                      type: string
                      maxLength: 30
                      description: Function name
                    CHECKDS:
                      type: string
                      maxLength: 30
                      description: Function name
                    SAVEDS:
                      type: string
                      maxLength: 30
                      description: Function name
                    TRANSPDS:
                      type: string
                      maxLength: 30
                      description: Function name
                    DELETE_DS:
                      type: string
                      maxLength: 30
                      description: Function name
                    RESETDELTA:
                      type: string
                      maxLength: 30
                      description: Function name
                    ZDD_REPLAY:
                      type: string
                      maxLength: 30
                      description: 'DataSource Event: Replay for Zero Downtime Delta'
                    WORKMODE:
                      type: string
                      maxLength: 1
                      description: 'Work Type  enumValues: A=Create,C=Change,D=Appearance'
                      enum:
                      - A
                      - C
                      - D
                    SAVED:
                      type: string
                      maxLength: 1
                      description: 'Indicator  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    GL_SAVED:
                      type: string
                      maxLength: 1
                      description: 'Indicator  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    OK:
                      type: string
                      maxLength: 4
                      description: 'OK code  enumValues: DELE=Delete,EXIT=Cancel,DELT=Delta Maintenance,MARK=Select Rows,CHEC=Check,CONT=Display Content,INFO=Information,ASSD=Assign InfoObjects by Data Element,PRIN=Print,ASSR=Assign InfoObjects by Domain,GENE=Generate,BACK=Back,SORT=Sort,OKAY=OK,DOKU=Documentation,DEMA=Deselect Rows,EXST=Expand Structure,STAP=Stack,CMOD=Exit Programming,HIER=Maintain Hierarchy,IOBJ=Create/Maintain InfoObject,PICK=Choose,ENTE=Enter,OTHE=Other object,SAVE=Save,EXTR=Extracting,CTS=Transport,DISP=Display'
                      enum:
                      - DELE
                      - EXIT
                      - DELT
                      - MARK
                      - CHEC
                      - CONT
                      - INFO
                      - ASSD
                      - PRIN
                      - ASSR
                      - GENE
                      - BACK
                      - SORT
                      - OKAY
                      - DOKU
                      - DEMA
                      - EXST
                      - STAP
                      - CMOD
                      - HIER
                      - IOBJ
                      - PICK
                      - ENTE
                      - OTHE
                      - SAVE
                      - EXTR
                      - CTS
                      - DISP
                    ANSWER:
                      type: string
                      maxLength: 1
                      description: 'Indicator  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    DEVC:
                      type: string
                      maxLength: 30
                      description: Package
                    APPL_PROP:
                      type: string
                      maxLength: 30
                      description: Function name
                    HOK:
                      type: string
                      maxLength: 4
                      description: 'OK code  enumValues: DELE=Delete,EXIT=Cancel,DELT=Delta Maintenance,MARK=Select Rows,CHEC=Check,CONT=Display Content,INFO=Information,ASSD=Assign InfoObjects by Data Element,PRIN=Print,ASSR=Assign InfoObjects by Domain,GENE=Generate,BACK=Back,SORT=Sort,OKAY=OK,DOKU=Documentation,DEMA=Deselect Rows,EXST=Expand Structure,STAP=Stack,CMOD=Exit Programming,HIER=Maintain Hierarchy,IOBJ=Create/Maintain InfoObject,PICK=Choose,ENTE=Enter,OTHE=Other object,SAVE=Save,EXTR=Extracting,CTS=Transport,DISP=Display'
                      enum:
                      - DELE
                      - EXIT
                      - DELT
                      - MARK
                      - CHEC
                      - CONT
                      - INFO
                      - ASSD
                      - PRIN
                      - ASSR
                      - GENE
                      - BACK
                      - SORT
                      - OKAY
                      - DOKU
                      - DEMA
                      - EXST
                      - STAP
                      - CMOD
                      - HIER
                      - IOBJ
                      - PICK
                      - ENTE
                      - OTHE
                      - SAVE
                      - EXTR
                      - CTS
                      - DISP
                    ACTIVATE:
                      type: string
                      maxLength: 30
                      description: Function name
                    TFMETHODS:
                      type: string
                      maxLength: 1
                      description: 'Supported Transfer Methods  enumValues: 1=IDOC Only,""=Default Value (Dependent on DataSource Type),3=IDOC and PSA,2=PSA Only'
                      enum:
                      - '1'
                      - ''
                      - '3'
                      - '2'
                    RB_IDOC:
                      type: string
                      maxLength: 1
                      description: 'Radio Button: IDOC Transfer Only  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    RB_PSA:
                      type: string
                      maxLength: 1
                      description: 'Radio Button: PSA Transfer Only  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    RB_IDOCPSA:
                      type: string
                      maxLength: 1
                      description: 'Radio Button: PSA or IDOC Transfer  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    ARCHMETHOD:
                      type: string
                      maxLength: 1
                      description: 'DataSource Archive Connection  enumValues: 1=Archive Access with Mandatory File Selection,2=Archive Access with Optional File Selection,""=No Archive Access'
                      enum:
                      - '1'
                      - '2'
                      - ''
                    RB_ARCH0:
                      type: string
                      maxLength: 1
                      description: 'Radio Button: No Archive Connection  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    RB_ARCH1:
                      type: string
                      maxLength: 1
                      description: 'Radio Button: Archive Connection wth Manual File Selection  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    RB_ARCH2:
                      type: string
                      maxLength: 1
                      description: 'Radio Button:Archive Connection wth Automatic File Selection  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    SCLIENT:
                      type: string
                      maxLength: 1
                      description: 'DataSource is only allwd to be replicated for single client  enumValues: ""=No restrictions,X=Replication Only For "Single Client"'
                      enum:
                      - ''
                      - X
                    KEYFLAG:
                      type: string
                      maxLength: 1
                      description: 'Identifies a key field of a table  enumValues: X=Key field,""=No key field'
                      enum:
                      - X
                      - ''
                    KEYFLAG_DS:
                      type: string
                      maxLength: 1
                      description: 'DataSource Key Field  enumValues: -=Field is not a key field (independent of DDIC),""=Field transfers DDIC setting (extract structure key),X=Field is a key field (independent of DDIC)'
                      enum:
                      - '-'
                      - ''
                      - X
                    DUPREC:
                      type: string
                      maxLength: 1
                      description: 'Indicator: DataSource Delivers Duplicate Records  enumValues: 1=DataSource Can Deliver Duplicate Records,""=DataSource Behavior Unknown,0=DataSource Delivers no Duplicate Records'
                      enum:
                      - '1'
                      - ''
                      - '0'
                    PRIMSEGID:
                      type: integer
                      format: int64
                      description: Primary Segment
                    OBJECTFD:
                      type: string
                      maxLength: 30
                      description: 'Field Name: Object ID'
                    CONTSRCVERS:
                      type: string
                      maxLength: 6
                      description: Content Version of DataSource
                    RECONCILIATION:
                      type: string
                      maxLength: 1
                      description: 'DataSource Serves Reconciliation  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    REALTIME:
                      type: string
                      maxLength: 1
                      description: 'DataSource Is Real-Time Enabled  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                I_UPDMODE:
                  type: string
                  default: 'F '
                  maxLength: 2
                I_T_FIELD:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                I_T_SELECT:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Selection criteria: SIGN'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection criteria: OPTION'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: From value'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: To value'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_LINES_READ:
                    type: integer
                    format: int32
                  I_T_FIELD:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                  I_T_SELECT:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Selection criteria: SIGN'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection criteria: OPTION'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: From value'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: To value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
