openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CAT_GRID_INIT:
    post:
      tags:
      - STTM
      operationId: /rfc/CAT_GRID_INIT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ABLNR:
                  type: string
                  maxLength: 30
                COMMID:
                  type: string
                  maxLength: 8
                MODE:
                  type: string
                  default: R
                  maxLength: 1
                SUBID:
                  type: string
                  maxLength: 8
                FDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      COMMID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      SUBID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      CALLNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      DELTA:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      MODIFNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      COL_ID:
                        type: integer
                        format: int32
                        description: Natural number
                      ROW_ID:
                        type: integer
                        format: int32
                        description: Natural number
                      SUB_ROW_ID:
                        type: integer
                        format: int32
                        description: Natural number
                      VALUE:
                        type: string
                        maxLength: 132
                        description: CATT - Parameter value
                FINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      COMMID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      SUBID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      CALLNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: 'ALV control: Field name of internal table field'
                      HIERLEVEL:
                        type: string
                        maxLength: 3
                        description: 'ALV control: Record type of a hierarchy level'
                      COL_POS:
                        type: integer
                        format: int32
                        description: 'ALV control: Output column'
                      TEXT:
                        type: string
                        maxLength: 40
                        description: 'ALV control: Column identifier long text'
                      OUTPUTLEN:
                        type: integer
                        format: int32
                        description: Natural number
                      MERGE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      STYLE:
                        type: integer
                        format: int32
                        description: 'ALV control: INT4 style'
                      COL_STYLE:
                        type: integer
                        format: int32
                        description: 'ALV control: INT4 style'
                      TOOLTIP:
                        type: string
                        maxLength: 40
                        description: 'ALV control: Tool tip for column header'
                      DRAGDROPID:
                        type: integer
                        format: int32
                        description: Natural number
                      ILEVEL:
                        type: integer
                        format: int32
                        description: Natural number
                      STYLE2:
                        type: integer
                        format: int32
                        description: Natural number
                      INTTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      MAXLEN:
                        type: integer
                        format: int32
                        description: Natural number
                      TEXT_M:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      TEXT_S:
                        type: string
                        maxLength: 10
                        description: Short Field Label
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
                      COL_ID:
                        type: integer
                        format: int32
                        description: Natural number
                      STYLE3:
                        type: integer
                        format: int32
                        description: 'ALV control: INT4 style'
                      STYLE4:
                        type: integer
                        format: int32
                        description: 'ALV control: INT4 style'
                      STYLE_HD:
                        type: integer
                        format: int32
                        description: 'ALV control: INT4 style'
                      WEBREF_COL:
                        type: integer
                        format: int32
                        description: Natural number
              required:
              - ABLNR
              - COMMID
              - SUBID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        COMMID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        SUBID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        CALLNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        DELTA:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        MODIFNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        COL_ID:
                          type: integer
                          format: int32
                          description: Natural number
                        ROW_ID:
                          type: integer
                          format: int32
                          description: Natural number
                        SUB_ROW_ID:
                          type: integer
                          format: int32
                          description: Natural number
                        VALUE:
                          type: string
                          maxLength: 132
                          description: CATT - Parameter value
                  FINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        COMMID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        SUBID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        CALLNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: 'ALV control: Field name of internal table field'
                        HIERLEVEL:
                          type: string
                          maxLength: 3
                          description: 'ALV control: Record type of a hierarchy level'
                        COL_POS:
                          type: integer
                          format: int32
                          description: 'ALV control: Output column'
                        TEXT:
                          type: string
                          maxLength: 40
                          description: 'ALV control: Column identifier long text'
                        OUTPUTLEN:
                          type: integer
                          format: int32
                          description: Natural number
                        MERGE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        STYLE:
                          type: integer
                          format: int32
                          description: 'ALV control: INT4 style'
                        COL_STYLE:
                          type: integer
                          format: int32
                          description: 'ALV control: INT4 style'
                        TOOLTIP:
                          type: string
                          maxLength: 40
                          description: 'ALV control: Tool tip for column header'
                        DRAGDROPID:
                          type: integer
                          format: int32
                          description: Natural number
                        ILEVEL:
                          type: integer
                          format: int32
                          description: Natural number
                        STYLE2:
                          type: integer
                          format: int32
                          description: Natural number
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character
                            string (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        MAXLEN:
                          type: integer
                          format: int32
                          description: Natural number
                        TEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        TEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        COL_ID:
                          type: integer
                          format: int32
                          description: Natural number
                        STYLE3:
                          type: integer
                          format: int32
                          description: 'ALV control: INT4 style'
                        STYLE4:
                          type: integer
                          format: int32
                          description: 'ALV control: INT4 style'
                        STYLE_HD:
                          type: integer
                          format: int32
                          description: 'ALV control: INT4 style'
                        WEBREF_COL:
                          type: integer
                          format: int32
                          description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
