Hello Trishna,
Running through a method is already adding layers of complexity - is your container the right format, are the names correct, etc.
Try testing the FM directly in SM37 to start with and make sure you have a set of parameters that get a positive result. Then feed the same input into the method and see what happens. May also need some debugging.
Regards,
Mike