Vivek,
This gets a little technical, so I hope it makes sense..
In user-exit IWO10009, at the point of saving the order for the first time, the cost data is not yet stored in any database tables. Instead the data is held in SAP's memory (internal tables).
So now the trick is to :
- Force an order costing via code "perform fcode_koer_nomsg in program saplcoih using 'X'."
- Retrieve the data from memory (not database). One of my old programs refers to the data being held in program SAPLICO1 { internal table "(saplico1)N_PMCO[]" and "(SAPLICO1)N_PMCO") }
Hope this helps..
PeteA