We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
In the standard SAP system, the termination type for an employee's benefits is determined by the feature TRMTY. As an alternative to this, there is the function exit EXIT_SAPFPBEN_007 contained in the function group XPBE. This function exit is described below.
The function exit allows you to integrate your own assignment logic into the standard SAP system. If, for example, you have created customer-specific infotypes or database tables, you can use their contents to determine the employee benefit group.
The system explicitly defines the input parameters:
You then specify the output parameters:
In addition to this, you can define two exceptions to the standard coding:
In the following sample coding only the benefit area is to be evaluated. The evaluation is to be carried out in all clients. The feature TRMTY should only be accessed in the standard client 000.
_TRMGR = 'TGR1'.
For information on how to store your own coding and data declarations in a funcion exit, please refer to the online documentation on the transaction Project Management of SAP Enhancements.