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

PTRV_TRAVEL_EXISTS SAP ABAP Report - XPRA for Poss. Setting of Addon Switch EA-TRV in Table TBE11







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


Text pool values


Title: XPRA for Poss. Setting of Addon Switch EA-TRV in Table TBE11


INCLUDES used within this REPORT PTRV_TRAVEL_EXISTS

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:

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' TABLES xmsg = my_prot EXCEPTIONS OTHERS = 5.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.

TRAVEL_DATA_EXISTS_GLOBAL CALL FUNCTION 'TRAVEL_DATA_EXISTS_GLOBAL' IMPORTING travel_data_exists = travel_data_exists first_client_with_travel = first_client_with_travel EXCEPTIONS travel_data_not_existing = 1 OTHERS = 2.

SCPR_ACTIVATE_BCSETS_REMOTE CALL FUNCTION 'SCPR_ACTIVATE_BCSETS_REMOTE' EXPORTING activation_type = 1 system = sy-sysid mandant = sy-mandt task_number_syst = task write_status = 'X' IMPORTING proto_handle = proto_handle rc_activ = rc_activ TABLES bcset_ids = bcset_ids EXCEPTIONS no_authority = 1 no_bcset = 2 wrong_parameters = 3 no_rfc_authority = 4 rfc_failure = 5 internal_error = 6 OTHERS = 7.

SCPR_DB_ACTSTATUS_READ CALL FUNCTION 'SCPR_DB_ACTSTATUS_READ' EXPORTING system_id = sy-sysid mandant = sy-mandt bcset = bcset_ids-bcset_id IMPORTING act_status = act_status act_nr = proto_handle EXCEPTIONS no_data_found = 1 OTHERS = 2.



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