SET_INST_LOCATION SAP Method Set Installation Location for Component Installation









Below is documentation, parameters and attributes of ABAP Method SET_INST_LOCATION within SAP class IF_EX_BADI_CCM_CLIST_APL. 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 IF_EX_BADI_CCM_CLIST_APL 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 SET_INST_LOCATION can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method SET_INST_LOCATION

.

NameTypeData TypeDescriptionDefault Value
IS_COMPONENTImportingTYPE
CLIST_COMPONENT_DATA
DI CCM: Component Installation Location Structure
IV_COMP_REFImportingTYPE REF TO
CL_CCM_COMPONENT
Material Component
IV_SUPRESS_POPUPImportingTYPE
XFLAG
'X': Do NOT send Popup when no inst.loc. are found
IV_TOP_EQUNRImportingTYPE
CCM_TOP_EQUNR
Top-Level Functional Location
IV_TOP_TPLNRImportingTYPE
CCM_TOP_TPLNR
Top-Level Functional Location
ES_INST_LOCATIONExportingTYPE
CLIST_INST_LOCATION
DI CCM: Component Installation Location Structure
CS_IPW4_COMChangingTYPE
IPW4_COM
Communication structure for Equipment install/removal trans.



Exceptions of Method SET_INST_LOCATION

ES_INST_LOCATIONExportingTYPE
CLIST_INST_LOCATIONDI CCM: Component Installation Location StructureINTERNAL_ERROR - Internal Error

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_CCM_CLIST_APL.
DATA: lv_CS_IPW4_COM TYPE IPW4_COM,
lv_ES_INST_LOCATION TYPE CLIST_INST_LOCATION,
lv_IS_COMPONENT TYPE CLIST_COMPONENT_DATA,
lv_IV_COMP_REF TYPE CL_CCM_COMPONENT,
lv_IV_SUPRESS_POPUP TYPE XFLAG,
lv_IV_TOP_EQUNR TYPE CCM_TOP_EQUNR,
lv_IV_TOP_TPLNR TYPE CCM_TOP_TPLNR,
lv_other TYPE c.

CALL METHOD lo_class=>SET_INST_LOCATION(
EXPORTING
IS_COMPONENT = lv_IS_COMPONENT
IV_COMP_REF = lv_IV_COMP_REF
IV_SUPRESS_POPUP = lv_IV_SUPRESS_POPUP
IV_TOP_EQUNR = lv_IV_TOP_EQUNR
IV_TOP_TPLNR = lv_IV_TOP_TPLNR
IMPORTING
ES_INST_LOCATION = lv_ES_INST_LOCATION
CHANGING
CS_IPW4_COM = lv_CS_IPW4_COM ).

Links to Related Class(s)

IF_EX_BA...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!