Symptom
- In the Release Blocked Invoices app, the field Difference Quantity (ARSEG-DMENG) is available in the UI.
- The user cannot find any standard CDS view or API in public cloud that exposes this field to build a custom report.
Environment
- Product: SAP S/4HANA Cloud Public Edition
- Logistics Invoice Verification (Public Cloud)
Reproducing the Issue
- Open the app Release Blocked Invoices.
- Select the relevant variant .
- Run the app and note that the Difference Quantity (DMENG) is shown in the app, but no standard CDS/API is available to extract it for custom reporting.
Cause
- No standard Core Data Services view is available that exposes Difference Quantity (DMENG) for the Release Blocked Invoices scenario.
Resolution
- Acknowledge that there is no standard CDS exposing DMENG; a custom CDS/report is required.
- Retrieve supplier invoice item quantities from a released CDS that provides SupplierInvoiceItem information (for example, I_SupplierInvoiceItem or a released supplier invoice API view).
- Retrieve goods receipt quantities for the related purchase order item from a released Material Document Item CDS (for example, I_MaterialDocumentItem_2). If the process is not GR-based invoice verification, use purchase order quantity from released purchase order API views.
- Derive “difference quantity” by subtracting receipts (net of reversals/returns) from invoiced quantities. Ensure consistent units of measure.
- Identify blocked invoices and (optionally) blocking reasons using a released CDS that provides supplier invoice blocking information (for example, I_SupplierInvoiceBlockingReason or a released supplier invoice block API view).
- When designing the logic, consider real business scenarios such as partial GRs, partial invoicing, returns, reversals, GR-based IV settings, negative differences, and unit conversions to align closely with the standard behavior shown in the app.
See Also
Keywords
release blocked invoices, dmeng, difference quantity, ARSEG-DMENG, cds view, api, public cloud, blocked invoice, supplier invoice, quantity variance, I_SupplierInvoiceItem, I_MaterialDocumentItem_2, I_SupplierInvoiceBlockingReason, liv, mrbr , KBA , MM-IV-LIV-2CL , Logistics Invoice Verification (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public