SAP ABAP Class CL_DEF_IM_BADI_GPD_02 (Default Implementation for BAdI Definition BADI_GPD_02)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-AD-GPD (Application Component) Pegging, Grouping, and Distribution
     GPD (Package) Grouping, Pegging and Distribution
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_BADI_GPD_02 BAdI Interface IF_EX_BADI_GPD_02 20000705
Properties
Class CL_DEF_IM_BADI_GPD_02  
Short Description Default Implementation for BAdI Definition BADI_GPD_02    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GPD   Grouping, Pegging and Distribution 
Created 20000705   SAP 
Last change 20050301   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 GPD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 MDR1P Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_EX_BADI_GPD_02 BAdI Interface IF_EX_BADI_GPD_02 20000705
Friends
Class CL_DEF_IM_BADI_GPD_02 has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 G_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20000708
2 G_MSGV1 Instance attribute Private Type reference (TYPE) SY-MSGV1 Messages, Message Variables 20000708
3 G_MSGV2 Instance attribute Private Type reference (TYPE) SY-MSGV2 Messages, Message Variables 20000708
4 G_MSGV3 Instance attribute Private Type reference (TYPE) SY-MSGV3 Messages, Message Variables 20000708
5 G_MSGV4 Instance attribute Private Type reference (TYPE) SY-MSGV4 Messages, Message Variables 20000708
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Private Method Add Message to the Application Log 20000708
2 ADJUST_FRACT_QTY Instance method Private Method Pegging: Distribution of Excess - Avoid Fractional Qty 20000706
3 ALLOCATE_REMAINING_EXCESS Instance method Private Method Pegging: Distribution of Excess- Remaining Excess 20000706
4 ASSIGN_EXCESS_PROPORTIONAL Instance method Private Method Pegging: Proportional Based on Current Assignments 20010111
5 COPY_HISTORICAL_EXCESS Instance method Private Method Pegging: Distribution of Excess - Copy Historical Excess 20000706
6 CREATE_OPEN_ITEM_EXCESS Instance method Private Method Pegging: Distribution of Excess - Create New Assignment 20000706
7 DETERMINE_EXC_INCREASE Instance method Private Method Pegging: Distribution of Excess - Help Routine 20000706
8 DETERMINE_H2INCREASE Instance method Private Method Pegging: Distribution of Excess - Help Routine 20000706
9 EXCESS_NET_CHANGE Instance method Private Method Pegging: Distribution of Excess - Net Change Procedure 20000705
10 EXCESS_WBS Instance method Private Method Pegging: Distribution of Excess - Excess WBS Element 20000705
11 FIT_EXCESS_2_NEW_ALLOC Instance method Private Method Pegging: Distribution of Excess - Adjust to New Assignments 20000706
12 INCREASE_EXC_ALLOC Instance method Private Method Pegging: Distribution of Excess - Increase Allocated Qty 20000706
13 PEG_EXCESS Instance method Public Method 20000705
14 REDUCE_EXC_ALLOCATION Instance method Private Method Pegging: Distribution of Excess - Reduce Historical Assignm. 20000706
Events
Class CL_DEF_IM_BADI_GPD_02 has no event.
Types
Class CL_DEF_IM_BADI_GPD_02 has no local type.
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CLASS Call by reference Type reference (TYPE) BAL_S_MSG-PROBCLASS Anwendungsprotokoll: Problemklasse einer Meldung 20000708
2 Importing I_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Anwendungsprotokoll: Handle eines Protokolls 20000708
3 Importing I_MSGID Call by reference Type reference (TYPE) SY-MSGID Nachrichten, Nachrichtenklasse 20000708
4 Importing I_MSGNO Call by reference Type reference (TYPE) SY-MSGNO Nachrichten, Nachrichtennummer 20000708
5 Importing I_MSGTY Call by reference Type reference (TYPE) SY-MSGTY Nachrichten, Nachrichtentyp 20000708
6 Importing I_MSGV1 Call by reference Type reference (TYPE) SY-MSGV1 Nachrichten, Nachrichtenvariablen 20000708
7 Importing I_MSGV2 Call by reference Type reference (TYPE) SY-MSGV2 Nachrichten, Nachrichtenvariablen 20000708
8 Importing I_MSGV3 Call by reference Type reference (TYPE) SY-MSGV3 Nachrichten, Nachrichtenvariablen 20000708
9 Importing I_MSGV4 Call by reference Type reference (TYPE) SY-MSGV4 Nachrichten, Nachrichtenvariablen 20000708

