openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSMD_RENAME:
    post:
      tags:
      - RSMD_CONVERSION
      operationId: /rfc/RSMD_RENAME
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DETLEVEL:
                  type: string
                  maxLength: 1
                I_NEW_PROTOCOL:
                  type: string
                  maxLength: 1
                I_ONLY_CONVEXIT:
                  type: string
                  maxLength: 1
                I_ONLY_TEST:
                  type: string
                  maxLength: 1
                I_T_CHABAS:
                  type: array
                  items:
                    type: object
                    properties:
                      CHABASNM:
                        type: string
                        maxLength: 30
                        description: Reference characteristic
                      CNVTAB:
                        type: string
                        maxLength: 30
                        description: Conversion Table of a Char. (SID and Concatenated Values)
                      CNVTYPE:
                        type: string
                        maxLength: 30
                        description: Name of table type
                      KEYSUNIQUE:
                        type: string
                        maxLength: 1
                        description: Indicator to Show whether Vals. are Consistent for Conversn.
                      ONLYCMP:
                        type: string
                        maxLength: 1
                        description: Only Values for Superior Characteristics are Inconsistent
                      CONVEXIT:
                        type: string
                        maxLength: 5
                        description: Conversion Routine
                      REMOVE_CONVEXIT:
                        type: string
                        maxLength: 1
                        description: Remove Conversion Routine
                      CONVERT:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Convert Characteristic'
                      INCONSISTENT_SID:
                        type: integer
                        format: int32
                        description: NUmber of Inconsistent Values in the SID Table
                      COLLISIONS_SID:
                        type: integer
                        format: int32
                        description: Number of Collisions in the SID Table
                      USED_IN_ODS:
                        type: string
                        maxLength: 1
                        description: Used in ODS Objects
                      RECALCULATION:
                        type: string
                        maxLength: 1
                        description: Conversion Table for Characteristic Must Be Recalculated
                I_T_CHAREF:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      CHABASNM:
                        type: string
                        maxLength: 30
                        description: Reference characteristic
                      CNVTAB:
                        type: string
                        maxLength: 30
                        description: Conversion Table of a Char. (SID and Concatenated Values)
                      CNVTYPE:
                        type: string
                        maxLength: 30
                        description: Name of table type
                      KEYSUNIQUE:
                        type: string
                        maxLength: 1
                        description: Indicator to Show whether Vals. are Consistent for Conversn.
                      ONLYCMP:
                        type: string
                        maxLength: 1
                        description: Only Values for Superior Characteristics are Inconsistent
                      CONVEXIT:
                        type: string
                        maxLength: 5
                        description: Conversion Routine
                      REMOVE_CONVEXIT:
                        type: string
                        maxLength: 1
                        description: Remove Conversion Routine
                      CONVERT:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Convert Characteristic'
                      INCONSISTENT_SID:
                        type: integer
                        format: int32
                        description: NUmber of Inconsistent Values in the SID Table
                      COLLISIONS_SID:
                        type: integer
                        format: int32
                        description: Number of Collisions in the SID Table
                      USED_IN_ODS:
                        type: string
                        maxLength: 1
                        description: Used in ODS Objects
                      RECALCULATION:
                        type: string
                        maxLength: 1
                        description: Conversion Table for Characteristic Must Be Recalculated
                I_T_CMP:
                  type: array
                  items:
                    type: object
                    properties:
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      IOBJCMP:
                        type: string
                        maxLength: 30
                        description: Superior InfoObject (compound)
                      CHABASCMP:
                        type: string
                        maxLength: 30
                        description: Reference characteristic
                      INCONSISTENT_SID:
                        type: integer
                        format: int32
                        description: NUmber of Inconsistent Values in the SID Table
                I_USAGETYPE:
                  type: string
                  maxLength: 4
              required:
              - I_DETLEVEL
              - I_NEW_PROTOCOL
              - I_ONLY_CONVEXIT
              - I_ONLY_TEST
              - I_T_CHABAS
              - I_T_CHAREF
              - I_T_CMP
              - I_USAGETYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_MSG:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV1_SRC:
                          type: string
                          maxLength: 15
                          description: 'Application Log: Origin of a message variable'
                        MSGV2_SRC:
                          type: string
                          maxLength: 15
                          description: 'Application Log: Origin of a message variable'
                        MSGV3_SRC:
                          type: string
                          maxLength: 15
                          description: 'Application Log: Origin of a message variable'
                        MSGV4_SRC:
                          type: string
                          maxLength: 15
                          description: 'Application Log: Origin of a message variable'
                        DETLEVEL:
                          type: string
                          maxLength: 1
                          description: 'Application Log: Level of detail'
                        PROBCLASS:
                          type: string
                          maxLength: 1
                          description: 'Application log: Message problem class'
                        ALSORT:
                          type: string
                          maxLength: 3
                          description: 'Application log: Sort criterion/grouping'
                        TIME_STMP:
                          type: integer
                          format: int64
                          description: 'Application Log: Message time stamp'
                        MSG_COUNT:
                          type: integer
                          format: int32
                          description: 'Application Log: Cumulated message count'
                        CONTEXT:
                          type: object
                          properties:
                            TABNAME:
                              type: string
                              maxLength: 30
                              description: 'Application Log: Context: DDIC structure name'
                            VALUE:
                              type: string
                              maxLength: 256
                              description: 'Application Log: Context data'
                        PARAMS:
                          type: object
                          properties:
                            CALLBACK:
                              type: object
                              properties:
                                USEREXITP:
                                  type: string
                                  maxLength: 40
                                  description: 'Application Log: Callback: Program name'
                                USEREXITF:
                                  type: string
                                  maxLength: 30
                                  description: 'Application Log: Callback: Routine name'
                                USEREXITT:
                                  type: string
                                  maxLength: 1
                                  description: 'Application Log: Callback: Type (Ext. Perform, FM, etc.)  enumValues: ""=External perform,F=Function module'
                                  enum:
                                  - ''
                                  - F
                            ALTEXT:
                              type: string
                              maxLength: 28
                              description: 'Application log: Standard text'
                            T_PAR:
                              type: array
                              items:
                                type: object
                                properties:
                                  PARNAME:
                                    type: string
                                    maxLength: 10
                                    description: 'Application log: Parameters'
                                  PARVALUE:
                                    type: string
                                    maxLength: 75
                                    description: 'Application log: Parameter value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
