SAP Reports / Programs | Financial Accounting | Travel Management | Travel Expenses(FI-TV-COS) SAP FI

MP56T_OVERVF02 SAP ABAP INCLUDE - Form Routines for Welcome Screen with Dynamic Documents







MP56T_OVERVF02 is a standard ABAP INCLUDE 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 MP56T_OVERVF02 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 MP56T_OVERVF02. "Basic submit
SUBMIT MP56T_OVERVF02 AND RETURN. "Return to original report after report execution complete
SUBMIT MP56T_OVERVF02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Form Routines for Welcome Screen with Dynamic Documents


INCLUDES used within this REPORT MP56T_OVERVF02

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:

SUSR_USER_AUTH_FOR_OBJ_GET CALL FUNCTION 'SUSR_USER_AUTH_FOR_OBJ_GET' EXPORTING user_name = sy-uname sel_object = 'P_TRAVL' TABLES values = auth_tab EXCEPTIONS OTHERS = 0.

PTRV_SHOW_MY_TRIPS CALL FUNCTION 'PTRV_SHOW_MY_TRIPS' "QIZK008510 EXPORTING "QIZK008510 employeenumber = employeenumber "QIZK008510 use_ewt_deadline = 'X' "QIZK008510 suppress_draft = abap_true "MAW Save as draft IMPORTING "QIZK008510 return = return "QIZK008510 TABLES "QIZK008510 my_trips = my_trips. "QIZK008510

PTRV_SHOW_MY_TRIPS CALL FUNCTION 'PTRV_SHOW_MY_TRIPS' EXPORTING employeenumber = employeenumber use_ewt_deadline = ' ' "QIZK008510 suppress_draft = abap_true "MAW Save as draft IMPORTING return = return TABLES my_trips = my_trips.

PTRV_GET_NAME_FOR_PERNR CALL FUNCTION 'PTRV_GET_NAME_FOR_PERNR' EXPORTING personnel_number = employeenumber screen_display = ' ' validity_date = sy-datum IMPORTING name = employees_name EXCEPTIONS name_not_found = 1 OTHERS = 2.

PTRV_GET_NAME_FOR_PERNR CALL FUNCTION 'PTRV_GET_NAME_FOR_PERNR' EXPORTING personnel_number = employeenumber screen_display = ' ' validity_date = sy-datum IMPORTING name = employees_name EXCEPTIONS name_not_found = 1 OTHERS = 2.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = domain value = p_value texts_only = 'X' IMPORTING dd07v_wa = dd07v_wa EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = domain value = p_value langu = 'E' texts_only = 'X' IMPORTING dd07v_wa = dd07v_wa EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = domname value = p_value texts_only = 'X' IMPORTING dd07v_wa = dd07v_wa EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = domname value = p_value langu = 'E' texts_only = 'X' IMPORTING dd07v_wa = dd07v_wa EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

PTRM_WEB_CE_GET_EMPLOYEE_INFO CALL FUNCTION 'PTRM_WEB_CE_GET_EMPLOYEE_INFO' EXPORTING iv_personnel_number = employeenumber IMPORTING ev_is_ce_assignment = lv_is_ce_assignment EXCEPTIONS error_reading_infotype = 1 persno_not_exist = 2 OTHERS = 3.

BAPI_USR01DOHR_GETEMPLOYEE CALL FUNCTION 'BAPI_USR01DOHR_GETEMPLOYEE' EXPORTING id = sy-uname IMPORTING return = bapiret2 employeenumber = employeenumber.

PTRV_GET_NAME_FOR_PERNR CALL FUNCTION 'PTRV_GET_NAME_FOR_PERNR' EXPORTING personnel_number = employeenumber screen_display = ' ' validity_date = sy-datum IMPORTING * name = title_name "MAWK015287 name = lv_title_name "MAWK015287 EXCEPTIONS name_not_found = 1 OTHERS = 2.

