openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_PERIODDET_READ_CB:
    post:
      tags:
      - CPE_PERIODDET_CB
      summary: CPE_C - Period Determination - Read Customizing Buffer
      operationId: /rfc/CPE_PERIODDET_READ_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language key
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_NO_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_PERIODDETRULE:
                  type: string
                  maxLength: 5
                  description: CPE Term - Period Determination Rule
                IV_VALIDTO:
                  type: string
                  maxLength: 14
                  description: CPE - Valid to Time Stamp of Object
              required:
              - IV_LOGSYS
              - IV_PERIODDETRULE
              - IV_VALIDTO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_PERIODDET:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      PERIODDETRULE:
                        type: string
                        maxLength: 5
                        description: CPE Term - Period Determination Rule
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                      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  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      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
                  EV_RULETEXT:
                    type: string
                    maxLength: 40
                    description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
