cancel
Showing results for 
Search instead for 
Did you mean: 

Client's requirements is to calculate commissions in real-time.

Zufliqar_Maqboo
Explorer
0 Kudos

Hello Experts,

I have a client requirement to calculate commissions in real-time. Here's the scenario: each time a credit is generated from the source system, the sales data flows into the SF Incentive Management system. Once it's there, a pipeline run should be triggered immediately, and this process generates payout files from the Incentive Management system.

Now, typically the leaf level of the calendar is the day. However, in my specific scenario, I need to run multiple payouts within each day. This means that instead of processing commissions just once per day, I'll need to do it several times throughout the day whenever there's a credit.

Is this feasible and technically possible? Please also highlight any potential drawbacks or limitations associated with it.

Your expert opinion on this matter would be immensely valuable. 

Accepted Solutions (0)

Answers (1)

Answers (1)

philipholtom
Participant

In theory you could probably do such a thing, using some external system to trigger a pipeline for every single credit fed in and run a per-position pipeline. 

But the question becomes why would you want to? For any normal volume of users this would result in a large amount of pipelines per day. You could end up with multiple pipelines queued depending on the how long it takes to process. Unless your volumes are low and your pipelines in the minutes then this may become difficult.

Also as you say the calendar leaf period is a limitation here.  If you re-run the pipeline for that day you'd re-calculate all the results for that day so posting becomes necessary if you want to keep records of those payouts. But if a mistake is made it's going to be hard to undo it given the timings. 

I've seen daily runs before but never "instant" payouts like this.  

 

Zufliqar_Maqboo
Explorer
0 Kudos
I agree with all of your points. However, the client is quite inflexible, insisting that they must pay their agents immediately upon receiving credits for one of their commission campaigns, rather than waiting until the end of the day. Our team has tried to convince them otherwise, but they maintain that immediate payment is their core requirement. Is there any available link to SAP best practices or recommendations suggesting a minimum timeframe for payments, preferably at least a day, or indicating that instant or real-time payouts are not possible or feasible?
philipholtom
Participant
I haven't seen anything suggesting a "minimum" timeframe but the way the system works suggests this. It's a batch processing system and you calculate by period. Perhaps this blog post may help? There maybe some API's that may allow for an "instant" calculation? https://community.sap.com/t5/human-capital-management-blogs-by-sap/sap-commissions-productitive-apis...