Skip to Content
0
Mar 23, 2019 at 02:53 PM

Default value for Change Cycle (PROJECT_TITLE) in CRM UI (Solution Manager 7.2)

576 Views Last edit Mar 23, 2019 at 02:56 PM 3 rev

I am working on SAP Solution Manager 7.2

In our scenario, we are working uniquely with change documents ZMMJ (copy of SMMJ), and we want to assign a default change cycle depending on some fields. As I understand, I have to inform the description of my change cycle to determine it in field STRUCT_PROJECT_TITLE. This action is enough by pressing enter key.

I think I should implement my logic enhancing method Implementation Class CL_AIC_CMCD_AICCMCDHEADER_CN00->GET_PROJECT_TITLE (maybe I´m wrong).

At the end of this method, I call method SET_PROJECT_TITLE with attribute path and description of my Change Cycle. It doesnt determine Change in first time and message "Change cycle description not found" is shown when I open my change document in display mode, but if I try to edit it, the change cycle is correctly determined with the value informed in set method.

I would like to assign it automatically as I could assign by match code in field STRUCT.PROJECT_TITLE or by entering manually description.

Is it correct to enhance this method by calling SET_PROJECT_TITLE, or I should update this field by other ways?

Thanks in advance.

Kind regards.