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

MP56PS_TRGO2000 SAP ABAP INCLUDE - MP56PSTRGO2000







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

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_BUILD_GUI_TITLE CALL FUNCTION 'TG_BUILD_GUI_TITLE' EXPORTING name = namen-nachn pernr = ptp02-pernr version = tg_version "VJMKATDZ01 IMPORTING gui_title = gui_title.

TG_BUILD_GUI_TITLE CALL FUNCTION 'TG_BUILD_GUI_TITLE' EXPORTING name = namen-nachn pernr = ptp02-pernr reinr = ptp02-reinr version = tg_version "VJMKATDZ01 IMPORTING gui_title = gui_title.

TG_GET_ABORD_ABORD CALL FUNCTION 'TG_GET_ABORD_ABORD' EXPORTING pernr = wa_head-pernr trgnr = wa_head-reinr TABLES t_abord_in_abord = tab_abord_in_abord EXCEPTIONS table_head_read_error = 1 no_abord = 2 OTHERS = 3.

TG_GET_SCHEMAS CALL FUNCTION 'TG_GET_SCHEMAS' EXPORTING morei = ptp02-morei pernr = ptp02-pernr nachn = p0001-ename IMPORTING schema = t706s-schem TABLES trg_kzreas = tg_kz EXCEPTIONS no_schema_selected = 1.

TG_CHECK_PERIODS_CANCELLED * CALL FUNCTION 'TG_CHECK_PERIODS_CANCELLED' * EXPORTING * pernr = wa_head-pernr * reinr = wa_head-reinr * IMPORTING * cancelled_period = first_cancelled_period.

TG_GET_PERNR CALL FUNCTION 'TG_GET_PERNR' IMPORTING employee_number = ptp02-pernr trip_number = ptp02-reinr molga = ptp02-molga morei = ptp02-morei trvct_b = trvct_b trvct_v = trvct_v trvct_u = trvct_u trvct_f = trvct_f trvct_r = trvct_r trvct_p = trvct_p authp = authp TABLES it0001 = p0001 it0017 = p0017 it0008 = p0008 EXCEPTIONS cancel_input_pernr = 1 no_pernr_authority = 2.

TG_GET_PERNR CALL FUNCTION 'TG_GET_PERNR' IMPORTING employee_number = ptp02-pernr trip_number = ptp02-reinr molga = ptp02-molga morei = ptp02-morei trvct_b = trvct_b trvct_v = trvct_v trvct_u = trvct_u trvct_f = trvct_f trvct_r = trvct_r trvct_p = trvct_p authp = authp TABLES it0001 = p0001 it0017 = p0017 it0008 = p0008 EXCEPTIONS cancel_input_pernr = 1 no_pernr_authority = 2.

TG_GET_MASSNAHME CALL FUNCTION 'TG_GET_MASSNAHME' EXPORTING fcode = task pernr = ptp02-pernr morei = ptp02-morei IMPORTING trip_number = ptp02-reinr only_one_tg_existing = only_one_tg_existing EXCEPTIONS no_tg_existing = 1 no_tg_kzrea = 2 change_pernr = 3 cancel_tg_auswahl = 4 create_new_tg = 5.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-a02 "TG anlegen' * DIAGNOSE_OBJECT = ' ' text_question = text-a01 "No TG ex. - new ?

TG_GET_TGKENNZEICHEN CALL FUNCTION 'TG_GET_TGKENNZEICHEN' EXPORTING morei = ptp02-morei kzrea = t706s-kzrea IMPORTING trg_tr = trg_tr trg_av = trg_av EXCEPTIONS no_tg_kz = 1.

TG_CHECK_PERIODS_CANCELLED CALL FUNCTION 'TG_CHECK_PERIODS_CANCELLED' EXPORTING pernr = wa_head-pernr reinr = wa_head-reinr IMPORTING cancelled_period = first_cancelled_period.

FITV_RD_CHECK_INPUT * CALL FUNCTION 'FITV_RD_CHECK_INPUT' * EXPORTING * ort01 = wa_head-zort1 * act_head = wa_head * act_perio = wa_perio "XCIKATDZ02 * TABLES * ziel = ziel * EXCEPTIONS * no_adress_first_dest = 1 * no_adress_further_dest = 2 * adress_incomplete_firt_dest = 3 * adress_incomplete_further_dest = 4 * OTHERS = 5.

TG_GET_TGKENNZEICHEN CALL FUNCTION 'TG_GET_TGKENNZEICHEN' EXPORTING morei = ptp02-morei kzrea = t706s-kzrea IMPORTING trg_tr = trg_tr trg_av = trg_av EXCEPTIONS no_tg_kz = 1.

TRIP_GET_BEREIKZ CALL FUNCTION 'TRIP_GET_BEREIKZ' EXPORTING morei = morei berei = berei IMPORTING tarif = tarif trip_type = trip_type wo_accomodation = wo_accomodation EXCEPTIONS no_berei_kz = 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 MP56PS_TRGO2000 or its description.