on 2022 Aug 12 4:15 PM
Hi everyone,
I am trying to find out how to retrieve or check the unit type of a field in SAP Commissions in a formula.
As an example for this issue, we can use the field Participant.Base Salary:
I have created several custom currencies besides USD, e.g. EUR, GBP or CHF. The base salary is maintained with the local currency of the employee. Now, in a rule, I want to check which currency is used for a particular participant. Is there a way to do that?
(No currency conversion needed)
Thank you for your support!
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
mbroeker
You can use the Query for String function. to get the value of Unit Type.https://blogs.sap.com/2020/08/13/how-to-use-plugins-efficiently-to-derive-your-calculations/You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Yogananda, it worked with this approach!
You can not access the actual unit type of the base salary. However, you can populate the unit type on a generic attribute on the participant. That was my work around in the past when I needed to know the payee's local currency type for rule purposes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Maximilian,
I don't believe there is. There is a function to set the unit type, but not to retrieve it.
The way around this is to have different rules, and use something other than the unit type (such as the credit type) as a filter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.