SAP ABAP Class CL_IM_OIB_MIGO_BADI_TST (Imp. class for BAdI imp. OIB_MIGO_BADI_TST)
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_EX_MB_MIGO_BADI | BADI Interface IF_EX_MB_MIGO_BADI | 20030218 |
Properties
| Class | CL_IM_OIB_MIGO_BADI_TST | |
| Short Description | Imp. class for BAdI imp. OIB_MIGO_BADI_TST | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | OIB | HPM Hydrocarbon Product Management |
| Created | 20030218 | SAP |
| Last change | 20060208 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_IM_OIB_MIGO_BADI_TST has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_EX_MB_MIGO_BADI | BADI Interface IF_EX_MB_MIGO_BADI | 20030218 |
Friends
Class CL_IM_OIB_MIGO_BADI_TST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SYSUBRC | '104' | Error: Tracking-Indicator set in selected 303 posting | 20031030 | ||
| 2 | Constant | Private | Type reference (TYPE) | SYSUBRC | '105' | Error: Material of 303,305 don't match | 20031030 | ||
| 3 | Constant | Private | Type reference (TYPE) | SYSUBRC | '103' | Error: Trackind data not found | 20031030 | ||
| 4 | Constant | Private | Type reference (TYPE) | SYSUBRC | '106' | Error: Plant of 303,305 don't match | 20031030 | ||
| 5 | Constant | Private | Type reference (TYPE) | MIGO_CLASS_ID | 'OIB_MIGO_BADI_TST' | Class ID for MIGO Components (External Detail Screen) | 20031030 | ||
| 6 | Constant | Private | Type reference (TYPE) | SYSUBRC | '201' | Error: Duplicate Stock-Transfer-Order item | 20031030 | ||
| 7 | Constant | Private | Type reference (TYPE) | SYSUBRC | '203' | Error: EXTNR has to be set | 20031030 | ||
| 8 | Constant | Private | Type reference (TYPE) | SYSUBRC | '202' | Error: FTIND has to be set | 20031030 | ||
| 9 | Constant | Private | Type reference (TYPE) | SYSUBRC | '303' | Error for GI-MBST: GR already exists | 20031030 | ||
| 10 | Constant | Private | Type reference (TYPE) | SYSUBRC | '302' | Error for GI-Reversal: Not supportd | 20031030 | ||
| 11 | Constant | Private | Type reference (TYPE) | SYSUBRC | '301' | Error for GI: A not cancelled GI or GR already exists | 20031030 | ||
| 12 | Constant | Private | Type reference (TYPE) | SYSUBRC | '405' | Error for GR-MBST: Gain allready posted | 20031030 | ||
| 13 | Constant | Private | Type reference (TYPE) | SYSUBRC | '403' | Error for GR-Reveral: Not possible if gain already posted | 20031030 | ||
| 14 | Constant | Private | Type reference (TYPE) | SYSUBRC | '402' | Error for GR: Final Transfer Indicator already set | 20031030 | ||
| 15 | Constant | Private | Type reference (TYPE) | SYSUBRC | '401' | Error for GR: No goods issue exists | 20031030 | ||
| 16 | Constant | Private | Type reference (TYPE) | SYSUBRC | '501' | Error for GR: Out Of Tolerance error for gain | 20031030 | ||
| 17 | Constant | Private | Type reference (TYPE) | SYSUBRC | '502' | Error for GR: Out Of Tolerance warning for gain | 20031030 | ||
| 18 | Constant | Private | Type reference (TYPE) | SYSUBRC | '503' | Error for GR: Out Of Tolerance error for loss | 20031030 | ||
| 19 | Constant | Private | Type reference (TYPE) | SYSUBRC | '504' | Error for GR: Out Of Tolerance warning for loss | 20031030 | ||
| 20 | Constant | Private | Type reference (TYPE) | SYSUBRC | '101' | Internal error | 20031030 | ||
| 21 | Constant | Private | Type reference (TYPE) | SYSUBRC | '102' | Error: Table OIH30 is not maintained for Two-Step-Transfer | 20031030 | ||
| 22 | Static Attribute | Private | Type reference (TYPE) | OIB_S_GOHEAD_TST | Structure MSEGO1 for MIGO | 20030728 | |||
| 23 | Static Attribute | Private | Type reference (TYPE) | OIB_T_GOITEM_TST | Internal table to hold goitem | 20030218 | |||
| 24 | Static Attribute | Private | Type reference (TYPE) | TYT_OIH30 | Buffered data of table OIH30 | 20030218 | |||
| 25 | Static Attribute | Private | Type reference (TYPE) | TYT_OIH31 | Buffered data of table OIH31 | 20030218 | |||
| 26 | Static Attribute | Private | Type reference (TYPE) | GOACTION | Action can be carried out in the MIGO transaction | 20030218 | |||
| 27 | Instance attribute | Private | Type reference (TYPE) | REFDOC | Reference document for MIGO transaction | 20030218 | |||
| 28 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_OI0_MIGO | Global Class for MIGO implementation | 20030218 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check for duplicate Stock-Transfer-Order items | 20030218 | |
| 2 | Instance method | Private | Method | Check existing GIs, GRs, Reversals and Cancelations | 20030218 | |
| 3 | Instance method | Private | Method | Check Gain/loss handling | 20030218 | |
| 4 | Instance method | Private | Method | Check for duplicate Stock-Transfer-Order items | 20030812 | |
| 5 | Instance method | Private | Method | Check Gain/Loss tolerance | 20030218 | |
| 6 | Instance method | Private | Method | Get total amount of GI and GR | 20030218 | |
| 7 | Instance method | Private | Method | Determine read-only flags for sub screen | 20030218 | |
| 8 | Instance method | Private | Method | Check GI/GR tolerance | 20030218 | |
| 9 | Instance method | Private | Method | Find Two-Step-Tracking using ref. document | 20030729 | |
| 10 | Instance method | Private | Method | Get the customizing flag for external tracking indicator | 20030725 | |
| 11 | Instance method | Private | Method | Read tolerance parameters from OIH30 | 20030218 | |
| 12 | Instance method | Private | Method | Read tolerance parameters from OIH31 | 20030218 | |
| 13 | Instance method | Private | Method | Get Soll-Haben-Kennzeichen | 20030218 | |
| 14 | Instance method | Private | Method | Get silo data | 20030218 | |
| 15 | Instance method | Private | Method | Get additioan tracking information | 20030218 | |
| 16 | Static method | Public | Method | Called from MIGO to get two-step-transfer data | 20030218 | |
| 17 | Instance method | Private | Method | Get Storno Bewegung Kennzeichen | 20030218 |
Events
Class CL_IM_OIB_MIGO_BADI_TST has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYT_OIH30 | Private | See coding | 20030218 | |
||
| 2 | TYT_OIH31 | Private | See coding | 20030218 | |
Method Signatures
Method CHECK_DUP_STO_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position | 20030218 | |||
| 2 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Struktur für interne Tabelle in BADI für Zweischritt-Umlag. | 20030218 |
Method CHECK_DUP_STO_ITEM on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method CHECK_GI_GR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position | 20030218 | |||
| 2 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | MM-IM Enjoy: Positionsdaten | 20030218 |
Method CHECK_GI_GR on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method CHECK_G_L_HANDLING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position zur geteilten Umlagerung | 20030218 | |||
| 2 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Position in der geteilten Umlagerung | 20030218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Eintrag in OIH30 nicht vorhanden | 20030218 |
Method CHECK_OIH30I_MSEG305 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MSEG_303 | Call by reference | Type reference (TYPE) | MSEG | Belegsegment: Material | 20030814 | |||
| 2 | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position | 20030812 | |||
| 3 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Struktur für interne Tabelle in BADI für Zweischritt-Umlag. | 20030812 |
Method CHECK_OIH30I_MSEG305 on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method CHECK_TOLERANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position | 20030218 | |||
| 2 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Toleranzüberschreitung | 20030218 |
Method CHECK_TOLERANCE on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method DETERMINE_GI_GR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_GI | Call by reference | Type reference (TYPE) | MENGE_D | WA gesamt | 20030218 | |||
| 2 | E_GR | Call by reference | Type reference (TYPE) | MENGE_D | WE gesamt | 20030218 | |||
| 3 | E_XGI | Call by reference | Type reference (TYPE) | CHAR01 | Mindestens ein nicht stornierter WA | 20030218 | |||
| 4 | E_XGR | Call by reference | Type reference (TYPE) | CHAR01 | Mindestens ein nicht stornierter WE | 20030218 | |||
| 5 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Jahr der zusätzlichen Erfassungnummer (Get. Umlagerungen) | 20030218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | kein Eintrag vorhanden | 20030218 |
Method DETERMINE_SUB_SCREEN_FLAGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_EXTNR_READ_ONLY | Call by reference | Type reference (TYPE) | CHAR01 | Externe Erfassungsnummer auf NUR LESEZUGRIFF stellen | 20030620 | |||
| 2 | E_FTIND_READ_ONLY | Call by reference | Type reference (TYPE) | CHAR01 | Verfolgungs-Endkennzeichen auf NUR LESEZUGRIFF stellen | 20030218 | |||
| 3 | E_TRKNR_READ_ONLY | Call by reference | Type reference (TYPE) | CHAR01 | Interne Verfolgungsnummer auf NUR LESEZUGRIFF stellen | 20030730 | |||
| 4 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | MM-IM Enjoy: Positionsdaten | 20030218 |
Method DETERMINE_SUB_SCREEN_FLAGS on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method DETERMINE_TOLERANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_GAIN | Call by reference | Type reference (TYPE) | MENGE_D | Charakterfeld der Länge 1 | 20030218 | |||
| 2 | E_LOSS | Call by reference | Type reference (TYPE) | MENGE_D | Menge | 20030218 | |||
| 3 | E_OOT | Call by reference | Type reference (TYPE) | CHAR01 | Toleranzüberschreitung | 20030218 | |||
| 4 | E_TOLERANCE | Call by reference | Type reference (TYPE) | OIH_TOL | Toleranzüberschreitung in Prozent | 20030218 | |||
| 5 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Menge | 20030218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Eintrag in OIH30 nicht vorhanden | 20030310 |
Method FIND_TCKNR_BY_REF_DOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_OITRKJR | Call by reference | Type reference (TYPE) | OIH_TRKJR | Jahr der zusätzlichen Erfassungnummer (Get. Umlagerungen) | 20030729 | |||
| 2 | E_OITRKNR | Call by reference | Type reference (TYPE) | OIH_TRKNR | Zusätzliche Erfassungsnummer für geteilte Umlagerungen | 20030729 | |||
| 3 | I_MBLNR | Call by reference | Type reference (TYPE) | MBLNR | Nummer des Materialbelegs | 20030729 | |||
| 4 | I_MJAHR | Call by reference | Type reference (TYPE) | MJAHR | Materialbelegjahr | 20030729 | |||
| 5 | I_ZEILE | Call by reference | Type reference (TYPE) | MBLPO | Position im Materialbeleg | 20030729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Eintrag in OIH30H ist nicht vorhanden | 20030729 |
Method GET_CKEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CKEXT | Value transfer | Type reference (TYPE) | OIH_CKEXT | Steuerungstabelle für geteilte Umlagerungen | 20030725 | |||
| 2 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Menge | 20030725 |
Method GET_CKEXT on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method GET_OIH30 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_OIH30 | Value transfer | Type reference (TYPE) | OIH30 | Steuerungstabelle für geteilte Umlagerungen | 20030218 | |||
| 2 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Menge | 20030218 |
Method GET_OIH30 on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method GET_OIH31 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_OIH31 | Value transfer | Type reference (TYPE) | OIH31 | Materialspezifische Toleranztabelle | 20030218 | |||
| 2 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Menge | 20030218 |
Method GET_OIH31 on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method GET_SHKZG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SHKZG | Value transfer | Type reference (TYPE) | SHKZG | Soll-/Haben-Kennzeichen | 20030218 | |||
| 2 | I_BWART | Call by reference | Type reference (TYPE) | BWART | Bewegungsart (Bestandsführung) | 20030218 |
Method GET_SHKZG on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method GET_SILO_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ISS_SEQNR | Call by reference | Type reference (TYPE) | OIISOCISL-SEQNR | Laufende Nr. des dem Lagerort zugeordneten Lagerobjektes | 20030218 | |||
| 2 | E_REC_SEQNR | Call by reference | Type reference (TYPE) | OIISOCISL-SEQNR | Laufende Nr. des dem Lagerort zugeordneten Lagerobjektes | 20030218 | |||
| 3 | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Struktur für interne Tabelle in BADI für Zweischritt-Umlag. | 20030218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Silodaten vorhanden | 20030218 | ||
| 2 | Tank ist zugeordnet, aber nicht relevant | 20030218 |
Method GET_TRACKING_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_OIEXTNR | Call by reference | Type reference (TYPE) | OIH_EXTNR | Externe Erfassungsnummer für Umlagerung | 20030218 | |||
| 2 | E_OIFTIND | Call by reference | Type reference (TYPE) | OIH_FTIND | Kennzeichen für letzte Warenbewegung (Bewegung ausbuchen) | 20030218 | |||
| 3 | I_OITRKJR | Call by reference | Type reference (TYPE) | OIH_TRKJR | Jahr der zusätzlichen Erfassungnummer (Get. Umlagerungen) | 20030218 | |||
| 4 | I_OITRKNR | Call by reference | Type reference (TYPE) | OIH_TRKNR | Zusätzliche Erfassungsnummer für geteilte Umlagerungen | 20030218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | kein Eintrag vorhanden | 20030310 |
Method GET_TST_DTLS_FOR_POSTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_IMSEG | Call by reference | Type reference (TYPE) | TY_T_IMSEG | Tabellentyp mit Struktur IMSEG | 20030218 | |||
| 2 | IT_GOITEM | Call by reference | Type reference (TYPE) | OIB_T_GOITEM | Tabellentyp zu GOITEM, HPM-Mengen | 20030218 |
Method GET_TST_DTLS_FOR_POSTING on class CL_IM_OIB_MIGO_BADI_TST has no exception.
Method GET_XSTBW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_XSTBW | Value transfer | Type reference (TYPE) | XSTBW | Soll-/Haben-Kennzeichen | 20030218 | |||
| 2 | I_BWART | Call by reference | Type reference (TYPE) | BWART | Bewegungsart (Bestandsführung) | 20030218 |
Method GET_XSTBW on class CL_IM_OIB_MIGO_BADI_TST has no exception.
History
| Last changed by/on | SAP | 20060208 |
| SAP Release Created in | 472 |