SAP ABAP Class CL_MDG_BS_MAT_SI_TO_STAGING (Loads Material to Staging)
Hierarchy
MDG_APPL (Software Component) MDG Applications
   CA-MDG-APP-MM (Application Component) MDG Material
     MDG_BS_MAT_SFWS_SOA (Package) Switch package for Service Implementation
Properties
Class CL_MDG_BS_MAT_SI_TO_STAGING  
Short Description Loads Material to Staging    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_MAT_SFWS_SOA   Switch package for Service Implementation 
Created 20111227   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 IF_MDG_BS_CLF_ACCESS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_MDG_BS_MAT_SI_TO_STAGING has no interface implemented.
Friends
Class CL_MDG_BS_MAT_SI_TO_STAGING has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_GOV_API Static Attribute Private Object reference (TYPE REF TO) IF_USMD_GOV_API Governance API 20111228
2 GT_ENTITY_TAB_REF Instance attribute Private Type reference (TYPE) TT_ENTITY_TAB_REF 20111227
3 GV_CREQUESTID Static Attribute Private Type reference (TYPE) USMD_CREQUEST Change request number 20120507
Methods
# Method Level Visibility Method type Description Created on
1 GET_CHANGED_FIELDS_FOR_ENTITY Instance method Private Method Gets the list of changed fields for an entity 20120322
2 GET_CHANGED_FIELDS_OF_API Instance method Private Method get changed fields 20120323
3 GET_CREQUESTID Static method Public Method get change request id 20120507
4 GET_CREQUEST_TYPE Static method Private Method Gets the Change Request Type 20111228
5 MAP_API_TO_STAGING Instance method Private Method Maps the API to Staging Data 20111227
6 SAVE_2STAGING Instance method Public Method Save to staging 20120507
7 USMD_MSG_TO_BAPI_MSG Static method Private Method Converts USMD messages to Bapi messages 20111228
8 WRITE_CLASSIFICATION Instance method Private Method Writes the classification data to staging 20120525
9 WRITE_TO_ENTITIES Instance method Private Method Writes the data to entities 20111228
10 WRITE_TO_STAGING Instance method Public Method Writes the Material to Staging 20111228
Events
Class CL_MDG_BS_MAT_SI_TO_STAGING has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_ENTITY Private See coding 20120801 BEGIN OF ts_entity, usmd_entity type usmd_entity, f_multi_langu type boolean, END OF ts_entity
2 TS_ENTITY_TAB_REF Private See coding 20111227 BEGIN OF ts_entity_tab_ref , matnr TYPE matnr, entity TYPE usmd_entity, multi_lang TYPE boolean, r_ref_tab TYPE REF TO data, END OF ts_entity_tab_ref
3 TS_FIELD_NAMES_TAB Private See coding 20120410 BEGIN OF TS_FIELD_NAMES_TAB, key type REF TO data, field_names type usmd_ts_fieldname, delete_entity type boolean, is_txt type boolean, END OF TS_FIELD_NAMES_TAB
4 TT_ENTITY Private See coding 20120801 tt_entity type TABLE OF ts_entity
5 TT_ENTITY_TAB_REF Private See coding 20111227 tt_entity_tab_ref TYPE STANDARD TABLE OF ts_entity_tab_ref WITH key matnr entity multi_lang
6 TT_FIELD_NAMES_TAB Private See coding 20120410 TT_FIELD_NAMES_TAB TYPE STANDARD TABLE OF TS_FIELD_NAMES_TAB
Method Signatures

Method GET_CHANGED_FIELDS_FOR_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDS Call by reference Type reference (TYPE) TT_FIELD_NAMES_TAB Table containing SMT-fields 20120322
2 Importing IS_MAT_API Call by reference Object reference (TYPE REF TO) MDG_BS_MAT_S_MAT_DATA MDG BS MAT: Material Master Data Structure 20120323
3 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20120322

