does anybody know which table contains the work order and the related components (materials) and services? The thing is that I need to get a report showing the work order with the components and services planned when creating a work order through IW31
I have found AFPO, but it doesn't contain the requiered information
first of all, thank you for your help.
What you have told me is ok for materials. The thing is that I need information before releasing the work order. According to your explanation I need to go through the purchase requisition, but before releasing the work order there isn't any purchase requisition.
Pass the AUFNR (Order No) to AFKO and get the RSNUM (reservation no) & RSPOS, and then pass these to RESB table.
Here you will get the Material and quantity.
For Services, Pass the RSNUM & RSPOS to RESB and get the PR NUmber (BANFN),
Pass the BANFN to EBAN and get Package Number (PACKNO)
Pass the PACKNO to ESLL where you will the Services SRVPOS and otjher details.