cancel
Showing results for 
Search instead for 
Did you mean: 

Default description for Activity

Former Member
0 Kudos

Hi Experts,

I need to set a default text for the description field of an activity type.

How can I do so?

Best regards,

Cristina

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey !

If crm version is 2007 or 7.0 , you need to enhance standard component.

Log on Web UI, create one new activity, and screen jump into [Activity - New] screen.

Press F2, you will see component detail information. You will get component name.

Now, you need to enhance this component by BSP WD Workbench (Transaction code : BSP_WD_CMPWB).

You need to add code in the method DO_INIT_CONTEXT of view contrroller. In this method, need to use IF_BOL_BO_PROPERTY_ACCESS~set_property to set default value.

Former Member
0 Kudos

Hi Daviz,

Thanks for your answer.

We are working with CRM 4.0. In the meantime we have found the solution by our own:

Copi of Badi: CRM_ORDERADM_H_BADI.

Here within the method if_ex_crm_orderadm_h_badi~crm_orderadm_h_merge

Move description to table CS_ORDERADM_H_BADI, in the field DESCRIPTION.

IF IU_ORDERADM_H_WRK-process_type = 'Z001'.

CS_ORDERADM_H_BADI-DESCRIPTION = 'your description'.

endif.