Hi Nabendu,
The root cause of the problem seems in mapping step. Sometimes mapping object does not get executed and sends the message to ecc . So RFC throws this error. Are you coding any specific environment (like based on sender or servers like DEV, TEST and Prod) related logic in mapping? Please focus more on the mapping side... Also try to create a new mapping object and replace the one and see how it behaves.