cancel
Showing results for 
Search instead for 
Did you mean: 

SNP Deployment: User-defined Fair-Share Rule 'X' logic is not considered when Supply exceeds Demand

PK09
Participant
0 Kudos

Hi All,

We had recently developed custom deployment planning using BadI Fair-Share Rule 'X' for our requirements.

While testing the custom deployment logic, the BadI had provided the results according to our expected results, but not in one situation when supply (ATD Qty) is more than the distribution demands. The BadI is not using the logic we have developed while confirming the deployment stock transfers. In this situation (supply > demand), all demands are fulfilled according to the demand date at these locations. I am thinking if the Push Rule (Pull Distribution) might have been activated before triggering the custom logic fair-share BadI in this situation.

Any idea why the Fair-Share 'X' badI logic is not considered in the above stated situation while confirming deployment stock transfers.

Thanks in advance for all your inputs.

Regards

PK

Accepted Solutions (1)

Accepted Solutions (1)

SatishWaghmare
Active Contributor
0 Kudos

Hello PK

Please share details on Custom BADI logic - business requirement and technical reason you decide to implement Custom BADI solution instead of any Standard option, what is the functional logic incase of Supply > Demand and Supply < Demand. 

May be once we have more details on the Custom logic, we will be able to suggest something.

Thank you

Satish Waghmare

PK09
Participant
0 Kudos

Hi Satish,

Thanks for your reply.

The reason why we had implemented custom deployment logic is when supply < demand,

we would like to sort (descending order) demand of the destination locations and confirm the deployment stock transfers based on maximum quantity (new field created in the product-location master) maintained.

When some times supply > demand, we would like to maintain the same logic we had developed using fair share rule 'X'. How to tell the system to ignore the situation when supply > demand and only consider the custom logic maintained with fair-share custom BadI.

Right now what i am seeing in the tests is when supply is more than demand, the destination locations are fulfilled completely without considering custom logic we had implemented (i.e sort demands and confirm based on maximum quantity from the product-location master).

Regards

PK

Answers (1)

Answers (1)

PK09
Participant
0 Kudos

Hi All,

Any help or suggestion to workaround for this requirement. Thanks

Regards

PK

Former Member
0 Kudos

Hi PK,

You might need to explore 'Push Distribution rules' for surplus supply situations.

Fair share rules might be triggered by deployment only if 'demand exceeds supply'. In situations where supply is sufficient to cover the demand, or surplus, Push rules would be applicable.

If you need to define custom rules for push distribution, you might want to include them in 'user defined distribution' under PUSH Distribution rules.

Hope that helps.

Regards,

Shweta

PK09
Participant
0 Kudos

Hi Shweta,

Thanks for your reply.

Yes, i am exploring Push distribution user-defined BadI, but the problem is the BadI is not reading the demands of the destination locations.

Please see the below recent post about this issue.

Regards

PK