Ansicht
Dokumentation

/AFS/ARUN035 - Incorrect sorting sequence in sorting rule & - /AFS/ARUN 035

/AFS/ARUN035 - Incorrect sorting sequence in sorting rule & - /AFS/ARUN 035

PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Diagnosis

The sort sequences of the sort fields are not valid.

System Response

The sequence of the sort fields is not correct. Fields at header level should always have the highest sort priority. Fields at line level should have the next priority and schedule line fields should have the lowest priority.

Caution

If you do not keep to this sort sequence, sales orders might be split. Dependent on the ARun configuration, other sales orders might not be allocated at all, even if stock is available.

Example:

Sorting 1 correct sequence

Sorting in the following sequence:
1. Header
2. Line
3. Schedule line

Order 4711 MRP status
Schedule line 1 R (= Reserved)
Schedule line 2 R
Schedule line 3 R
Schedule line 4 R
Schedule line 5 R => order 4711 is not allocated

Order 4713 MRP status
Schedule line 1 F (= Fixed)
Schedule line 2 F
Schedule line 3 F
Schedule line 4 F => order 4713 is allocated

Sorting 2 incorrect sequence

Sorting in the following sequence:
1. Schedule line
2. Line
3. Header

Order 4711 (block 1) MRP status
Schedule line 1 F
Schedule line 2 F => order 4711, block 1, is allocated

Order 4713 MRP status
Schedule line 1 R
Schedule line 2 R
Schedule line 3 R
Schedule line 4 R => order 4713 is not allocated, because
stock is exhausted by order 4711, block 1

Order 4711 (block 2) MRP status
Schedule line 3 R
Schedule line 4 R => order 4711, block 2, is not allocated

Order 4711 (block 3) MRP status
Schedule line 5 R => order 4711, block 3, is not allocated

Stock

At the end of the allocation run, a release check is carried out at order level. In this case, order 4711 is not allocated at all, because there was not enough stock allocated to this order (the release rule was not fulfilled). The stock that was allocated to block 1 of order 4711 is set back to unrestricted-use stock.

Even if this unrestricted-use stock would be enough to fulfill order 4713, allocation is no longer possible because the ARun is already carried out completely.

Procedure

Change the sort priority of your sort rule in the ARun Customizing.






ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2666 Date: 20240419 Time: 065300     sap01-206 ( 48 ms )