SAP ABAP Class CL_MRM_MAA_FF (Handling of FinalFlag at Account Assignment Level)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MRM (Package) Appl.development R/3 decentralized invoice verification
Properties
Class CL_MRM_MAA_FF  
Short Description Handling of FinalFlag at Account Assignment Level    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MRM   Appl.development R/3 decentralized invoice verification 
Created 20090918   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 MMCR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 MRM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_MRM_MAA_FF has no interface implemented.
Friends
Class CL_MRM_MAA_FF has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_T163K Static Attribute Private Type reference (TYPE) LTY_T_T163K Account Assignment Categories in Purchasing Document 20100309
Methods
# Method Level Visibility Method type Description Created on
1 ACCOUNT_ASSIGNMENT_CHANGEABLE Static method Private Method Check: Account Assignment Changeable at Invoice Receipt 20100309
2 BPMNG_F_CALCULATE_ABD Static method Private Method Calculate bpmng_f 20091103
3 COMPUTE_CHECK_QUANTITY Static method Public Method Calculate verification quantity against final AA quantity 20090918
4 COMPUTE_CHECK_QUANTITY_F Static method Public Method Calculate verification quantity against final AA quantity 20091023
5 DOCUMENT_RELEVANT Static method Public Method Check whether final flag can be set (header level) 20100205
6 FINAL_QUANTITY_CHECK Static method Public Method Verification against finall AA quantity 20090918
7 IS_PRELIMINARY_INVOICE Static method Public Method Check whether invoice is a provisional doc.(parked, on hold) 20090921
8 IS_UNPLANNED_SERVICE_LINE Static method Public Method Check whether service line is unplanned 20091027
9 POSITION_RELEVANT Static method Public Method Check whether final flag can be set (item level) 20100205
10 QTY_DISTRIBUTE_ABD Static method Public Method Calculate quantity at acct. assgmt level (distr. by amount) 20091103
11 QUANTITY_CALULATE_ABD Static method Private Method Calculate menge_f from WRBTR 20091103
Events
Class CL_MRM_MAA_FF has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_T_T163K Private See coding Account Assignment Categories in Purchasing Document 20100309 lty_t_t163k TYPE HASHED TABLE OF t163k WITH UNIQUE KEY knttp
Method Signatures

Method ACCOUNT_ASSIGNMENT_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_REUPD Call by reference Type reference (TYPE) REUPD Kontierung beim Rechnungseingang änderbar 20100309
2 Importing IV_KNTTP Call by reference Type reference (TYPE) KNTTP Kontierungstyp 20100309

Method ACCOUNT_ASSIGNMENT_CHANGEABLE on class CL_MRM_MAA_FF has no exception.

Method BPMNG_F_CALCULATE_ABD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_BPMNG_F Call by reference Type reference (TYPE) BPMNG_F Menge in BPME (als Gleitkommazahl - internes Feld) 20091103
2 Importing IS_DRSEG_CO Call by reference Type reference (TYPE) MMCR_DRSEG_CO 20091103
3 Importing IS_MRM_OPCK Call by reference Type reference (TYPE) MRM_OPCK Input Schnittstelle MRM_ORDER_PRICE_QUANTITY_CHECK 20091103

Method BPMNG_F_CALCULATE_ABD on class CL_MRM_MAA_FF has no exception.

Method COMPUTE_CHECK_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DRSEG Call by reference Type reference (TYPE) MMCR_DRSEG 20090918
2 Importing IS_DRSEG_CO Call by reference Type reference (TYPE) MMCR_DRSEG_CO 20090918
3 Returning RV_CHECK_QUANTITY Value transfer Type reference (TYPE) REMNG 20090918
# Exception Resumable Description Created on
1 CX_MRM_MESSAGE Exception mit Meldungsdaten 20090918

Method COMPUTE_CHECK_QUANTITY_F Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DRSEG Call by reference Type reference (TYPE) MMCR_DRSEG 20091023
2 Importing IS_DRSEG_CO Call by reference Type reference (TYPE) MMCR_DRSEG_CO 20091023
3 Returning RV_CHECK_QUANTITY_F Value transfer Type reference (TYPE) MENGE_F Menge (Gleitkommazahl - internes Feld) 20091023
# Exception Resumable Description Created on
1 CX_MRM_MESSAGE Exception mit Meldungsdaten 20091023

Method DOCUMENT_RELEVANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RBKPV Call by reference Type reference (TYPE) MRM_RBKPV 20100205
2 Returning RV_VALUE Value transfer Type reference (TYPE) ABAP_BOOL 20100205

Method DOCUMENT_RELEVANT on class CL_MRM_MAA_FF has no exception.

