SAP Reports / Programs | Financial Accounting | Travel Management | Travel Planning(FI-TV-PL) SAP FI

SAVE_REQUEST SAP ABAP INCLUDE - SAVEREQUEST







SAVE_REQUEST 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 SAVE_REQUEST 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 SAVE_REQUEST. "Basic submit
SUBMIT SAVE_REQUEST AND RETURN. "Return to original report after report execution complete
SUBMIT SAVE_REQUEST 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 SAVE_REQUEST

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:

CHECK_AUTH_AUTHS CALL FUNCTION 'CHECK_AUTH_AUTHS' EXPORTING datum = sy-datum authf = authf auths = auths pernr = p_wa_req_head-pernr reinr = p_wa_req_head-reinr is_head = p_wa_head "MAWK000377 is_perio = p_wa_perio "MAWK000377 EXCEPTIONS OTHERS = 1.

FITP_CREATE_TRIP_FROM_REQUEST CALL FUNCTION 'FITP_CREATE_TRIP_FROM_REQUEST' EXPORTING morei = p_morei i_fm_posting_date = 4100_fm_posting_date "XCI1791542 IMPORTING wa_head = p_wa_head wa_perio = p_wa_perio TABLES t_req_head = p_t_req_head t_request = p_t_request t_req_reason = p_t_req_reason t_req_account = p_t_req_account t_req_advance = p_t_req_advance t_user = user CHANGING wa_req_head = p_wa_req_head EXCEPTIONS creation_failed = 1 enqueue_failed = 2 OTHERS = 3.

FITP_SAVE_TRIP_FROM_REQUEST CALL FUNCTION 'FITP_SAVE_TRIP_FROM_REQUEST' EXPORTING morei = p_morei i_fm_posting_date = 4100_fm_posting_date "XCI1791542 TABLES t_req_head = p_t_req_head t_request = p_t_request t_req_account = p_t_req_account t_req_advance = p_t_req_advance t_req_reason = p_t_req_reason "ARIN1685162 t_user = user CHANGING wa_req_head = p_wa_req_head wa_head = p_wa_head wa_perio = p_wa_perio EXCEPTIONS overlapping_error = 1 update_failed = 2 OTHERS = 3.

FITP_UPDATE_REQUEST CALL FUNCTION 'FITP_UPDATE_REQUEST' EXPORTING wa_request_head = p_wa_req_head IMPORTING return = bapireturn TABLES request_head = p_t_req_head request = p_t_request account = p_t_req_account advance = p_t_req_advance reason = p_t_req_reason EXCEPTIONS database_error_request = 1 OTHERS = 2.

PTRM_VERSION_TABLE_UPDATE CALL FUNCTION 'PTRM_VERSION_TABLE_UPDATE' EXPORTING is_head = p_wa_head is_perio = p_wa_perio is_req_head = p_wa_req_head iv_trip_component = 'R' is_varia_r = ls_varia_r IMPORTING es_version = ls_version et_return = lt_return_v ev_html_form = l_html_form ev_pdf_form = l_pdf_form.

PTRM_VERSION_ARCHIVE_SAVE CALL FUNCTION 'PTRM_VERSION_ARCHIVE_SAVE' IN UPDATE TASK EXPORTING is_version = ls_version i_trip_data_source = 'DB' i_pdf_form = l_pdf_form i_html_form = l_html_form.

PTRM_VERSION_ARCHIVE_SAVE_2 CALL FUNCTION 'PTRM_VERSION_ARCHIVE_SAVE_2' EXPORTING is_version = ls_version i_trip_data_source = 'DB' i_pdf_form = l_pdf_form i_html_form = l_html_form.

PTRV_GET_USERPREFS CALL FUNCTION 'PTRV_GET_USERPREFS' IMPORTING f4_keepmax = f4_keepmax.

PTRV_EXTRACT_PERSONAL_HELP CALL FUNCTION 'PTRV_EXTRACT_PERSONAL_HELP' EXPORTING trip_header = wa_head_ptrv "#EC ENHOK trip_period = wa_perio_ptrv "#EC ENHOK f4_keepmax = f4_keepmax TABLES ziel = zw_ziel konti = konti.

GET_TRIP_SCHEMA CALL FUNCTION 'GET_TRIP_SCHEMA' EXPORTING morei = p_morei employee = p_wa_req_head-pernr date = p_wa_req_head-date_beg plan_activity = p_wa_req_head-activity_type sw_portal = g_sw_portal "FIXK042618 IMPORTING schem = schema trip_type = trip_type homeland = homeland TABLES items = t_item EXCEPTIONS not_found = 1 infotype_not_found = 2 "FIXK042618 no_entry_in_table = 3 "FIXK042618 OTHERS = 4.

GET_TRIP_SCHEMA CALL FUNCTION 'GET_TRIP_SCHEMA' EXPORTING morei = p_morei employee = p_wa_req_head-pernr date = p_wa_req_head-date_beg plan_activity = p_wa_req_head-activity_type sw_portal = g_sw_portal "FIXK042618 IMPORTING schem = schema trip_type = trip_type homeland = homeland TABLES items = t_item EXCEPTIONS not_found = 1 infotype_not_found = 2 "FIXK042618 no_entry_in_table = 3 "FIXK042618 OTHERS = 4.

PTRV_TRAVEL_STATS_UPD_PRESTEP CALL FUNCTION 'PTRV_TRAVEL_STATS_UPD_PRESTEP' EXPORTING personnel_number = p_wa_perio-pernr validity_date = p_wa_head-datb1 trip_number = p_wa_perio-reinr trip_period = p_wa_perio-perio trip_schema = p_wa_head-schem trip_provision_variant = p_wa_head-morei update_type = 'U' iv_settlemnt_status = p_wa_perio-abrec "MAW Save as draft IMPORTING update_mode = update_mode return = xreturn.



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