https://userapps.support.sap.com/sap/support/knowledge/en/3388523
3388523 - CDS View C_PRODUCTCOSTBYORDERQUERY doesn't return any data | SAP Knowledge Base Article
When checking the data for analytical query C_PRODUCTCOSTBYORDERQUERY, there is no information returned.