SAP ABAP Class CL_IM_OIB_MIGO_BADI_QCI (Imp. class for BAdI imp. OIB_MIGO_BADI)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       OIB (Package) HPM Hydrocarbon Product Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20110523
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_MB_MIGO_BADI BADI Interface IF_EX_MB_MIGO_BADI 20030217
Properties
Class CL_IM_OIB_MIGO_BADI_QCI  
Short Description Imp. class for BAdI imp. OIB_MIGO_BADI    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package OIB   HPM Hydrocarbon Product Management 
Created 20030217   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_IM_OIB_MIGO_BADI_QCI has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20110523
2 IF_EX_MB_MIGO_BADI BADI Interface IF_EX_MB_MIGO_BADI 20030217
Friends
Class CL_IM_OIB_MIGO_BADI_QCI has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CLASS_ID Constant Private Type reference (TYPE) MIGO_CLASS_ID 'OIB_MIGO_BADI_QCI' Class ID for MIGO Components (External Detail Screen) 20031030
2 C_QCI_STATUS_OK Constant Private Type reference (TYPE) SYSUBRC '0' Status OK 20030217
3 C_QCI_STATUS_RECALC Constant Private Type reference (TYPE) SYSUBRC '100' Need Recalculation 20030217
4 C_QCI_STATUS_RESET_DEF Constant Private Type reference (TYPE) SYSUBRC '101' Change on Document header: QCI-Defaults have to be reset 20030410
5 C_SUBSEQUENT_ADJ Constant Private Type reference (TYPE) SYSUBRC '102' Subsequent adjustment not supported 20031106
6 MS_GOHEAD_QCI Static Attribute Private Type reference (TYPE) OIB_S_GOHEAD_QCI HPM-Relevant GOHEAD Info 20030217
7 MT_GOITEM_QCI Static Attribute Private Type reference (TYPE) OIB_T_GOITEM_QCI HPM-Relevant GOITEM Info 20030217
8 M_ACTION Static Attribute Private Type reference (TYPE) GOACTION Action Can Be Carried Out in the MIGO Transaction 20030217
9 M_LINE_ID_SUB_SCREEN Static Attribute Private Type reference (TYPE) MB_LINE_ID Last Line_id Successfully Processed in PBO_DETAIL 20030217
10 M_REFO_OI0_MIGO Static Attribute Private Object reference (TYPE REF TO) CL_OI0_MIGO Global Class for MIGO implementation 20030217
Methods
# Method Level Visibility Method type Description Created on
1 COPY_GOITEM_MIGO_TO_GOITEM_QCI Instance method Private Method Copy data from migo to internal table 20030217
2 COPY_GOITEM_QCI_TO_GOITEM_MIGO Instance method Private Method Copy data from internal table to migo 20030217
3 DETERMINE_SUB_SCREEN_FLAGS Instance method Private Method Determine the read_only flags and to no_calc flag 20030217
4 GET_ADQTY_UOM Instance method Private Method Determine UoMs 20030217
5 GET_CMETH_OF_ITEM Static method Public Method Returns the Cmeth of an item 20030217
6 GET_QCI_DEFAULTS Instance method Private Method Reads the QCI default values 20030217
7 GET_QCI_DTLS_FOR_POSTING Static method Public Method Build msego1 and mseg02 20030217
8 GET_QUANTITY_OF_ITEM Static method Public Method Returns the quantity for a UoM from the t_adqty table 20030217
9 MOVE_QCI_CONTROL_TO_PARAM Instance method Private Method Move the QCI control structure (OIB_A11) to t_param 20030217
10 NEED_GET_ADQTY Instance method Private Method Returns true if read_param_adqty_from_db needs to be called 20030217
11 NEED_GET_QCI_DEFAULTS Instance method Private Method Returns true if read_param_adqty_from_db needs to be called 20030217
12 NEED_READ_PARAM_ADQTY_FROM_DB Instance method Private Method Returns true if read_param_adqty_from_db needs to be called 20030217
13 QUANTITY_CONVERSION Instance method Private Method Perform a quantity conversion 20030217
14 READ_PARAM_ADQTY_FROM_DB Instance method Private Method Read the records for msego1 and msego2 from db 20030217
Events
Class CL_IM_OIB_MIGO_BADI_QCI has no event.
Types
Class CL_IM_OIB_MIGO_BADI_QCI has no local type.
Method Signatures

Method COPY_GOITEM_MIGO_TO_GOITEM_QCI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_GOITEM_QCI Call by reference Type reference (TYPE) OIB_S_GOITEM_QCI Structur MSEGO1 für MIGO 20030217
2 Importing IS_GOITEM Call by reference Type reference (TYPE) GOITEM MM-IM Enjoy: Positionsdaten 20030217

Method COPY_GOITEM_MIGO_TO_GOITEM_QCI on class CL_IM_OIB_MIGO_BADI_QCI has no exception.

