Quantcast
Channel: SCN: Message List - SAP CRM: Interaction Center
Viewing all articles
Browse latest Browse all 3700

Re: Delete an assignment between user and call list

$
0
0

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


Viewing all articles
Browse latest Browse all 3700

Trending Articles



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