openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSA1_HIERARCHY_COMPOUND_GET:
    post:
      tags:
      - RSA7
      operationId: /rfc/RSA1_HIERARCHY_COMPOUND_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OBJVERS:
                  type: string
                  default: A
                  maxLength: 1
                I_OLTPSOURCE:
                  type: string
                  maxLength: 30
                E_T_OHIECOM:
                  type: array
                  items:
                    type: object
                    properties:
                      OLTPSOURCE:
                        type: string
                        maxLength: 30
                        description: DataSource
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                      FIELDCMP:
                        type: string
                        maxLength: 30
                        description: Field name
                      POSIT:
                        type: integer
                        format: int64
                        description: Position of the Field in the Structure / Table
                      DTELNM:
                        type: string
                        maxLength: 30
                        description: Data element (semantic domain)
                      LENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      DATATYPE:
                        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
                E_T_PROTOCOL:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: ''
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: ''
                      MSGNO:
                        type: string
                        maxLength: 3
                        description: ''
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_OHIECOM:
                    type: array
                    items:
                      type: object
                      properties:
                        OLTPSOURCE:
                          type: string
                          maxLength: 30
                          description: DataSource
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                        FIELDCMP:
                          type: string
                          maxLength: 30
                          description: Field name
                        POSIT:
                          type: integer
                          format: int64
                          description: Position of the Field in the Structure / Table
                        DTELNM:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        DATATYPE:
                          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
                  E_T_PROTOCOL:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: ''
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: ''
                        MSGNO:
                          type: string
                          maxLength: 3
                          description: ''
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: ''
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: ''
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: ''
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
