R_USER_DEFAULTS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for To display or change user settings that were created using class
If you would like to execute this report or see the full code listing simply enter R_USER_DEFAULTS into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: P_DISP = Display Data
Selection Text: P_PERS = Personalization Key
Selection Text: P_STRUC = D Structure Name
Selection Text: P_UNAME = D User
Title: Change/Display User Settings
Text Symbol: 004 = Key for User Settings
Text Symbol: 005 = Structure Name for Determining Field Labels
Text Symbol: 006 = Output Option - Display/Change
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = p_uname IMPORTING address = gs_address TABLES return = lt_return.
PRGN_CHECK_SYSTEM_TYPE CALL FUNCTION 'PRGN_CHECK_SYSTEM_TYPE' EXCEPTIONS sap_system = 1 OTHERS = 2.
BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = p_uname IMPORTING logondata = ls_logon TABLES return = lt_return.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'SPERS_REGT' TABLES dfies_tab = lt_field_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PERS_KEY' dynpprog = sy-repid dynpnr = '1000' dynprofield = 'P_PERS' value_org = 'S' TABLES value_tab = lt_text field_tab = lt_field_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
R_USER_DEFAULTS - Change/Display User Settings R_USER_DEFAULTS - Change/Display User Settings R_UPDATE_REQ_REVISION_REF_KEY - Report R_UPDATE_REQ_REVISION_REF_KEY R_UPDATE_REQ_REVISION_REF_KEY - Report R_UPDATE_REQ_REVISION_REF_KEY R_TZZKD_ZGP_CORR - Report R_TZZKD_ZGP_CORR Business Partner Conversions R_TZZKD_ZGP_CORR - Report R_TZZKD_ZGP_CORR Business Partner Conversions