openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_TABLE_UPDATE:
    post:
      tags:
      - SIFD
      summary: Change Table/Structure
      operationId: /rfc/RPY_TABLE_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVATION_TYPE:
                  type: string
                  default: N
                  maxLength: 1
                DOCUTYPE:
                  type: string
                  default: T
                  maxLength: 1
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                TABLE_NAME:
                  type: string
                  maxLength: 30
                TABL_INF:
                  type: object
                  properties:
                    TABLNAME:
                      type: string
                      maxLength: 30
                      description: Table Name
                    LANGUAGE:
                      type: string
                      maxLength: 1
                      description: Language Key
                    TABLCLASS:
                      type: string
                      maxLength: 8
                      description: 'Table category  enumValues: TRANSP=Transparent table,CLUSTER=Cluster table,VIEW=General view structure,APPEND=Append structure,INTTAB=Structure,POOL=Pooled table'
                      enum:
                      - TRANSP
                      - CLUSTER
                      - VIEW
                      - APPEND
                      - INTTAB
                      - POOL
                    SQLTAB:
                      type: string
                      maxLength: 10
                      description: SQL table name
                    BUFFERED:
                      type: string
                      maxLength: 1
                      description: 'Buffering flag  enumValues: ""='' '': buffering not allowed,E=''E'': buffering allowed (internal indicator),X=''X'': buffering allowed'
                      enum:
                      - ''
                      - E
                      - X
                    SHORTTEXT:
                      type: string
                      maxLength: 60
                      description: Explanatory short text
                    ACTTYPE:
                      type: integer
                      format: int64
                      description: 'Activation type  enumValues: 10=Initial table required before R3TRANS runs,02=C structures must be adapted when tables are changed,00=No classification,01=Nametab generation not in online (only via C program)'
                      enum:
                      - '10'
                      - '02'
                      - '00'
                      - '01'
                    INCLEXIST:
                      type: string
                      maxLength: 1
                      description: 'Language dependency  enumValues: ""=Table may not contain INCLUDE to other tables,X=Table contains only INCLUDE to other tables'
                      enum:
                      - ''
                      - X
                    MASTERLANG:
                      type: string
                      maxLength: 1
                      description: Original Language in Repository objects
                    MAINTFLAG:
                      type: string
                      maxLength: 1
                      description: 'Flag if Maintenance with Standard Tools is allowed  enumValues: N=Display/Maintenance Not Allowed,""=Display/Maintenance Allowed with Restrictions,X=Display/Maintenance Allowed'
                      enum:
                      - N
                      - ''
                      - X
                    DELIVERYCL:
                      type: string
                      maxLength: 1
                      description: 'Delivery class  enumValues: C=Customizing table, maintenance only by cust., not SAP import,G=Customizing table, protected against SAP Upd., only INS all.,A=Application table (master and transaction data),E=Control table, SAP and customer have separate key areas,W=System table, contents transportable via separate TR objects,S=System table, maint. only by SAP, change = modification,L=Table for storing temporary data, delivered empty'
                      enum:
                      - C
                      - G
                      - A
                      - E
                      - W
                      - S
                      - L
                    MOD_USER:
                      type: string
                      maxLength: 12
                      description: Last Changed by
                    MOD_DATE:
                      type: string
                      format: date
                      description: Date of Last Change
                    MOD_TIME:
                      type: string
                      maxLength: 6
                      description: Last changed at
                TABL_TECHNICS:
                  type: object
                  properties:
                    TABLNAME:
                      type: string
                      maxLength: 30
                      description: Table Name
                    LANGUAGE:
                      type: string
                      maxLength: 1
                      description: Language Key
                    TABLCAT:
                      type: string
                      maxLength: 2
                      description: 'Size category  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'
                    TABLCLASS:
                      type: string
                      maxLength: 5
                      description: Data class in technical settings
                    BUFFERING:
                      type: string
                      maxLength: 1
                      description: 'Buffering type indicator  enumValues: ""=No buffering,G=Full buffering corresp. to generic key,P=Single entries of table were buffered,X=Table is completely transferrred to buffer'
                      enum:
                      - ''
                      - G
                      - P
                      - X
                    KEYFIELDNO:
                      type: integer
                      format: int64
                      description: No. of key fields for generic buffers
                    LOGGING:
                      type: string
                      maxLength: 1
                      description: 'Log data changes  enumValues: X=Logging,""=No logging'
                      enum:
                      - X
                      - ''
                    STORETYPE:
                      type: string
                      maxLength: 1
                      description: 'Flag for the storage type in the buffer  enumValues: ""=Store uncompressed in buffer             (SPACE),X=Store compressed in buffer               (X)'
                      enum:
                      - ''
                      - X
                    MODUSER:
                      type: string
                      maxLength: 12
                      description: Last Changed by
                    MODDATE:
                      type: string
                      format: date
                      description: Date of Last Change
                    MODTIME:
                      type: string
                      maxLength: 6
                      description: Last changed at
                    TRANSPFLAG:
                      type: string
                      maxLength: 1
                      description: 'Convert to transparent table or maintain transparency  enumValues: ""=No setting,X=Convert to transparent table or retain this type'
                      enum:
                      - ''
                      - X
                    TRANSLATE:
                      type: string
                      maxLength: 1
                      description: 'Flag whether table is relevant for translation  enumValues: L=Load table: text and translation are generated automatically,T=Translation only possible with object-specific tools,X=Translation using standard translation procedure,N=Table is language-dependent but not translation-relevant,""=Table does not contain a language key'
                      enum:
                      - L
                      - T
                      - X
                      - N
                      - ''
                TRANSPORT_NUMBER:
                  type: string
                  default: ' '
                  maxLength: 20
                WITH_DOCU:
                  type: string
                  default: ' '
                  maxLength: 1
                DOCU_TABLE_TECH:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                DOCU_TABLE_USER:
                  type: array
                  items:
                    type: object
                    properties:
                      KEY_ID:
                        type: string
                        maxLength: 1
                        description: Line type ID with complex objects
                      OBJLINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
                TABL_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      DTELNAME:
                        type: string
                        maxLength: 30
                        description: Data element (semantic domain)
                      CHECKTABLE:
                        type: string
                        maxLength: 30
                        description: Check table name of the foreign key
                      KEYFLAG:
                        type: string
                        maxLength: 1
                        description: 'Identifies a key field of a table  enumValues: X=Key field,""=No key field'
                        enum:
                        - X
                        - ''
                      POSITION:
                        type: integer
                        format: int64
                        description: 'Verification: Column position'
                      REFTABLE:
                        type: string
                        maxLength: 30
                        description: Table for reference field
                      REFFIELD:
                        type: string
                        maxLength: 30
                        description: Reference field for currency and qty fields
                      INCLNAME:
                        type: string
                        maxLength: 40
                        description: Name of include which defines a substructure
                      NOTNULL:
                        type: string
                        maxLength: 1
                        description: 'Indicator that NOT NULL is forced for this field  enumValues: N=NULL forced,X=NOT NULL forced,""=Any  NULL or NOT NULL'
                        enum:
                        - N
                        - X
                        - ''
                      DOMANAME:
                        type: string
                        maxLength: 30
                        description: Domain name
                      PARAMID:
                        type: string
                        maxLength: 20
                        description: Set/Get parameter ID
                      LOGFLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator for writing change documents  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      HEADLEN:
                        type: integer
                        format: int64
                        description: Maximum length of heading
                      SCRLEN_S:
                        type: integer
                        format: int64
                        description: Max. length for short field label
                      SCRLEN_M:
                        type: integer
                        format: int64
                        description: Max. length for medium field label
                      SCRLEN_L:
                        type: integer
                        format: int64
                        description: Max. length for long field label
                      DATATYPE:
                        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
                      LENGTH:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      OUTPUTLEN:
                        type: integer
                        format: int64
                        description: Output Length
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      LOWERCASE:
                        type: string
                        maxLength: 1
                        description: 'Lowercase letters allowed/not allowed  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      SIGNFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag for sign in numerical fields  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      LANGFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag for language-dependent values(not used)  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      VALUETAB:
                        type: string
                        maxLength: 30
                        description: Value table
                      CONVEXIT:
                        type: string
                        maxLength: 5
                        description: Conversion Routine
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
                      SCRTEXT_S:
                        type: string
                        maxLength: 10
                        description: Short Field Label
                      SCRTEXT_M:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      SCRTEXT_L:
                        type: string
                        maxLength: 40
                        description: Long Field Label
                      VALUEEXIST:
                        type: string
                        maxLength: 1
                        description: 'Existence of fixed values  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      ADMINFIELD:
                        type: string
                        maxLength: 1
                        description: 'Nesting depth for includes  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      INTLENGTH:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      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
              required:
              - TABLE_NAME
              - TABL_INF
              - TABL_TECHNICS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCU_TABLE_TECH:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  DOCU_TABLE_USER:
                    type: array
                    items:
                      type: object
                      properties:
                        KEY_ID:
                          type: string
                          maxLength: 1
                          description: Line type ID with complex objects
                        OBJLINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
                  TABL_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        DTELNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        CHECKTABLE:
                          type: string
                          maxLength: 30
                          description: Check table name of the foreign key
                        KEYFLAG:
                          type: string
                          maxLength: 1
                          description: 'Identifies a key field of a table  enumValues: X=Key field,""=No key field'
                          enum:
                          - X
                          - ''
                        POSITION:
                          type: integer
                          format: int64
                          description: 'Verification: Column position'
                        REFTABLE:
                          type: string
                          maxLength: 30
                          description: Table for reference field
                        REFFIELD:
                          type: string
                          maxLength: 30
                          description: Reference field for currency and qty fields
                        INCLNAME:
                          type: string
                          maxLength: 40
                          description: Name of include which defines a substructure
                        NOTNULL:
                          type: string
                          maxLength: 1
                          description: 'Indicator that NOT NULL is forced for this field  enumValues: N=NULL forced,X=NOT NULL forced,""=Any  NULL or NOT NULL'
                          enum:
                          - N
                          - X
                          - ''
                        DOMANAME:
                          type: string
                          maxLength: 30
                          description: Domain name
                        PARAMID:
                          type: string
                          maxLength: 20
                          description: Set/Get parameter ID
                        LOGFLAG:
                          type: string
                          maxLength: 1
                          description: 'Indicator for writing change documents  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        HEADLEN:
                          type: integer
                          format: int64
                          description: Maximum length of heading
                        SCRLEN_S:
                          type: integer
                          format: int64
                          description: Max. length for short field label
                        SCRLEN_M:
                          type: integer
                          format: int64
                          description: Max. length for medium field label
                        SCRLEN_L:
                          type: integer
                          format: int64
                          description: Max. length for long field label
                        DATATYPE:
                          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
                        LENGTH:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        LOWERCASE:
                          type: string
                          maxLength: 1
                          description: 'Lowercase letters allowed/not allowed  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        SIGNFLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag for sign in numerical fields  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        LANGFLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag for language-dependent values(not used)  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        VALUETAB:
                          type: string
                          maxLength: 30
                          description: Value table
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: Explanatory short text
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        VALUEEXIST:
                          type: string
                          maxLength: 1
                          description: 'Existence of fixed values  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        ADMINFIELD:
                          type: string
                          maxLength: 1
                          description: 'Nesting depth for includes  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        INTLENGTH:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
