Hi Siva,
I guess, instead of creating an exclusion module, you can use distribution chain status field in Article master POS view. The field is DChain-spec field in POS selling period/status sub-screen.
This will allow you to block an article from selling and continue using listing for other processes like STO.
The article master POS view can be maintained for a distribution chain level or a specific store by choosing appropriate values in Validity area for POS view.
I hope this will help you.
Regards,
Amit