SAP ABAP Class CL_MMIM_CROSS_SYSTEM (Cross-System Flow of Goods (MM-IM))
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM (Application Component) Customer Relationship Management
⤷
CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷
MB (Package) Application development R/3 inventory management
⤷
⤷
⤷
Properties
| Class | CL_MMIM_CROSS_SYSTEM | |
| Short Description | Cross-System Flow of Goods (MM-IM) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MB | Application development R/3 inventory management |
| Created | 20000512 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_MMIM_CROSS_SYSTEM has no interface implemented.
Friends
Class CL_MMIM_CROSS_SYSTEM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | KZDIR_MB | ' ' | Integrated Case | 20000630 | ||
| 2 | Constant | Public | Type reference (TYPE) | KZDIR_MB | 'R' | Receiver | 20000630 | ||
| 3 | Constant | Public | Type reference (TYPE) | KZDIR_MB | 'S' | Sender | 20000630 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | KZDIR_MB | Current Mode of Class | 20000630 | |||
| 5 | Static Attribute | Public | Type reference (TYPE) | LOGSYS | Own Logical System | 20000630 | |||
| 6 | Static Attribute | Public | Type reference (TYPE) | CROSS_SYSTEM_VERSION | Version of the Class | 20000630 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | TY_S_HEADER_BUFFER | Header Data of MB_CREATE | 20000630 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | VBW_BATCHES_DIST_T | Batches to Be Distributed | 20000630 | |||
| 9 | Static Attribute | Private | See coding | Main Buffer (Key: RECVSYSTEM) | 20000630 | ||||
| 10 | Static Attribute | Private | See coding | Buffer für CSL Token | 20010215 | ||||
| 11 | Static Attribute | Private | Type reference (TYPE) | BAPI2017_SAP_T_DATASTORE | Table for CL_MMIM_DATASTORE <-> GOODSMVT_CREATE (extension) | 20000630 | |||
| 12 | Static Attribute | Private | See coding | Assignment LINE_ID --> Receiver | 20000630 | ||||
| 13 | Static Attribute | Private | See coding | Item Data | 20000630 | ||||
| 14 | Static Attribute | Private | See coding | Buffer for Plant --> Logical System | 20000630 | ||||
| 15 | Static Attribute | Private | See coding | Buffer for BWAR --> KZDIR | 20000630 | ||||
| 16 | Static Attribute | Private | See coding | Buffer for Valuation Data | 20000630 | ||||
| 17 | Static Attribute | Private | See coding | Buffer for FI Assignment Number | 20000630 | ||||
| 18 | Static Attribute | Private | Object reference (TYPE REF TO) | MB_CROSS_SYSTEM_SAP | BAdI Interface IF_EX_MB_CROSS_SYSTEM_SAP | 20050208 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Buffer Incoming Data for SAPMM07M/SAPLMBGB (Receiver) | 20000529 | |
| 2 | Static method | Public | Method | Determine Cross-System Movement Type | 20000530 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20000529 | |
| 4 | Static method | Public | Method | Send Data to Receiver (Sender) | 20000515 | |
| 5 | Static method | Public | Method | Save Header Data MB_CREATE_GOODS_MOVEMENT (Sender) | 20000515 | |
| 6 | Static method | Public | Method | Save Item Data MB_CREATE_GOODS_MOVEMENT (Sender) | 20000620 | |
| 7 | Static method | Public | Method | Save Valuation Data SAPLMBGB (Sender) | 20000526 | |
| 8 | Static method | Public | Method | Save Material Document From XMSEG (Sender) | 20000529 | |
| 9 | Static method | Public | Method | Fill Assignment Number for FI Document | 20000626 | |
| 10 | Static method | Public | Method | Determine Direction Indicator of Movement Type | 20000530 | |
| 11 | Static method | Public | Method | Read Valuation Data (Receiver) | 20000526 | |
| 12 | Static method | Public | Method | Merge Material Document Data (Receiver) | 20000529 | |
| 13 | Static method | Public | Method | Set Mode of Class (for BAPI Call) | 20000531 | |
| 14 | Static method | Public | Method | Check For a Plant in Own Logical System | 20000614 | |
| 15 | Static method | Public | Method | Reset All Data (Except Static Buffers) | 20000515 | |
| 16 | Static method | Public | Method | Check Whether a Movement Posts in Valuated Stock | 20000616 |
Events
Class CL_MMIM_CROSS_SYSTEM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_BATCH_BUFFER | Private | See coding | Batch Data (for Distribution) | 20000620 | BEGIN OF ty_s_batch_buffer.
INCLUDE TYPE vbw_batches_dist.
TYPES: END OF ty_s_batch_buffer
|
|
| 2 | TY_S_BUFFER | Private | See coding | Buffer Table (Key RECVSYSTEM) | 20000620 | BEGIN OF ty_s_buffer,
recvsystem TYPE recvsystem,
t_imseg TYPE ty_t_imseg,
t_item TYPE ty_t_item,
t_csl_token TYPE ty_t_csl_token,
END OF ty_s_buffer
|
|
| 3 | TY_S_CSL_TOKEN | Private | See coding | CSL Data with LINE_ID | 20010215 | BEGIN OF ty_s_csl_token.
TYPES: line_id TYPE mb_line_id.
INCLUDE TYPE append_csl_token.
TYPES: END OF ty_s_csl_token
|
|
| 4 | TY_S_DESTINATION | Private | See coding | Logical System for LINE_ID | 20000620 | BEGIN OF ty_s_destination,
line_id TYPE mb_line_id,
recvsystem TYPE recvsystem,
bwart_new TYPE bwart,
END OF ty_s_destination
|
|
| 5 | TY_S_HEADER_BUFFER | Private | See coding | Header Data and Parameters | 20000620 | BEGIN OF ty_s_header_buffer.
INCLUDE TYPE bapi2017_sap_header.
TYPES: END OF ty_s_header_buffer
|
|
| 6 | TY_S_IMSEG | Private | See coding | Data at Entry of MB_CREATE_GOODS_MOVEMENT | 20000620 | BEGIN OF ty_s_imseg.
INCLUDE TYPE bapi2017_sap_imseg.
TYPES: END OF ty_s_imseg
|
|
| 7 | TY_S_ITEM | Private | See coding | Extract of Material Document | 20000620 | BEGIN OF ty_s_item.
INCLUDE TYPE bapi2017_sap_item.
TYPES: END OF ty_s_item
|
|
| 8 | TY_S_OWNLS_BUFFER | Private | See coding | Assignment Between Plant and Logical System | 20000614 | BEGIN OF ty_s_ownls_buffer,
werks TYPE werks_d,
ownls TYPE abap_bool,
END OF ty_s_ownls_buffer
|
|
| 9 | TY_S_T156_BUFFER | Private | See coding | Buffer for Movement Type Data | 20000530 | BEGIN OF ty_s_t156_buffer,
bwart TYPE bwart,
kzdir TYPE kzdir,
END OF ty_s_t156_buffer
|
|
| 10 | TY_S_VALUE_BUFFER | Private | See coding | Valuation Data | 20000529 | BEGIN OF ty_s_value_buffer.
INCLUDE TYPE bapi2017_sap_value.
TYPES: END OF ty_s_value_buffer
|
|
| 11 | TY_S_ZUONR_BUFFER | Private | See coding | Buffer for Assignment Numbers | 20000626 | BEGIN OF ty_s_zuonr_buffer,
line_id TYPE mb_line_id,
zuonr TYPE dzuonr,
END OF ty_s_zuonr_buffer
|
|
| 12 | TY_T_CSL_TOKEN | Private | See coding | Table Type from TY_S_CSL_TOKEN | 20010215 | ty_t_csl_token TYPE STANDARD TABLE OF ty_s_csl_token
WITH DEFAULT KEY
|
|
| 13 | TY_T_IMSEG | Private | See coding | Table Type from TY_S_IMSEG | 20000620 | ty_t_imseg TYPE STANDARD TABLE OF ty_s_imseg WITH DEFAULT KEY
|
|
| 14 | TY_T_ITEM | Private | See coding | Table Type from TY_S_ITEM | 20000620 | ty_t_item TYPE STANDARD TABLE OF ty_s_item WITH DEFAULT KEY
|
Method Signatures
Method BUFFER_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ITEM | Call by reference | Type reference (TYPE) | BAPI2017_SAP_T_ITEM | SAP intern! Positionsdaten (Tabelle) | 20000529 | |||
| 2 | IT_VALUE | Call by reference | Type reference (TYPE) | BAPI2017_SAP_T_VALUE | SAP intern! Bewertungsdaten (Tabelle) | 20000529 |
Method BUFFER_DATA on class CL_MMIM_CROSS_SYSTEM has no exception.
Method BWART_CROSS_SYSTEM_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_BWART_CROSS_SYSTEM | Call by reference | Type reference (TYPE) | BWART | Bewegungsart (Bestandsführung) | 20000530 | |||
| 2 | I_BWART | Call by reference | Type reference (TYPE) | BWART | Bewegungsart (Bestandsführung) | 20000530 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Cross-System-Bewegungsart gefunden | 20000530 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_MMIM_CROSS_SYSTEM has no parameter.
Method CLASS_CONSTRUCTOR on class CL_MMIM_CROSS_SYSTEM has no exception.
Method DATA_SEND_TO_RECEIVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MBVAL | Call by reference | Type reference (TYPE) | MBVAL | Nachträgliche Wertbildung aktiv | 20000617 |
Method DATA_SEND_TO_RECEIVER on class CL_MMIM_CROSS_SYSTEM has no exception.
Method FETCH_MB_CREATE_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_IMKPF | Call by reference | Type reference (TYPE) | IMKPF | MMIM: Inputstruktur für allgemeinen FB Warenbewegung buchen | 20000629 | |||
| 2 | IT_CSL_TOKEN | Call by reference | Type reference (TYPE) | APPEND_T_CSL_TOKEN | Tabellentyp Erweiterung für CSL | 20010215 | |||
| 3 | I_CTCOD | Call by reference | Type reference (TYPE) | SYTCODE | ABAP-Programm, aktueller Transaktionscode | 20000629 |
Method FETCH_MB_CREATE_HEADER on class CL_MMIM_CROSS_SYSTEM has no exception.
Method FETCH_MB_CREATE_IMSEG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_IMSEG | Call by reference | Type reference (TYPE) | IMSEG | MMIM: Inputstruktur für allgemeinen FB Warenbewegung buchen | 20000620 | |||
| 2 | I_IMSEG_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Zeilenindex dieser IMSEG | 20010215 |
Method FETCH_MB_CREATE_IMSEG on class CL_MMIM_CROSS_SYSTEM has no exception.
Method FETCH_VALUATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ZCXCM | Call by reference | Type reference (TYPE) | ZCXCM | Outputfelder SAPLMBGB | 20000526 | |||
| 2 | I_LINE_ID | Call by reference | Type reference (TYPE) | MB_LINE_ID | Eindeutige Identifikation der Belegzeile | 20000526 |
Method FETCH_VALUATION on class CL_MMIM_CROSS_SYSTEM has no exception.
Method FETCH_XMSEG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_XMSEG | Call by reference | Type reference (TYPE) | TY_T_MSEG | Tabelle XMSEG | 20000529 | |||
| 2 | IT_XVM07M | Call by reference | Type reference (TYPE) | TY_T_VM07M | Tabelle mit der Struktur VM07M | 20000614 |
Method FETCH_XMSEG on class CL_MMIM_CROSS_SYSTEM has no exception.
Method FILL_ZUONR_XACCIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_ZUONR | Call by reference | Type reference (TYPE) | DZUONR | Zuordnungsnummer | 20000626 | |||
| 2 | I_LINE_ID | Call by reference | Type reference (TYPE) | MB_LINE_ID | Eindeutige Identifikation der Belegzeile | 20000626 |
Method FILL_ZUONR_XACCIT on class CL_MMIM_CROSS_SYSTEM has no exception.
Method KZDIR_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BWART | Call by reference | Type reference (TYPE) | BWART | Bewegungsart (Bestandsführung) | 20000530 | |||
| 2 | R_KZDIR | Value transfer | Type reference (TYPE) | KZDIR_MB | Richtungskennzeichen (systemübergreifender Warenfluß) | 20000530 |
Method KZDIR_GET on class CL_MMIM_CROSS_SYSTEM has no exception.
Method MERGE_VALUATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_YCURTP | Call by reference | Type reference (TYPE) | CURTP_T_MB | Tabelle für YCURTP in SAPLMBGB | 20000526 | |||
| 2 | I_LINE_ID | Call by reference | Type reference (TYPE) | MB_LINE_ID | Eindeutige Identifikation der Belegzeile | 20000526 | |||
| 3 | I_WAERS | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel | 20000609 |
Method MERGE_VALUATION on class CL_MMIM_CROSS_SYSTEM has no exception.
Method MERGE_XMSEG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_XMSEG | Call by reference | Type reference (TYPE) | MSEG | Belegsegment Material | 20000529 |
Method MERGE_XMSEG on class CL_MMIM_CROSS_SYSTEM has no exception.
Method MODE_SET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MODE | Call by reference | Type reference (TYPE) | KZDIR_MB | Richtungskennzeichen (systemübergreifender Warenfluß) | 20000531 |
Method MODE_SET on class CL_MMIM_CROSS_SYSTEM has no exception.
Method PLANT_IN_OWN_SYSTEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20000614 | |||
| 2 | R_OWN_SYSTEM | Value transfer | Type reference (TYPE) | ABAP_BOOL | Ja / Nein | 20000614 |
Method PLANT_IN_OWN_SYSTEM on class CL_MMIM_CROSS_SYSTEM has no exception.
Method RESET Signature
Method RESET on class CL_MMIM_CROSS_SYSTEM has no parameter.
Method RESET on class CL_MMIM_CROSS_SYSTEM has no exception.
Method VALUATED_MOVEMENT_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_KZBWS | Call by reference | Type reference (TYPE) | KZBWS | Bewertung Sonderbestand | 20000616 | |||
| 2 | I_KZVBR | Call by reference | Type reference (TYPE) | KZVBR | Verbrauchsbuchung | 20000616 | |||
| 3 | I_SOBKZ | Call by reference | Type reference (TYPE) | SOBKZ | Sonderbestandskennzeichen | 20000616 | |||
| 4 | I_WERTU | Call by reference | Type reference (TYPE) | WERTU | Wertfortschreibung im Materialstammsatz | 20000616 | |||
| 5 | R_VALUATED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Bewegung ist bewertet | 20000616 |
Method VALUATED_MOVEMENT_CHECK on class CL_MMIM_CROSS_SYSTEM has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 50A |