Message type: E = Error
Message class:  3G - Payroll: International 
Message number: 158
Message text: Error in user exit: Generated WType &1 is also included in payroll result
You have inserted the wage type &V1& into table RT in the user exit
active in your system, EXIT_RPCIPE00_003. However, this wage type
already exists in the payroll results.
The employee is rejected.
Please only add wage types that are not included in the payroll result.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message 3G158 indicates that there is an issue with a user exit related to the payroll processing in SAP. Specifically, the error states that a generated wage type (WType) is also included in the payroll result, which can lead to inconsistencies or errors in payroll calculations.
Cause: The error typically arises due to one of the following reasons: Duplicate Wage Types: The wage type being generated is already present in the payroll result, leading to a conflict. Incorrect Configuration: The configuration of the user exit may not be set up correctly, causing it to generate wage types that are not intended to be included in the payroll results. Logic Errors in User Exit: There may be logic errors in the custom code of the user exit that lead to the generation of wage types that should not be included in the payroll results.
Solution: To resolve the error, you can take the following steps: Review
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
3G157 Expenditure type &1 is more than 100% financed
What causes this issue?  The percentage rates for funding the employee expenditure type &V1& total &V2& percent. There is an error in ...
3G156 No authorization to perform the activity (auth. object &1)
What causes this issue?  You have tried to perform an action for a payroll reporting run. However, the required authorization is not entered in your u...
3G159 Company code clearing not possible for external company codes
What causes this issue?  In Customizing you have defined company code &V1& as an external company code for the export to an older SAP release....
3G160 Error in symbolic account &1 with account assignment type FO
What causes this issue?  When processing the data for the employee, line items have been created for the symbolic account &V1&, which has the ...
Click on this link to search all SAP messages.