MERGE_NEW_WITH_EXISTING_ITEMS SAP Method Merge Items
Below is documentation, parameters and attributes of ABAP Method MERGE_NEW_WITH_EXISTING_ITEMS within SAP class /SCMB/CL_PB. 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 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 MERGE_NEW_WITH_EXISTING_ITEMS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MERGE_NEW_WITH_EXISTING_ITEMS
.| Name | Type | Data Type | Description | Default Value |
| IT_ITEMS_CURRENT | Importing | TYPE /SCMB/IF_PB=>TY_T_ITEM | ||
| CT_ITEMS_CHANGED | Changing | TYPE /SCMB/IF_PB=>TY_T_ITEM | ||
| CT_ITEMS_NEW | Changing | TYPE /SCMB/IF_PB=>TY_T_ITEM | ||
| CT_ITEMS_PACKAGE_NEW | Changing | TYPE /SCMB/IF_PB=>TY_T_ITEM | ||
| CT_ITEMS_PRODUCT_NEW | Changing | TYPE /SCMB/IF_PB=>TY_T_ITEM | ||
| CT_ITEM_KEYS_DELETE | Changing | TYPE /SCMB/IF_PB=>TY_T_ITEM_KEYS |
Exceptions of Method MERGE_NEW_WITH_EXISTING_ITEMS
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_PB.
DATA: lv_CT_ITEMS_CHANGED TYPE /SCMB/IF_PB=>TY_T_ITEM,
lv_CT_ITEMS_NEW TYPE /SCMB/IF_PB=>TY_T_ITEM,
lv_CT_ITEMS_PACKAGE_NEW TYPE /SCMB/IF_PB=>TY_T_ITEM,
lv_CT_ITEMS_PRODUCT_NEW TYPE /SCMB/IF_PB=>TY_T_ITEM,
lv_CT_ITEM_KEYS_DELETE TYPE /SCMB/IF_PB=>TY_T_ITEM_KEYS,
lv_IT_ITEMS_CURRENT TYPE /SCMB/IF_PB=>TY_T_ITEM,
lv_other TYPE c.
CALL METHOD lo_class=>MERGE_NEW_WITH_EXISTING_ITEMS(
EXPORTING
IT_ITEMS_CURRENT = lv_IT_ITEMS_CURRENT
CHANGING
CT_ITEMS_CHANGED = lv_CT_ITEMS_CHANGED
CT_ITEMS_NEW = lv_CT_ITEMS_NEW
CT_ITEMS_PACKAGE_NEW = lv_CT_ITEMS_PACKAGE_NEW
CT_ITEMS_PRODUCT_NEW = lv_CT_ITEMS_PRODUCT_NEW
CT_ITEM_KEYS_DELETE = lv_CT_ITEM_KEYS_DELETE ).
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