cancel
Showing results for 
Search instead for 
Did you mean: 

Campaign Element Object does not appear in Recent Item List in CRM Web UI

Former Member
0 Kudos

Hi Experts,

I am working on marketing scenario with objects like marketing plan,campaign, campaign element etc. In the "Recent Item" area system shows Marketing Plan and Campaign ID opened recently. But somehow the Campaign Element does not show up in that. Is there any way to add recently visited Campaign Element ID/Number in Recent Item area?

I am aware of where to perform this configuration in SPRO; but it is just that somehow after several attempts Campaign Element does not show up in Recent Items. So, if someone could provide the exact object details about it, that would be great.

Thanks & Regards,
Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ravi,

   Find the object name of Campaign Element and maintain it in CRMC_REC_OBJ_AC  table.

For reference purpose use CRMC_REC_OBJ_A table and never override the values here.

Refer below thread also.

http://scn.sap.com/thread/3250906

Regards

Rajarama U

Former Member
0 Kudos

Hi Rajaramu,

Thanks for advising this. However, I tried maintaining this entry in the table CRMC_REC_OBJ_AC as suggested by you.

I also checked in the table CRMC_REC_OBJ_A; but there is no corresponding entry with the object type for Campaign Element. Although it did have entry for Campaign which I used to create entry in the table CRMC_REC_OBJ_AC by using the Object Type CPG_CAMPAIGNELE which is a Campaign Element Display object type (available in Define Generic Outbound Plug Mappings under Nav. Bar Profile).

Let me know if you have any other suggestion for this.

Thanks,
Ravi

Former Member
0 Kudos

Hi Ravi,

   In CRMC_REC_OBJ_AC table maintain External Object name as CampaignElement  , attribute path = //EXTERNAL_ID and check.

Also refer given thread

http://wiki.sdn.sap.com/wiki/display/CRM/Recent+items+-+Tips+to+Customize

Regards

Rajarama U

Former Member
0 Kudos

HI Rajarama,

I tried the option that you suggested in the table CRMC_REC_OBJ_AC; but that did not work either see the screenshot below with the configuration-

Also, I looked at the link that you have sent and then looked for the External Object Name entry for Campaign Element in the table BSP_DLC_OBJ_TYPE -

And then I maintained this External Object Name in the table CRMC_REC_OBJ_AC; but even that did not work


Let me know if there is still anything else that would make it work??

Thanks,
Ravi

Former Member
0 Kudos

Hi Ravi,

  According to my knowledge only Root objects are shown in Recent Items.

  To display Access Objects ( CampaignElement ) in Recent Items I belive you need to enhance CRM_BSP_RECOBJ component and CRM_BSP_RECOBJ/RecentObjects view

and ON_HISTORY_TRIGGER method .

I debugged ON_HISTORY_TRIGGER method and I found below code which is not allowing CampaignElement to display in recent objects.

Line 37 to 40.

  IF lr_current_entity->is_root( ) = abap_false.

* only root object, no dependent objects are considered

     RETURN.

   ENDIF.

 

  If you skip above line of codes CampaignElement will show in Recent Object List.

Before enhancing the component ,place the debugger in above method and confirm yourself.

Also maintain in SM30 as shown

Regards

Rajarama U

Former Member
0 Kudos

Hi ,

  Try using the static method CL_CRM_BSP__RECENTOBJECT0_IMPL => REGISTER_INCL_NONROOT_OBJECTS  to include the non root objects in the Recent Items list .

Ex :

Another interesting method in the same class is CL_CRM_BSP__RECENTOBJECT0_IMPL =>REGISTER_EXCLUDED_OBJECTS , which can be used to prevent addition of objects to recent object list based on certain condition .

Regards,

Vineet Rai