PTRM_WEB_CE_GET_EMPLOYEE_INFO CALL FUNCTION 'PTRM_WEB_CE_GET_EMPLOYEE_INFO' EXPORTING iv_personnel_number = employeenumber IMPORTING ev_is_ce_assignment = lv_is_ce_assignment EXCEPTIONS error_reading_infotype = 1 persno_not_exist = 2 OTHERS = 3.

PTRM_WEB_CE_GET_EMPLOYEE_INFO CALL FUNCTION 'PTRM_WEB_CE_GET_EMPLOYEE_INFO' EXPORTING iv_personnel_number = employeenumber IMPORTING ev_is_ce_assignment = lv_is_ce_assignment EXCEPTIONS error_reading_infotype = 1 persno_not_exist = 2 OTHERS = 3.

SUSR_USER_AUTH_FOR_OBJ_GET CALL FUNCTION 'SUSR_USER_AUTH_FOR_OBJ_GET' EXPORTING user_name = sy-uname sel_object = 'P_TRAVL' TABLES values = auth_tab EXCEPTIONS user_name_not_exist = 1 not_authorized = 2 internal_error = 3 OTHERS = 4.

PTRM_WEB_CE_GET_PERS_ASGMT CALL FUNCTION 'PTRM_WEB_CE_GET_PERS_ASGMT' EXPORTING iv_user_name = sy-uname IMPORTING et_pernr = lt_pernr_tab.

PTRM_WEB_CE_GET_EMPLOYEE_INFO CALL FUNCTION 'PTRM_WEB_CE_GET_EMPLOYEE_INFO' EXPORTING iv_personnel_number = employeenumber IMPORTING ev_is_ce_assignment = lv_is_ce_assignment EXCEPTIONS error_reading_infotype = 1 persno_not_exist = 2 OTHERS = 3.

PTRV_GET_USERPREFS CALL FUNCTION 'PTRV_GET_USERPREFS' EXPORTING username = sy-uname IMPORTING various_fields = various_fields.

DDUT_DOMVALUES_GET





CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'FTPD_PSTAT' langu = sy-langu texts_only = 'X' TABLES dd07v_tab = dd07v_tab1 EXCEPTIONS illegal_input = 1 OTHERS = 2.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'ANTRG' langu = sy-langu texts_only = 'X' TABLES dd07v_tab = dd07v_tab2 EXCEPTIONS illegal_input = 1 OTHERS = 2.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'REQ_APPVL_STATUS' langu = sy-langu texts_only = 'X' TABLES dd07v_tab = dd07v_tab3 EXCEPTIONS illegal_input = 1 OTHERS = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = employeenumber infty = '0001' begda = sy-datum endda = sy-datum IMPORTING subrc = subrc TABLES infty_tab = p0001 EXCEPTIONS infty_not_found = 1.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = employeenumber infty = '0017' begda = sy-datum endda = sy-datum IMPORTING subrc = subrc TABLES infty_tab = p0017 EXCEPTIONS infty_not_found = 1.

CHECK_AUTH_AUTHP CALL FUNCTION 'CHECK_AUTH_AUTHP' EXPORTING datum = sy-datum pernr = ptp00-pernr is_head = t_head "MAWK000377 is_perio = t_perio "MAWK000377 EXCEPTIONS OTHERS = 1.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = employeenumber infty = '0008' begda = sy-datum endda = sy-datum IMPORTING subrc = subrc TABLES infty_tab = p0008 EXCEPTIONS OTHERS = 0.

VRM_GET_IDS CALL FUNCTION 'VRM_GET_IDS' "MAWK006098 IMPORTING "MAWK006098 ids = lt_ids. "MAWK006098

VRM_DELETE_VALUES CALL FUNCTION 'VRM_DELETE_VALUES' "MAWK006098 EXPORTING "MAWK006098 id = ls_ids "MAWK006098 id_contains_progname = abap_true "MAWK006098 EXCEPTIONS "MAWK006098 id_not_found = 1 "MAWK006098 OTHERS = 2. "MAWK006098



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