Method FINAL_QUANTITY_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NO_OPEN_QUANTITY Value transfer Type reference (TYPE) ABAP_BOOL 20100120
2 Exporting EV_QUANTITY_TOO_HIGH Value transfer Type reference (TYPE) ABAP_BOOL 20090918
3 Exporting EV_SURPLUS Value transfer Type reference (TYPE) MMCR_DRSEG_CO-REMNG 20091002
4 Importing IS_DRSEG Call by reference Type reference (TYPE) MMCR_DRSEG 20090918
5 Importing IS_DRSEG_CO Call by reference Type reference (TYPE) MMCR_DRSEG_CO 20090918
# Exception Resumable Description Created on
1 CX_MRM_MESSAGE Exception mit Meldungsdaten 20090918

Method IS_PRELIMINARY_INVOICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RBSTAT Call by reference Type reference (TYPE) RBSTAT 20090921
2 Returning RV_VALUE Value transfer Type reference (TYPE) ABAP_BOOL 20090921

Method IS_PRELIMINARY_INVOICE on class CL_MRM_MAA_FF has no exception.

Method IS_UNPLANNED_SERVICE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LEBRE Call by reference Type reference (TYPE) EKPO-LEBRE Kennzeichen für leistungsbezogene Rechnungsprüfung 20100120
2 Importing IV_PLN_INTROW Call by reference Type reference (TYPE) PLN_INTROW Erfassung: Planpaketzeile 20091027
3 Importing IV_PLN_PACKNO Call by reference Type reference (TYPE) PLN_PACKNO Quellpaketnummer 20091027
4 Importing IV_PSTYP Call by reference Type reference (TYPE) EKPO-PSTYP Positionstyp im Einkaufsbeleg 20091027
5 Importing IV_WEBRE Call by reference Type reference (TYPE) EKPO-WEBRE Kennzeichen für WE-bezogene Rechnungsprüfung 20091027
6 Returning RV_VALUE Value transfer Type reference (TYPE) ABAP_BOOL 20091027

Method IS_UNPLANNED_SERVICE_LINE on class CL_MRM_MAA_FF has no exception.

Method POSITION_RELEVANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACCOUNT_TYPE Call by reference Type reference (TYPE) KOART 20100205
2 Importing IV_ERP_CONTRACT_ID Call by reference Type reference (TYPE) KONNR 20100205
3 Importing IV_FPLNR Call by reference Type reference (TYPE) FPLNR Fakturierungs- / Rechnungsplannummer 20100309
4 Importing IV_KNTTP Call by reference Type reference (TYPE) KNTTP Kontierungstyp 20100309
5 Importing IV_LEBRE Call by reference Type reference (TYPE) LEBRE Kennzeichen für leistungsbezogene Rechnungsprüfung 20100205
6 Importing IV_PLN_INTROW Call by reference Type reference (TYPE) PLN_INTROW Erfassung: Planpaketzeile 20100205
7 Importing IV_PLN_PACKNO Call by reference Type reference (TYPE) PLN_PACKNO Quellpaketnummer 20100205
8 Importing IV_PSTYP Call by reference Type reference (TYPE) EKPO-PSTYP 20100205
9 Importing IV_RETPO Call by reference Type reference (TYPE) RETPO Retourenposition 20100205
10 Importing IV_VRTKZ Call by reference Type reference (TYPE) VRTKZ Verteilungskennzeichen für Mehrfachkontierung 20100309
11 Importing IV_WEBRE Call by reference Type reference (TYPE) WEBRE Kennzeichen für WE-bezogene Rechnungsprüfung 20100205
12 Importing IV_WEPOS Call by reference Type reference (TYPE) WEPOS Wareneingangskennzeichen 20100205
13 Importing IV_WEUNB Call by reference Type reference (TYPE) WEUNB Wareneingang unbewertet 20100205
14 Importing IV_XHISTMA Call by reference Type reference (TYPE) XHISTMA Kennzeichen Fortschreibung Multikontierung EKBE_MA, EKBZ_MA 20100205
15 Returning RV_VALUE Value transfer Type reference (TYPE) ABAP_BOOL 20100205

Method POSITION_RELEVANT on class CL_MRM_MAA_FF has no exception.

Method QTY_DISTRIBUTE_ABD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DRSEG_CO Call by reference Type reference (TYPE) MMCR_TDRSEG_CO 20091103
2 Importing IS_DRSEG Call by reference Type reference (TYPE) MMCR_DRSEG 20091103
# Exception Resumable Description Created on
1 CX_MRM_MESSAGE Exception mit Meldungsdaten 20091103

Method QUANTITY_CALULATE_ABD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DRSEG_CO_WRBTR Call by reference Type reference (TYPE) DRSEG-WRBTR Betrag in Belegwährung 20091103
2 Importing IV_DRSEG_MENGE Call by reference Type reference (TYPE) MENGE_F Menge (Gleitkommazahl - internes Feld) 20091103
3 Importing IV_DRSEG_WRBTR Call by reference Type reference (TYPE) DRSEG-WRBTR Betrag in Belegwährung 20091103
4 Returning RV_VALUE Value transfer Type reference (TYPE) MENGE_F Menge (Gleitkommazahl - internes Feld) 20091103

Method QUANTITY_CALULATE_ABD on class CL_MRM_MAA_FF has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605