Intercept document open in HEI

You may use BAPI_CUSTOMER_GETDETAIL2 as Source in an open event.

Here is a sample SAP connection document for this type of call:

Here is an example of a Virtual Fields activity document for this type of transaction:

Note:

Under Table Name we have used the "*" character -- which means we want to be able to map from all tables AND imports. We need the Import Parameter CUSTOMERNO to be filled in as the key field value to determine which data is retrieved. Since we entered "*" under Table Name, we also see IMPORTSCUSTOMERNO and IMPORTSCOMPANYCODE when we do our mapping. Therefore, IMPORTSCUSTOMERNO is the key that we really want for this call.

This example activity does not call a transaction. Because it calls an RFC, it does not use the Stored Procedure settings.