openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_JAVACLIENT_DDIC_IMPORTER:
    post:
      tags:
      - MEREP_JAVACLIENT
      summary: Get DDic for Java Client
      operationId: /rfc/MEREP_JAVACLIENT_DDIC_IMPORTER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DDIC_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      ROLLNAME:
                        type: string
                        maxLength: 30
                        description: Data element (semantic domain)
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LENG:
                        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
                      FIELDTEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      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
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
                I_DDIC_LANGS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 2
                        description: Language ID (ISO Standard)
              required:
              - I_DDIC_INFO
              - I_DDIC_LANGS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_DDIC_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LENG:
                          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
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        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
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                  E_DDIC_VAL:
                    type: array
                    items:
                      type: object
                      properties:
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        VALPOS:
                          type: integer
                          format: int64
                          description: value position
                        DOMVALUE_L:
                          type: string
                          maxLength: 10
                          description: 'Values for Domains: Single Value / Upper Limit'
                        DOMVALUE_H:
                          type: string
                          maxLength: 10
                          description: Values for domains, upper limit
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: Short text for fixed values
                        DOMVALUE_LD:
                          type: string
                          maxLength: 10
                          description: Language-specific values for domains, lower limit
                        DOMVALUE_HD:
                          type: string
                          maxLength: 10
                          description: Language-specific values for domains, upper limit
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
