cancel
Showing results for 
Search instead for 
Did you mean: 

Editability of assignment block "related transactions" for normal changes

Former Member
0 Kudos

hi everyone,

we want to be able to assign an incident subsequently to the creation of a normal change.

In our current ChaRM configuration the button "edit list" of the assignment block "related transactions" (incidents, service requests, etc.) is not visible and therefore not editable.

How can we change the editability of this assignment block and display the button "edit list"?

thanks in advance

stefan


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Stefan,

ChaRM and Incident use different assignment blocks for "Related Transactions".

The one used in Incident (UI Component SRQM_REL_TSER) is editable and does not display linked maintenance cycles or task lists.

The one used in ChaRM (UI Component AIC_CM_REL_TSER) is not editable and can not be made editable, but it displays linked maintenance cycles and task lists.

So one option could be to display the Incident assignemnt block in your change request, either to replace the old one or to display both.

This can be done by customizing and a bit of abap code.

Best Regards,

Christoph

As a side note, you can always create an incident as follow up transaction from a normal change if you customize the copy control accordingly, if that is what you want to do.

Former Member
0 Kudos

Hi Christoph,

thanks for the detailed explanation.

the problem is that sometimes changes are not created as a follow up trancsaction of an incident. we want to make the assignment block editable to fix this missing assignment later on.

Can you give me a hint which customizing is necessary and where we have (what) to code?

many thanks

Stefan

Former Member
0 Kudos

Hi Stefan,

assuming you know a bit about Web UI Development, this are the steps:

- Transaction BSP_WD_CMPWB, enhance component AIC_CMCR_H

- In this component in the runtime repository editor, create a component usage to SRQM_REL_TSER, MainWindow

- Still in the runtime repository editor, open the ViewArea under the ViewSet AICCMCROverwiew and add the view (the newly available view from your component usage)

- In the component structure browser, open view AICCMCROverview and add your view in the tab cofiguration (do not change the standard, copy your own configuration if not already done)

Now for the development, you have to enhance the component controller in the component structure browser and redefine the method WD_USAGE_INITIALIZE of the implementation class (Z*_IMPL).

In it, you need to do the following:

  super->wd_usage_initialize( iv_usage = iv_usage ).

  CASE iv_usage->usage_name.

    WHEN '<Name of your component usage>'.

      iv_usage->bind_context_node( iv_controller_type  = cl_bsp_wd_controller=>co_type_component

                                   iv_target_node_name = 'BTADMINH'

                                   iv_node_2_bind      = 'BTADMINH' ).

    

ENDCASE.

Best Regards,

Christoph

Answers (0)