EEWB: Change tab tittle when creating an extension type ACTIVITY_H
Hi CRM Gurus,
I am using transaction EEWB to extend the object BUSINESS_ACTIVITY. There are two extension types: CUSTOMER_H and ACTIVITY_H. Both of them create an additional tab that contains the new fields. I have two questions about this:
1.- Which differences exist between them?? When must be
used one and when the other? Can I use both at the
2.- With the method CRM_CUSTOMER_H_SET_TITLE of
the Badi definition CRM_CUSTOMER_H_BADI, you can
change the tittle of the additional tab when using
CUSTOMER_H extension type. But when you are using
ACTIVITY_H extension type, instead
CRM_CUSTOMER_H_BADI the system triggers
CRM_ACTIVITY_H_BADI, and that Badi doesn´t have any
method to change the tab tittle. Anybody knows how
to change the tittle tab in this case???
Any suggestion will be of great aid.
Thanks in advance.
Stephen Johannes replied
Yes you would have both a "custom field" tab and an "activity" tab if you created new custom fields for the business transaction.
The only valid reason why you would ever want to extend activity_h is you need to add a field that must be updated/validated at the same time as the "activity_h" fields. Since CUSTOMER_H is a considered a separate segment, the fields will not be validated/updated at the same time as your activity_h fields in the transaction processing.
The best case scenario would be a value of one field on ACTIVITY_H influences the behavior of the new custom field. However this scenario still can be achieved with CUSTOMER_H extensions. The only issue is that if a user however never "touches" the customer_h segement then coding in the customer_h badi to implement this logic will not be in effect.
I hope that clarifies things a little more. I would still recommend sticking to CUSTOMER_H unless your requirements look similar to the scenario I described above.