Ansicht
Dokumentation

EXIT_SAPLJ3AM_005 - User Exit for largest to smallest distribution according to size curve

EXIT_SAPLJ3AM_005 - User Exit for largest to smallest distribution according to size curve

rdisp/max_wprun_time - Maximum work process run time   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

AFS Material Requirements Planning / User Exit for distribution across sizes according to the size-spread profile.

Functionality

The user exit is accessed every time the remainder (resulting from material level rounding or minimum lot size) is to be distributed across the sizes. Normally this is once for each procurement proposal.

With this user exit you can distribute the remainder based on the largest to the smallest percentage according to the size-spread profile. You can avoid buying extreme sizes (having low percentages in the size curve) when allocating quantities beyond the unfulfilled demand.

The user exit consists of the following function module.

EXIT_SAPLJ3AM_005

Tables for the function module:

  • ITAB_SIZE: Internal table containing all sizes and their respective quantities (distributed according to the size curve)
You can sort ITAB_SIZE based on quantity.
  • ITAB_POSITION: Internal table containing the sizes that have been ordered (have demand). You can append sizes that have not been ordered but which have larger percentages in the size curve.

Export parameter:

  • I_EXIT_004: Set this flag to indicate that the user exit is activated.

Example

For coding examples, see program LXJ3AF85.





Parameters

ITAB_POSITION
ITAB_SIZE
I_EXIT_005

Exceptions

Function Group

XJ3A

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1639 Date: 20240604 Time: 055148     sap01-206 ( 28 ms )