COLLECT_MASTER_DATA_KEYS SAP Method Collect required master data keys
Below is documentation, parameters and attributes of ABAP Method COLLECT_MASTER_DATA_KEYS within SAP class /SCMB/CL_PB_DATA. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_PB_DATA into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method COLLECT_MASTER_DATA_KEYS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method COLLECT_MASTER_DATA_KEYS
.| Name | Type | Data Type | Description | Default Value |
| IS_SETTINGS | Importing | TYPE /SCMB/IF_PB_DATA=>TY_S_SETTINGS | PB Data Settings | |
| IT_ITEM_PACKAGE_TYPE_KEYS | Importing | TYPE /SCMB/IF_PB_PRD_PKG_ASSIGN=>TY_T_PRD_PKG_TYPE_ASGN_KEY | Product Package Type Assignment Keys | |
| ET_EQUIPMENT_KEYS | Exporting | TYPE /SCMB/T_EQUIPMENT_KEY | Equipment Definition Key Table | |
| ET_LOC_NOS | Exporting | TYPE /SAPAPO/LOC_LOCNO_TAB | Location (Internal Indicator) | |
| ET_MAT_IDS | Exporting | TYPE /SCMB/IF_PB_DATA=>TY_T_MAT_IDS | Material IDs |
Exceptions of Method COLLECT_MASTER_DATA_KEYS
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_PB_DATA.
DATA: lv_ET_EQUIPMENT_KEYS TYPE /SCMB/T_EQUIPMENT_KEY,
lv_ET_LOC_NOS TYPE /SAPAPO/LOC_LOCNO_TAB,
lv_ET_MAT_IDS TYPE /SCMB/IF_PB_DATA=>TY_T_MAT_IDS,
lv_IS_SETTINGS TYPE /SCMB/IF_PB_DATA=>TY_S_SETTINGS,
lv_IT_ITEM_PACKAGE_TYPE_KEYS TYPE /SCMB/IF_PB_PRD_PKG_ASSIGN=>TY_T_PRD_PKG_TYPE_ASGN_KEY,
lv_other TYPE c.
CALL METHOD lo_class=>COLLECT_MASTER_DATA_KEYS(
EXPORTING
IS_SETTINGS = lv_IS_SETTINGS
IT_ITEM_PACKAGE_TYPE_KEYS = lv_IT_ITEM_PACKAGE_TYPE_KEYS
IMPORTING
ET_EQUIPMENT_KEYS = lv_ET_EQUIPMENT_KEYS
ET_LOC_NOS = lv_ET_LOC_NOS
ET_MAT_IDS = lv_ET_MAT_IDS ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects