SAP Reports / Programs

LN1MEDSDS_SCR_USERPREFF01 SAP ABAP Report - LN1MEDSDSSCRUSERPREFF01







LN1MEDSDS_SCR_USERPREFF01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter LN1MEDSDS_SCR_USERPREFF01 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 LN1MEDSDS_SCR_USERPREFF01. "Basic submit
SUBMIT LN1MEDSDS_SCR_USERPREFF01 AND RETURN. "Return to original report after report execution complete
SUBMIT LN1MEDSDS_SCR_USERPREFF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT LN1MEDSDS_SCR_USERPREFF01

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:

/TSAM/DS_AUTHORITY_USERPREF CALL FUNCTION '/TSAM/DS_AUTHORITY_USERPREF' EXPORTING i_applarea = '01' i_activity = '01' i_maintenance = l_maintenance IMPORTING e_auth = l_auth1 e_rc = l_rc.

/TSAM/DS_AUTHORITY_USERPREF CALL FUNCTION '/TSAM/DS_AUTHORITY_USERPREF' EXPORTING i_applarea = '01' i_activity = '02' i_maintenance = l_maintenance IMPORTING e_auth = l_auth2 e_rc = l_rc CHANGING cr_errorhandler = lr_errorhandler.

/TSAM/DS_USERPREF_DETAIL CALL FUNCTION '/TSAM/DS_USERPREF_DETAIL' EXPORTING i_user = l_user i_vcode = l_vcode IMPORTING e_user = l_user e_cancelled = l_cancelled e_rc = e_rc CHANGING cr_errorhandler = cr_errorhandler.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = l_string1 default_button = '2' display_cancel_button = off IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

ISHMED_ME_COMMIT_WORK CALL FUNCTION 'ISHMED_ME_COMMIT_WORK' EXPORTING it_object = lt_userpref_ov[] IMPORTING e_rc = e_rc CHANGING cr_errorhandler = cr_errorhandler.

ISHMED_POPUP_ENTER_VALUES CALL FUNCTION 'ISHMED_POPUP_ENTER_VALUES' EXPORTING i_field = 'USRNAME' i_table = '/TSAM/DS_USER' i_title_of_popup = 'Enter User'(002) i_external_check = on i_keyword = 'User'(003) i_check_program_name = '/TSAM/SAPLDS_SCR_USERPREF' i_check_form_name = 'CHECK_USER' "Form CHECK_USER CHANGING c_value = l_user EXCEPTIONS cancelled = 1 input_error = 2 OTHERS = 3.

/TSAM/DS_USERPREF_DETAIL CALL FUNCTION '/TSAM/DS_USERPREF_DETAIL' EXPORTING i_user = l_user i_vcode = g_vcode it_copy_from = lt_usrprefa[] IMPORTING e_user = l_user e_cancelled = l_cancelled e_rc = e_rc CHANGING cr_errorhandler = cr_errorhandler.

/TSAM/DS_USERPREF_DETAIL CALL FUNCTION '/TSAM/DS_USERPREF_DETAIL' EXPORTING i_user = l_user i_vcode = g_vcode IMPORTING e_user = l_user e_cancelled = l_cancelled e_rc = e_rc CHANGING cr_errorhandler = cr_errorhandler.



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 LN1MEDSDS_SCR_USERPREFF01 or its description.