Skip to Content
author's profile photo Former Member
Former Member

Territory selection pop up in transaction - how to avoid?

When creating business transaction territory is determined based on employee responsible. But if employee responsible is assigned to multiple territories, we are getting pop up to select territory.

We do not want this pop up to display. Based on certain logic/partner function, I want to populate territory instead of displaying pop up.

I tried below 2 options with no success

(1) I checked below BADIs, but they are not being called at pop up in transaction.

CRM_TERRMAN_BADI

CRM_TERRMAN_FILTER

(2) I created event call back FM in CRMV_EVENT and tried to use FMs

CRM_TERRMAN_POPUP_TAB_DELETE

CRM_TERRMAN_POPUP_TAB_MAINTAIN

CRM_TERRMAN_POPUP_TAB_READ

Any inputs to achive this functionality will be much appreciated.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Nov 02, 2011 at 02:21 PM

    Hello

    To my knowledge, that popup cannot be deactivated for employee and person responsible.

    This comes from [SAP Note 683127|https://service.sap.com/sap/support/notes/683127]. Maybe you can change the settings in view COMV_PARTNER_FT4 so you can de activate the popup...

    Regards

    Joaquin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2013 at 10:29 AM

    Hello,

    I appreciate that this is a very old post but I am sure it is still relevant for some. We have managed to work around this issue by ensuring that if employee responsible is assigned to more than one territory that only one of those territories has a business role.

    I hope this helps

    Regards


    Andrew

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member praveen kumar mannala

      Hello,

      To avoid the popup create a implementation for the BADI 'COM_PARTNER_BADI' and use the below code in the method 'COM_PARTNER_MERGE'.

      This will suppress the popup for territory selection.

      CONSTANTS: l_c_popuptab(50) TYPE c VALUE '(SAPLCRM_TERRMAN_1ORDER)GT_TERR_1O_POPUP_ALLDOC'.

      FIELD-SYMBOLS: <l_f_popuptab> TYPE crmt_terrman_1order_popup_tab.

      ASSIGN (l_c_popuptab) TO <l_f_popuptab>.

      CHECK <l_f_popuptab> IS ASSIGNED.

      DELETE <l_f_popuptab> WHERE ref_partner_fct = '00000014'.( Depending on the required partner function )

      Thanks,

      Balaji.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2015 at 04:23 PM

    Hello,

    To avoid the popup create a implementation for the BADI 'COM_PARTNER_BADI' and use the below code in the method 'COM_PARTNER_MERGE'.

    This will suppress the popup for territory selection.

    CONSTANTS: l_c_popuptab(50) TYPE c VALUE '(SAPLCRM_TERRMAN_1ORDER)GT_TERR_1O_POPUP_ALLDOC'.

    FIELD-SYMBOLS: <l_f_popuptab> TYPE crmt_terrman_1order_popup_tab.

    ASSIGN (l_c_popuptab) TO <l_f_popuptab>.

    CHECK <l_f_popuptab> IS ASSIGNED.

    DELETE <l_f_popuptab> WHERE ref_partner_fct = '00000014'.( Depending on the required partner function )

    Thanks,

    Balaji.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.