Ansicht
Dokumentation
MSAM10_FUNCLOCATION_GETLIST - PM/CS: Get the list of Functional location
PERFORM Short Reference SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
You use this method to get the list of functional locations. This method internally uses the variant mentioned in the Service and asset management for Mobilecustomizing Define Settings for Movement of Data (transaction MSAM_GENERAL) for selection report RMSAM_MO_FUNCLOC_LIST to get the list of functional locations. If no variant is maintained then all the functional locations will be selected.
This method returns the list of functional location IDs only if the Sel. header Keys checkbox is selected in customizing Define Settings for Movement of Data . If the functional location header details like short text, address and so on need to be selected then this checkbox must be deselected.
Technical Notes
Errors encountered during processing are collected in the RETURN table.
Note
You can use the ME_MASS_REP structure to restrict the number of functional locations in the output list. The field ME_KEY_GREATER_THAN can be used to get the list of functional locations having functional location greater than the value in this field. The field ME_NUMBER_OF_HEADERS can be used to get the fixed number of functional locations.,,
Customer Enhancements
The following BAdI (Business Add-Ins) reference is provided in the method. This BAdI can be used for custom logic:
BADI_EAM_MSAM_FUNCLOCATION : Customer BAdI for Functional Location Object
BAdI method FLOC_GETLIST_PREPROCESScan be used to perform preprocessing of the data before the standard logic is called. If the standard logic is to be skipped then the importing parameter LV_SKIP_STANDARD is to be set.
BAdI method FLOC_GETLIST_OUTBOUND can be used by the customer to perform outbound processing after the standard logic.
Example
Notes
Further information
Parameters
FUNCLOC_LISTME_MASS_REP
REPLICATION_TYPE
RETURN
Exceptions
Function Group
MSAM_MOREP_FUNCLOCATIONFill RESBD Structure from EBP Component Structure Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 2506 Date: 20240523 Time: 063837 sap01-206 ( 78 ms )