openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_CPEDOC_RFC_MAINTAIN_OW:
    post:
      tags:
      - CPE_CPEDOC_OW
      summary: CPE_D - Complete Document Formula - RFC-Maintain Object Work Area
      operationId: /rfc/CPE_CPEDOC_RFC_MAINTAIN_OW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_CPEDOC_COM_IN:
                  type: object
                  properties:
                    FA_PROCEDURE:
                      type: string
                      maxLength: 6
                      description: CPE Caller - Formula Assembly Procedure
                    USE_FA_BUFFER:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    PERFORM_CHECK:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    PROCESS_OPTION:
                      type: string
                      maxLength: 1
                      description: 'CPE: Option for processing dependent table entries'
                    DEFTERMGRP_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          FORMINPUT_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Changed Input for General Data
                          TERMNO:
                            type: integer
                            format: int64
                            description: CPE Term - Number in Formula
                          TERMID:
                            type: string
                            maxLength: 10
                            description: CPE Term -  Key
                          TERMINPUT_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID of Changed General Input
                          TERMCONVIN_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID for Conversion Input
                          TERMROUNDIN_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID of Rounding Input
                          TERMGROUP:
                            type: string
                            maxLength: 1
                            description: CPE Term - Term Group
                          PROVIS:
                            type: string
                            maxLength: 1
                            description: CPE Term - Term Is Used only for Provisional Pricing
                          PROVTERMNO:
                            type: integer
                            format: int64
                            description: CPE Term - Number of the Corresponding Provisional Term
                          FACTOR1:
                            type: integer
                            format: int64
                            description: CPE Term - Factor 1
                          FACTOR2:
                            type: integer
                            format: int64
                            description: CPE Term - Factor 2
                          TERMCOMMQUAN:
                            type: integer
                            format: int64
                            description: CPE Term - Total Commodity Quantity for Calculating Term
                          TERMCOMMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - Unit of Measure of Total Commodity Quantity
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    TERMGRPOUT_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          FORMINPUT_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Changed Input for General Data
                          TERMNO:
                            type: integer
                            format: int64
                            description: CPE Term - Number in Formula
                          TERMID:
                            type: string
                            maxLength: 10
                            description: CPE Term -  Key
                          TERMINPUT_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID of Changed General Input
                          TERMCONVIN_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID for Conversion Input
                          TERMROUNDIN_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID of Rounding Input
                          TERMGROUP:
                            type: string
                            maxLength: 1
                            description: CPE Term - Term Group
                          PROVIS:
                            type: string
                            maxLength: 1
                            description: CPE Term - Term Is Used only for Provisional Pricing
                          PROVTERMNO:
                            type: integer
                            format: int64
                            description: CPE Term - Number of the Corresponding Provisional Term
                          FACTOR1:
                            type: integer
                            format: int64
                            description: CPE Term - Factor 1
                          FACTOR2:
                            type: integer
                            format: int64
                            description: CPE Term - Factor 2
                          TERMCOMMQUAN:
                            type: integer
                            format: int64
                            description: CPE Term - Total Commodity Quantity for Calculating Term
                          TERMCOMMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - Unit of Measure of Total Commodity Quantity
                          USEDQUAN:
                            type: integer
                            format: int64
                            description: CPE Term - Calculated Commodity Quantity
                          USEDUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - UoM for Calculated Commodity Quantity
                          TERMCONVOUT_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID for Conversion Result
                          PERDTOUT_GUID_Q:
                            type: string
                            format: byte
                            description: CPE  Term - GUID for Result of Period Determination
                          PERDTOUT_GUID_C:
                            type: string
                            format: byte
                            description: CPE  Term - GUID for Result of Period Determination
                          TERMSTATUS:
                            type: integer
                            format: int64
                            description: CPE Term - Status
                          BILLING_BLOCK:
                            type: string
                            maxLength: 2
                            description: 'CPE Caller - Billing: Blocking Reason for Document Items'
                          TERMVAL:
                            type: integer
                            format: int64
                            description: CPE Term - Value
                          TERMRATE:
                            type: integer
                            format: int64
                            description: CPE Term - Rate in Term Currency
                          TERMCURR:
                            type: string
                            maxLength: 5
                            description: CPE Term - Currency
                          TERMPRUN:
                            type: integer
                            format: int64
                            description: CPE Term - Price Unit
                          TERMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - Unit of Measure
                          QUOTATION:
                            type: integer
                            format: int64
                            description: CPE Term - Calculated Quotation
                          QUOTCURR:
                            type: string
                            maxLength: 5
                            description: Quotation Currency
                          QUOTPRUN:
                            type: integer
                            format: int64
                            description: Price Unit of Quotation
                          QUOTUOM:
                            type: string
                            maxLength: 3
                            description: Unit of Measure of Quotation
                          CALC_LIMITUSED:
                            type: integer
                            format: int64
                            description: CPE Term - Used Limit of Calculation Rule
                          QUOT_UOMSUBST:
                            type: string
                            maxLength: 1
                            description: CPE Term - Unit of Measure Subsitution for Quotations
                          SURCHARGERATE:
                            type: integer
                            format: int64
                            description: CPE Term - Total Surcharge for Commodity
                          SURCHRATECURR:
                            type: string
                            maxLength: 5
                            description: CPE Term - Currency of Absolute Surcharge
                          SURCHRATEPRUN:
                            type: integer
                            format: int64
                            description: CPE Term - Price Unit of Absolute Surcharge
                          SURCHRATEUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - Unit of Measure of Absolute Surcharge
                          SURCH_UOMSUBST:
                            type: string
                            maxLength: 1
                            description: CPE Term - Unit of Measure Substitution for Surcharge
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    TERMOUT_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          DOCITEM_GUID:
                            type: string
                            format: byte
                            description: CPE Caller - GUID of Document Item
                          COND_TYPE:
                            type: string
                            maxLength: 4
                            description: 'CPE: Condition Type for Commodity Pricing'
                          TERMNO:
                            type: integer
                            format: int64
                            description: CPE Term - Number in Formula
                          TERMCONVIN_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID for Conversion Input
                          TERMROUNDIN_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID of Rounding Input
                          USEDQUAN:
                            type: integer
                            format: int64
                            description: CPE Term - Calculated Commodity Quantity
                          USEDUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - UoM for Calculated Commodity Quantity
                          TERMCONVOUT_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID for Conversion Result
                          PERDTOUT_GUID_Q:
                            type: string
                            format: byte
                            description: CPE  Term - GUID for Result of Period Determination
                          PERDTOUT_GUID_C:
                            type: string
                            format: byte
                            description: CPE  Term - GUID for Result of Period Determination
                          TERMSTATUS:
                            type: integer
                            format: int64
                            description: CPE Term - Status
                          BILLING_BLOCK:
                            type: string
                            maxLength: 2
                            description: 'CPE Caller - Billing: Blocking Reason for Document Items'
                          TERMVAL:
                            type: integer
                            format: int64
                            description: CPE Term - Value
                          TERMRATE:
                            type: integer
                            format: int64
                            description: CPE Term - Rate in Term Currency
                          TERMCURR:
                            type: string
                            maxLength: 5
                            description: CPE Term - Currency
                          TERMPRUN:
                            type: integer
                            format: int64
                            description: CPE Term - Price Unit
                          TERMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - Unit of Measure
                          QUOTATION:
                            type: integer
                            format: int64
                            description: CPE Term - Calculated Quotation
                          QUOTCURR:
                            type: string
                            maxLength: 5
                            description: Quotation Currency
                          QUOTPRUN:
                            type: integer
                            format: int64
                            description: Price Unit of Quotation
                          QUOTUOM:
                            type: string
                            maxLength: 3
                            description: Unit of Measure of Quotation
                          CALC_LIMITUSED:
                            type: integer
                            format: int64
                            description: CPE Term - Used Limit of Calculation Rule
                          QUOT_UOMSUBST:
                            type: string
                            maxLength: 1
                            description: CPE Term - Unit of Measure Subsitution for Quotations
                          SURCHARGERATE:
                            type: integer
                            format: int64
                            description: CPE Term - Total Surcharge for Commodity
                          SURCHRATECURR:
                            type: string
                            maxLength: 5
                            description: CPE Term - Currency of Absolute Surcharge
                          SURCHRATEPRUN:
                            type: integer
                            format: int64
                            description: CPE Term - Price Unit of Absolute Surcharge
                          SURCHRATEUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - Unit of Measure of Absolute Surcharge
                          SURCH_UOMSUBST:
                            type: string
                            maxLength: 1
                            description: CPE Term - Unit of Measure Substitution for Surcharge
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    TERMROUNDIN_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          TERMROUNDIN_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID of Rounding Input
                          CONVPLACE:
                            type: integer
                            format: int64
                            description: CPE - Conversion Place
                          ROUNDRULE:
                            type: string
                            maxLength: 5
                            description: CPE - Rounding Rule
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    FORMCONVIN_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          FORMCONVIN_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Input for Conversion
                          CONVPLACE:
                            type: integer
                            format: int64
                            description: CPE - Conversion Place
                          CURRFROM:
                            type: string
                            maxLength: 5
                            description: CPE - Currency to Be Converted During Conversion ('from')
                          UOMFROM:
                            type: string
                            maxLength: 3
                            description: CPE - Unit of Measure to Be Converted During Conv. ('From')
                          CURRTO:
                            type: string
                            maxLength: 5
                            description: CPE - Currency to Be Converted to During Conversion ('to')
                          UOMTO:
                            type: string
                            maxLength: 3
                            description: CPE - Unit of Measure Converted to During Conversion
                          CONVERSIONRULE:
                            type: string
                            maxLength: 5
                            description: CPE - Conversion Rule
                          FIXEXCHRATE:
                            type: integer
                            format: int64
                            description: CPE Term - Fixed Exchange Rate for Currency Conversion
                          FACTORFROM:
                            type: integer
                            format: int64
                            description: CPE - From-Factor for Conversion
                          FACTORTO:
                            type: integer
                            format: int64
                            description: CPE - To-Factor for Conversion
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    FORMROUNDIN_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          FORMROUNDIN_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID for Rounding Input
                          CONVPLACE:
                            type: integer
                            format: int64
                            description: CPE - Conversion Place
                          TERMGROUP:
                            type: string
                            maxLength: 1
                            description: CPE Term - Term Group
                          ROUNDRULE:
                            type: string
                            maxLength: 5
                            description: CPE - Rounding Rule
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    DEFFORMDOC_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          DOC_GUID:
                            type: string
                            format: byte
                            description: CPE Caller  - GUID of Document Header
                          COND_TYPE:
                            type: string
                            maxLength: 4
                            description: 'CPE: Condition Type for Commodity Pricing'
                          FORMID:
                            type: string
                            maxLength: 10
                            description: CPE Formula - Key
                          FORMINPUT_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Changed Input for General Data
                          FORMCONVIN_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Input for Conversion
                          FORMROUNDIN_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID for Rounding Input
                          CPE_FA_PROCEDURE:
                            type: string
                            maxLength: 6
                            description: CPE Caller - Formula Assembly Procedure
                          CPE_FA_ROUTINE:
                            type: integer
                            format: int64
                            description: CPE - Routine
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    FORMDOC_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          DOCITEM_GUID:
                            type: string
                            format: byte
                            description: CPE Caller - GUID of Document Item
                          COND_TYPE:
                            type: string
                            maxLength: 4
                            description: 'CPE: Condition Type for Commodity Pricing'
                          FORMID:
                            type: string
                            maxLength: 10
                            description: CPE Formula - Key
                          FORMINPUT_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Changed Input for General Data
                          FORMCONVIN_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Input for Conversion
                          FORMROUNDIN_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID for Rounding Input
                          FORMCONVOUT_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Conversion Result
                          FORMSTATUS:
                            type: integer
                            format: int64
                            description: CPE Formula - Status of Evaluation
                          BILLING_BLOCK:
                            type: string
                            maxLength: 2
                            description: 'CPE Caller - Billing: Blocking Reason for Document Items'
                          EVALTIMESTAMP:
                            type: string
                            format: date
                            description: Not used anymore !!! CPE Formula - Evaluation Date and Time
                          FORMVAL:
                            type: integer
                            format: int64
                            description: CPE Formula -Value in Formula Currency
                          FORMRATE:
                            type: integer
                            format: int64
                            description: CPE Formula - Rate in Formula Currency
                          FORMCURR:
                            type: string
                            maxLength: 5
                            description: CPE Formula - Currency
                          FORMPRUN:
                            type: integer
                            format: int64
                            description: CPE Formula - Price Unit
                          FORMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Formula - Unit of Measure
                          FORMCOMMQUAN:
                            type: integer
                            format: int64
                            description: CPE Formula - Total Quantity of Commodity in Document Item
                          FORMCOMMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Formula - Unit of Measure of Commodity Used in Formula
                          QUANCNV_COMM:
                            type: integer
                            format: int64
                            description: CPE - Comm. Qty for Conversion from Product UoM to Comm. UoM
                          QUANCNV_ITEM:
                            type: integer
                            format: int64
                            description: CPE - Item Qty for Conversion from Product UoM to Comm. UoM
                          CONTRACTGUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Contract Item Related to Document Item
                          ORIG_GUID:
                            type: string
                            format: byte
                            description: CPE Caller - GUID of Original Item of the Document Item
                          LOGSYS:
                            type: string
                            maxLength: 10
                            description: CPE Formula - Original Logical System
                          SRCSYSTEMTYPE:
                            type: string
                            maxLength: 4
                            description: CPE - Source System Type
                          FORMVAL_DOCCURR:
                            type: integer
                            format: int64
                            description: CPE Formula - Value in Document Currency
                          DOCCURR:
                            type: string
                            maxLength: 5
                            description: CPE Caller - Document Currency
                          EVAL_TIMESTAMP:
                            type: string
                            maxLength: 14
                            description: CPE Formula - Evaluation Date and Time
                          ITEMPRODUOM:
                            type: string
                            maxLength: 3
                            description: CPE Caller - Unit of Measure of Product in Document Item
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    TERMCONVIN_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          TERMCONVIN_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID for Conversion Input
                          CONVPLACE:
                            type: integer
                            format: int64
                            description: CPE - Conversion Place
                          CURRFROM:
                            type: string
                            maxLength: 5
                            description: CPE - Currency to Be Converted During Conversion ('from')
                          UOMFROM:
                            type: string
                            maxLength: 3
                            description: CPE - Unit of Measure to Be Converted During Conv. ('From')
                          CURRTO:
                            type: string
                            maxLength: 5
                            description: CPE - Currency to Be Converted to During Conversion ('to')
                          UOMTO:
                            type: string
                            maxLength: 3
                            description: CPE - Unit of Measure Converted to During Conversion
                          CONVERSIONRULE:
                            type: string
                            maxLength: 5
                            description: CPE - Conversion Rule
                          FIXEXCHRATE:
                            type: integer
                            format: int64
                            description: CPE Term - Fixed Exchange Rate for Currency Conversion
                          FACTORFROM:
                            type: integer
                            format: int64
                            description: CPE - From-Factor for Conversion
                          FACTORTO:
                            type: integer
                            format: int64
                            description: CPE - To-Factor for Conversion
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    TERMINPUT_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          TERMINPUT_GUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID of Changed General Input
                          TERMTYPE:
                            type: integer
                            format: int64
                            description: CPE Term - Term Calculation Type
                          TERMRULE:
                            type: string
                            maxLength: 5
                            description: CPE Term - Term Rule
                          QUOTSRC:
                            type: string
                            maxLength: 2
                            description: Quotation Source
                          QUOTTYPE:
                            type: string
                            maxLength: 5
                            description: Quotation Type
                          QUOTNAME:
                            type: string
                            maxLength: 18
                            description: Quotation Name
                          QUOTGROUP:
                            type: string
                            maxLength: 5
                            description: Quotation Group
                          REFDOCCAT:
                            type: integer
                            format: int64
                            description: CPE Term - Reference Document Category
                          REFDOC:
                            type: string
                            maxLength: 10
                            description: CPE Term - Reference Document Number
                          REFITEM:
                            type: string
                            maxLength: 10
                            description: CPE Term - Reference Document Item Number
                          REFGUID:
                            type: string
                            format: byte
                            description: CPE Term - GUID of Reference Document Item
                          REFCOND:
                            type: string
                            maxLength: 4
                            description: CPE Term - Reference Condition Type
                          FIXTERMRATE:
                            type: integer
                            format: int64
                            description: CPE Term - Fixed Rate
                          FIXTERMCURR:
                            type: string
                            maxLength: 5
                            description: CPE - Currency for Fixed Value
                          FIXTERMPRUN:
                            type: integer
                            format: int64
                            description: CPE - Price Unit of Fixed Rate
                          FIXTERMUOM:
                            type: string
                            maxLength: 3
                            description: CPE - Unit of Measure of Fixed Rate
                          USERVAL1:
                            type: integer
                            format: int64
                            description: CPE Term - Freely Usable Field
                          USERUOM1:
                            type: string
                            maxLength: 3
                            description: CPE Term - Freely Usable Unit of Measure Field
                          CALCRULE:
                            type: string
                            maxLength: 5
                            description: CPE Term - Calculation Rule
                          SURCHARGERULE:
                            type: string
                            maxLength: 5
                            description: CPE Term - Surcharge Rule
                          PERDETRULE_Q:
                            type: string
                            maxLength: 5
                            description: CPE Term - Period Determination Rule for Commodity Rates
                          PERDETRULE_C:
                            type: string
                            maxLength: 5
                            description: CPE Term - Period Determ. Rule for Currency Exchange Rates
                          PERDTIN_GUID_Q:
                            type: string
                            format: byte
                            description: CPE  Term - GUID for Changed Input of Period Determination
                          PERDTIN_GUID_C:
                            type: string
                            format: byte
                            description: CPE  Term - GUID for Changed Input of Period Determination
                          CALCROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Calculation Routine
                          CALCMIN:
                            type: integer
                            format: int64
                            description: CPE Term - Minimum of Commodity Rate Calculation
                          CALCMAX:
                            type: integer
                            format: int64
                            description: CPE Term - Maximum of Commodity Rate Calculation
                          CALCMMCURR:
                            type: string
                            maxLength: 5
                            description: CPE Term - Currency of Rate Calculation Limits
                          CALCMMPRUN:
                            type: integer
                            format: int64
                            description: CPE Term - Price Unit of Rate Calculation Limits
                          CALCMMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - Unit of Measure for Rate Limits
                          SURCHARGEROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Surcharge Routine
                          SURCHARGEABS:
                            type: integer
                            format: int64
                            description: CPE Term - Absolute Surcharge for Commodity
                          SURCHARGECURR:
                            type: string
                            maxLength: 5
                            description: CPE Term - Currency of Absolute Surcharge
                          SURCHARGEPRUN:
                            type: integer
                            format: int64
                            description: CPE Term - Price Unit of Absolute Surcharge
                          SURCHARGEUOM:
                            type: string
                            maxLength: 3
                            description: CPE Term - Unit of Measure of Absolute Surcharge
                          SURCHARGEFACTOR1:
                            type: integer
                            format: int64
                            description: CPE Term - Factor 1 when Combining Surcharge and Quotation
                          SURCHARGEFACTOR2:
                            type: integer
                            format: int64
                            description: CPE Term - Factor 2 when Combining Surcharge and Quotation
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    PERIODDTIN_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          PERIODDTIN_GUID:
                            type: string
                            format: byte
                            description: CPE  Term - GUID for Changed Input of Period Determination
                          PERIODDETROUT:
                            type: integer
                            format: int64
                            description: CPE Term- Period Determination Routine for Commodity Pricing
                          SOURCEROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Source Routine for Price Quot. or Curr. Ex. Rates
                          REFDATEROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Reference Date and Time Routine
                          DATEOFFSETROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Date Offset Routine for Period Determination
                          OFFSETUNITS:
                            type: integer
                            format: int64
                            description: CPE Term - Number of Time Units for Date Offset Routine
                          TIMEUOMROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Time UoM Routine
                          TIMEUNITSBEF:
                            type: integer
                            format: int64
                            description: CPE Term - Time Units Before Calculated Base Date
                          TIMEUNITSAFT:
                            type: integer
                            format: int64
                            description: CPE Term - Time Units After Calculated Base Date
                          EXCL_BASEDATE:
                            type: string
                            maxLength: 1
                            description: CPE Term - Exclude Base Date
                          DATEFROM:
                            type: string
                            format: date
                            description: CPE Term - Start Date for Fixed Period
                          TIMEFROM:
                            type: string
                            maxLength: 6
                            description: CPE Term - Start Time for Fixed Period
                          DATETO:
                            type: string
                            format: date
                            description: CPE Term - End Date for Fixed Period
                          TIMETO:
                            type: string
                            maxLength: 6
                            description: CPE Term - End Time for Fixed Period
                          READUNTILROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Read-Until Routine for Quotation/Exchange Rate
                          DATELISTROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Date List Routine for Period Determination
                          PERDETCALID:
                            type: string
                            maxLength: 2
                            description: CPE Term - Calendar Used for Period Determination
                          MISSENTRYROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Routine for Missing Entry Used for Period Determ.
                          CLOSEDDAYSROUT:
                            type: integer
                            format: int64
                            description: CPE Term - Routine for Closed Market Days
                          MAXWEIGHTING:
                            type: integer
                            format: int64
                            description: CPE Term - Maximum Weighting of a Element During Averaging
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                    FORMINPUT_WRK:
                      type: array
                      items:
                        type: object
                        properties:
                          CLIENT:
                            type: string
                            maxLength: 3
                            description: Client
                          FORMINPUT_GUID:
                            type: string
                            format: byte
                            description: CPE Formula - GUID of Changed Input for General Data
                          FIXFORMRATE:
                            type: integer
                            format: int64
                            description: CPE Formula - Fixed Rate
                          FIXFORMCURR:
                            type: string
                            maxLength: 5
                            description: CPE - Currency for Fixed Value
                          FIXFORMPRUN:
                            type: integer
                            format: int64
                            description: CPE - Price Unit of Fixed Rate
                          FIXFORMUOM:
                            type: string
                            maxLength: 3
                            description: CPE - Unit of Measure of Fixed Rate
                          FORMCOMMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Formula - Unit of Measure of Commodity Used in Formula
                          FORMCURR:
                            type: string
                            maxLength: 5
                            description: CPE Formula - Currency
                          FORMPRUN:
                            type: integer
                            format: int64
                            description: CPE Formula - Price Unit
                          FORMUOM:
                            type: string
                            maxLength: 3
                            description: CPE Formula - Unit of Measure
                          FORMEVALROUT:
                            type: integer
                            format: int64
                            description: CPE Formula - Routine for Evaluation
                          COMBROUT:
                            type: integer
                            format: int64
                            description: CPE Formula - Routine for Combining Terms
                          QUANSPLITROUT:
                            type: integer
                            format: int64
                            description: CPE Term -Routine for Splitting the Commodity Qty into Terms
                          FORMQUANCONV:
                            type: string
                            maxLength: 5
                            description: CPE - Quantity Conv. Rule from Product UoM to Commodity UoM
                          QUANCNV_COMM:
                            type: integer
                            format: int64
                            description: CPE - Comm. Qty for Conversion from Product UoM to Comm. UoM
                          QUANCNV_ITEM:
                            type: integer
                            format: int64
                            description: CPE - Item Qty for Conversion from Product UoM to Comm. UoM
                          ITEMPRODUOM:
                            type: string
                            maxLength: 3
                            description: CPE Caller - Unit of Measure of Product in Document Item
                          R3ACCURACY:
                            type: string
                            maxLength: 1
                            description: CPE - Evaluation with ABAP Accuracy
                          UPDKZ:
                            type: string
                            maxLength: 1
                            description: Update indicator
                IT_DOCFIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      GUID_TYPE:
                        type: string
                        maxLength: 1
                        description: CPE - GUID Type
                      GUID:
                        type: string
                        format: byte
                        description: CPE - Object GUID
                      DOCCATEGORY:
                        type: integer
                        format: int64
                        description: CPE Caller - Document Category
                      ORGANIZATION:
                        type: string
                        maxLength: 14
                        description: CPE Caller - Organization
                IV_APPLICATION:
                  type: string
                  maxLength: 4
                  description: CPE Caller - Application using CPE
              required:
              - IS_CPEDOC_COM_IN
              - IT_DOCFIELDS
              - IV_APPLICATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_LOG_COM:
                    type: array
                    items:
                      type: object
                      properties:
                        PRIORITY:
                          type: integer
                          format: int64
                          description: CPE - Priority of Log Entry
                        GUID_TYPE:
                          type: string
                          maxLength: 1
                          description: CPE - GUID Type
                        GUID:
                          type: string
                          format: byte
                          description: CPE - Object GUID
                        COND_TYPE:
                          type: string
                          maxLength: 4
                          description: 'CPE: Condition Type for Commodity Pricing'
                        CPE_MODULE:
                          type: string
                          maxLength: 2
                          description: CPE - Module of the Commodity Pricing Engine
                        SUBMODULE:
                          type: string
                          maxLength: 2
                          description: CPE Log - Submodule
                        STEP:
                          type: string
                          maxLength: 4
                          description: CPE Log - Step
                        LOG_NUMBER:
                          type: integer
                          format: int64
                          description: CPE Log - Number
                        TERMNO:
                          type: integer
                          format: int64
                          description: CPE Term - Number in Formula
                        COUNTER:
                          type: integer
                          format: int64
                          description: CPE Log - Counter
                        NAME:
                          type: string
                          maxLength: 30
                          description: CPE Log - Name
                        VALUE:
                          type: string
                          maxLength: 50
                          description: CPE Log - Value
                        OUT_IN:
                          type: string
                          maxLength: 1
                          description: CPE Log - Output or Input
                        SORTNO:
                          type: integer
                          format: int64
                          description: CPE Log - Number for Sorting
                        MODULETEXT:
                          type: string
                          maxLength: 60
                          description: Short Text for Fixed Values
                        SUBMODTEXT:
                          type: string
                          maxLength: 40
                          description: Description
                        DEPTH:
                          type: integer
                          format: int64
                          description: 'CPE - Log: Hierarchy Level of a Log Entry'
                        FLAG:
                          type: string
                          maxLength: 1
                          description: Checkbox in Reporting
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
