openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/CPE_MAP_FORMDOC_TO_BAPI: post: tags: - CPE_MAP_DOC_BAPI summary: CPE_D - Formula Document - Mapping Doc. to BAPI operationId: /rfc/CPE_MAP_FORMDOC_TO_BAPI requestBody: content: application/json: schema: properties: IT_CPED_FORMDOC: 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 IV_OPERATION_FORMDOC: type: string maxLength: 3 description: Function required: - IT_CPED_FORMDOC - IV_OPERATION_FORMDOC responses: '200': description: OK content: application/json: schema: properties: ET_BAPI_CPE_FORMDOC: 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' 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 FORMVAL_ISO: type: integer format: int64 description: Currency amount for BAPIS (with 9 decimal places) FORMRATE_ISO: type: integer format: int64 description: Currency amount for BAPIS (with 9 decimal places) FORMCURR_ISO: type: string maxLength: 3 description: ISO code currency FORMUOM_ISO: type: string maxLength: 3 description: ISO code for unit of measurement FORMCOMMQUAN_ISO: type: integer format: int64 description: CPE - External Format for Quantity Fields in BAPIs FORMCOMMUOM_ISO: type: string maxLength: 3 description: ISO code for unit of measurement QUANCNV_COMM_ISO: type: integer format: int64 description: CPE - External Format for Quantity Fields in BAPIs QUANCNV_ITEM_ISO: type: integer format: int64 description: CPE - External Format for Quantity Fields in BAPIs ET_BAPI_CPE_FORMOUT_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' '400': description: Bad request. 5XX: description: Unexpected error.