Method ADD_MESSAGE on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method ADJUST_FRACT_QTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Aktuelle Zuordnungen 20000706
2 Changing CT_REPLEN Call by reference Type reference (TYPE) PEG_T_REPLEN Detailinformation Replenishment Object 20000706

Method ADJUST_FRACT_QTY on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method ALLOCATE_REMAINING_EXCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ALLOCATED Call by reference Type reference (TYPE) GPD_T_REQU Total Assigned Qty to Individual WBS 20000706
2 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Aktuelle Zuordnungen 20000706
3 Changing CT_REPLEN Call by reference Type reference (TYPE) PEG_T_REPLEN Tabelle der Zuordnungen 20000706
4 Importing I_EXCESS Call by reference Type reference (TYPE) PEG_EXCESS Überschussregel 20000706

Method ALLOCATE_REMAINING_EXCESS on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method ASSIGN_EXCESS_PROPORTIONAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Tabelle der Zuordnungen 20010111
2 Changing CT_REPLEN Call by reference Type reference (TYPE) PEG_T_REPLEN Tabelle der Zuordnungen 20010111
3 Importing IT_EXCQTYREPOBJ Call by reference Type reference (TYPE) PEG_T_QTY_REPOBJ Pegging: Quantity Structure per Replenishment Object 20010111
4 Importing IT_EXCQTYREPOBJH Call by reference Type reference (TYPE) PEG_T_QTY_REPOBJ Pegging: Quantity Structure per Replenishment Object 20010424
5 Importing IT_HIST_ASS Call by reference Type reference (TYPE) PEG_T_TASS Tabelle mit historischen Zuordnungen 20010410
6 Importing I_EXCESS Call by reference Type reference (TYPE) PEG_EXCESS Überschussregel 20010111
7 Importing I_EXCPSPNR Call by reference Type reference (TYPE) PEG_TCTRL-EXC_PSPNR PSP-Element 20010111
8 Importing I_FRACTQTY Call by reference Type reference (TYPE) PEG_TCTRL-FRACTQTY Zuordnung mit ganzzahligen / gebrochenen Mengen 20010111
9 Importing I_GRPNR Call by reference Type reference (TYPE) GRPSPNR Dispo-PSP-Element 20010111
10 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20010111
11 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20010111

Method ASSIGN_EXCESS_PROPORTIONAL on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method COPY_HISTORICAL_EXCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_REPLEN Call by reference Type reference (TYPE) PEG_REPLEN Detailinformation Replenishment Object 20000706
2 Changing CT_ALLOCATED Call by reference Type reference (TYPE) GPD_T_REQU Remaining Excess of an Individual WBS 20000706
3 Changing CT_HISTASSWBS Call by reference Type reference (TYPE) GPD_T_REQU Historical Excess of an Individual WBS 20000706
4 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Aktuelle Zuordnungen 20000706
5 Importing I_EXCESS Call by reference Type reference (TYPE) PEG_EXCESS Überschussregel 20000706

Method COPY_HISTORICAL_EXCESS on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method CREATE_OPEN_ITEM_EXCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_HISTASSWBS Call by reference Type reference (TYPE) GPD_REQU Historical Assigned Qty to an Individual WBS 20000706
2 Changing CS_REPLEN Call by reference Type reference (TYPE) PEG_REPLEN Detailinformation Replenishment Object 20000706
3 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Aktuelle Zuordnungen 20000706
4 Importing I_EXCESS Call by reference Type reference (TYPE) PEG_EXCESS Überschussregel 20000706

Method CREATE_OPEN_ITEM_EXCESS on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method DETERMINE_EXC_INCREASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_EXC_INC Call by reference Type reference (TYPE) GPD_T_REQU w 20000706
2 Importing IT_HIST_ASS Call by reference Type reference (TYPE) PEG_T_TASS Historische Zuordnungen 20000706

