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
⤷ 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 | C_305_FTIND_SET | Constant | Private | Type reference (TYPE) | SYSUBRC | '104' | Error: Tracking-Indicator set in selected 303 posting | 20031030 | |
2 | C_305_MATNR_DONT_MATCH | Constant | Private | Type reference (TYPE) | SYSUBRC | '105' | Error: Material of 303,305 don't match | 20031030 | |
3 | C_305_NO_TST | Constant | Private | Type reference (TYPE) | SYSUBRC | '103' | Error: Trackind data not found | 20031030 | |
4 | C_305_WERKS_DONT_MATCH | Constant | Private | Type reference (TYPE) | SYSUBRC | '106' | Error: Plant of 303,305 don't match | 20031030 | |
5 | C_CLASS_ID | Constant | Private | Type reference (TYPE) | MIGO_CLASS_ID | 'OIB_MIGO_BADI_TST' | Class ID for MIGO Components (External Detail Screen) | 20031030 | |
6 | C_DUP_STO_ITEM | Constant | Private | Type reference (TYPE) | SYSUBRC | '201' | Error: Duplicate Stock-Transfer-Order item | 20031030 | |
7 | C_EXTNR_NOT_SET | Constant | Private | Type reference (TYPE) | SYSUBRC | '203' | Error: EXTNR has to be set | 20031030 | |
8 | C_FTIND_NOT_SET | Constant | Private | Type reference (TYPE) | SYSUBRC | '202' | Error: FTIND has to be set | 20031030 | |
9 | C_GIMBST_GR_EXISTS | Constant | Private | Type reference (TYPE) | SYSUBRC | '303' | Error for GI-MBST: GR already exists | 20031030 | |
10 | C_GIREV_NOT_SUPPORTED | Constant | Private | Type reference (TYPE) | SYSUBRC | '302' | Error for GI-Reversal: Not supportd | 20031030 | |
11 | C_GI_GI_GR_EXISTS | Constant | Private | Type reference (TYPE) | SYSUBRC | '301' | Error for GI: A not cancelled GI or GR already exists | 20031030 | |
12 | C_GRMBST_GAIN_EXISTS | Constant | Private | Type reference (TYPE) | SYSUBRC | '405' | Error for GR-MBST: Gain allready posted | 20031030 | |
13 | C_GRREV_GAIN_EXISTS | Constant | Private | Type reference (TYPE) | SYSUBRC | '403' | Error for GR-Reveral: Not possible if gain already posted | 20031030 | |
14 | C_GR_FTIND | Constant | Private | Type reference (TYPE) | SYSUBRC | '402' | Error for GR: Final Transfer Indicator already set | 20031030 | |
15 | C_GR_GI_NOT_EXISTS | Constant | Private | Type reference (TYPE) | SYSUBRC | '401' | Error for GR: No goods issue exists | 20031030 | |
16 | C_GR_OOT_GAIN_E | Constant | Private | Type reference (TYPE) | SYSUBRC | '501' | Error for GR: Out Of Tolerance error for gain | 20031030 | |
17 | C_GR_OOT_GAIN_W | Constant | Private | Type reference (TYPE) | SYSUBRC | '502' | Error for GR: Out Of Tolerance warning for gain | 20031030 | |
18 | C_GR_OOT_LOSS_E | Constant | Private | Type reference (TYPE) | SYSUBRC | '503' | Error for GR: Out Of Tolerance error for loss | 20031030 | |
19 | C_GR_OOT_LOSS_W | Constant | Private | Type reference (TYPE) | SYSUBRC | '504' | Error for GR: Out Of Tolerance warning for loss | 20031030 | |
20 | C_INTERNAL_ERROR | Constant | Private | Type reference (TYPE) | SYSUBRC | '101' | Internal error | 20031030 | |
21 | C_OIH30_NOT_MAINTAINED | Constant | Private | Type reference (TYPE) | SYSUBRC | '102' | Error: Table OIH30 is not maintained for Two-Step-Transfer | 20031030 | |
22 | MS_GOHEAD_TST | Static Attribute | Private | Type reference (TYPE) | OIB_S_GOHEAD_TST | Structure MSEGO1 for MIGO | 20030728 | ||
23 | MT_GOITEM_TST | Static Attribute | Private | Type reference (TYPE) | OIB_T_GOITEM_TST | Internal table to hold goitem | 20030218 | ||
24 | MT_OIH30 | Static Attribute | Private | Type reference (TYPE) | TYT_OIH30 | Buffered data of table OIH30 | 20030218 | ||
25 | MT_OIH31 | Static Attribute | Private | Type reference (TYPE) | TYT_OIH31 | Buffered data of table OIH31 | 20030218 | ||
26 | M_ACTION | Static Attribute | Private | Type reference (TYPE) | GOACTION | Action can be carried out in the MIGO transaction | 20030218 | ||
27 | M_REFDOC | Instance attribute | Private | Type reference (TYPE) | REFDOC | Reference document for MIGO transaction | 20030218 | ||
28 | M_REFO_OI0_MIGO | 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 | CHECK_DUP_STO_ITEM | Instance method | Private | Method | Check for duplicate Stock-Transfer-Order items | 20030218 |
2 | CHECK_GI_GR | Instance method | Private | Method | Check existing GIs, GRs, Reversals and Cancelations | 20030218 |
3 | CHECK_G_L_HANDLING | Instance method | Private | Method | Check Gain/loss handling | 20030218 |
4 | CHECK_OIH30I_MSEG305 | Instance method | Private | Method | Check for duplicate Stock-Transfer-Order items | 20030812 |
5 | CHECK_TOLERANCE | Instance method | Private | Method | Check Gain/Loss tolerance | 20030218 |
6 | DETERMINE_GI_GR | Instance method | Private | Method | Get total amount of GI and GR | 20030218 |
7 | DETERMINE_SUB_SCREEN_FLAGS | Instance method | Private | Method | Determine read-only flags for sub screen | 20030218 |
8 | DETERMINE_TOLERANCE | Instance method | Private | Method | Check GI/GR tolerance | 20030218 |
9 | FIND_TCKNR_BY_REF_DOC | Instance method | Private | Method | Find Two-Step-Tracking using ref. document | 20030729 |
10 | GET_CKEXT | Instance method | Private | Method | Get the customizing flag for external tracking indicator | 20030725 |
11 | GET_OIH30 | Instance method | Private | Method | Read tolerance parameters from OIH30 | 20030218 |
12 | GET_OIH31 | Instance method | Private | Method | Read tolerance parameters from OIH31 | 20030218 |
13 | GET_SHKZG | Instance method | Private | Method | Get Soll-Haben-Kennzeichen | 20030218 |
14 | GET_SILO_DATA | Instance method | Private | Method | Get silo data | 20030218 |
15 | GET_TRACKING_DATA | Instance method | Private | Method | Get additioan tracking information | 20030218 |
16 | GET_TST_DTLS_FOR_POSTING | Static method | Public | Method | Called from MIGO to get two-step-transfer data | 20030218 |
17 | GET_XSTBW | 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 | Exporting | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position | 20030218 | ||
2 | Importing | 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 | Exporting | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position | 20030218 | ||
2 | Importing | 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 | Exporting | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position zur geteilten Umlagerung | 20030218 | ||
2 | Importing | 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 | NOT_FOUND | 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 | Exporting | ES_MSEG_303 | Call by reference | Type reference (TYPE) | MSEG | Belegsegment: Material | 20030814 | ||
2 | Exporting | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position | 20030812 | ||
3 | Importing | 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 | Exporting | E_TST_STATUS | Call by reference | Type reference (TYPE) | SYSUBRC | Fehlerstatus der Position | 20030218 | ||
2 | Importing | 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 | Exporting | E_GI | Call by reference | Type reference (TYPE) | MENGE_D | WA gesamt | 20030218 | ||
2 | Exporting | E_GR | Call by reference | Type reference (TYPE) | MENGE_D | WE gesamt | 20030218 | ||
3 | Exporting | E_XGI | Call by reference | Type reference (TYPE) | CHAR01 | Mindestens ein nicht stornierter WA | 20030218 | ||
4 | Exporting | E_XGR | Call by reference | Type reference (TYPE) | CHAR01 | Mindestens ein nicht stornierter WE | 20030218 | ||
5 | Importing | 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 | NOT_FOUND | 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 | Exporting | E_EXTNR_READ_ONLY | Call by reference | Type reference (TYPE) | CHAR01 | Externe Erfassungsnummer auf NUR LESEZUGRIFF stellen | 20030620 | ||
2 | Exporting | E_FTIND_READ_ONLY | Call by reference | Type reference (TYPE) | CHAR01 | Verfolgungs-Endkennzeichen auf NUR LESEZUGRIFF stellen | 20030218 | ||
3 | Exporting | E_TRKNR_READ_ONLY | Call by reference | Type reference (TYPE) | CHAR01 | Interne Verfolgungsnummer auf NUR LESEZUGRIFF stellen | 20030730 | ||
4 | Importing | 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 | Exporting | E_GAIN | Call by reference | Type reference (TYPE) | MENGE_D | Charakterfeld der Länge 1 | 20030218 | ||
2 | Exporting | E_LOSS | Call by reference | Type reference (TYPE) | MENGE_D | Menge | 20030218 | ||
3 | Exporting | E_OOT | Call by reference | Type reference (TYPE) | CHAR01 | Toleranzüberschreitung | 20030218 | ||
4 | Exporting | E_TOLERANCE | Call by reference | Type reference (TYPE) | OIH_TOL | Toleranzüberschreitung in Prozent | 20030218 | ||
5 | Importing | IS_GOITEM_TST | Call by reference | Type reference (TYPE) | OIB_S_GOITEM_TST | Menge | 20030218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | OIH30_NOT_FOUND | 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 | Exporting | E_OITRKJR | Call by reference | Type reference (TYPE) | OIH_TRKJR | Jahr der zusätzlichen Erfassungnummer (Get. Umlagerungen) | 20030729 | ||
2 | Exporting | E_OITRKNR | Call by reference | Type reference (TYPE) | OIH_TRKNR | Zusätzliche Erfassungsnummer für geteilte Umlagerungen | 20030729 | ||
3 | Importing | I_MBLNR | Call by reference | Type reference (TYPE) | MBLNR | Nummer des Materialbelegs | 20030729 | ||
4 | Importing | I_MJAHR | Call by reference | Type reference (TYPE) | MJAHR | Materialbelegjahr | 20030729 | ||
5 | Importing | I_ZEILE | Call by reference | Type reference (TYPE) | MBLPO | Position im Materialbeleg | 20030729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | OIH30I_NOT_FOUND | 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 | Returning | E_CKEXT | Value transfer | Type reference (TYPE) | OIH_CKEXT | Steuerungstabelle für geteilte Umlagerungen | 20030725 | ||
2 | Importing | 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 | Returning | ES_OIH30 | Value transfer | Type reference (TYPE) | OIH30 | Steuerungstabelle für geteilte Umlagerungen | 20030218 | ||
2 | Importing | 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 | Returning | ES_OIH31 | Value transfer | Type reference (TYPE) | OIH31 | Materialspezifische Toleranztabelle | 20030218 | ||
2 | Importing | 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 | Returning | E_SHKZG | Value transfer | Type reference (TYPE) | SHKZG | Soll-/Haben-Kennzeichen | 20030218 | ||
2 | Importing | 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 | Exporting | E_ISS_SEQNR | Call by reference | Type reference (TYPE) | OIISOCISL-SEQNR | Laufende Nr. des dem Lagerort zugeordneten Lagerobjektes | 20030218 | ||
2 | Exporting | E_REC_SEQNR | Call by reference | Type reference (TYPE) | OIISOCISL-SEQNR | Laufende Nr. des dem Lagerort zugeordneten Lagerobjektes | 20030218 | ||
3 | Importing | 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 | NOT_FOUND | Keine Silodaten vorhanden | 20030218 | |
2 | NOT_RELEVANT | 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 | Exporting | E_OIEXTNR | Call by reference | Type reference (TYPE) | OIH_EXTNR | Externe Erfassungsnummer für Umlagerung | 20030218 | ||
2 | Exporting | E_OIFTIND | Call by reference | Type reference (TYPE) | OIH_FTIND | Kennzeichen für letzte Warenbewegung (Bewegung ausbuchen) | 20030218 | ||
3 | Importing | I_OITRKJR | Call by reference | Type reference (TYPE) | OIH_TRKJR | Jahr der zusätzlichen Erfassungnummer (Get. Umlagerungen) | 20030218 | ||
4 | Importing | I_OITRKNR | Call by reference | Type reference (TYPE) | OIH_TRKNR | Zusätzliche Erfassungsnummer für geteilte Umlagerungen | 20030218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | OIH30_NOT_FOUND | 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 | Changing | CT_IMSEG | Call by reference | Type reference (TYPE) | TY_T_IMSEG | Tabellentyp mit Struktur IMSEG | 20030218 | ||
2 | Importing | 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 | Returning | E_XSTBW | Value transfer | Type reference (TYPE) | XSTBW | Soll-/Haben-Kennzeichen | 20030218 | ||
2 | Importing | 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 |