openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CAMA_FUNCTION_MAINTAIN:
    post:
      tags:
      - CUFX
      operationId: /rfc/CAMA_FUNCTION_MAINTAIN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATE:
                  type: string
                  maxLength: 10
                  description: Date
                VAR_FUNCTION_ALT_INPUT:
                  type: array
                  items:
                    type: object
                    properties:
                      VFUNC_NAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      VFUNC_ALT:
                        type: string
                        maxLength: 4
                        description: Value assignment alternative number
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      VFUNC_INPUT:
                        type: string
                        maxLength: 1
                        description: 'Characteristic is Used as a Key  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      FLDELETE:
                        type: string
                        maxLength: 1
                        description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                VAR_FUNCTION_BASIC_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      VFUNC_NAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      VFUNC_STATUS:
                        type: string
                        maxLength: 1
                        description: Variant function status
                      VFUNC_GROUP:
                        type: string
                        maxLength: 10
                        description: Variant function group
                      VFUNC_AUTH_MAINTAIN:
                        type: string
                        maxLength: 3
                        description: Authorization Group for Variant Function Maintenance
                      FLDELETE:
                        type: string
                        maxLength: 1
                        description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                VAR_FUNCTION_DESCRIPTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      VFUNC_NAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      DESCRIPT:
                        type: string
                        maxLength: 40
                        description: Description
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      FLDELETE:
                        type: string
                        maxLength: 1
                        description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                VAR_FUNCTION_PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      VFUNC_NAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      FLDELETE:
                        type: string
                        maxLength: 1
                        description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  VAR_FUNCTION_ALT_INPUT:
                    type: array
                    items:
                      type: object
                      properties:
                        VFUNC_NAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        VFUNC_ALT:
                          type: string
                          maxLength: 4
                          description: Value assignment alternative number
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        VFUNC_INPUT:
                          type: string
                          maxLength: 1
                          description: 'Characteristic is Used as a Key  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        FLDELETE:
                          type: string
                          maxLength: 1
                          description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  VAR_FUNCTION_BASIC_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        VFUNC_NAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        VFUNC_STATUS:
                          type: string
                          maxLength: 1
                          description: Variant function status
                        VFUNC_GROUP:
                          type: string
                          maxLength: 10
                          description: Variant function group
                        VFUNC_AUTH_MAINTAIN:
                          type: string
                          maxLength: 3
                          description: Authorization Group for Variant Function Maintenance
                        FLDELETE:
                          type: string
                          maxLength: 1
                          description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  VAR_FUNCTION_DESCRIPTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        VFUNC_NAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        DESCRIPT:
                          type: string
                          maxLength: 40
                          description: Description
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        FLDELETE:
                          type: string
                          maxLength: 1
                          description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  VAR_FUNCTION_PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        VFUNC_NAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        FLDELETE:
                          type: string
                          maxLength: 1
                          description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
