Create a custom table (i.e.: ZCA_CONFIG_SW) with following fields:
Last point is a customizing step: Customer Relationship Management -> UI Framework -> UI framework definition -> Define UI object types
Add an entry defining object type and z-callback class and save it (see image below):
Now when the popup for configuration creation is raising up, type the object type changed and click on match code for object subtype: all custom configuration names will be displayed
Insert records using the standard object type and name of custom configuration you want to display:
Search the standard callback class in standard table BSP_DLC_OBJ_TYPE; the image below displays the standard callback class for object type BT108_LEA (Leads):
Now we know that class CL_CRM_UIU_BT_OBJTYPE_CALLBACK is the standard callback class: create a copy from the standard and rename it, then add code in method IF_BSP_DLC_OBJ_TYPE_CALLBACK~GET_OBJECT_SUB_TYPES of custom copied class and activate it:
data: LT_CONFIG_SW type standard table of ZCA_CONFIG_SW,
LS_CONFIG_SW type ZCA_CONFIG_SW.
LS_CONFIG_SW type ZCA_CONFIG_SW.
...
select CONFIGURAZIONE
from ZCA_CONFIG_SW
into corresponding fields of table LT_CONFIG_SW where OBJECT_TYPE eq IV_OBJECT_TYPE.
loop at LT_CONFIG_SW into LS_CONFIG_SW.
append LS_CONFIG_SW-CONFIGURAZIONE to RESULT.
endloop.
from ZCA_CONFIG_SW
into corresponding fields of table LT_CONFIG_SW where OBJECT_TYPE eq IV_OBJECT_TYPE.
loop at LT_CONFIG_SW into LS_CONFIG_SW.
append LS_CONFIG_SW-CONFIGURAZIONE to RESULT.
endloop.
Last point is a customizing step: Customer Relationship Management -> UI Framework -> UI framework definition -> Define UI object types
Add an entry defining object type and z-callback class and save it (see image below):
Now when the popup for configuration creation is raising up, type the object type changed and click on match code for object subtype: all custom configuration names will be displayed
Thanks Massimo for your post (Make unlimited BSP configurations).
RispondiEliminaI've been able to create multiple BSP configurations for "BP_HEAD" component, and "BP_ACCOUNT" object type.
But there are 2 things i dont know how to implement:
- In the Object Subtype field, i dont have a matchcode with the different subtypes i have created. So i dont have a pop-up like in your last image.
- How do I create a link (in my navigation bar profile) to directly access each configuration? (i.e. by standard, i have a link to directly create an "Individual Account" or a "Corporate Account. Now i need 2 other links for another 2 configurations i have created").
Thanks in advance!
Cheers
Webtrackker technology is the best IT training institute in NCR. Webtrackker provide training on all latest technology such as Sap crm training. Webtrackker is not only training institute but also it also provide best IT solution to his client. Webtrackker provide training by experienced and working in the industry on same technology.Webtrackker Technology C-67 Sector-63 Noida 8802820025
RispondiEliminaSAP crm Training institute in indirapuram
SAP crm Training institute in Noida
SAP crm Training institute in Ghaziabad
SAP crm Training institute in Vaishali
SAP crm Training institute in Vasundhara
SAP crm Training institute in Delhi South Ex