SAP ABAP Class CL_MASS_SAVE_ARTICLE_PARALLEL (Class for saving articles with parallelization)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MGA (Package) Application development R/3 material master from 3.0
Properties
Class CL_MASS_SAVE_ARTICLE_PARALLEL  
Short Description Class for saving articles with parallelization    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class MK    
Program status     
Category 0   
Package MGA   Application development R/3 material master from 3.0 
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 SPTA Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_MASS_SAVE_ARTICLE_PARALLEL has no interface implemented.
Friends
Class CL_MASS_SAVE_ARTICLE_PARALLEL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_ATTYP_GEN_ART Constant Private Type reference (TYPE) ATTYP '01' 20121025
2 MC_ATTYP_VARIANT Constant Private Type reference (TYPE) ATTYP '02' 20121025
3 MC_OBJKEY Constant Private Type reference (TYPE) MASSOBJTYP 'BUS1001001' 20121025
4 MC_SRV_GROUP_TYPE_S Instance attribute Private Type reference (TYPE) RZLLITAB-GROUPTYPE 'S' Server group type 20121026
5 MS_TABDATA Instance attribute Private Type reference (TYPE) S_TABDATA 20121025
6 MS_TASK_ADMIN Instance attribute Private Type reference (TYPE) S_PARALLEL_TASK_ADMIN 20121024
7 MT_ART_TO_PROC Instance attribute Private Type reference (TYPE) TH_MATNR 20121024
8 MT_MSGS Instance attribute Private Type reference (TYPE) T_MASS_MSG 20121025
9 MT_SELDATA Instance attribute Private Type reference (TYPE) MASS_TABDATA 20121024
10 MT_TABNAMES Instance attribute Private Type reference (TYPE) T_TABNAMES 20121024
11 MV_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL 20121024
12 MV_MSG Instance attribute Private Type reference (TYPE) STRING 20121025
13 MV_TESTMODE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20121024
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MSG_SY Instance method Private Method 20121025
2 ADD_RFC_ERROR_MSG Instance method Private Method 20121025
3 CHECK_INPUT_DATA Instance method Private Method 20121024
4 FINISH_PARALLEL_TASK Instance method Public Method 20121023
5 GET_ART_GROUPS Instance method Private Method 20121024
6 INIT_PACKAGES Instance method Private Method 20121024
7 INIT_TABNAMES Instance method Private Method 20121024
8 PREPARE_PARALLEL_TASK Instance method Public Method 20121023
9 PROCESS Instance method Public Method 20121022
10 PROCESS_PARALLEL Instance method Private Method 20121025
11 PROCESS_PARALLEL_TASK Instance method Public Method 20121023
12 PROCESS_SEQUENTIALLY Instance method Private Method 20121024
13 SAVE_MSGS_TO_LOG Instance method Private Method 20121024
14 UPDATE_PROGRESS_INDICATOR Instance method Private Method 20130107
Events
Class CL_MASS_SAVE_ARTICLE_PARALLEL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PACKAGE_ID Public Type reference (TYPE) I 20121024
2 S_PACKAGE Public See coding 20121024 begin of s_package, id type package_id, articles type ts_matnr, num_records type i. .include type s_tabdata as tabdata. types: end of s_package
3 S_PARALLEL_TASK_ADMIN Private See coding 20121024 begin of s_parallel_task_admin. .include type mass_s_parallel_ctrl as parallel_ctrl. types: num_packages type i, packages type t_packages, pack_to_proc type ts_package_ids, "packages to be processed pack_in_proc type th_package_ids, "packages currently in process pack_proc type th_package_ids, "processed packages end of s_parallel_task_admin
4 S_RFC_DATA_IN Public See coding 20121023 begin of s_rfc_data_in. .include type s_rfc_data_in_out as in_out. types: testmode type abap_bool, seldata type mass_tabdata, s_package type s_package, end of s_rfc_data_in
5 S_RFC_DATA_IN_OUT Public See coding 20121025 begin of s_rfc_data_in_out, pack_id type package_id, end of s_rfc_data_in_out
6 S_RFC_DATA_OUT Public See coding 20121023 begin of s_rfc_data_out. .include type s_rfc_data_in_out as in_out. types: msgs type t_mass_msg, end of s_rfc_data_out
7 S_RFC_USER_PARAM Public See coding 20121023 begin of s_rfc_user_param, proc_instance type ref to cl_mass_save_article_parallel, end of s_rfc_user_param
8 S_TABDATA Public See coding 20121024 begin of s_tabdata, makt type t_makt, malg type t_malg, mamt type t_mamt, mara type t_mara, marc type t_marc, mard type t_mard, marm type t_marm, maw1 type t_maw1, mbew type t_mbew, mean type t_mean, mlea type t_mlea, mlgn type t_mlgn, mlgt type t_mlgt, mpgd type t_mpgd, mpop type t_mpop, mprw type t_mprw, mveg type t_mveg, mveu type t_mveu, mvke type t_mvke, wlk2 type t_wlk2, martstatus type t_martstatus, end of s_tabdata
9 TH_MATNR Public See coding 20121024 th_matnr type hashed table of matnr with unique key table_line
10 TH_PACKAGE_IDS Public See coding 20121024 th_package_ids type hashed table of package_id with unique key table_line
11 TS_MATNR Public See coding 20121024 ts_matnr type standard table of matnr with non-unique key table_line
12 TS_PACKAGE_IDS Public See coding 20121024 ts_package_ids type standard table of package_id with default key
13 T_ART_GROUPS Private See coding 20121024 t_art_groups type standard table of ts_matnr with default key
14 T_MAKT Public See coding 20121022 t_makt type standard table of makt with default key
15 T_MALG Public See coding 20121022 t_malg type standard table of malg with default key
16 T_MAMT Public See coding 20121022 t_mamt type standard table of mamt with default key
17 T_MARA Public See coding 20121022 t_mara type standard table of mara with default key
18 T_MARC Public See coding 20121022 t_marc type standard table of marc with default key
19 T_MARD Public See coding 20121022 t_mard type standard table of mard with default key
20 T_MARM Public See coding 20121022 t_marm type standard table of marm with default key
21 T_MARTSTATUS Public See coding 20121024 t_martstatus type standard table of martstatus with default key
22 T_MASS_MSG Public See coding 20121024 t_mass_msg type standard table of mass_msg with default key
23 T_MAW1 Public See coding 20121022 t_maw1 type standard table of maw1 with default key
24 T_MBEW Public See coding 20121022 t_mbew type standard table of mbew with default key
25 T_MEAN Public See coding 20121022 t_mean type standard table of mean with default key
26 T_MLEA Public See coding 20121022 t_mlea type standard table of mlea with default key
27 T_MLGN Public See coding 20121022 t_mlgn type standard table of mlgn with default key
28 T_MLGT Public See coding 20121022 t_mlgt type standard table of mlgt with default key
29 T_MPGD Public See coding 20121022 t_mpgd type standard table of mpgd with default key
30 T_MPOP Public See coding 20121022 t_mpop type standard table of mpop with default key
31 T_MPRW Public See coding 20121022 t_mprw type standard table of mprw with default key
32 T_MVEG Public See coding 20121022 t_mveg type standard table of mveg with default key
33 T_MVEU Public See coding 20121022 t_mveu type standard table of mveu with default key
34 T_MVKE Public See coding 20121022 t_mvke type standard table of mvke with default key
35 T_PACKAGES Public See coding 20121024 t_packages type hashed table of s_package with unique key id
36 T_TABNAMES Private See coding 20121024 t_tabnames type standard table of string
37 T_TASKS Private See coding 20121025 t_tasks type standard table of i with default key
38 T_WLK2 Public See coding 20121022 t_wlk2 type standard table of wlk2 with default key
Method Signatures

