openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_FA_PROCEDURE_INFO_TRIGGER:
    post:
      tags:
      - CPE_FORMULA_TRIGGER
      summary: CPE_D - Trigger Formula Assembly Procedure Information
      operationId: /rfc/CPE_FA_PROCEDURE_INFO_TRIGGER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_APPLICATION:
                  type: string
                  default: 'CRM '
                  maxLength: 4
                  description: CPE Caller - Application using CPE
                IV_CALLED_REMOTELY:
                  type: string
                  default: X
                  maxLength: 1
                  description: boolean variable (X=true, -=false, space=unknown)
                IV_DOCCATEGORY:
                  type: integer
                  format: int64
                  default: 3
                  description: CPE Caller - Document Category
                IV_FA_PROCEDURE:
                  type: string
                  maxLength: 6
                  description: CPE Caller - Formula Assembly Procedure
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_LOG_PRIORITY:
                  type: integer
                  format: int64
                  default: 4
                  description: 'CPE - Log: Priority of Log Entry'
                IV_ORGANIZATION:
                  type: string
                  default: ' '
                  maxLength: 14
                  description: CPE Caller - Organization
              required:
              - IV_APPLICATION
              - IV_CALLED_REMOTELY
              - IV_DOCCATEGORY
              - IV_FA_PROCEDURE
              - IV_LOGSYS
              - IV_LOG_PRIORITY
              - IV_ORGANIZATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_HEAD_ATTR_NAMES:
                    type: array
                    items:
                      type: string
                      maxLength: 30
                      description: CPE Caller - Attribute Name
                  ET_ITEM_ATTR_NAMES:
                    type: array
                    items:
                      type: string
                      maxLength: 30
                      description: CPE Caller - Attribute Name
                  ET_LOG:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
