SAP ABAP Class CL_WSD_KEYWORD_SYNC (Maintainence Class for Keyword Synchronization)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-MD-MM-CS (Application Component) Additional Material Functions
     WSD_CS_FU (Package) Functionality Enhanced Material Search
Properties
Class CL_WSD_KEYWORD_SYNC  
Short Description Maintainence Class for Keyword Synchronization    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WSD_CS_FU   Functionality Enhanced Material Search 
Created 20090403   SAP 
Last change 20100310   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)
Interfaces
Class CL_WSD_KEYWORD_SYNC has no interface implemented.
Friends
Class CL_WSD_KEYWORD_SYNC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GS_SYNC_SETTINGS Instance attribute Private Type reference (TYPE) WSD_SYNC_KWD_INPUT_STY Keyword Synchronization input structure 20090403
2 GT_KEYWORD Instance attribute Private Type reference (TYPE) WSD_KEYWORD_SORT_TTY Table of Keywords 20090403
3 GT_KEYWORD_AS Instance attribute Private Type reference (TYPE) WSD_KEYWORD_AS_SORT_TTY Table of keyword associations 20090403
4 GT_KEYWORD_AS_DELETE Instance attribute Private Type reference (TYPE) WSD_KEYWORD_AS_SORT_TTY Table of keyword associations 20090403
5 GT_KEYWORD_AS_INSERT Instance attribute Private Type reference (TYPE) WSD_KEYWORD_AS_SORT_TTY Table of keyword associations 20090403
6 GT_KEYWORD_AS_UPDATE Instance attribute Private Type reference (TYPE) WSD_KEYWORD_AS_SORT_TTY Table of keyword associations 20090403
7 GT_KEYWORD_DELETE Instance attribute Private Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
8 GT_KEYWORD_INSERT Instance attribute Private Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
9 GT_KEYWORD_UPDATE Instance attribute Private Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
10 GT_KLAH Instance attribute Private Type reference (TYPE) WSD_KWD_SYNC_KLAH_TTY Table type for KLAH Table 20090404
11 GT_KLAH_SORT_CLASS Instance attribute Private Type reference (TYPE) WSD_KWD_SYNC_KLAH_TTY Table type for KLAH Table 20090409
12 GT_MATKL Instance attribute Private See coding 20090520
13 GT_MESSAGE_FINAL Instance attribute Private Type reference (TYPE) WSD_KWD_SYNC_MESSAGE_TTY Table type for Keyword Sync Message Log 20090404
14 GT_SWOR_HIER Instance attribute Private Type reference (TYPE) WSD_SWOR_TTY Classification System: Keywords 20090404
15 GT_SWOR_MG Instance attribute Private Type reference (TYPE) WSD_SWOR_TTY Classification System: Keywords 20090404
16 GT_WGHIER_FINAL Instance attribute Private Type reference (TYPE) WSD_KWD_SYNC_WGHIER_TTY Table type on wghier 20090404
17 GT_WGHIER_FINAL_SORT_CLIN2 Instance attribute Private Type reference (TYPE) WSD_KWD_SYNC_WGHIER_TTY Classification System: Keywords 20090409
18 GV_PROCESSING_MODE Instance attribute Private Type reference (TYPE) BOOLEAN Boolean Variable (True=Screen Mode, False= batch job ) 20090403
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_KEYWORD_NRANGE Instance method Public Method Checks if the Number range is maintained for Keywords 20090404
2 CLEAR_RUNNING_BUFFERS Instance method Private Method Clears the Buffers which shall be maintained per run of sync 20090404
3 DELETE_KEYWORD Instance method Public Method Delete Keyword 20090403
4 DELETE_KEYWORD_ASSOCIATION Instance method Public Method Delete Keyword Association 20090403
5 DELETE_SYNCHRONIZED_KEYWORDS Instance method Public Method Initiates the synchronization of deleted keywords 20090404
6 GET_ASSOCIATIONS_FOR_MATKL Instance method Private Method Prepares the associations for a material group 20090514
7 GET_SYNC_BUFFERS Instance method Public Method Get the Sync Buffer 20090403
8 INSERT_KEYWORD Instance method Public Method Inserts Keyword 20090403
9 INSERT_KEYWORD_ASSOCIATION Instance method Public Method Inserts Keyword Assocation 20090403
10 PREPARE_MATGRP_HIER Instance method Private Method Prepares Material Group Hierarchy data 20090514
11 PREPARE_MATKL_DATA Instance method Private Method Populate Material Group Data 20090404
12 PREPARE_MATKL_HIER Instance method Private Method Prepares Material Group Hierarchy data 20090404
13 READ_KEYWORD_FOR_MATGRP Instance method Private Method Reads the keywords from the material grp and its hiers 20090413
14 REFRESH_SYNC_BUFFERS Instance method Public Method Refreshes the sync Buffers ( after db save) 20090405
15 SET_SYNC_BUFFFERS Instance method Public Method Sets the Keyword Sync Buffers 20090403
16 SET_SYNC_SETTINGS Instance method Public Method Sets the Keyword Sync Settings and the Processing mode 20090403
17 SYNCHRONIZE_KEYWORDS Instance method Public Method Initiates the Synchronization of Keywords 20090404
18 SYNCHRONIZE_KEYWORDS_DELETE Instance method Private Method Deletes the keyword and associations during sync run 20090409
19 UPDATE_KEYWORD Instance method Public Method Update Keyword 20090403
20 UPDATE_KEYWORD_ASSOCIATION Instance method Public Method Update Keyword Association 20090403
Events
Class CL_WSD_KEYWORD_SYNC has no event.
Types
Class CL_WSD_KEYWORD_SYNC has no local type.
Method Signatures

