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

MP56TF3000 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

PTRV_GET_USERPREFS CALL FUNCTION 'PTRV_GET_USERPREFS' IMPORTING TOGGLE_STATUS = TOGGLE_STATUS VARIOUS_FIELDS = VARIOUS_FIELDS.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = BELEG-BLDAT "Belegdatum FOREIGN_AMOUNT = BELEG-BETRG "Belegbetrag FOREIGN_CURRENCY = BELEG-WAERS "Belegwährung LOCAL_CURRENCY = BELEG-PAYCURR "Auszahlungswährung RATE = BELEG-KURSB "Kurs aus Dialog TYPE_OF_RATE = T706D-KURST "Kurstyp IMPORTING LOCAL_AMOUNT = WA_GT_PTRV_RECEIPT-HBETR EXCEPTIONS NO_RATE_FOUND = 04 OVERFLOW = 08 ERROR_MESSAGE = 12.

HRCA_ROUND_AMOUNT CALL FUNCTION 'HRCA_ROUND_AMOUNT' EXPORTING AMOUNT_IN = ROUND_AMOUNT COMPANY = P0001-BUKRS CURRENCY = PTK03-PAYCURR IMPORTING AMOUNT_OUT = ROUND_AMOUNT.

PTRA_UTIL_MEM_CLEAR_ALL CALL FUNCTION 'PTRA_UTIL_MEM_CLEAR_ALL' EXCEPTIONS ERROR_OCCURRED = 1 OTHERS = 2.

PTRM_UTIL_MESSAGES_DELETE CALL FUNCTION 'PTRM_UTIL_MESSAGES_DELETE' EXPORTING I_ALL_ONLY_ONCE_MESSAGES = 'X'.

PTRA_SCREEN_MEM_CLEAR_ALL CALL FUNCTION 'PTRA_SCREEN_MEM_CLEAR_ALL' EXCEPTIONS ERROR_OCCURRED = 1 OTHERS = 2.

LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' TABLES LISTOBJECT = LISTTAB EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DISPLAY_LIST CALL FUNCTION 'DISPLAY_LIST' EXPORTING FULLSCREEN = 'X' TABLES LISTOBJECT = LISTTAB EXCEPTIONS EMPTY_LIST = 1 OTHERS = 2.

TRG_CHANGE_ENTGELT_UNTERK * CALL FUNCTION 'TRG_CHANGE_ENTGELT_UNTERK' * EXPORTING * p_head = wa_head * p_perio = wa_perio * TABLES * beleg = beleg * exbel = exbel * destinations = ziel * EXCEPTIONS * data_read_error = 1 * OTHERS = 2.

TRG_CHANGE_KZREA CALL FUNCTION 'TRG_CHANGE_KZREA' EXPORTING P_HEAD = WA_HEAD P_PERIO = WA_PERIO LAND = PS_LAND TABLES DESTINATIONS = ZIEL DEDUCTIONS = ABZUG.

FITV_CALC_NO_OV_AND_NO_PD CALL FUNCTION 'FITV_CALC_NO_OV_AND_NO_PD' EXPORTING IT_DESTINATIONS = LT_ZIEL_TEMP IT_DEDUCTIONS = LT_ABZUG_TEMP IS_HEAD = WA_HEAD IS_PERIO = WA_PERIO IV_COUNTRY = T001_LAND1 IMPORTING ET_DEST_NO_PD_NO_OV = LT_DEST_NR_PD_NR_OV_TEMP EXCEPTIONS ERROR_OCCURRED = 1 OTHERS = 2.

PTRV_TRIP_CHAIN_UPDATE CALL FUNCTION 'PTRV_TRIP_CHAIN_UPDATE' EXPORTING WA_HEAD = WA_HEAD WA_PERIO = WA_PERIO I_SIMULATION = TRUE IMPORTING WA_HEAD_CHANGED = WA_HEAD TABLES * XCI_LCAT_5 begin * ziel = ziel.

BAPI_TRIP_GET_FORM * CALL FUNCTION 'BAPI_TRIP_GET_FORM' * EXPORTING * employeenumber = wa_head-pernr * tripnumber = wa_head-reinr * display_form = 'X' * get_trip_from_memory = 'X' ** DOCK_TREE_CONTROL = 'X' "QIZK058986 * dock_tree_control = dock_tree "QIZK058986 * IMPORTING * return = p_return.

PTRM_WEB_FORM_PDF_GET CALL FUNCTION 'PTRM_WEB_FORM_PDF_GET' EXPORTING I_EMPLOYEENUMBER = WA_PERIO-PERNR I_TRIPNUMBER = WA_PERIO-REINR I_PERIODNUMBER = WA_PERIO-PERIO I_TRIP_COMPONENT = ' ' * i_trip_data_source = 'MYK' I_TRIP_DATA_SOURCE = DATA_SOURCE "GLWK026984 I_DISPLAY_FORM = 'X' TABLES ET_RETURN = ET_RETURN.

GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING ACCESSIBILITY = ACCESSIBILITY_MODE EXCEPTIONS ITS_NOT_AVAILABLE = 1.

GET_ACCESSIBILITY_MODE * CALL FUNCTION 'GET_ACCESSIBILITY_MODE' * IMPORTING * accessibility = access_bool "type ABAP_BOOL * EXCEPTIONS * its_not_available = 1.

PTRV_ACCESS_SHORT_FORM CALL FUNCTION 'PTRV_ACCESS_SHORT_FORM' EXPORTING EMPLOYEENUMBER = PTRV_PERNR TRIPNUMBER = WA_HEAD-REINR PERIODNUMBER = WA_PERIO-PERIO * get_trip_from_memory = ' ' "JHEK000474 * get_trip_from_memory = 'X' "JHEK000474 GET_TRIP_FROM_MEMORY = FROM_MEMORY "GLWK026984 EXCEPTIONS TRIP_NOT_FOUND = 1 OTHERS = 2.

BAPI_TRIP_GET_FORM CALL FUNCTION 'BAPI_TRIP_GET_FORM' EXPORTING EMPLOYEENUMBER = WA_HEAD-PERNR TRIPNUMBER = WA_HEAD-REINR PERIODNUMBER = WA_PERIO-PERIO "VJMPSTRG00 DISPLAY_FORM = LF_DISPLAY * get_trip_from_memory = 'X' GET_TRIP_FROM_MEMORY = FROM_MEMORY "GLWK026984 DOCK_TREE_CONTROL = DOCK_TREE IMPORTING RETURN = P_RETURN TABLES TRIPFORM = LT_TRIPFORM.

BAPI_TRIP_GET_FORM_HTML





CALL FUNCTION 'BAPI_TRIP_GET_FORM_HTML' EXPORTING EMPLOYEENUMBER = WA_HEAD-PERNR TRIPNUMBER = WA_HEAD-REINR HTML_TEMPLATE = HTML_TEMPLATE * get_trip_from_memory = 'X' GET_TRIP_FROM_MEMORY = FROM_MEMORY "GLWK026984 DISPLAY_FORM = 'X' EINKOPF = 'X' IMPORTING RETURN = P_RETURN TABLES TRIPFORM_HTML = HTML.

TRIPS_LIST_PERIO_HEAD CALL FUNCTION 'TRIPS_LIST_PERIO_HEAD' EXPORTING EMPLOYEENUMBER = PTRV_PERNR OLD_VERSIONS = ' ' IMPORTING NO_TRIPS = NO_TRIPS TABLES PERIO = T_PERIO "#EC ENHOK HEAD = T_HEAD "#EC ENHOK EXCEPTIONS TABLE_PERIO_READ_ERROR = 1 TABLE_HEAD_READ_ERROR = 2 TABLES_INCONSISTENT = 3 OTHERS = 99.

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING TITEL = 'Information zur Reiseübersicht'(PO1) DIAGNOSETEXT1 = 'Um die Details Ihrer Reisen im Überblick'(PO2) DIAGNOSETEXT2 = 'zu sehen, expandieren Sie den linken '(PO3) DIAGNOSETEXT3 = 'Datenbereich mit der Maus.'(PO4)

SAPGUI_SET_FUNCTIONCODE CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE' EXPORTING FUNCTIONCODE = 'ENTER' EXCEPTIONS FUNCTION_NOT_SUPPORTED = 1 OTHERS = 2.

CHECK_AUTH_AUTHF CALL FUNCTION 'CHECK_AUTH_AUTHF' EXPORTING datum = sy-datum authf = authf pernr = wa_head-pernr reinr = wa_head-reinr IS_HEAD = wa_head IS_PERIO = wa_perio EXCEPTIONS NO_AUTHORISATION = 1 NO_INFOTYPE = 2 OTHERS = 3.



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