Hi Surendra,
The code showing the adjustment for NLS where you need to replace SELECT ....FOR ALL ENTRIES by API call, actually reads the data from Sybase IQ NLS.
The lookup API CL_RSDA_INFOPROV_QUERY allows you use a transformation rule routine to read data from the active table of a DataStore object, that contains data which has been partially stored in a near-line storage.
Hope this will help to resolve the issue.
Regards,
Amit T