Ansicht
Dokumentation

APOCV001 - Determination of Target Days' Supply for PEGID

APOCV001 - Determination of Target Days' Supply for PEGID

Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Minimum days' supply / user exit for determining a minimum days' supply

When you use this user exit, the default settings for the minimum days' supply from Customizing for the type of days' supply can be overwritten.

For example, a product-dependent minimum days' supply can be defined.

Process:

Days' supply and, if necessary, alerts (when below min. days' supply) are displayed in the Alert Monitor and in the product view.
The alerts occur as a result of the comparison between the determined days' supply and the minimum days' supply for each pegging area and type of days' supply.

If no user exit has been maintained in Customizing for the type of days' supply, then the days' supply is taken from the default settings for the minimum days' supply in Customizing for the type of days' supply.

If a user exit has been maintained in Customizing for the type of days' supply, then the user exit is called up for each pegging area.
The determination of the minimum days' supply then occurs in the user exit (error, warning, info), which is then used as a comparison value when determining an alert.

The user exit must be activated and the corresponding logic must be implemented.

Function:

The user exit consists of the function module EXIT_/SAPAPO/SAPLRRP_CV_001.

Input parameters for the function module are:

I_CVUSE,,,,Key user exit - minimum days' supply
I_PEGID,,,,Peg ID for the pegging area
I_AKTSTMP,,Current time stamp

Output parameters for the function module are:

E_TARCV,,,,Minimum days' supply (Error)
E_TAYCV,,,,Minimum days' supply (Warning)
E_TAGCV,,,,Minimum days' supply (Info)

Example:

You can find examples of coding in the program LXCVUSERF01.

The following regarding performance is important:
You should avoid reading additional database tables in the user exit because this increases the runtime considerably. Database access should only occur using a fully specified key; otherwise the runtime is too long.






ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2260 Date: 20240328 Time: 104501     sap01-206 ( 35 ms )