Hello
may be you can just use OOTB Cognos BOM report or the excel export function from the Part Structure view in the PSB
if not, I've just read in the customizer guide of the 10.2, in the DTI, you're able to add customized action in the Excel ribbon, who can call Windchill server action and local macro....
regards