Method CHECK_KEYWORD_NRANGE Signature

Method CHECK_KEYWORD_NRANGE on class CL_WSD_KEYWORD_SYNC has no parameter.
# Exception Resumable Description Created on
1 INTERVAL_NOT_FOUND 20090404
2 OBJECT_NOT_FOUND 20090404

Method CLEAR_RUNNING_BUFFERS Signature

Method CLEAR_RUNNING_BUFFERS on class CL_WSD_KEYWORD_SYNC has no parameter.
Method CLEAR_RUNNING_BUFFERS on class CL_WSD_KEYWORD_SYNC has no exception.

Method DELETE_KEYWORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_WSD_KEYWORD Call by reference Type reference (TYPE) WSD_KEYWORD Keyword Definition 20090404
# Exception Resumable Description Created on
1 ITEM_LOCKED Item is locked by another user 20090404

Method DELETE_KEYWORD_ASSOCIATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_WSD_KEYWORD_AS Call by reference Type reference (TYPE) WSD_KEYWORD_AS Keyword Assignment 20090404
# Exception Resumable Description Created on
1 ITEM_LOCKED Item is locked by another user 20090404

Method DELETE_SYNCHRONIZED_KEYWORDS Signature

Method DELETE_SYNCHRONIZED_KEYWORDS on class CL_WSD_KEYWORD_SYNC has no parameter.
Method DELETE_SYNCHRONIZED_KEYWORDS on class CL_WSD_KEYWORD_SYNC has no exception.

Method GET_ASSOCIATIONS_FOR_MATKL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CONTAINER Call by reference Type reference (TYPE) WSD_KWD_SYNC_DATA_TTY Class Header Data 20090514
2 Changing CT_WGHIER_FINAL Call by reference Type reference (TYPE) WSD_KWD_SYNC_WGHIER_TTY Table type on wghier 20090514
3 Changing CT_WGHIER_FINAL_HIER Call by reference Type reference (TYPE) WSD_KWD_SYNC_WGHIER_TTY Table type on wghier 20090514
4 Changing CT_WGHIER_FINAL_MG Call by reference Type reference (TYPE) WSD_KWD_SYNC_WGHIER_TTY Table type on wghier 20090514
5 Importing IS_KLAH Call by reference Type reference (TYPE) KLAH Class Header Data 20090514
6 Importing IT_GHCL Call by reference Type reference (TYPE) WSD_KWD_SYNC_GHCL_TTY GHCL_TTY 20090514
7 Importing IT_WGHIER Call by reference Type reference (TYPE) WSD_KWD_SYNC_WGHIER_TTY Table type on wghier 20090514
8 Importing IV_MATKL Call by reference Type reference (TYPE) MATKL Material Group 20090514
9 Importing IV_READKEY Call by reference Type reference (TYPE) KLASSE_D Class number 20090514

Method GET_ASSOCIATIONS_FOR_MATKL on class CL_WSD_KEYWORD_SYNC has no exception.

Method GET_SYNC_BUFFERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KEYWORD Call by reference Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
2 Exporting ET_KEYWORD_AS Call by reference Type reference (TYPE) WSD_KEYWORD_AS_TTY Table of keyword associations 20090403
3 Exporting ET_KEYWORD_AS_DELETE Call by reference Type reference (TYPE) WSD_KEYWORD_AS_TTY Table of keyword associations 20090403
4 Exporting ET_KEYWORD_AS_INSERT Call by reference Type reference (TYPE) WSD_KEYWORD_AS_TTY Table of keyword associations 20090403
5 Exporting ET_KEYWORD_AS_UPDATE Call by reference Type reference (TYPE) WSD_KEYWORD_AS_TTY Table of keyword associations 20090403
6 Exporting ET_KEYWORD_DELETE Call by reference Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
7 Exporting ET_KEYWORD_INSERT Call by reference Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
8 Exporting ET_KEYWORD_MESSAGE Call by reference Type reference (TYPE) WSD_KWD_SYNC_MESSAGE_TTY Table type for Keyword Sync Message Log 20090404
9 Exporting ET_KEYWORD_UPDATE Call by reference Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403

Method GET_SYNC_BUFFERS on class CL_WSD_KEYWORD_SYNC has no exception.