Method DETERMINE_EXC_INCREASE on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method DETERMINE_H2INCREASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ALLOCATED Call by reference Type reference (TYPE) GPD_T_REQU Total Allocated Qty to Individual WBS 20000706
2 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Aktuelle Zuordnungen 20000706
3 Importing IT_HIST_ASS Call by reference Type reference (TYPE) PEG_T_TASS Historische Zuordnungen 20000706
4 Importing I_EXC_DELTA_P Call by reference Type reference (TYPE) GAMNG Historical Excess - Open Qty Replenishments 20000706

Method DETERMINE_H2INCREASE on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method EXCESS_NET_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Aktuelle Zuordnungen 20000705
2 Changing CT_REPLEN Call by reference Type reference (TYPE) PEG_T_REPLEN Detailinformation Replenishment Object 20000705
3 Importing IT_HIST_ASS Call by reference Type reference (TYPE) PEG_T_TASS Historische Zuordnungen 20000705
4 Importing I_FRACTQTY Call by reference Type reference (TYPE) PEG_FRACTQTY 'X' = Fractional Qty. Allowed 20000706
5 Importing I_GRPNR Call by reference Type reference (TYPE) GRPSPNR Group WBS Processed 20000705
6 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20000705

Method EXCESS_NET_CHANGE on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method EXCESS_WBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Adjusted Assignments (Excess has been distributed) 20000705
2 Changing CT_REPLEN Call by reference Type reference (TYPE) PEG_T_REPLEN Detailinformation Replenishment Object 20000705
3 Importing I_EXCPSPNR Call by reference Type reference (TYPE) PEG_TCTRL-EXC_PSPNR Überschuss-PSP-Element 20000705
4 Importing I_GRPNR Call by reference Type reference (TYPE) GRPSPNR Processed Group WBS Element 20000705
5 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20000705

Method EXCESS_WBS on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method FIT_EXCESS_2_NEW_ALLOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ALLOCATED Call by reference Type reference (TYPE) GPD_T_REQU Total Assigned Qty for Individual WBS 20000706
2 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Aktuelle Zuordnungen 20000706
3 Changing CT_REPLEN Call by reference Type reference (TYPE) PEG_T_REPLEN Detailinformation Replenishment Objects 20000706
4 Importing IT_HIST_ASS Call by reference Type reference (TYPE) PEG_T_TASS Historische Zuordnungen 20000706
5 Importing I_EXCESS Call by reference Type reference (TYPE) PEG_EXCESS Überschussregel 20000706

Method FIT_EXCESS_2_NEW_ALLOC on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method INCREASE_EXC_ALLOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ALLOCATED Call by reference Type reference (TYPE) GPD_T_REQU Total Qty for every indiviual WBS 20000706
2 Changing CT_DELTA_ASQTY Call by reference Type reference (TYPE) GPD_T_REQU Delta in Assignment for Individual WBS 20000706
3 Changing CT_REAL_ASS Call by reference Type reference (TYPE) PEG_T_TASS Real Assignments of the Actual Program Run 20000706
4 Importing IT_HIST_ASS Call by reference Type reference (TYPE) PEG_T_TASS Historische Zuordnungen 20000706
5 Importing I_EXC_DELTA_P Call by reference Type reference (TYPE) GAMNG Historical Excess - Open Qty Replenishments 20000706

Method INCREASE_EXC_ALLOC on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method PEG_EXCESS Signature

Method PEG_EXCESS on class CL_DEF_IM_BADI_GPD_02 has no parameter.
Method PEG_EXCESS on class CL_DEF_IM_BADI_GPD_02 has no exception.

Method REDUCE_EXC_ALLOCATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ALLOCATED Call by reference Type reference (TYPE) GPD_T_REQU Allocated Excess to an Individual WBS 20000706
2 Changing CT_DELTA_ASQTY Call by reference Type reference (TYPE) GPD_T_REQU Delta between Historical and Actual Assignment 20000706
3 Importing I_EXC_DELTA_M Call by reference Type reference (TYPE) GAMNG Open Qty. Repl. Objects - Historical Excess 20000706

Method REDUCE_EXC_ALLOCATION on class CL_DEF_IM_BADI_GPD_02 has no exception.
History
Last changed by/on SAP  20050301 
SAP Release Created in 46C1