Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10473

Re: Notes Section Not Copying from Service Request Template

$
0
0

Hi Dmitry,

 

As I checked under the system events , I found that in case of template usage , the text is copied in case of leads , activities and tasks only.

 

To start this functionality for service processes too , please copy the FM : CRM_TEXT_COPY_121_EC to ZCRM_TEXT_COPY_121_EC  and remove the check as in this code :

 

move IV_STRVAL_OLD to ls_orderadm_h_wrk.

     move IV_STRVAL_new to ls_orderadm_h_wrk_new.

     if ( ls_orderadm_h_wrk-OBJECT_TYPE eq gc_object_type-activity or

          ls_orderadm_h_wrk-OBJECT_TYPE eq gc_object_type-task     or

          ls_orderadm_h_wrk-OBJECT_TYPE

                            eq gc_object_type-businessactivity     or

          ls_orderadm_h_wrk-OBJECT_TYPE eq gc_object_type-lead ) and

       not ( ls_orderadm_h_wrk-TEMPLATE_TYPE is initial ).

 

       CALL FUNCTION 'CRM_TEXT_COPY_121_OW'

         EXPORTING

           IV_HEADER_GUID_old = ls_orderadm_h_wrk-guid

           IV_OBJECT_GUID_old = ls_orderadm_h_wrk-guid

           IV_HEADER_GUID_new = ls_orderadm_h_wrk_new-guid

           IV_OBJECT_GUID_new = ls_orderadm_h_wrk_new-guid.

 

     endif.


Then replace this fm in tcode : CRMV_EVENT for ORDERADM_H : AFTER_CREATE_WITH_REFERENCE : CRM_TEXT


/Hasan


Viewing all articles
Browse latest Browse all 10473

Trending Articles



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