Ansicht
Dokumentation

ALGEX003 - Enhancement for external Model for Spare Parts Stock Calc.

ALGEX003 - Enhancement for external Model for Spare Parts Stock Calc.

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

General Description

The Customer Exit EXIT_SAPLORF3_003 (function module of function group XORF7) can be used for the adaption of an user defined statistical model for the calculation of the Rotable Float / Expedables Demand (instead of using the internal model).

Interface

The import interface is given by the structure WA3_IP_ABAP. This structure is defined in the Data Dictionary like ORFALGEX. The interface of the external model is larger than the interface of the internal model (WA1_IP_ABAP, which is defined in the Data Dictionary like ORFALGIN). WA3_IP_ABAP contains the following fields:

EC_EX Essentiality Code
HOMESHOP_EX Laboratory/design office
DD_EX Annual Demand
N_TP_EX Number of Aircraft
N_EQ_EX Number of Parts per Aircraft
TAU_EX Operation Time
MTBR_EX Mean Time Between Removals (MTBE)
TAT_REWORK_EX Turnaround Time (Repair, External Model) / Provision Period
TAT_TRANSP_EX Turnaround Time (Transport, External Model)
CL_EX Service Level
PRICE_EX Price of Part
MAD_EX Minimum Annual Demand

Thereby, the values are determined like in the interface of the internal model . The Annual Demand is calculated as proposal with the formulas of the internal model.

The export interface is given by the structure WA2_IP_ABAP which is the same like in the internal model. It is given by:

DD Annual Demand
ASL Average Shop Load / Provision Period Demand
RF Rotable Float / Expedables Demand

All three interface structures are directly written to the main screen of the part based stock calculation (bottom areas of screen 0200 of program ORF2).

Structure of Coding

The function module EXIT_SAPLORF3_003 is encapsulated in an other function module USER_EXIT_CALC (function group: ORF3). The latter is called from the program ORF2 (Single Item Stock Calculation) and ORF6 (Multible Item Stock Calculation). Hence, the function module is called for every IP part type seperately.

Example Use

For a better unstanding, compare the two form routines CALC_I and CALC_E which are located in the include ORF2F05 of the program ORF2. Here, CALC_I calls the corresponding functions of the internal model, CALC_E calls the customer exit.

The calculation of the results can be diveded in three parts: First, check wether the import values of the interfcace are given in the correct ranges. Second, calculate the Average Shop Load / Provision Period Demand. Third, calculate the Rotable Float / Expedables Demand in dependence on the Average Shop Load / Provision Period Demand and the Confidence Level.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3974 Date: 20240416 Time: 072250     sap01-206 ( 58 ms )