ADD_RELATED_OBJECTS_FOR_SPOT SAP Method Add related objects for spot
Below is documentation, parameters and attributes of ABAP Method ADD_RELATED_OBJECTS_FOR_SPOT within SAP class /SCMB/CL_MAP_SCENE_MGR_VB21. 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_MAP_SCENE_MGR_VB21 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 ADD_RELATED_OBJECTS_FOR_SPOT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_RELATED_OBJECTS_FOR_SPOT
.| Name | Type | Data Type | Description | Default Value |
| IS_OBJECT | Importing | TYPE OBJECT_ENTRY | ||
| IT_OBJECT_GUIDS | Importing | TYPE VBI_T_OBJECT_GUIDS | Model Object GUID | |
| IV_SPOT_GUID | Importing | TYPE VBI_OBJECT_GUID | Model Object GUID | |
| CT_OBJECT_GROUP_GUIDS | Changing | TYPE VBI_T_OBJECT_GUIDS | Table of Model Object GUIDs | |
| CT_OBJECT_GUIDS | Changing | TYPE VBI_T_OBJECT_GUIDS | Table of Model Object GUIDs |
Exceptions of Method ADD_RELATED_OBJECTS_FOR_SPOT
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_MAP_SCENE_MGR_VB21.
DATA: lv_CT_OBJECT_GROUP_GUIDS TYPE VBI_T_OBJECT_GUIDS,
lv_CT_OBJECT_GUIDS TYPE VBI_T_OBJECT_GUIDS,
lv_IS_OBJECT TYPE OBJECT_ENTRY,
lv_IT_OBJECT_GUIDS TYPE VBI_T_OBJECT_GUIDS,
lv_IV_SPOT_GUID TYPE VBI_OBJECT_GUID,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_RELATED_OBJECTS_FOR_SPOT(
EXPORTING
IS_OBJECT = lv_IS_OBJECT
IT_OBJECT_GUIDS = lv_IT_OBJECT_GUIDS
IV_SPOT_GUID = lv_IV_SPOT_GUID
CHANGING
CT_OBJECT_GROUP_GUIDS = lv_CT_OBJECT_GROUP_GUIDS
CT_OBJECT_GUIDS = lv_CT_OBJECT_GUIDS ).
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