openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM0_WRITE_CRMRELTAB:
    post:
      tags:
      - CRM0
      operationId: /rfc/CRM0_WRITE_CRMRELTAB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CFIELD:
                  type: string
                  maxLength: 30
                I_CLENGTH:
                  type: integer
                  format: int64
                I_COFFSET:
                  type: integer
                  format: int64
                I_CONSUMER:
                  type: string
                  maxLength: 10
                I_CTABLE:
                  type: string
                  maxLength: 30
                I_DELETE_MODE:
                  type: string
                  maxLength: 1
                I_FFIELD:
                  type: string
                  maxLength: 30
                I_FLENGTH:
                  type: integer
                  format: int64
                I_FOFFSET:
                  type: integer
                  format: int64
                I_FTABLE:
                  type: string
                  maxLength: 30
                I_FVALUE:
                  type: integer
                  format: int64
                I_INACTIVE:
                  type: string
                  maxLength: 1
                I_OBJNAME:
                  type: string
                  maxLength: 15
                I_POSSEL:
                  type: string
                  maxLength: 1
                TI_CRMRELTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      CONSUMER:
                        type: string
                        maxLength: 10
                        description: User of R/3 Adaptor Functionality
                      OBJNAME:
                        type: string
                        maxLength: 15
                        description: Object Name
                      FTABLE:
                        type: string
                        maxLength: 30
                        description: Table Name of Higher-Level Table
                      FFIELD:
                        type: string
                        maxLength: 30
                        description: Field Name from Higher-Level Table
                      CTABLE:
                        type: string
                        maxLength: 30
                        description: Table Name from Sub-Table
                      CFIELD:
                        type: string
                        maxLength: 30
                        description: Field Name from Sub-Table
                      FOFFSET:
                        type: integer
                        format: int64
                        description: Offset Key Field from Higher-Level Table
                      FLENGTH:
                        type: integer
                        format: int64
                        description: Length of Key Field from Higher-Level Table
                      COFFSET:
                        type: integer
                        format: int64
                        description: Offset Key Field for Sub-Table
                      CLENGTH:
                        type: integer
                        format: int64
                        description: Length of Key Field from Sub-Table
                      FVALUE:
                        type: integer
                        format: int64
                        description: Fixed Value of Key Field from Higher-Level
                      POSSEL:
                        type: string
                        maxLength: 1
                        description: 'Entry Only Used if Reselected  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Inactive  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_STATUS:
                    type: string
                    maxLength: 1
                  TI_CRMRELTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        CONSUMER:
                          type: string
                          maxLength: 10
                          description: User of R/3 Adaptor Functionality
                        OBJNAME:
                          type: string
                          maxLength: 15
                          description: Object Name
                        FTABLE:
                          type: string
                          maxLength: 30
                          description: Table Name of Higher-Level Table
                        FFIELD:
                          type: string
                          maxLength: 30
                          description: Field Name from Higher-Level Table
                        CTABLE:
                          type: string
                          maxLength: 30
                          description: Table Name from Sub-Table
                        CFIELD:
                          type: string
                          maxLength: 30
                          description: Field Name from Sub-Table
                        FOFFSET:
                          type: integer
                          format: int64
                          description: Offset Key Field from Higher-Level Table
                        FLENGTH:
                          type: integer
                          format: int64
                          description: Length of Key Field from Higher-Level Table
                        COFFSET:
                          type: integer
                          format: int64
                          description: Offset Key Field for Sub-Table
                        CLENGTH:
                          type: integer
                          format: int64
                          description: Length of Key Field from Sub-Table
                        FVALUE:
                          type: integer
                          format: int64
                          description: Fixed Value of Key Field from Higher-Level
                        POSSEL:
                          type: string
                          maxLength: 1
                          description: 'Entry Only Used if Reselected  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Inactive  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
