SAP ABAP Class CL_MASS_MEAN_SPSH_IMPORT (Import MEAN data from spreadsheet)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MGW (Package) Application development R/3 material master Retail
Properties
Class CL_MASS_MEAN_SPSH_IMPORT  
Short Description Import MEAN data from spreadsheet    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MGW   Application development R/3 material master Retail 
Created 20121022   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_MASS_SPREADSHEET_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_MASS_MEAN_SPSH_IMPORT has no interface implemented.
Friends
Class CL_MASS_MEAN_SPSH_IMPORT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_GTIN_IMP_MODE_ADD Constant Private Type reference (TYPE) MASS_MEAN_GTIN_MODE 'A' GTINs Import Mode: Add 20121026
2 MC_GTIN_IMP_MODE_REPLACE Constant Private Type reference (TYPE) MASS_MEAN_GTIN_MODE 'R' GTINs Import Mode: Replace 20121026
3 MC_MAIN_GTIN_UNDEFINED Constant Private Type reference (TYPE) C '?' 20121116
4 MC_STATUS_DELETE Constant Private Type reference (TYPE) MASS_RECORD_STATUS 'DEL' Status of the MEAN data record in mass maintenance 20121025
5 MC_STATUS_ERROR Constant Private Type reference (TYPE) MASS_RECORD_STATUS 'ERR' Status of the MEAN data record in mass maintenance 20121025
6 MC_STATUS_INSERT Constant Private Type reference (TYPE) MASS_RECORD_STATUS 'INS' Status of the MEAN data record in mass maintenance 20121025
7 MC_STATUS_NOOPERATION Constant Private Type reference (TYPE) MASS_RECORD_STATUS 'NOP' Status of the MEAN data record in mass maintenance 20121025
8 MC_STATUS_UPDATE Constant Private Type reference (TYPE) MASS_RECORD_STATUS 'UPD' Status of the MEAN data record in mass maintenance 20121025
9 MC_TABNAME Constant Private Type reference (TYPE) TABNAME 'MEAN' Table Name 20121025
10 MRT_TABLE_ROW_INFO Instance attribute Private Object reference (TYPE REF TO) DATA 20121204
11 MT_INVALID_MAIN_GTIN_KEYS Instance attribute Private Type reference (TYPE) T_MEAN_KEYS 20121116
12 MT_MEAN_DB Instance attribute Private Type reference (TYPE) MEAN_TAB MEAN data of database 20121025
13 MT_MEAN_INVALID_KEYS Instance attribute Private Type reference (TYPE) MASS_MEAN_MAINTAIN_TTY MEAN Mass Maintenance (Table Type) 20121204
14 MT_MEAN_MAINTAIN Instance attribute Private Type reference (TYPE) MASS_MEAN_MAINTAIN_TTY MEAN mass maintenance data 20121025
15 MT_MEAN_SPSH Instance attribute Private Type reference (TYPE) MEAN_TAB MEAN data of spreadsheet 20121025
16 MT_ROWS_NO_KEY Instance attribute Private Type reference (TYPE) IF_MASS_SPREADSHEET_TYPES=>T_ROW_INFO 20121204
Methods
# Method Level Visibility Method type Description Created on
1 ADPAT_INVALID_MAIN_GTIN_INDIC Instance method Private Method 20121116
2 ADPAT_MAIN_GTIN_INDICATOR Instance method Private Method 20121026
3 BUILD_UP_INVALID_MEAN_KEYS Instance method Private Method 20121205
4 ENRICH_AND_CHECK_MEAN_DATA Instance method Private Method 20121026
5 IMPORT Instance method Public Method 20121022
6 IS_ERROR_SOLVABLE_BY_ALV_MAINT Instance method Private Method 20121116
7 MERGE_MEAN_DATA_BY_ADD Instance method Private Method 20121025
8 MERGE_MEAN_DATA_BY_REPLACE Instance method Private Method 20121025
9 MERGE_MEAN_WITH_INVALID_KEYS Instance method Private Method 20121205
10 VALIDATE_MAIN_GTIN_IND_LIST Instance method Private Method 20121029
Events
Class CL_MASS_MEAN_SPSH_IMPORT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_MAIN_GTIN_IND Private See coding 20121029 begin of s_main_gtin_ind, matnr type matnr, meinh type meinh, main_gtins type t_tab_entry, end of s_main_gtin_ind
2 S_MEAN_KEYS Private See coding 20121025 begin of s_mean_keys, matnr type matnr, meinh type meinh, end of s_mean_keys
3 S_TAB_ENTRY Private See coding 20121029 begin of s_tab_entry, tab_line type sytabix, status type mass_record_status, end of s_tab_entry
4 T_MEAN_KEYS Private See coding 20121025 t_mean_keys type sorted table of s_mean_keys with unique key matnr meinh
5 T_TAB_ENTRY Private See coding 20121029 t_tab_entry type sorted table of s_tab_entry with unique key tab_line
Method Signatures

