Hello mahdieh ,
As mentioned by you and suggested here ,
RESB is the table for Finding the BOM components involved while Creating a Production Order.
You just need to fine tune your SELECT statement accordingly.
And For the Confirmations made of these Orders ( CO11N) data is present in AUFM table ( same BWART eq 261 logic here also , 261 is the movement type for components involved while producing a good )