Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HCM Payslip

Dear Experts,

I would like to know the syntax of multiplying a wage type by -1 whenever it is available in the payslip.

This wage type is a deduction one, but it is available in the payroll results with a positive sign (standard behavior).

The required scenario is to multiply this wage type by -1 as it appears in the Deductions section in the payslip.

Regards,

Former Member
Former Member replied

Are you really looking for this?

If pa0008-lgart eq <wage_type>.

value = value * -1.

endif.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question