Logs play an important role for any application. They give you a means to trace what is happening in a particular request or a user's activity. All the information about an IDoc that is received from a remote SAP Server or being sent to a remote SAP Server is being logged in the configured log tables.
To view SAP logs, go to Monitor > History > SAP Logs.