We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

EXIT_SAPFPBEN_005 -

EXIT_SAPFPBEN_005 -

Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Customer-specific assignment of credit group

In the standard SAP system, an employee's credit group is determined by the feature CRDV1. As an alternative to this, there is the function exit EXIT_SAPFPBEN_005 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 and database tables, you can use their contents to determine the employee benefit group.

The system explicitly defines the input parameters:

  • _PERNR personnel number
  • _BEGDA start of validity period
  • _ENDDA end of validity period
  • _BAREA benefit area
  • _BPLAN benefit plan
  • _PLTYP benefit plan type
  • _BENGR employee benefit group
    _BSTAT employee status

You then specify the output parameters:

  • _FLXGR credit group

In addition to this, you can also define two exceptions to the standard coding:

  • EVALUATE_FEATURE if the feature CRDV1 is to be evaluated
  • CUSTOMER_ERROR if an error message is to be registered

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 CRDV1 should only be accessed in the standard client 000.

CASE SY-MANDT.
WHEN 0.
RAISE EVALUATE_FEATURE.
WHEN OTHERS.
CASE _BAREA.
WHEN SPACE.
RAISE CUSTOMER_ERROR.
WHEN OTHERS.
_FLXGR = 'CRE1'.
ENDCASE.
ENDCASE.

For information on how to store your own coding and data declarations in a function exit, please refer to the online documentation on the transaction Project Management of SAP Enhancements.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2365 Date: 20200918 Time: 084612     sap01-206 ( 54 ms )