Method GET_CHANGED_FIELDS_FOR_ENTITY on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method GET_CHANGED_FIELDS_OF_API Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDNAMES Call by reference Type reference (TYPE) TT_FIELD_NAMES_TAB 20120323
2 Importing IS_API Call by reference Object reference (TYPE REF TO) MDG_BS_MAT_S_MAT_DATA MDG BS MAT: Material Master Data Structure 20120323
3 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20120403
4 Importing IV_STRUC_DET Call by reference Type reference (TYPE) MDG_BS_MAT_S_SMT_MAPPINF_ENTY SMT mapping info for all attributes of an entity 20120403

Method GET_CHANGED_FIELDS_OF_API on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method GET_CREQUESTID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) MDG_BS_MAT_T_API_MSG Table of API messages 20120507
2 Exporting EV_CREQUESTID Call by reference Type reference (TYPE) USMD_CREQUEST Change Request 20120507
3 Exporting EV_HAS_ERROR Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20120507
4 Importing IR_MASS_DATA Call by reference Object reference (TYPE REF TO) MDG_BS_MAT_T_MAT_EXTERN_REF MDG: Table type for API Structure 20120507
5 Importing IV_CREQUEST_DESC Call by reference Type reference (TYPE) USMD_TXTLG Description (long text) 20120507
6 Importing IV_CREQUEST_TYPE Call by reference Type reference (TYPE) USMD_CREQUEST_TYPE Type of Change Request 20120507

Method GET_CREQUESTID on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method GET_CREQUEST_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CREQUEST_TYPE Call by reference Type reference (TYPE) USMD_CREQUEST_TYPE Type of Change Request 20111228

Method GET_CREQUEST_TYPE on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method MAP_API_TO_STAGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20111227
2 Importing IS_INPUT_API Call by reference Type reference (TYPE) MDG_BS_MAT_S_MAT_EXTERN MDG BS MAT: Material Replication Services Structure 20111227

Method MAP_API_TO_STAGING on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method SAVE_2STAGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) MDG_BS_MAT_T_API_MSG Table of API messages 20120516
2 Importing IR_MASS_DATA Call by reference Object reference (TYPE REF TO) MDG_BS_MAT_T_MAT_EXTERN_REF MDG: Table type for API Structure 20120507
3 Importing IV_NO_CHECK Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE Boolean Variable (X=True, -=False, Space=Unknown) 20120508

Method SAVE_2STAGING on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method USMD_MSG_TO_BAPI_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RET_TAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20111228
2 Importing IT_USMD_MSG Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20111228

Method USMD_MSG_TO_BAPI_MSG on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method WRITE_CLASSIFICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120525
2 Importing IT_BO_DATA Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_TS_BO_DATA 20120615
3 Importing IT_CLASSASGN_BO Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_TS_CLASSASGN 20120615
4 Importing IT_VALUATION_BO Call by reference Type reference (TYPE) IF_MDG_BS_CLF_ACCESS=>TY_TS_VALUATION 20120615
5 Importing IV_CREQUEST Call by reference Type reference (TYPE) USMD_CREQUEST Change Request 20120525
6 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20120525

Method WRITE_CLASSIFICATION on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method WRITE_TO_ENTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20111228
2 Importing IS_INPUT_API Call by reference Type reference (TYPE) MDG_BS_MAT_S_MAT_EXTERN MDG BS MAT: Material Replication Services Structure 20120410
3 Importing IV_CREQUEST Call by reference Type reference (TYPE) USMD_CREQUEST Change Request 20111228
4 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20120220

Method WRITE_TO_ENTITIES on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.

Method WRITE_TO_STAGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_OUTPUT_API Call by reference Type reference (TYPE) MDG_BS_MAT_S_CONF_EXTERN MDG_BS_MAT : Maaterial Confirmation Struture 20111228
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) MDG_BS_MAT_T_API_MSG 20120220
3 Exporting EV_CALL_SAVE Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20120515
4 Importing IR_MASS_DATA Call by reference Object reference (TYPE REF TO) MDG_BS_MAT_T_MAT_EXTERN_REF MDG: Table type for API Structure 20120220

Method WRITE_TO_STAGING on class CL_MDG_BS_MAT_SI_TO_STAGING has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607