EEWB / badi implem ZEEW_CUSTOMER_Hxx method CRM_CUSTOMER_H_SET_TITLE
We have two enhancements created for business object "Business Activity" at CUSTOMER_H level.
Each enhancement is coming in the same tab.
We would like to set a different tab title for each of them depending on the document type we are working on.
We have used the method CRM_CUSTOMER_H_SET_TITLE of the badi implementation ZEEW_CUSTOMER_Hxx generated by EEWB.
In the code of this method for the first implementation we have put EV_TITLE = 'Title 1' when document type = 1 and in the second one 'Title 2' when document type = 2.
It is working fine when we start CRMD_ORDER because the system executes the method in this case.
But when we are already in the transaction and we asked for example to open/create another type of document, the system doesn't execute the method anymore and the tab title is incorrect.
Does somebody of you encounters such kind of problem and do you have found a solution ?
thanks in advance for your answer,