Method ADD_MSG_SY Signature

Method ADD_MSG_SY on class CL_MASS_SAVE_ARTICLE_PARALLEL has no parameter.
Method ADD_MSG_SY on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method ADD_RFC_ERROR_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RFCMSG Call by reference Type reference (TYPE) SPTA_T_RFCMSG 20121025
2 Importing IV_RFCSUBRC Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20121025

Method ADD_RFC_ERROR_MSG on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method CHECK_INPUT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SUCCESS Value transfer Type reference (TYPE) ABAP_BOOL 20121026

Method CHECK_INPUT_DATA on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method FINISH_PARALLEL_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_AFTER_RFC_EXP Call by reference Type reference (TYPE) SPTA_T_AFTER_RFC_EXP 20121023
2 Importing IS_DATA Call by reference Type reference (TYPE) S_RFC_DATA_OUT 20121025
3 Importing IT_OBJECTS_IN_PROCESS Call by reference Type reference (TYPE) SPTA_T_OBJECTS_IN_PROCESS 20121025
4 Importing IV_RFCMSG Call by reference Type reference (TYPE) SPTA_T_RFCMSG 20121023
5 Importing IV_RFCSUBRC Call by reference Type reference (TYPE) SY-SUBRC 20121023

Method FINISH_PARALLEL_TASK on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method GET_ART_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_ART_GROUPS Value transfer Type reference (TYPE) T_ART_GROUPS 20121024

Method GET_ART_GROUPS on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method INIT_PACKAGES Signature