Method INSERT_KEYWORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KW_ID Call by reference Type reference (TYPE) WSD_KW_ID Keyword Identifier inserted 20090403
2 Importing IS_WSD_KEYWORD Call by reference Type reference (TYPE) WSD_KEYWORD Keyword Definition 20090403
# Exception Resumable Description Created on
1 GET_ID_FAILED Unable to get next number range to be used as identifier 20090403
2 ITEM_LOCKED Item is locked by another user 20090403

Method INSERT_KEYWORD_ASSOCIATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_WSD_KEYWORD_AS Call by reference Type reference (TYPE) WSD_KEYWORD_AS Association item to insert 20090403
# Exception Resumable Description Created on
1 ITEM_LOCKED Keyword is locked by another user 20090403

Method PREPARE_MATGRP_HIER Signature

Method PREPARE_MATGRP_HIER on class CL_WSD_KEYWORD_SYNC has no parameter.
Method PREPARE_MATGRP_HIER on class CL_WSD_KEYWORD_SYNC has no exception.

Method PREPARE_MATKL_DATA Signature

Method PREPARE_MATKL_DATA on class CL_WSD_KEYWORD_SYNC has no parameter.
Method PREPARE_MATKL_DATA on class CL_WSD_KEYWORD_SYNC has no exception.

Method PREPARE_MATKL_HIER Signature

Method PREPARE_MATKL_HIER on class CL_WSD_KEYWORD_SYNC has no parameter.
Method PREPARE_MATKL_HIER on class CL_WSD_KEYWORD_SYNC has no exception.

Method READ_KEYWORD_FOR_MATGRP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KEYWORD_SET_HIER Call by reference Type reference (TYPE) WSD_SWOR_SORT_TTY Classification System: Keywords 20090413
2 Changing CT_KEYWORD_SET_MG Call by reference Type reference (TYPE) WSD_SWOR_SORT_TTY Classification System: Keywords 20090413
3 Importing IV_MATERIAL_GROUP Call by reference Type reference (TYPE) MATKL Material Group 20090413

Method READ_KEYWORD_FOR_MATGRP on class CL_WSD_KEYWORD_SYNC has no exception.

Method REFRESH_SYNC_BUFFERS Signature

Method REFRESH_SYNC_BUFFERS on class CL_WSD_KEYWORD_SYNC has no parameter.
Method REFRESH_SYNC_BUFFERS on class CL_WSD_KEYWORD_SYNC has no exception.

Method SET_SYNC_BUFFFERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KEYWORD Call by reference Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
2 Importing IT_KEYWORD_AS Call by reference Type reference (TYPE) WSD_KEYWORD_AS_TTY Table of Keywords 20090403
3 Importing IT_KEYWORD_AS_DELETE Call by reference Type reference (TYPE) WSD_KEYWORD_AS_TTY Table of Keywords 20090403
4 Importing IT_KEYWORD_AS_INSERT Call by reference Type reference (TYPE) WSD_KEYWORD_AS_TTY Table of Keywords 20090403
5 Importing IT_KEYWORD_AS_UPDATE Call by reference Type reference (TYPE) WSD_KEYWORD_AS_TTY Table of Keywords 20090403
6 Importing IT_KEYWORD_DELETE Call by reference Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
7 Importing IT_KEYWORD_INSERT Call by reference Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403
8 Importing IT_KEYWORD_UPDATE Call by reference Type reference (TYPE) WSD_KEYWORD_TTY Table of Keywords 20090403

Method SET_SYNC_BUFFFERS on class CL_WSD_KEYWORD_SYNC has no exception.

Method SET_SYNC_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SYNC_SETTINGS Call by reference Type reference (TYPE) WSD_SYNC_KWD_INPUT_STY Keyword Synchronization input structure 20090403
2 Importing IV_PROCESSING_MODE Call by reference Type reference (TYPE) BOOLEAN ABAP_TRUE Boolean Variable (X=True, -=False, Space=Unknown) 20090403

Method SET_SYNC_SETTINGS on class CL_WSD_KEYWORD_SYNC has no exception.

Method SYNCHRONIZE_KEYWORDS Signature

Method SYNCHRONIZE_KEYWORDS on class CL_WSD_KEYWORD_SYNC has no parameter.
Method SYNCHRONIZE_KEYWORDS on class CL_WSD_KEYWORD_SYNC has no exception.

Method SYNCHRONIZE_KEYWORDS_DELETE Signature

Method SYNCHRONIZE_KEYWORDS_DELETE on class CL_WSD_KEYWORD_SYNC has no parameter.
Method SYNCHRONIZE_KEYWORDS_DELETE on class CL_WSD_KEYWORD_SYNC has no exception.

Method UPDATE_KEYWORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_WSD_KEYWORD Call by reference Type reference (TYPE) WSD_KEYWORD Keyword Definition 20090404
# Exception Resumable Description Created on
1 ITEM_LOCKED Item locked by another user 20090404

Method UPDATE_KEYWORD_ASSOCIATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_WSD_KEYWORD_AS Call by reference Type reference (TYPE) WSD_KEYWORD_AS Keyword Assignment 20090404
# Exception Resumable Description Created on
1 ITEM_LOCKED Item is locked by another user 20090404
History
Last changed by/on SAP  20100310 
SAP Release Created in 605