EXISTENCE_CHECK SAP Method Location: Existency Check









Below is documentation, parameters and attributes of ABAP Method EXISTENCE_CHECK within SAP class /SCMB/CL_LDM_LOC. 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_LDM_LOC into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method EXISTENCE_CHECK can also be found below:

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


Parameters of Method EXISTENCE_CHECK

.

NameTypeData TypeDescriptionDefault Value
IV_LOCATION_INTERNAL_IDImportingTYPE
/SAPAPO/LOCNO
Location
IV_LOCATION_TYPE_CODEImportingTYPE
/SAPAPO/C_LOCTYPE
Location Type
IV_LOGICAL_SYSTEMImportingTYPE
BAPISCMBLOGSYS
Logical System
EV_ACTIVE_MODEL_INDICATORExportingTYPE
ABAP_BOOL
EV_BSGExportingTYPE
BAPISCMBLOGQS
Business System Group
EV_DELETION_INDICATORExportingTYPE
ABAP_BOOL
EV_EXISTENCE_FLAGExportingTYPE
ABAP_BOOL
EV_LOCATION_IDExportingTYPE
/SAPAPO/EXT_LOCNO
External Location Identifier
EV_LOCATION_INTERNAL_IDExportingTYPE
/SAPAPO/LOCNO
Location
EV_LOCATION_TYPE_CODEExportingTYPE
/SAPAPO/C_LOCTYPE
Location Type
EV_LOCATION_UUIDExportingTYPE
/SAPAPO/LOCID
Internal Location Number (Customer, Supplier, or Plant)
EV_LOGICAL_SYSTEMExportingTYPE
BAPISCMBLOGSYS
Logical System



Exceptions of Method EXISTENCE_CHECK

This method does not have any exceptions

Example ABAP coding


DATA: lv_EV_ACTIVE_MODEL_INDICATOR TYPE ABAP_BOOL,
lv_EV_BSG TYPE BAPISCMBLOGQS,
lv_EV_DELETION_INDICATOR TYPE ABAP_BOOL,
lv_EV_EXISTENCE_FLAG TYPE ABAP_BOOL,
lv_EV_LOCATION_ID TYPE /SAPAPO/EXT_LOCNO,
lv_EV_LOCATION_INTERNAL_ID TYPE /SAPAPO/LOCNO,
lv_EV_LOCATION_TYPE_CODE TYPE /SAPAPO/C_LOCTYPE,
lv_EV_LOCATION_UUID TYPE /SAPAPO/LOCID,
lv_EV_LOGICAL_SYSTEM TYPE BAPISCMBLOGSYS,
lv_IV_LOCATION_INTERNAL_ID TYPE /SAPAPO/LOCNO,
lv_IV_LOCATION_TYPE_CODE TYPE /SAPAPO/C_LOCTYPE,
lv_IV_LOGICAL_SYSTEM TYPE BAPISCMBLOGSYS,
lv_other TYPE c.

CALL METHOD /SCMB/CL_LDM_LOC=>EXISTENCE_CHECK(
EXPORTING
IV_LOCATION_INTERNAL_ID = lv_IV_LOCATION_INTERNAL_ID
IV_LOCATION_TYPE_CODE = lv_IV_LOCATION_TYPE_CODE
IV_LOGICAL_SYSTEM = lv_IV_LOGICAL_SYSTEM
IMPORTING
EV_ACTIVE_MODEL_INDICATOR = lv_EV_ACTIVE_MODEL_INDICATOR
EV_BSG = lv_EV_BSG
EV_DELETION_INDICATOR = lv_EV_DELETION_INDICATOR
EV_EXISTENCE_FLAG = lv_EV_EXISTENCE_FLAG
EV_LOCATION_ID = lv_EV_LOCATION_ID
EV_LOCATION_INTERNAL_ID = lv_EV_LOCATION_INTERNAL_ID
EV_LOCATION_TYPE_CODE = lv_EV_LOCATION_TYPE_CODE
EV_LOCATION_UUID = lv_EV_LOCATION_UUID
EV_LOGICAL_SYSTEM = lv_EV_LOGICAL_SYSTEM ).

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



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!