Check Parameters Set in SAP User Profile

User profile parameters can be maintained in SU3.

check-sap-parameters-1

Use function module SUSR_USER_PARAMETERS_GET  to fetch the parameters set in  SAP user profile. Below program retrieves the parameters set in the SAP user profile.

TYPE-POOLS: ustyp.
*&---------------------------------------------------------------------*
*&      Data Declaration
*&---------------------------------------------------------------------*
DATA: gt_parameters  TYPE ustyp_t_parameters,
      gwa_parameters TYPE ustyp_parameters.

*&---------------------------------------------------------------------*
*&      start-of-selection
*&---------------------------------------------------------------------*
START-OF-SELECTION.

CALL FUNCTION 'SUSR_USER_PARAMETERS_GET'
  EXPORTING
    user_name           = sy-uname
    with_text           = 'X'
  TABLES
    user_parameters     = gt_parameters
  EXCEPTIONS
    user_name_not_exist = 1
    OTHERS              = 2.
IF sy-subrc <> 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

LOOP AT gt_parameters INTO gwa_parameters.
  WRITE:/ gwa_parameters.
ENDLOOP.

The same information is available in SAP table “USR05 – User Master Parameter ID”.