Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

SPRO > Define My Messages Widgets > Define Widget > Component Usage / Custom MyIncidents*

$
0
0

Hello everybody,

 

I am trying to add a custom component usage into

 

Tx: SPRO > Define My Messages Widgets > Define Widget > Component Usage

 

like this

bild.jpg

Is there an howto somewhere available for this that I can use it in the configuration of the start page widgets "my own messages / incidents":

bild.jpg

 

Kind regards

 

 

 

Update:

In the meanwhile I found that BSP component AIC_HOME is including componentusages named like the standard component usages given in the customizing table under "Define Widget". So I guess I have to enhance the component by my own componentusage with a similar functionality.

 

bild.jpg

 

 

I don't know if anyone will ever respond of any of my posts one day but here is

Update 2:

I am stuck now at that Component Usage. When I try to delegate OP SINGLESELECTION to DYN_NAV and visa versa it does not show me an entry to select from.

 

Update 3:

Well, I first had to add the view within Runtime-Rep. editor > ViewSets > Ov.Page <add< like the standard view of the "MyMessage..."-kind. Now I have all possible selections. Was this the final solution? .... tbc ...

 

Update 4:

At least in the UI configuration tool i can save now permanently based on one component usage:

 

bild.jpg

 

BUT the filter which should come along with the component usage does not work.

 

Last update due to success and problem solution:

Finally there is a need for enhancing the AIC_HOME Component-Controller @

 

WD_USAGE_INITIALIZE

 

Just modify the code like this:

 

  CASE iv_usage->usage_name.

    WHEN 'ZMyMessageWidgetITTicket'.
      cl_ai_crm_mymsg=>set_active_switches( iv_usage ).
      cl_ai_crm_mymsg=>set_defaults( iv_usage )" Reported By My Organization

    WHEN 'MyMessagesReportedByMyOrg'.
      cl_ai_crm_mymsg=>set_active_switches( iv_usage ).
      cl_ai_crm_mymsg=>set_defaults( iv_usage )" Reported By My Organization



Now your custom component and all stuff around that should work with all the filters and extra drop down buttons, etc..

 

Nice to see that I started with a big question mark around the component usage (unfortunately described as "Define Widget") and on my way to the finishing line I found out that I had to make myself a hole new assignment block.

 

Hint:

If you stumble over this error:

 

Exception-KlasseCX_BSP_WD_INCORRECT_IMPLEMENT
Fehlername
ProgrammCL_BSP_WD_OVW_VIEWSET=========CP
IncludeCL_BSP_WD_OVW_VIEWSET=========CM00A
ABAP-KlasseCL_BSP_WD_OVW_VIEWSET
MethodeBIND_LAZY
Zeile27

 

Then you have forgotten to edit  BSPWDV_EHSET_ASG via sm30. There you connect your enhancement-set (which you use to enhance AIC_HOME) to the client.


Viewing all articles
Browse latest Browse all 4552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>