Hi Niranjan,
Add M1 to the InfoSet joining it to BD1 on the primary key ( PK1 from M1 = PK1 from BD1 ). Join should be inner join so that the filter works.
Add conditions on status field of M1 to filter out rows when status is S2, S3 or S5
Regards,
Fernando