SAP Reports / Programs

/OSP/TRIP_SYNC_OUT SAP ABAP Report - Program to Syncronize trip Data from backend to Client







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


Text pool values


Title: Program to Syncronize trip Data from backend to Client


INCLUDES used within this REPORT /OSP/TRIP_SYNC_OUT

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:

/OSP/APPL_LOG_CREATE CALL FUNCTION '/OSP/APPL_LOG_CREATE' EXPORTING iv_object = c_appl_log_object iv_subobject = c_appl_log_subobject IMPORTING ev_log_handle = lv_log_handle.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/GET_VALID_TRIP_FOR_SYNC CALL FUNCTION '/OSP/GET_VALID_TRIP_FOR_SYNC' IMPORTING et_sync_out = lt_trip_sync_out.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/GET_USERNAME_FROM_PERNR CALL FUNCTION '/OSP/GET_USERNAME_FROM_PERNR' EXPORTING iv_pernr = ls_trip_sync-pernr iv_validity_date = sy-datum IMPORTING ev_username = lv_user_name et_return = lt_return.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/GET_TRIP_COR_JOURNAL_DATA CALL FUNCTION '/OSP/GET_TRIP_COR_JOURNAL_DATA' EXPORTING iv_username = lv_cjs_user iv_trip_number = lv_cjs_trip_number IMPORTING es_trip_details = ls_cjs_trip et_return = lt_return.

/OSP/TRVL_GET_TRIP_PLAN_CJS CALL FUNCTION '/OSP/TRVL_GET_TRIP_PLAN_CJS' EXPORTING iv_username = lv_user_name iv_trip_plan_number = ls_trip_sync-reinr IMPORTING et_scenario_attributes = lt_trip_plan_cjs et_return = lt_return.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/TRVL_ERROR_MESSAGE * CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' * IMPORTING * es_error_message = ls_return.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/TRIP_SYNC_IH_CALL CALL FUNCTION '/OSP/TRIP_SYNC_IH_CALL' EXPORTING it_trip_sync = lt_trip_sync_ih_status IMPORTING et_trip_sync = lt_trip_sync_ih_status et_return = lt_return.

/OSP/TRVL_ERROR_MESSAGE CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/TRV_MARK_AS_SYNC_DONE CALL FUNCTION '/OSP/TRV_MARK_AS_SYNC_DONE' EXPORTING it_entries_to_mark_as_synced = lt_trip_synced IMPORTING et_return = lt_return.

/OSP/TRVL_ERROR_MESSAGE





CALL FUNCTION '/OSP/TRVL_ERROR_MESSAGE' IMPORTING es_error_message = ls_return.

/OSP/APPL_LOG_SAVE CALL FUNCTION '/OSP/APPL_LOG_SAVE' EXPORTING iv_log_handle = lv_log_handle it_log_messages = lt_appl_logs.



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 /OSP/TRIP_SYNC_OUT or its description.