Accounts Payable is a submodule of SAP FI used to manage and record Accounting data for all the vendors.
In the other hand, Account Receivable used to manage and record all the Money that others owe to the company.
Here the list of the main SAP AP Tcodes & SAP AR Tcodes.