cancel
Showing results for 
Search instead for 
Did you mean: 

issue in refreshing target group.

prav_kr
Participant
0 Kudos


Hi,

We are on SAP CRM 5.0

The latest Issue we are facing is that when I change a BP's Country , The target group created based on the business partner's country is not getting refreshed.

For eg.

I have a target group TG1 for all the business partner's of France.

Now I go to a partcular BP and change its country to something else.

I am expecting a decrement in TG1's content count , but its not happening .

Please help.

Praveen .

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello,

After TG generation refresh will not happen on its own.

To make it happen automatically target group generation job need to scheduled at back ground.

Thanks
Narayan kumar  

prav_kr
Participant
0 Kudos

Thanks Narayan,

Thats why we have created a Z table to be scheduled as batch job.

We are making use of CRM_MKTTG_TG_MAINTAIN function module to maintain the TG pasing TG guid.

But we are unable to find as what BP's are changed since the last run of ZRefresh report and what are the fields that are changed ?

+ is there any target group created on the basis of any of those attribute/firld value ?

Please suggest a way out .

Thanks.

Praveen.

0 Kudos

Praveen...not able to get your question...Can you please elaborate?

You can create data source from Table join and those can be used in your attribute list and target group can be created.

If you can elaborate question I will be able to help you.

prav_kr
Participant
0 Kudos

Hi Narayn ,

Lets suppose I have a Target group TG1 for all my BP's from France .
Lets say this TG is having 120 entries.

Now after some days, some of the BP's are archived (lets say 2 BP's) and for some the country is changed (lets say 5 BP's).

Now the requirement is to have a background report that can reduce the count of TG1 to 113 , removing those 7BP's  ( 2 + 5 ) .

For this we are making use of function modules CRM_MKTTG_TG_READ to read the TG1,

while CRM_MKTTG_TG_MAINTAIN to maintain the TG.

The challenge we are facing here is to dynamically select which BP's are to be removed (Or added ) in the TG, as going through all the BP's and checking attributes and then deciding from which TG the BP should be removed and to which Tg it should be added will cost heavily .

Praveen .

Former Member
0 Kudos

Hi Praveen,

A batch job has to be scheduled from the expert tools which will be available from my sap menu.

However, I am not sure whether such expert tool is available to the version that you are referring.

Rgds

Hari

Former Member
0 Kudos

Hi

Try looking at SE38 Report Program: CRM_MKTTG_GENERATE_SEG_MODEL

Regards

Panduranga

faisal_pc
Active Contributor
0 Kudos

Hi Praveen,

Instead of checking which all are the BPs got changed, can you not schedule a job to re-generate all target groups?. This will serve your purpose as it will automatically add/remove the BPs from respective TGs.

Thanks,

Faisal

prav_kr
Participant
0 Kudos

Hi Faisal,

Is there any standard report that regenerate the TG's ?

I checked CRM_MKTTG_TG_BUILD , but thats not working.

So we decided to develope a custom report.
But unfortunatly thats also not working.
Any help will be appreciated .

Thanks

Praveen .

faisal_pc
Active Contributor
0 Kudos

Hi Praveen,

Actually CRM_MKTTG_TG_BUILD should be serving your purpose. If not, have a  look at CRM_MKTTG_GENERATE_SEG_MODEL. You can set some variants with target group names and schedule the report to run as a job.

Thanks,

Faisal

prav_kr
Participant
0 Kudos

Hi Faisal,

Yes Even I think TG_BUILD should do the job alone.
But its not working .

Never the less I am debugging the report as of now.

Will keep you posted about it.

Thanks for replying .

Thanks.

Praveen .

Answers (0)