Embedded Components – Lazy Loading – Preview
This is a short preview about a new functionality that will be available soon.
When you use lot of custom embedded components on a standard screen, sometimes the standard screen requires a long time to be loaded and in some particular cases, where this time is too long, the standard screen is not loaded correctly.
Unfortunately these things are not manageable from the PDI till the 1402 version, so the PDI developer can’t do anything against these issues.
The problem described in the introduction, resides in the fact that all the custom embedded components, binded on the standard screen, are loaded together when the standard screen is initialized, and there is no way to avoid this.
This causes a very long initial loading time, and sometimes this time is too long to cause a wrong loading process (we are not allowed to know why but it’s like that).
Soon there will be a solution from SAP side: the LAZY LOADING.
All the custom embedded components binded on the standard screen header or on the first facet (tab) will be loaded together, as before, but there will be the possibility to choose the loading type for the embedded components binded as new facets (tabs). In particular for these EC you can choose if you want to initialize the object when the standard screen starts, or only when the user click on the facet.
The PDI developer should be careful to put in the header and in the main facet of the standard screen, less custom EC’s as possible, and use, instead, ECs in new facets, with the lazy loading option.