Quantcast
Channel: SCN : All Content - SAP CRM: Marketing
Viewing all articles
Browse latest Browse all 1578

CGPL Framework dumps when calling a CRM & AUD simultanously

$
0
0

Hello Experts,

 

We have a integration between CRM Marketing and Audit management. we call first CRM application "MKT" and then we call the application "AUD".

 

and from CRM side we read the details, once done we call the Audit management as well shown below


*=============================== CRM ==========================================


DATA lr_mktproject          TYPE REF TO cl_crm_mktpl_ol_mktproject.

 

  lr_mktproject ?= cl_crm_mktpl_ol_mktprojects=>get_mktproject( iv_guid = '0AAC9E2588031EE4BA9762550E8A135A' ).     "Campaign Guid

 

  lr_mktproject->free( ).

 

*=============================== AM ==========================================

  DATA: er_project TYPE REF TO cl_cgpl_project.

 

  CALL METHOD cl_plm_audit_if_services=>get_cgpl_data_by_guid

    EXPORTING

      iv_guid    = '0AAC9E2588031ED4BAB6295813A60E8C'   "Audit Guid

*    iv_object_type         = cs_quest_h_ui-object_type

*    iv_change_mode         = iv_change_mode

    IMPORTING

      er_project = er_project

    EXCEPTIONS

      not_found  = 1.


we get a short dump in below code once calling from AM.


in the class CL_CGPL_PROJECTS=>GET_INSTANCE( ).

 

IF im_application_type IS INITIAL.

     IF LINES( m_instances ) GT 1.

       RAISE missing_application_type.          --> Short dump

     ELSEIF LINES( m_instances ) EQ 1.

* Old logic - return existing instance

       READ TABLE m_instances INDEX 1 INTO re_instance.

       RETURN.

     ENDIF.

   ENDIF.


Please let me know to clear the "M_INSTANCES" from class CL_CGPL_PROJECTS.


Earlier response is appreciated.


Thanks!

Vignesh G


Viewing all articles
Browse latest Browse all 1578

Trending Articles



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