Hi, I am looking to change the following Loop logic to using read logic because it will probably lead to faster performance. Table is Sorted Table with Key MATERIAL DATEFROM DATETO. This code is trying to find a material price record within a price date range table.
Can anyone help with the conversion?
Please let me know if I need to provide additional information.
LOOP AT IT_SRO ASSIGNING <FS_SRO>
WHERE MATERIAL EQ <TRANSACTION>-MATERIAL
AND DATEFROM LE <TRANSACTION>-CALDAY
AND DATETO GE <TRANSACTION>-CALDAY.