Hi,
I am working on BTE of Planned Order which gets triggered when the planned order is created, changed or deleted.
My issue is The BTE is only returning the data which is currently active in the order and not the netchange data of the order. Basically, the 'Select' query returns the data from the buffer instead of reading the database table.
For example, if an order has 3 components and one of them is deleted, the BTE returns the remaining 2 rows but not the deleted row, If I try to query RESB table in SAP to retrieve the old lines, the data browser (SE16) shows all the three lines (old data), but the query returns only the 2 active lines (new data).
Please suggest how can I access the old data of the order.
Highly appreciate your valuable inputs.
Thanks,
Shyam