Hi Fulvio,
Still not much details.
What are the parameters needed by BOMExplosionQuery (I'm not with a system with SAP HANA Live right now)
I guess the parameter is exactly the material so in that case this view is prepared to answer one by one.
Still doing loop what you can do is cache results per parameters call to avoid call it more than once.
Regards, Fernando Da Rós