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

Segment type update - ELM

$
0
0

Hi Experts,

 

I am facing an issue to update a Zsegment type or usage id while creating a target group through ELM.

 

My requirement is to update Zsgement type through ELM but by default SAP system  uses segment type '100000' as campaign for creating Profile set and Target group in the standard code.


I have used  IF_EX_CRM_MKTLIST_BADI~TARGET_GROUP_CREATION  method to update segment  type.


Moreover in es_set i have passed a zsegment type to update this.


ls_tg_h-tg_type = 'ZABC'.


CALL FUNCTION 'CRM_MKTTG_TG_MAINTAIN'

     EXPORTING

       is_tg_h               = ls_tg_h

     IMPORTING

       et_return           = lt_return.

 

This is not working in latest enhancement pack because in this FM again calls  CRM_MKTTG_SET_H_READ_DB function module where previous value is retrieved and its sets old value which is '100000'.

 

SELECT SINGLE *

     INTO es_set

     FROM crmd_mkttg_set_h

     WHERE guid = iv_set_guid.


Moreover in IF_EX_CRM_MKTLIST_BADI~TARGET_GROUP_CREATION as refrence given by SAP


************************************************************************

**The following code block is commented and can be used by customers

**who have deleted the segment type '100000' from customizing of segment types.

**We use segment type '100000'for creating Profile set and Target group

**in our standard code.

***********************************************************************

I have tried to delete 1000000 from customizing but its standard not able to delete i guess we can do this by authorization object.


But Need to make sure Is this will make any impact to any standard functinalities.



Please help how to set segment type on creation of target group through ELM.

 

 

Thanks


Viewing all articles
Browse latest Browse all 1578

Trending Articles



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