openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHP0_POPUP_TRANSLATE_DESCRIPT:
    post:
      tags:
      - RHP0
      operationId: /rfc/RHP0_POPUP_TRANSLATE_DESCRIPT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BASE_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Source Language
                DEST_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Target language for translation
                OBJID:
                  type: integer
                  format: int64
                  description: Object ID
                OTYPE:
                  type: string
                  maxLength: 2
                  description: Object type
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                STTAG:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Key Date
                SUBTY:
                  type: string
                  default: '0001'
                  maxLength: 4
                PTXT1002:
                  type: array
                  items:
                    type: object
                    properties:
                      TLINE:
                        type: string
                        maxLength: 79
                        description: Line With Length 79 for Infotype 1002
                      TFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
              required:
              - OBJID
              - OTYPE
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PTXT1002:
                    type: array
                    items:
                      type: object
                      properties:
                        TLINE:
                          type: string
                          maxLength: 79
                          description: Line With Length 79 for Infotype 1002
                        TFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
