MATCH_LOC_FR_1_STD_ID SAP Method Identity a location from a single Standard Id









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

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


Parameters of Method MATCH_LOC_FR_1_STD_ID

.

NameTypeData TypeDescriptionDefault Value
IT_LOC_SORT_BUFImportingTYPE
/SCMTMS/CL_TRQ_HELPER=>TT_LOC_KEY_ID
Mapping Table Location Key / ID
IT_LOC_STD_ID_KEYImportingTYPE
TT_LOC_STD_ID_KEY
Mapping Table Loc StdID -> Key
IV_AGENCYImportingTYPE
CHAR03
Agency ID
IV_PREF_IATACODEImportingTYPE
/SCMTMS/LOC_IATACODE
Preferred value for IATACODE
IV_PREF_LOC_IDImportingTYPE
/SCMTMS/LOCATION_ID
Preferred Location Internal ID
IV_PREF_UNLOCODEImportingTYPE
/SCMTMS/LOC_UNLOCODE
Preferred value for UNLOCODE
IV_STDLOCImportingTYPE
/SCMTMS/CPX_LOCATION_STD_ID_CT
STD Loc from Proxy
IT_LOC_STD_ID_KEYImportingTYPE
/SCMTMS/CL_CMN_HELPER_SERVICE=>TT_LOC_STD_ID_KEY
Mapping Table Loc StdID -> Key
EV_IATACODEExportingTYPE
/SCMTMS/LOC_IATACODE
International Air Transport Association: Location
EV_INTLOCExportingTYPE
/SCMTMS/LOCATION_ID
Location Internal ID
EV_LOCUUIDExportingTYPE
/SCMTMS/LOCATION_UUID
Location UUID
EV_UNIQUE_MATCHExportingTYPE
ABAP_BOOL
TRUE if result is a unique match
EV_UNLOCODEExportingTYPE
/SCMTMS/LOC_UNLOCODE
United Nations Code for Trade and Transport Locations



Exceptions of Method MATCH_LOC_FR_1_STD_ID

This method does not have any exceptions

Example ABAP coding


DATA: lv_EV_IATACODE TYPE /SCMTMS/LOC_IATACODE,
lv_EV_INTLOC TYPE /SCMTMS/LOCATION_ID,
lv_EV_LOCUUID TYPE /SCMTMS/LOCATION_UUID,
lv_EV_UNIQUE_MATCH TYPE ABAP_BOOL,
lv_EV_UNLOCODE TYPE /SCMTMS/LOC_UNLOCODE,
lv_IT_LOC_SORT_BUF TYPE /SCMTMS/CL_TRQ_HELPER=>TT_LOC_KEY_ID,
lv_IT_LOC_STD_ID_KEY TYPE TT_LOC_STD_ID_KEY,
lv_IV_AGENCY TYPE CHAR03,
lv_IV_PREF_IATACODE TYPE /SCMTMS/LOC_IATACODE,
lv_IV_PREF_LOC_ID TYPE /SCMTMS/LOCATION_ID,
lv_IV_PREF_UNLOCODE TYPE /SCMTMS/LOC_UNLOCODE,
lv_IV_STDLOC TYPE /SCMTMS/CPX_LOCATION_STD_ID_CT,
lv_IT_LOC_STD_ID_KEY TYPE /SCMTMS/CL_CMN_HELPER_SERVICE=>TT_LOC_STD_ID_KEY,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_CMN_HELPER_SERVICE=>MATCH_LOC_FR_1_STD_ID(
EXPORTING
IT_LOC_SORT_BUF = lv_IT_LOC_SORT_BUF
IT_LOC_STD_ID_KEY = lv_IT_LOC_STD_ID_KEY
IV_AGENCY = lv_IV_AGENCY
IV_PREF_IATACODE = lv_IV_PREF_IATACODE
IV_PREF_LOC_ID = lv_IV_PREF_LOC_ID
IV_PREF_UNLOCODE = lv_IV_PREF_UNLOCODE
IV_STDLOC = lv_IV_STDLOC
IT_LOC_STD_ID_KEY = lv_IT_LOC_STD_ID_KEY
IMPORTING
EV_IATACODE = lv_EV_IATACODE
EV_INTLOC = lv_EV_INTLOC
EV_LOCUUID = lv_EV_LOCUUID
EV_UNIQUE_MATCH = lv_EV_UNIQUE_MATCH
EV_UNLOCODE = lv_EV_UNLOCODE ).

Links to Related Class(s)

/SCMTMS/...
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!