
The sync function uploads the most recent content from the HANA repository and saves it in the ABAP repository.
Since the creation of a proxy (or external view), the implementation of the related database procedure (or HANA view) may have changed meanwhile in the HANA repository. To reference the current content of the HANA repository from a proxy (external view) definition, it is occasionally necessary to perform an upload to the ABAP repository. The editor of the database procedure proxy (or external view) provides a corresponding sync function for this purpose.
This kind of inconsistency between the HANA and the ABAP repository object would be detected, at the latest when the proxy (external view) is activated or even already during the check function.
The AS ABAP retrieves the most recent definition of the database procedure (or HANA view) from the HANA repository and saves it in the proxy (or external view) definition in the ABAP repository.
Troubleshooting for External ViewsConsider that the synchronization procedure may fail under certain circumstances. This is the case, for example, if the data types defined in the underlying HANA view cannot be mapped onto compatible ABAP Dictionary types. In such a case, the synchronization will be cancelled and a corresponding error item is added to the Problems view. To display detailed error information, open the context menu for the respective error item in the Problems view and choose the option Open Import Log (or alternatively use the toolbar menu Navigate > Open Import Log). The import log with detailed error message is then displayed in the ABAP Log view. You can examine the import log for further troubleshooting.