Ansicht
Dokumentation

PCC_BADI_TIMEPAR_3RD - BAdI: Time Parameter Value for Third Party for Process Instance Generation

PCC_BADI_TIMEPAR_3RD - BAdI: Time Parameter Value for Third Party for Process Instance Generation

Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Payroll Process (PY-XX-PYP) component. You can use this BAdI to define the value for the time parameter Period for Third Party in US (PERIOD_3RD). For a payroll process that uses this time parameter PERIOD_3RD, the Generate Process Instances (PYC_GENERATE_INSTANCE) report reads the time parameter value defined in the BAdI to generate a process instance for each period.

You can use the following BAdI methods:

  • PAR_VAL_GET_LIST_BY_PERIOD
Based on the period specified by the user in the Generate Process Instances (PYC_GENERATE_INSTANCE) report, this method generates the list of time parameter values. The logic of this method is generally used by the PYC_GENERATE_INSTANCE report.
  • VALUES_ENRICH_NAME
This method gets the description for the parameter value. For example, for a parameter type Payroll Area (ABKRS), the parameter value is CN. Then this method gets the corresponding description (China Monthly) for the parameter value (CN).
  • CHECK_INST_SEL_PAR_VAL
This method checks the consistancy of the instance parameter values that a user enters in the Customizing activity Define Process Instance Parameter Values.
  • PAR_VAL_ENRICH_PERIOD
This method gets the description, for example, 08.2014, for the period.

The method VALUES_ENRICH_NAME comes from the interface IF_PYD_PAR_TYPE_RT. The other three methods come from the interface IF_PYD_TIME_PAR_TYPE.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

  • PAY_PYCUS_CONT_DEF
This default implementation defines each day as a period. As a result, for a payroll process that uses the time parameter PERIOD_3RD, the Generate Process Instances (PYC_GENERATE_INSTANCE) report generates one process instance for each day.

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitions tab in the Implementation Example Classes section.

The following example implementations are available:

  • PAY_PYCUS_CONT_EXA
Defines each day from Monday to Friday as a period. As a result, for a payroll process that uses the time parameter PERIOD_3RD, the Generate Process Instances (PYC_GENERATE_INSTANCE) report generates one process instance for each day from Monday to Friday.

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View-> Application Server Application Server ABAP -> Application Development on AS -> ABAP Customer Development -> Enhancement Framework.






PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3646 Date: 20240523 Time: 195055     sap01-206 ( 69 ms )