openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FUNCTION_IMPORT_DOKU:
    post:
      tags:
      - SUNI
      operationId: /rfc/FUNCTION_IMPORT_DOKU
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNCNAME:
                  type: string
                  maxLength: 30
                  description: Name of the function module
                IGNORE_SWITCHES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                WITH_ENHANCEMENTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                CHANGING_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBFIELD:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      DEFAULT:
                        type: string
                        maxLength: 21
                        description: Default value for import parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      REFERENCE:
                        type: string
                        maxLength: 1
                        description: Call by reference
                      CHANGING:
                        type: string
                        maxLength: 1
                        description: Changing a parameter allowed
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                DOKUMENTATION:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      FUNCNAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      KIND:
                        type: string
                        maxLength: 1
                        description: Type
                      VERSION:
                        type: integer
                        format: int64
                        description: Version of Documentation Module
                      STEXT:
                        type: string
                        maxLength: 79
                        description: Short text
                ENHA_CHA_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBFIELD:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      DEFAULT:
                        type: string
                        maxLength: 21
                        description: Default value for import parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      REFERENCE:
                        type: string
                        maxLength: 1
                        description: Call by reference
                      CHANGING:
                        type: string
                        maxLength: 1
                        description: Changing a parameter allowed
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                ENHA_DOKUMENTATION:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      FUNCNAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      KIND:
                        type: string
                        maxLength: 1
                        description: Type
                      VERSION:
                        type: integer
                        format: int64
                        description: Version of Documentation Module
                      STEXT:
                        type: string
                        maxLength: 79
                        description: Short text
                ENHA_EXP_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      EXCEPTION:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                ENHA_IMP_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBFIELD:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      DEFAULT:
                        type: string
                        maxLength: 21
                        description: Default value for import parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      REFERENCE:
                        type: string
                        maxLength: 1
                        description: Call by reference
                      CHANGING:
                        type: string
                        maxLength: 1
                        description: Changing a parameter allowed
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                ENHA_TBL_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBSTRUCT:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                EXCEPTION_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      EXCEPTION:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                EXPORT_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBFIELD:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      REFERENCE:
                        type: string
                        maxLength: 1
                        description: Call by reference
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                IMPORT_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBFIELD:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      DEFAULT:
                        type: string
                        maxLength: 21
                        description: Default value for import parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      REFERENCE:
                        type: string
                        maxLength: 1
                        description: Call by reference
                      CHANGING:
                        type: string
                        maxLength: 1
                        description: Changing a parameter allowed
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
                TABLES_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter Name
                      DBSTRUCT:
                        type: string
                        maxLength: 26
                        description: Reference field/structure of a parameter
                      TYPES:
                        type: string
                        maxLength: 1
                        description: Reference Structure is an ABAP/4 Type
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
                      TYP:
                        type: string
                        maxLength: 132
                        description: Associated Type of an Interface Parameter
                      CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      REF_CLASS:
                        type: string
                        maxLength: 1
                        description: Reference to a Class
                      LINE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter is 'LINE OF' table type
                      TABLE_OF:
                        type: string
                        maxLength: 1
                        description: Parameter Is Reference Type 'TABLE OF'
              required:
              - FUNCNAME
              - LANGUAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXCEPTION_CLASS:
                    type: string
                    maxLength: 1
                  FREEDATE:
                    type: string
                    format: date
                    description: Short text for function module
                  GLOBAL_FLAG:
                    type: string
                    maxLength: 1
                    description: Global interface
                  REMOTE_CALL:
                    type: string
                    maxLength: 1
                    description: Function module can be called with remote function
                  SHORT_TEXT:
                    type: string
                    maxLength: 74
                    description: Short text for function module
                  UPDATE_TASK:
                    type: string
                    maxLength: 1
                    description: Function module running update task
                  CHANGING_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBFIELD:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        DEFAULT:
                          type: string
                          maxLength: 21
                          description: Default value for import parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        CHANGING:
                          type: string
                          maxLength: 1
                          description: Changing a parameter allowed
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  DOKUMENTATION:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        FUNCNAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        KIND:
                          type: string
                          maxLength: 1
                          description: Type
                        VERSION:
                          type: integer
                          format: int64
                          description: Version of Documentation Module
                        STEXT:
                          type: string
                          maxLength: 79
                          description: Short text
                  ENHA_CHA_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBFIELD:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        DEFAULT:
                          type: string
                          maxLength: 21
                          description: Default value for import parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        CHANGING:
                          type: string
                          maxLength: 1
                          description: Changing a parameter allowed
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  ENHA_DOKUMENTATION:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        FUNCNAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        KIND:
                          type: string
                          maxLength: 1
                          description: Type
                        VERSION:
                          type: integer
                          format: int64
                          description: Version of Documentation Module
                        STEXT:
                          type: string
                          maxLength: 79
                          description: Short text
                  ENHA_EXP_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        EXCEPTION:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                  ENHA_IMP_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBFIELD:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        DEFAULT:
                          type: string
                          maxLength: 21
                          description: Default value for import parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        CHANGING:
                          type: string
                          maxLength: 1
                          description: Changing a parameter allowed
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  ENHA_TBL_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBSTRUCT:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  EXCEPTION_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        EXCEPTION:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                  EXPORT_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBFIELD:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  IMPORT_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBFIELD:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        DEFAULT:
                          type: string
                          maxLength: 21
                          description: Default value for import parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        CHANGING:
                          type: string
                          maxLength: 1
                          description: Changing a parameter allowed
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                  TABLES_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        DBSTRUCT:
                          type: string
                          maxLength: 26
                          description: Reference field/structure of a parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
