cancel
Showing results for 
Search instead for 
Did you mean: 

Territory Management - Additional Attributes

Former Member
0 Kudos

Hello,

We are implementing territory management in CRM 7.0.

Now we need to add an additional attribute to the rules.

We have made the configuration in CRM- MasterData-TM-Territory attributes- Maintain Territory Attributes and also implemented the Badi CRM_TERRMAN_ATTRIB.

We have created a territory hierarchy with rules based on this new attibute.

After we changed the business partner attribute and ran the job CRM_TERRMAN_PROC_REL the territory relationships are not working correctly.

Any idea for this issue?

Thanks,

Susana

Accepted Solutions (1)

Accepted Solutions (1)

Webster_Cui
Advisor
Advisor
0 Kudos

Dear Susana,

I don't know whether my solution does help because I do not know how you implement the new attributes specifically.

I would like to provide you some notes which solves several known bugs. Please first check whether they can help.

1257017

1259405

1393792 -> side effect of note 1374069

Regards,

Web

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Susana

Change in business partner attribute triggers master data notification in territory management. Which means territory management takes the BP and finds all the attributes and queries BRF+ engine to find the matching territory. This is done in the program, CRM_TERRMAN_PROC_REL, in order for this to work please check the BADI implementation where you need to pass the customer attribute value in method GET_CUSTOMER_ATTRVAL, here you need to check for the Z attribute you have defined in territory attribute group (BP) and find the value and pass (it is possible to pass either single or multiple attribute value. If you are running the report for a particular territory in delta mode then you need to check the method post*process*rel* in the BADI to filter out the territory based on the BP attribute.

So please check the BADI implementation and this should resolve the issue.

Best regards

Raghu