Method COPY_GOITEM_QCI_TO_GOITEM_MIGO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_GOITEM Call by reference Type reference (TYPE) GOITEM MM-IM Enjoy: Positionsdaten 20030217
2 Importing I_LINE_ID Call by reference Type reference (TYPE) MB_LINE_ID Eindeutige Kennung der Belegzeile 20030217

Method COPY_GOITEM_QCI_TO_GOITEM_MIGO on class CL_IM_OIB_MIGO_BADI_QCI has no exception.

Method DETERMINE_SUB_SCREEN_FLAGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ADQTY_READ_ONLY Call by reference Type reference (TYPE) CHAR01 Charakterfeld der Länge 1 20030217
2 Exporting E_NO_CALC Call by reference Type reference (TYPE) CHAR01 Charakterfeld der Länge 1 20030217
3 Exporting E_PARAM_READ_ONLY Call by reference Type reference (TYPE) CHAR01 Charakterfeld der Länge 1 20030217
4 Importing IS_GOITEM_QCI Call by reference Type reference (TYPE) OIB_S_GOITEM_QCI Struktur für SMU-BADI 20030217

Method DETERMINE_SUB_SCREEN_FLAGS on class CL_IM_OIB_MIGO_BADI_QCI has no exception.

Method GET_ADQTY_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_ADQTY Value transfer Type reference (TYPE) OI_T_QCI_QTY Tabellentyp von oib05 20030217
2 Importing IS_GOITEM Call by reference Type reference (TYPE) GOITEM MM-IM Enjoy: Positionsdaten 20030217

Method GET_ADQTY_UOM on class CL_IM_OIB_MIGO_BADI_QCI has no exception.

Method GET_CMETH_OF_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_CMETH Value transfer Type reference (TYPE) OIB_CMETH Kennzeichen für Ölmengenkonvertierungsmethode 20030217
2 Importing I_LINE_ID Call by reference Type reference (TYPE) MB_LINE_ID Eindeutige Kennung der Belegzeile 20030217

Method GET_CMETH_OF_ITEM on class CL_IM_OIB_MIGO_BADI_QCI has no exception.

Method GET_QCI_DEFAULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PARAM Call by reference Type reference (TYPE) OI_T_QCI_TAB Tabellentyp für SMU-Parametertabelle (Schnittst. Mengenumr.) 20030217
2 Changing C_QCI_DEF_DATE Call by reference Type reference (TYPE) DATUM Datum im CHAR-Format 20030217
3 Changing C_QCI_DEF_GUID Call by reference Type reference (TYPE) GUID_32 GUID in CHAR-Format in Großbuchstaben 20030217
4 Changing C_RDGGRP Call by reference Type reference (TYPE) OIB_RDGGROUP HPM-Parametergruppe für Parameter-Vorschlagswerte 20030217
5 Importing I_CHARG Call by reference Type reference (TYPE) CHARG_D Tabelle nach SAPLMBIN für Chargen-/Bestandsauswahl übertrag. 20030217
6 Importing I_DATE_FLAG Call by reference Type reference (TYPE) C 20050228
7 Importing I_LGORT Call by reference Type reference (TYPE) LGORT_D Lagerort 20030217
8 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20030217
9 Importing I_QCI_DEF_DATE Call by reference Type reference (TYPE) DATUM Buchungsdatum im Beleg 20030217
10 Importing I_QCI_DEF_TIME Call by reference Type reference (TYPE) OIB_BLTIME Posting time in the document 20110523
11 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20030217
# Exception Resumable Description Created on
1 MARC_SINGLE_READ_FAILED Ausnahme in FBS MARC_SINGLE_READ 20030217
2 MOVE_FIELD_TO_ITAB_FAILED Ausnahme in FBS OIB_QCI_MOVE_FIELD_TO_ITAB 20030217
3 QCI_DEFAULTS_FAILED Ausnahme bei der Ermittlung von SMU-Vorschlagswerten 20030314

Method GET_QCI_DTLS_FOR_POSTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_IMSEG Call by reference Type reference (TYPE) TY_T_IMSEG MMIM: Eingangsstr. für allg. FBS zur Verbuch. von Warenbew. 20030217
2 Exporting ET_MSEGO1 Call by reference Type reference (TYPE) OIB_T_MSEGO1 Tabellentyp für msego1 20030217
3 Exporting ET_MSEGO2 Call by reference Type reference (TYPE) OIB_T_MSEGO2 Tabellentyp für msego2 20030217
4 Importing IT_GOITEM Call by reference Type reference (TYPE) OIB_T_GOITEM Tabellentyp für imseg 20030217
# Exception Resumable Description Created on
1 MOVE_ITAB_TO_STRUC_FAILED Ausnahme in FBS OIB_QCI_MOVE_ITAB_TO_STRUC 20030217

