SAP Knowledge Base Article - Preview

1640492 - Order by is not pushed down if primary key is non-numeric and a Table Compare exists


  • A query with "order by" clause prior to and in conjunction with the table comparison, using comparison method "sorted input", causes changes in the optimized sql, resulting losing the "order by" clause in the sql statements for both the read and the comparison table read. If the input primary key is not of a numeric type.
  • Impact the order by is not pushed down to the database and will be done on the engine.



  • SAP Data Services.
  • All supported Operating System Platforms.


SAP Data Services 4.0 ; SAP Data Services 4.1 ; SAP Data Services 4.2 ; SAP Data Services XI 3.2


pk, comparison type, , KBA , EIM-DS , Data Services , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.