A lot of examples are there when it comes to exporting PI data to SAP specially with the new integrator, but I couldn't find examples for configuring an AF table to be populated from SAP for equipment data; would you please help?
I think you might struggle with connecting to SAP as a database - my understanding is that it breaks the SAP licence to connect directly to the back end database (even if you can make that work).
What you can do is set up a soap or rest web service in SAP and use an integration or ETL tool to populate an SQL table (or directly in AF tables / attributes ) depending on the tool you use). That way too (depending on the tool) you can detect changes and perhaps raise an event.
I'm not familiar with SAP licenses and their rules, so please confirm with them that it is supported to connect to the back end database. If it is, I believe you can use the HDBODBC driver to create a DSN and then use MSDASQL provider to import or linked the data in AF via a table. The drivers should match the bitness of your AF Server and should be installed on the AF Server node.
Hope this helps,
Retrieving data ...