Method GET_QUANTITY_OF_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_ADQNT Value transfer Type reference (TYPE) OIB_ADQNT Zusatzmenge Mineralöl/Gas 20030217
2 Importing I_LINE_ID Call by reference Type reference (TYPE) MB_LINE_ID Eindeutige Kennung der Belegzeile 20030217
3 Importing I_MEINS Call by reference Type reference (TYPE) MSEHI Maßeinheit 20030217
# Exception Resumable Description Created on
1 ERROR Weitere Fehler 20030217
2 INVALID_LINE_ID Menge konnte nicht ermittelt werden. 20030217
3 QCI_ERROR Fehler bei der SMU-Umrechnung 20030217

Method MOVE_QCI_CONTROL_TO_PARAM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PARAM Call by reference Type reference (TYPE) OI_T_QCI_TAB Tabellentyp für SMU-Parametertabelle (Schnittst. Mengenumr.) 20030217
2 Importing IS_MIGO Call by reference Type reference (TYPE) OIB_S_MIGO_QCI HPM/SMU: Steuerungsparameter-Struktur für SMU 20030217
# Exception Resumable Description Created on
1 MOVE_STRUC_TO_ITAB_FAILED Ausnahme in FBS OIB_QCI_MOVE_STRUC_TO_ITAB 20030217

Method NEED_GET_ADQTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_RESULT Value transfer Type reference (TYPE) CHAR01 Ergebniswert 20030217
2 Importing IS_GOITEM Call by reference Type reference (TYPE) GOITEM MM-IM Enjoy: Positionsdaten 20030217
3 Importing IS_GOITEM_QCI Call by reference Type reference (TYPE) OIB_S_GOITEM_QCI Structur MSEGO1 für MIGO 20030217

Method NEED_GET_ADQTY on class CL_IM_OIB_MIGO_BADI_QCI has no exception.

Method NEED_GET_QCI_DEFAULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_RESULT Value transfer Type reference (TYPE) CHAR01 Ergebniswert 20030217
2 Importing IS_GOHEAD_QCI Call by reference Type reference (TYPE) OIB_S_GOHEAD_QCI Structur MSEGO1 für MIGO 20030217
3 Importing IS_GOITEM Call by reference Type reference (TYPE) GOITEM MM-IM Enjoy: Positionsdaten 20030217
4 Importing IS_GOITEM_QCI Call by reference Type reference (TYPE) OIB_S_GOITEM_QCI Structur MSEGO1 für MIGO 20030217

Method NEED_GET_QCI_DEFAULTS on class CL_IM_OIB_MIGO_BADI_QCI has no exception.

Method NEED_READ_PARAM_ADQTY_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_RESULT Value transfer Type reference (TYPE) CHAR01 Ergebniswert 20030217
2 Importing IS_GOITEM Call by reference Type reference (TYPE) GOITEM MM-IM Enjoy: Positionsdaten 20030217
3 Importing IS_GOITEM_QCI Call by reference Type reference (TYPE) OIB_S_GOITEM_QCI Structur MSEGO1 für MIGO 20030217

Method NEED_READ_PARAM_ADQTY_FROM_DB on class CL_IM_OIB_MIGO_BADI_QCI has no exception.

Method QUANTITY_CONVERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ADQTY Call by reference Type reference (TYPE) OI_T_QCI_QTY Tabellentyp für Business-Add-In: OIB_QCI_ROUND_QTY 20030217
2 Changing CT_PARAM Call by reference Type reference (TYPE) OI_T_QCI_TAB Tabellentyp für SMU-Parametertabelle (Schnittst. Mengenumr.) 20030217
3 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Rückgabeparameter-Tabelle 20030217
# Exception Resumable Description Created on
1 QC_FAILED Fehler bei der Mengenumwandlung 20030217

Method READ_PARAM_ADQTY_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ADQTY Call by reference Type reference (TYPE) OI_T_QCI_QTY Tabellentyp für Business-Add-In: OIB_QCI_ROUND_QTY 20030217
2 Exporting ET_PARAM Call by reference Type reference (TYPE) OI_T_QCI_TAB Tabellentyp für SMU-Parametertabelle (Schnittst. Mengenumr.) 20030217
3 Importing I_MBLNR Value transfer Type reference (TYPE) MBLNR Nummer des Materialbelegs 20030217
4 Importing I_MJAHR Value transfer Type reference (TYPE) MJAHR Materialbeleg Jahr 20030217
5 Importing I_ZEILE Value transfer Type reference (TYPE) MBLPO Position im Materialbeleg 20030217
# Exception Resumable Description Created on
1 MOVE_STRUC_TO_ITAB_FAILED Ausnahme in FBS OIB_QCI_MOVE_STRUC_TO_ITAB 20030217
2 READ_MSEGO1_FAILED Fehler beim Lesen der zugehörigen Tabelle msego1 20030217
3 READ_MSEGO2_FAILED Fehler beim Lesen der zugehörigen Tabelle msego2 20030217
History
Last changed by/on SAP  20130531 
SAP Release Created in 472