Method INIT_PACKAGES on class CL_MASS_SAVE_ARTICLE_PARALLEL has no parameter.
Method INIT_PACKAGES on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method INIT_TABNAMES Signature

Method INIT_TABNAMES on class CL_MASS_SAVE_ARTICLE_PARALLEL has no parameter.
Method INIT_TABNAMES on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method PREPARE_PARALLEL_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BEFORE_RFC_EXP Call by reference Type reference (TYPE) SPTA_T_BEFORE_RFC_EXP 20121023
2 Exporting ES_DATA Call by reference Type reference (TYPE) S_RFC_DATA_IN 20121025
3 Exporting ET_OBJECTS_IN_PROCESS Call by reference Type reference (TYPE) SPTA_T_OBJECTS_IN_PROCESS 20121025

Method PREPARE_PARALLEL_TASK on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG Call by reference Type reference (TYPE) T_MASS_MSG 20121024
2 Importing IS_PARALLEL_CTRL Call by reference Type reference (TYPE) MASS_S_PARALLEL_CTRL Customizing for parallel mass processing 20121023
3 Importing IT_MAKT Call by reference Type reference (TYPE) T_MAKT 20121025
4 Importing IT_MALG Call by reference Type reference (TYPE) T_MALG 20121025
5 Importing IT_MAMT Call by reference Type reference (TYPE) T_MAMT 20121025
6 Importing IT_MARA Call by reference Type reference (TYPE) T_MARA 20121025
7 Importing IT_MARC Call by reference Type reference (TYPE) T_MARC 20121025
8 Importing IT_MARD Call by reference Type reference (TYPE) T_MARD 20121025
9 Importing IT_MARM Call by reference Type reference (TYPE) T_MARM 20121025
10 Importing IT_MARTSTATUS Call by reference Type reference (TYPE) T_MARTSTATUS 20121025
11 Importing IT_MAW1 Call by reference Type reference (TYPE) T_MAW1 20121025
12 Importing IT_MBEW Call by reference Type reference (TYPE) T_MBEW 20121025
13 Importing IT_MEAN Call by reference Type reference (TYPE) T_MEAN 20121025
14 Importing IT_MLEA Call by reference Type reference (TYPE) T_MLEA 20121025
15 Importing IT_MLGN Call by reference Type reference (TYPE) T_MLGN 20121025
16 Importing IT_MLGT Call by reference Type reference (TYPE) T_MLGT 20121025
17 Importing IT_MPGD Call by reference Type reference (TYPE) T_MPGD 20121025
18 Importing IT_MPOP Call by reference Type reference (TYPE) T_MPOP 20121025
19 Importing IT_MPRW Call by reference Type reference (TYPE) T_MPRW 20121025
20 Importing IT_MVEG Call by reference Type reference (TYPE) T_MVEG 20121025
21 Importing IT_MVEU Call by reference Type reference (TYPE) T_MVEU 20121025
22 Importing IT_MVKE Call by reference Type reference (TYPE) T_MVKE 20121025
23 Importing IT_SELDATA Call by reference Type reference (TYPE) MASS_TABDATA 20121022
24 Importing IT_WLK2 Call by reference Type reference (TYPE) T_WLK2 20121025
25 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL 20121024
26 Importing IV_TESTMODE Call by reference Type reference (TYPE) ABAP_BOOL 20121022

Method PROCESS on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method PROCESS_PARALLEL Signature

Method PROCESS_PARALLEL on class CL_MASS_SAVE_ARTICLE_PARALLEL has no parameter.
Method PROCESS_PARALLEL on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method PROCESS_PARALLEL_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DATA Call by reference Type reference (TYPE) S_RFC_DATA_OUT 20121023
2 Importing IS_DATA Call by reference Type reference (TYPE) S_RFC_DATA_IN 20121023

Method PROCESS_PARALLEL_TASK on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method PROCESS_SEQUENTIALLY Signature

Method PROCESS_SEQUENTIALLY on class CL_MASS_SAVE_ARTICLE_PARALLEL has no parameter.
Method PROCESS_SEQUENTIALLY on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method SAVE_MSGS_TO_LOG Signature

Method SAVE_MSGS_TO_LOG on class CL_MASS_SAVE_ARTICLE_PARALLEL has no parameter.
Method SAVE_MSGS_TO_LOG on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.

Method UPDATE_PROGRESS_INDICATOR Signature

Method UPDATE_PROGRESS_INDICATOR on class CL_MASS_SAVE_ARTICLE_PARALLEL has no parameter.
Method UPDATE_PROGRESS_INDICATOR on class CL_MASS_SAVE_ARTICLE_PARALLEL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 617