The screen and the API count the same products
The number of products in the EPM demo model is counted twice on the same system: with the “Number of Entries” button of SE16 in SAP GUI, and with the $count of the OData service that projects the same table. The two must be equal; a gap would reveal a service that filters, a phantom record or a mismatched client.
Proof: Suite “API and screen cross-check”: 3/3 on A4H (release 754), with 205 EPM products via OData and 205 via SE16.
Product Count Agrees Across API And GUI Channels # … ${gui_count}= Count Table Entries ${EPM_PRODUCTS_TABLE} Should Be True ${gui_count} > 0 ... msg=Table ${EPM_PRODUCTS_TABLE} vide : données EPM absentes sur ce système ? ${api_count}= Get Odata Count ${EPM_PRODUCTS_PATH} alias=a4h Should Be Equal As Integers ${api_count} ${gui_count} ... msg=OData $count (${api_count}) ≠ SE16 ${EPM_PRODUCTS_TABLE} (${gui_count}). Log Produits EPM : ${api_count} via OData == ${gui_count} via SE16. # …












