How to compare two fields?

Hi Experts,

 

My requirement is to compare two fields in SM.

If both are equal I have to do some filtering.

Is there any way to achieve this?

 

Thanks in advance.

 

Regards,

Sandhu Mol