on 11-19-2013 1:01 PM
Hi All,
I'm working on CRM upgrade from 5 to 7.02 and I'm facing an issue solved in the CRM5.
Business is asking to have the Partner redetermination performed automatically and not using the provided manual functionality.
In CRM 5 we managed to solve this issue by redifining the standard CRM_PARTNER_REDETERMINE_EC adding the logic to call FM COM_PARTNER_SELECTION_UI2. then we worked on Event handler to execute our custom FM.
Obviously this logic could not be executed anymore as the COM_PARTNER_SELECTION_UI2 prompts a GUI Pop-up; actually the function Dumps, if executed, anytime you add a partner in an existing document.
Now my question is have someone had the same issue?
Could someone give me some hint to find a way to get an automatic redetermination?
Thanks in advance
Paolo
Hi,
I have requirement to implement COM_PARTNER_DETERM to determine the sales rep for the customer partners. This is fliter dependent BADI. Can some one help me on how to implemene this BADI.
As per BADI documentation, I have created an source entry-ZBP in COMV_PARTNER_DOR and added the same source as filter in the badi. But the BADI implementation is not getting called when I change the partner . Please guide me
Thanks,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
As far as can see BADIs in definition COM_PARTNER_BADI are not Filter Dependant.
Once implemented you should create or update an existing Partner Determination Access Sequence to use one of the Source below:
COM_PARTNER_X (your code is in Badi 1)
COM_PARTNER_Y (your code is in Badi 2)
COM_PARTNER_Z (your code is in Badi 3)
In the Implementation Badi documentation you can see the difference among the three above.
But you should take into consideration that the Partner Determination is processed only once during document creation.
You have the possibility to manually run a new determination by adding a new Parameter in your User Account:
Parameter ID: CRM_REDETERMINATION
Value: X
We achieved the automatic partner re-determination by creating a Custom FM by copy of the standard CRM_PARTNER_REDETERMINE_EC in order to use our specific logic.
Then you should change the standard system EVENT by adding your custom FM in the table CRMV_EVENT_CUST.
An example of how to add your entry in this table:
Trans. Cat.
BUS20001 (to cover all docs type)
Time
107 - END OF PARTNER
Prio
any higher than 90
Object
PARTNER
Event
AFTER_CREATE or AFTER_CHANGE or both (in this case duplicate the line)
Attribute
<*>
Function
<your custom FM>
I hope this helps.
Regards,
Paolo
Hi Praveen,
Sorry I misread the name of the Badi implementation.
Actually we never used the COM_PARTNER_DETERM in our landscape.
It is filter dependant because it is based on the 'Source' value you used in the Partner Determination Access Sequence.
So in general it runs AFTER the determination.
If you have to manipulate the determination you should use the one I gave you before.
Regards,
Paolo
Hi Paolo,
I need to implement the method DETERMINATION_ADD_IN_1 in BADI COM_PARTNER_BADI during change of partners. Will this method trigger during the change in the quotation.
I have added the source COM_PARTNER_X in one of the access sequence but still this method is not triggered. Let me know if you have solution for this.
Thanks,
Praveen
Ciao Praveen,
In general the reason for not get your code triggered could be:
1. The Badi Method DETERMINATION_ADD_IN_1 is active but not the Implementation itself.
2. The source COM_PARTNER_X is skipped because a previous step in the access sequence is triggered.
3. Do you have specified any details in the 'Details of Source' block in the customizing for Access Sequence?
Regards,
Paolo
I got it solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, You can check the redetermination field in the PDP corresponding to the partner function.
Thanks,
Apoorv Dhawan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just try by implementing this badi-COM_PARTNER_DETERM.This will get call for detemining the partner during the transaction creation and changes.
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.