GET_USER_SETTINGS SAP Method Reads user settings









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

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


Parameters of Method GET_USER_SETTINGS

.

NameTypeData TypeDescriptionDefault Value
ES_SEARCH_LANGUAGEExportingTYPE
T002T
Language Key Texts
ES_SEARCH_LOCATIONExportingTYPE
P1000
Infotype 1000: Object Name
ET_SEARCH_LANGUAGESExportingTYPE
TT_LANGUAGES
List of all languages
ET_SEARCH_LOCATIONSExportingTYPE
TT_LOCATIONS
List of all locations
EV_CATALOG_VIEWExportingTYPE
I
Catalog view
EV_PERNR_ASSIGNMENTExportingTYPE
CHAR1
EV_TIME_FRAMEExportingTYPE
NUMC5
time frame



Exceptions of Method GET_USER_SETTINGS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO LSOF_AC_SETTINGS.
DATA: lv_ES_SEARCH_LANGUAGE TYPE T002T,
lv_ES_SEARCH_LOCATION TYPE P1000,
lv_ET_SEARCH_LANGUAGES TYPE TT_LANGUAGES,
lv_ET_SEARCH_LOCATIONS TYPE TT_LOCATIONS,
lv_EV_CATALOG_VIEW TYPE I,
lv_EV_PERNR_ASSIGNMENT TYPE CHAR1,
lv_EV_TIME_FRAME TYPE NUMC5,
lv_other TYPE c.

CALL METHOD lo_class=>GET_USER_SETTINGS(
IMPORTING
ES_SEARCH_LANGUAGE = lv_ES_SEARCH_LANGUAGE
ES_SEARCH_LOCATION = lv_ES_SEARCH_LOCATION
ET_SEARCH_LANGUAGES = lv_ET_SEARCH_LANGUAGES
ET_SEARCH_LOCATIONS = lv_ET_SEARCH_LOCATIONS
EV_CATALOG_VIEW = lv_EV_CATALOG_VIEW
EV_PERNR_ASSIGNMENT = lv_EV_PERNR_ASSIGNMENT
EV_TIME_FRAME = lv_EV_TIME_FRAME ).

Links to Related Class(s)

LSOF_AC_...
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!