openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RKC_T242S_TAB_FILL:
    post:
      tags:
      - KRFC
      summary: Fills an internal table with the sender structure for a sender program
      operationId: /rfc/RKC_T242S_TAB_FILL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MANDT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: Sender Program
                REPID:
                  type: string
                  maxLength: 40
                  description: Sender Program
                I_T242S:
                  type: array
                  items:
                    type: object
                    properties:
                      FPOSI:
                        type: integer
                        format: int64
                        description: Position of sender fields
                      SFELD:
                        type: string
                        maxLength: 30
                        description: Sender field
                      FOFFS:
                        type: integer
                        format: int64
                        description: Field offset
                      FTYPE:
                        type: string
                        maxLength: 1
                        description: Data type (ABAP type) of sender field
                      FLENG:
                        type: integer
                        format: int64
                        description: Sender field length
                      FDECI:
                        type: integer
                        format: int64
                        description: Decimal places of sender field
                      COFFS:
                        type: integer
                        format: int64
                        description: Field offset
                      CTYPE:
                        type: string
                        maxLength: 1
                        description: Data type (ABAP type) of sender field
                      CLENG:
                        type: integer
                        format: int64
                        description: Sender field length
                      TNAME:
                        type: string
                        maxLength: 30
                        description: Table name of sender field
                      TXT20:
                        type: string
                        maxLength: 20
                        description: 'Data transfer: description'
                      ITYPE:
                        type: string
                        maxLength: 1
                        description: Data type (ABAP type) of sender field
                      ILENG:
                        type: integer
                        format: int64
                        description: Sender field length
                      IOFFS:
                        type: integer
                        format: int64
                        description: Field offset
                      LOWCS:
                        type: string
                        maxLength: 1
                        description: 'Lowercase letters allowed/not allowed  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
              required:
              - REPID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ANWDG:
                    type: string
                    maxLength: 2
                    description: Internal Length
                  CLENG:
                    type: integer
                    format: int64
                    description: Length of Converted Sender Structure
                  DKEY:
                    type: string
                    maxLength: 1
                    description: Internal Length
                  ESTRC:
                    type: string
                    maxLength: 30
                    description: Internal Length
                  ILENG:
                    type: integer
                    format: int64
                    description: Internal Length
                  MAVAL:
                    type: string
                    maxLength: 7
                    description: Internal Length
                  PROGN:
                    type: string
                    maxLength: 40
                    description: Internal Length
                  RLENG:
                    type: integer
                    format: int64
                    description: Sender Structure Length
                  VALID:
                    type: string
                    maxLength: 7
                    description: Internal Length
                  I_T242S:
                    type: array
                    items:
                      type: object
                      properties:
                        FPOSI:
                          type: integer
                          format: int64
                          description: Position of sender fields
                        SFELD:
                          type: string
                          maxLength: 30
                          description: Sender field
                        FOFFS:
                          type: integer
                          format: int64
                          description: Field offset
                        FTYPE:
                          type: string
                          maxLength: 1
                          description: Data type (ABAP type) of sender field
                        FLENG:
                          type: integer
                          format: int64
                          description: Sender field length
                        FDECI:
                          type: integer
                          format: int64
                          description: Decimal places of sender field
                        COFFS:
                          type: integer
                          format: int64
                          description: Field offset
                        CTYPE:
                          type: string
                          maxLength: 1
                          description: Data type (ABAP type) of sender field
                        CLENG:
                          type: integer
                          format: int64
                          description: Sender field length
                        TNAME:
                          type: string
                          maxLength: 30
                          description: Table name of sender field
                        TXT20:
                          type: string
                          maxLength: 20
                          description: 'Data transfer: description'
                        ITYPE:
                          type: string
                          maxLength: 1
                          description: Data type (ABAP type) of sender field
                        ILENG:
                          type: integer
                          format: int64
                          description: Sender field length
                        IOFFS:
                          type: integer
                          format: int64
                          description: Field offset
                        LOWCS:
                          type: string
                          maxLength: 1
                          description: 'Lowercase letters allowed/not allowed  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
