Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Delete an assignment between user and call list

Hi'

We assign users to our call lists to execute the calls. We use role IC Manager to this.

Sometimes it happens that a wrong user is assigned and we would like to delete the assignment.

In the UI we can see a trash can - but it is grey and we are not able to use it - how come?

We can manually delete "Object ID" and "Object Type" - but we Wonder why its not possible to use the trach can?!

The problem is present both when we use our own role and using SAP Standard Role

Can anyone help me explain how to activate the trash can?

Br

Lone

replied

Hi Lone,

You can debug at following method. I think in your case, the delete button is set inactive

by following method.

Please note that on WebUI, for an active calllist, you are only allowed to

delete not persisted assignments. If you want to delete, you need to try T-code:

/nCRMD_TM_CLDIST.

CL_CRMCMP_C_ASSIGNMENTSEL_IMPL

METHOD          / DO_PREPARE_OUTPUT

* if the calllist is not inactive, only allow to delete not persisted assignments

* other state like active, preparing active, etc.

    IF lv_active NE abap_false.

      LOOP AT lt_marked INTO lv_marked.

        lr_entity ?= typed_context->assignments->collection_wrapper->find( iv_index = lv_marked ).

        IF lr_entity is not INITIAL.

          lv_can_delete = abap_false. <<<<<<<<<<<<<<<<<<

          EXIT.

        ENDIF.

Best Regards,

Bruce

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question