cancel
Showing results for 
Search instead for 
Did you mean: 

Update Target Group status

Former Member
0 Kudos

Hi Experts,

I want to write e function module which will import target group guid and desired status as input & it will update status of that target group.

I'm using the FMs  CRM_MKTTG_TG_ST_MAINTAIN and  CRM_MKTTG_TG_SAVE.

I think I'm not able to pass proper parameters to these FMs.

Please help me with proper codes.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Swarup,

Can you brief about the business scenario?

Rgds

Hari

kavindra_joshi
Active Contributor
0 Kudos

Hi PRasad ,

Use CRM_MKTTG_STATUS_READ. Provide the TG guid and you would get the current status. Change the status structure to add the status you want to change to and then you can call CRM_MKTTG_TG_ST_MAINTAIN and  CRM_MKTTG_TG_SAVE

~Kavindra