SAP Reports / Programs | Cross-Application Components | General Application Functions | Basis-Related Help Functions, Appl. Log, Formula Intepreter(CA-GTF-TS-BRHF) SAP CA

R_USER_DEFAULTS SAP ABAP Report - Change/Display User Settings







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 see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT R_USER_DEFAULTS. "Basic submit
SUBMIT R_USER_DEFAULTS AND RETURN. "Return to original report after report execution complete
SUBMIT R_USER_DEFAULTS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT R_USER_DEFAULTS

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name R_USER_DEFAULTS or its description.