Method ADPAT_INVALID_MAIN_GTIN_INDIC Signature

Method ADPAT_INVALID_MAIN_GTIN_INDIC on class CL_MASS_MEAN_SPSH_IMPORT has no parameter.
Method ADPAT_INVALID_MAIN_GTIN_INDIC on class CL_MASS_MEAN_SPSH_IMPORT has no exception.

Method ADPAT_MAIN_GTIN_INDICATOR Signature

Method ADPAT_MAIN_GTIN_INDICATOR on class CL_MASS_MEAN_SPSH_IMPORT has no parameter.
Method ADPAT_MAIN_GTIN_INDICATOR on class CL_MASS_MEAN_SPSH_IMPORT has no exception.

Method BUILD_UP_INVALID_MEAN_KEYS Signature

Method BUILD_UP_INVALID_MEAN_KEYS on class CL_MASS_MEAN_SPSH_IMPORT has no parameter.
Method BUILD_UP_INVALID_MEAN_KEYS on class CL_MASS_MEAN_SPSH_IMPORT has no exception.

Method ENRICH_AND_CHECK_MEAN_DATA Signature

Method ENRICH_AND_CHECK_MEAN_DATA on class CL_MASS_MEAN_SPSH_IMPORT has no parameter.
Method ENRICH_AND_CHECK_MEAN_DATA on class CL_MASS_MEAN_SPSH_IMPORT has no exception.

Method IMPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MEAN_MAINTAIN Call by reference Type reference (TYPE) MASS_MEAN_MAINTAIN_TTY 20121023
2 Importing IV_FILENAME Call by reference Type reference (TYPE) IF_MASS_SPREADSHEET_TYPES=>FILE_NAME 20121022
3 Importing IV_FROM_CLIPBOARD Call by reference Type reference (TYPE) ABAP_BOOL 20121022
4 Importing IV_FROM_FILE Call by reference Type reference (TYPE) ABAP_BOOL 20121022
5 Importing IV_GTIN_IMPORT_MODE Call by reference Type reference (TYPE) MASS_MEAN_GTIN_MODE 'A' GTINs Import Mode 20121026
6 Importing IV_SHOW_PREVIEW Call by reference Type reference (TYPE) ABAP_BOOL 20121130
# Exception Resumable Description Created on
1 CX_MASS_SPREADSHEET General exception class 20121126

Method IS_ERROR_SOLVABLE_BY_ALV_MAINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MEAN_MAINTAIN Call by reference Type reference (TYPE) MASS_MEAN_MAINTAIN_STY 20121116
2 Returning RV_SOLVABLE Value transfer Type reference (TYPE) ABAP_BOOL 20121116

Method IS_ERROR_SOLVABLE_BY_ALV_MAINT on class CL_MASS_MEAN_SPSH_IMPORT has no exception.

Method MERGE_MEAN_DATA_BY_ADD Signature

Method MERGE_MEAN_DATA_BY_ADD on class CL_MASS_MEAN_SPSH_IMPORT has no parameter.
Method MERGE_MEAN_DATA_BY_ADD on class CL_MASS_MEAN_SPSH_IMPORT has no exception.

Method MERGE_MEAN_DATA_BY_REPLACE Signature

Method MERGE_MEAN_DATA_BY_REPLACE on class CL_MASS_MEAN_SPSH_IMPORT has no parameter.
Method MERGE_MEAN_DATA_BY_REPLACE on class CL_MASS_MEAN_SPSH_IMPORT has no exception.

Method MERGE_MEAN_WITH_INVALID_KEYS Signature

Method MERGE_MEAN_WITH_INVALID_KEYS on class CL_MASS_MEAN_SPSH_IMPORT has no parameter.
Method MERGE_MEAN_WITH_INVALID_KEYS on class CL_MASS_MEAN_SPSH_IMPORT has no exception.

Method VALIDATE_MAIN_GTIN_IND_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MAIN_GTIN_IND Call by reference Type reference (TYPE) S_MAIN_GTIN_IND 20121029
2 Importing IV_INIT_MAIN_GTIN_COUNT Call by reference Type reference (TYPE) I 20121206

Method VALIDATE_MAIN_GTIN_IND_LIST on class CL_MASS_MEAN_SPSH_IMPORT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 617