Rule Based ATP is setup to carry out product and location substitutions. At one point of time, business does not want to promise materials from one of the locations involved in the RBA substitution.
In some situation, business wants to replace the discontinued location with some other location temporarily.
Using an exclusive rule strategy, we can exclude the particular location from the RBA and also we can make the system to select alternative location for the excluded location.
Scenario set-up:
First we will set up the Rule Based ATP scenario with 3 locations DC3000, PL0001 and PL0006. Then we will test how the exclusive Rule strategy works for excluding the location DC3000.
Materials used:
DEMO_1
DEMO_2
DEMO_3
Locations:
DC3000
PL0001
PL0006
Product List:
Maintain the Rule with Product substitution and Location determination procedure
Maintain the Rule Determination in customizing, (In SPRO, APO --> GATP --> RBA)
Create Condition Table
Create Access Sequence:
Create Condition type and assign the Access Sequence
Create Rule Strategy
Create Rule Strategy Sequence and assign the created Rule Strategy.
Assign the Rule Strategy Sequence to make it to determine the correct rule while calling RBA.
Assign the rule DEMO to the Sales Organization 0001, Sold-to- Party 0000001000 and the Product DEMO_1
In the Check Instruction, make sure that RBA is active. (Check mode ZQT and Business event A)
The available stock for different products in different locations:
Product | Location | Stock (EA) |
DEMO_1 | PL0001 | 5 |
DEMO_2 | PL0001 | 5 |
DEMO_3 | PL0001 | 2 |
DEMO_1 | PL0006 | 10 |
DEMO_2 | PL0006 | 10 |
DEMO_3 | PL0006 | 2 |
DEMO_1 | DC3000 | 10 |
DEMO_2 | DC3000 | 0 |
DEMO_3 | DC3000 | 0 |
Simulate the ATP check using ATP Simulation transaction /SAPAPO/AC04
The substitution takes place across all locations and products.
Now the situation arises that the business does not want to promise materials from the location DC3000.
Create a rule with the location list containing DC3000
The rule should be of type 'Inclusive'.
Setup the Rule Determination with the Rule strategy to exclude the location DC3000
Create a new Condition type and assign the Access Sequence already created
Create Rule Strategy
In the Rule Strategy Sequence (RSS1) already created, assign the newly created Exclusive Rule Strategy.
Assign the created rule DEMO-EX to the required rule determination conditions
Now Simulate ATP check in the ATP Simulation transaction /SAPAPO/AC04.
We can see that the location DC3000 is not considered for the substitution. Only PL0001 and PL0006 are considered.
Click the Rule button and check that both the rules are picked correctly.
Thus the location DC3000 can be excluded from the RBA check temporarily by introducing an exclusion rule strategy. Once the location is ready to supply the products back, the rule strategy can be removed from the rule strategy sequence, so that it will be included back to the RBA.
Now the business wants to include the location PL1300 temporarily in the place of DC3000.
Maintain Alternative rule:
Maintain location determination procedure DEMO_ALT1 with the 'Alternative' type. Maintain the location PL1300 as an alternative location for the DC3000 location.
Create Rule 'DEMO-ALT'' with rule type 'Alternative' and assign the created Location Determination Alternative procedure DEMO_ALT1.
Setup the Rule Determination
Create new condition type and assign the access sequence already created.
Assign this condition type as the second level in the Rule Strategy EXC2, which was created earlier to exclude DC3000.
Assign the created rule DEMO-ALT to the required rule determination conditions.
The available stock for different products in the location PL1300:
Product | Location | Stock (EA) |
DEMO_1 | PL1300 | 5 |
DEMO_2 | PL1300 | 5 |
Now Simulate ATP check in the ATP Simulation transaction /SAPAPO/AC04.
Now we can see that location PL1300 is included in the list in the place of DC3000.
Click the Rule button and check the rule determination has been carried out correctly.
Thus the alternative rule can be used to replace a location with another location.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |