Hi Saipriya,
Thanks for your response to my query.
As far as the flag in the internal table it_component is concerned, I have already done that. I shall put the internal table it_method outside the loop now.
However, when I try doing a dry run of the mentioned BAPI by passing the appropriate parameters in SE37, I am getting the same error. Here, the internal table it_method is not inside the loop. It must work right? I suppose the reason could be something else.
Please do let me know your views on the same.
Thanks again for your time.
Regards,
Ram