Extend the MDG Business Partner – Node Extension (Reuse Option)
So, here we are going to add a new entity to the company code data level, as shown in the above figure. Steps:- Extension of S4 API Structures To get the API structures, we need to go to the standard BP handler class. In Below structure, we need to add our own API structure. Class ‘ CL_MDG_BS_ECC_HANDLER ’. Table Type ‘ MDG_BS_BP_TT_ECC_EXTERN ’. Data Dictionary Object Creation Structures For Genil model extensions: Creation of Table to store this Secret number data in backend active table Extension of BP data model with new Entity Generate Data Model specific structures Create and Implement BP Handler Class Below methods we need to re-define GET_OBJECT_DATA_BY_ENTITY SORT_ENTITIES MAP_DATA_2API MAP_DATA_2STA PREPARE_EI_HEADER_MAP_2API READ_OBJECT_DATA SAVE_ADDITIONAL_OBJECT_DATA CONSTRUCTOR Below methods we have created newly READ_VENDOR_BY_LIFNR READ_VENDOR MAP_BP_ZSECRET_N_2API MAP_BP_ZSECRET_N_2STA CONSTRUCTOR METHOD constructor . ...