on 11-02-2011 2:13 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.