openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_ISOURCE_MD_T_CHANGE:
    post:
      tags:
      - RSAB
      summary: Changing a transfer InfoSource for master data
      operationId: /rfc/BAPI_ISOURCE_MD_T_CHANGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ATTRIBUTES:
                  type: string
                  maxLength: 1
                  description: 'Flag: InfoSource Delivers Attributes'
                DELTAUPDATE:
                  type: string
                  maxLength: 1
                  description: 'Flag: Delta Update for Attributes is Supported'
                DELTAUPDATETEXT:
                  type: string
                  maxLength: 1
                  description: 'Flag: Delta Update for Texts is Supported'
                HIERARCHIES:
                  type: string
                  maxLength: 1
                  description: 'Flag: InfoSource Delivers Hierarchies'
                INFOSOURCE:
                  type: string
                  maxLength: 30
                  description: InfoSource Name
                RELOADABLE:
                  type: string
                  maxLength: 1
                  description: 'Flag: Reloading Data Request is Permitted (Attr.)'
                RELOADABLETEXT:
                  type: string
                  maxLength: 1
                  description: 'Flag: Reloading Data Request is Permitted (Texts)'
                SOURCESYSTEM:
                  type: string
                  maxLength: 10
                  description: Source System Name
                TEXTS:
                  type: string
                  maxLength: 1
                  description: 'Flag: InfoSource Delivers Texts'
                TIMEDEPENDENT:
                  type: string
                  maxLength: 1
                  description: 'Flag: InfoSource Delivers Time-dependent Data'
                TRANSTRUCTUREFIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      POSITION:
                        type: integer
                        format: int64
                        description: Position of the field in the table
                      TEXTSHORT:
                        type: string
                        maxLength: 20
                        description: Short description
                      TEXTMEDIUM:
                        type: string
                        maxLength: 40
                        description: Medium description
                      TEXTLONG:
                        type: string
                        maxLength: 60
                        description: Long description
                      MANDATORY:
                        type: string
                        maxLength: 1
                        description: 'Flag: Required-entry field  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SELECTABLE:
                        type: string
                        maxLength: 1
                        description: 'Data selection in source system possible for this field  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INFOOBJECT:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                      DTELNM:
                        type: string
                        maxLength: 30
                        description: Data Element
                      DATATYPE:
                        type: string
                        maxLength: 4
                        description: 'Data type  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
                      INTLEN:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      LENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      INTTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      CONVEXIT:
                        type: string
                        maxLength: 5
                        description: Conversion Routine
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      UNIFIELDNM:
                        type: string
                        maxLength: 30
                        description: Name of the relevant unit field
                TRANSTRUCTUREFIELDSX:
                  type: array
                  items:
                    type: object
                    properties:
                      POSITION:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      INFOOBJECT:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      MANDATORY:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      SELECTABLE:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      FIELDNM:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      DATATYPE:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      LENG:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      CONVEXIT:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      UNIFIELDNM:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
              required:
              - ATTRIBUTES
              - DELTAUPDATE
              - DELTAUPDATETEXT
              - HIERARCHIES
              - INFOSOURCE
              - RELOADABLE
              - RELOADABLETEXT
              - SOURCESYSTEM
              - TEXTS
              - TIMEDEPENDENT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                  TRANSTRUCTUREFIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        POSITION:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        TEXTSHORT:
                          type: string
                          maxLength: 20
                          description: Short description
                        TEXTMEDIUM:
                          type: string
                          maxLength: 40
                          description: Medium description
                        TEXTLONG:
                          type: string
                          maxLength: 60
                          description: Long description
                        MANDATORY:
                          type: string
                          maxLength: 1
                          description: 'Flag: Required-entry field  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        SELECTABLE:
                          type: string
                          maxLength: 1
                          description: 'Data selection in source system possible for this field  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INFOOBJECT:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                        DTELNM:
                          type: string
                          maxLength: 30
                          description: Data Element
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: 'Data type  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
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character
                            string (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        UNIFIELDNM:
                          type: string
                          maxLength: 30
                          description: Name of the relevant unit field
                  TRANSTRUCTUREFIELDSX:
                    type: array
                    items:
                      type: object
                      properties:
                        POSITION:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        INFOOBJECT:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        MANDATORY:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        SELECTABLE:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        FIELDNM:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        DATATYPE:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        LENG:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        CONVEXIT:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        UNIFIELDNM:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
