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

MP56PS_TRGI2001 SAP ABAP INCLUDE - MP56PSTRGI2001







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

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:

TG_CHECK_STATUS_RELEVANT_TG CALL FUNCTION 'TG_CHECK_STATUS_RELEVANT_TG' IMPORTING p_rueckbuchung = rueckbuchung CHANGING P_PERIO = abordnung_wa_perio EXCEPTIONS no_posting_back = 1.

BAPI_TRIP_CHANGE_STATUS CALL FUNCTION 'BAPI_TRIP_CHANGE_STATUS' EXPORTING employeenumber = wa_head-pernr tripnumber = wa_head-fintn periodnumber = '000' approved_new = '4' account_new = '1' IMPORTING return = return.

TG_CHECK_STATUS_RELEVANT_TG CALL FUNCTION 'TG_CHECK_STATUS_RELEVANT_TG' IMPORTING p_rueckbuchung = rueckbuchung CHANGING P_PERIO = abordnung_wa_perio EXCEPTIONS no_posting_back = 1.

TG_CHECK_OVERLAP_ABS_UEB_ABORD CALL FUNCTION 'TG_CHECK_OVERLAP_ABS_UEB_ABORD' EXPORTING TG_NUMMER = wa_head-abordnung P_DATV1 = ptp02-datv1 P_DATB1 = wa_head_old-datv1 P_UHRV1 = ptp02-uhrv1 P_UHRB1 = wa_head_old-uhrv1.

TG_CHECK_OVERLAP_ABS_UEB_ABORD CALL FUNCTION 'TG_CHECK_OVERLAP_ABS_UEB_ABORD' EXPORTING TG_NUMMER = wa_head-abordnung P_DATV1 = wa_head_old-datb1 P_DATB1 = ptp02-datb1 P_UHRV1 = wa_head_old-uhrb1 P_UHRB1 = ptp02-uhrb1.

TG_CALC_ENDRG CALL FUNCTION 'TG_CALC_ENDRG' EXPORTING P_WA_HEAD = wa_head P_MAX_TRAVEL_DAYS = max_travel_days CHANGING P_ENDRG = ptp02-endrg.



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