openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SUBST_GET_PUTTB:
    post:
      tags:
      - SUGI
      operationId: /rfc/SUBST_GET_PUTTB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESTVERS:
                  type: string
                  default: ' '
                  maxLength: 10
                OBJTYPID:
                  type: string
                  default: ' '
                  maxLength: 1
                CONTPUTTB:
                  type: array
                  items:
                    type: object
                    properties:
                      SAPRELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: 4.0 version of TABNAME (name extension)
                      PACKETNR:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      WCONTENT:
                        type: string
                        maxLength: 1
                        description: 'Classification of substitution tables  enumValues: D=Table including the contents is substituted (subst. name),Q=Shadow table, but not a Repository switch table,L=Old substitution table for deletion; no export,P=New table for control data import in Shadow Repository,N=Only activate nametab, no R/3 trans delta import,O=Table including all contents is substituted (original name),W=View, previously transported table has to be deleted,M=Activate nametab, in addition
                          to R/3 trans delta import,V=View is created directly before the new kernel is started,R=Table does not participate in shadow import,S=Object is a structure'
                        enum:
                        - D
                        - Q
                        - L
                        - P
                        - N
                        - O
                        - W
                        - M
                        - V
                        - R
                        - S
                      DESTCLASS:
                        type: string
                        maxLength: 1
                        description: 'Target area for substitution tables  enumValues: 0=Table placed in physical vicinity of original table,L=Table placed in load area,S=Table placed in exchange space'
                        enum:
                        - '0'
                        - L
                        - S
                      CLONE:
                        type: string
                        maxLength: 1
                        description: '''C'' = copy <tab><rel>      ''E'' = export <tab>  enumValues: M=Table is split into OS-dependent tables and exported,E=Table is exported under your name (<tab>),C=Table is exported under your exchange name (<tab><rel>)'
                        enum:
                        - M
                        - E
                        - C
                      BUILDCONV:
                        type: string
                        maxLength: 3
                        description: 'Naming convention for forming substitution names  enumValues: 000=Convention is chosen according to source release,001=Convention always according to 3.0 standard,002=Convention always according to 4.0 standard,003=New tables, substitution name = original name'
                        enum:
                        - '000'
                        - '001'
                        - '002'
                        - '003'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STATUS:
                    type: string
                    maxLength: 1
                  CONTPUTTB:
                    type: array
                    items:
                      type: object
                      properties:
                        SAPRELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: 4.0 version of TABNAME (name extension)
                        PACKETNR:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        WCONTENT:
                          type: string
                          maxLength: 1
                          description: 'Classification of substitution tables  enumValues: D=Table including the contents is substituted (subst. name),Q=Shadow table, but not a Repository switch table,L=Old substitution table for deletion; no export,P=New table for control data import in Shadow Repository,N=Only activate nametab, no R/3 trans delta import,O=Table including all contents is substituted (original name),W=View, previously transported table has to be deleted,M=Activate nametab, in addition
                            to R/3 trans delta import,V=View is created directly before the new kernel is started,R=Table does not participate in shadow import,S=Object is a structure'
                          enum:
                          - D
                          - Q
                          - L
                          - P
                          - N
                          - O
                          - W
                          - M
                          - V
                          - R
                          - S
                        DESTCLASS:
                          type: string
                          maxLength: 1
                          description: 'Target area for substitution tables  enumValues: 0=Table placed in physical vicinity of original table,L=Table placed in load area,S=Table placed in exchange space'
                          enum:
                          - '0'
                          - L
                          - S
                        CLONE:
                          type: string
                          maxLength: 1
                          description: '''C'' = copy <tab><rel>      ''E'' = export <tab>  enumValues: M=Table is split into OS-dependent tables and exported,E=Table is exported under your name (<tab>),C=Table is exported under your exchange name (<tab><rel>)'
                          enum:
                          - M
                          - E
                          - C
                        BUILDCONV:
                          type: string
                          maxLength: 3
                          description: 'Naming convention for forming substitution names  enumValues: 000=Convention is chosen according to source release,001=Convention always according to 3.0 standard,002=Convention always according to 4.0 standard,003=New tables, substitution name = original name'
                          enum:
                          - '000'
                          - '001'
                          - '002'
                          - '003'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
