openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/CPE_TERMOUT_WRK_FROM_BAPI: post: tags: - CPE_MAP_DOC_WORK_BAPI summary: CPE_D - Term Out - Mapping Doc. (WRK) to BAPI operationId: /rfc/CPE_TERMOUT_WRK_FROM_BAPI requestBody: content: application/json: schema: properties: IT_BAPI_CPE_TERMOUT: type: array items: type: object properties: OPERATION: type: string maxLength: 3 description: Function 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 USEDQUAN_ISO: type: integer format: int64 description: CPE - External Format for Quantity Fields in BAPIs USEDUOM_ISO: type: string maxLength: 3 description: ISO code for unit of measurement TERMVAL_ISO: type: integer format: int64 description: Currency amount for BAPIS (with 9 decimal places) TERMRATE_ISO: type: integer format: int64 description: Currency amount for BAPIS (with 9 decimal places) TERMCURR_ISO: type: string maxLength: 3 description: ISO code currency TERMUOM_ISO: type: string maxLength: 3 description: ISO code for unit of measurement QUOTATION_ISO: type: integer format: int64 description: Currency amount for BAPIS (with 9 decimal places) QUOTCURR_ISO: type: string maxLength: 3 description: ISO code currency QUOTUOM_ISO: type: string maxLength: 3 description: ISO code for unit of measurement SURCHRATE_ISO: type: integer format: int64 description: Currency amount for BAPIS (with 9 decimal places) SURCHCURR_ISO: type: string maxLength: 3 description: ISO code currency SURCHUOM_ISO: type: string maxLength: 3 description: ISO code for unit of measurement IT_BAPI_CPE_TERMOUT_USER: type: array items: type: object properties: OPERATION: type: string maxLength: 3 description: Function 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 required: - IT_BAPI_CPE_TERMOUT responses: '200': description: OK content: application/json: schema: properties: ET_CPET_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 '400': description: Bad request. 5XX: description: Unexpected error.