SAP Reports / Programs | Personnel Time Management | Time Data Recording and Administration | Attendances/Absences(PT-RC-AA) SAP PT

MP031540 SAP ABAP INCLUDE - Infotype 0315: Form Routines







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


Text pool values


Title: Infotype 0315: Form Routines


INCLUDES used within this REPORT MP031540

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:

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = dfinf struc_content = pme42 kind_of_error = imessage IMPORTING back = use_default CHANGING status = subrc.

HRCA_CONTROLLINGAREA_GETDETAIL CALL FUNCTION 'HRCA_CONTROLLINGAREA_GETDETAIL' EXPORTING co_area = p_kokrs language = sy-langu IMPORTING name = name * CURRENCY = * CHRT_ACTTS = * FY_VARIANT = EXCEPTIONS not_found = 1 OTHERS = 2.

HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = 'K' costcenter = p_kostl controllingarea = p_kokrs begda = p0315-begda endda = p0315-endda langu = sy-langu IMPORTING costcenter_name = kostltext EXCEPTIONS OTHERS = 1.

HRCA_BUSINESSPROCESS_TEXT CALL FUNCTION 'HRCA_BUSINESSPROCESS_TEXT' EXPORTING co_area = p_kokrs businessprocess = p_sprznr read_date = p_date IMPORTING * SHORT_NAME = long_name = p_sprznrtext EXCEPTIONS text_not_found = 1 OTHERS = 2.

HRCA_ACTIVITYTYPE_TEXT CALL FUNCTION 'HRCA_ACTIVITYTYPE_TEXT' EXPORTING co_area = p_kokrs activitytype = p_lstar read_date = p_begda IMPORTING name = name description = p_lstartext "#EC DOM_EQUAL EXCEPTIONS OTHERS = 1.

HRCA_PLANT_GETDETAIL CALL FUNCTION 'HRCA_PLANT_GETDETAIL' EXPORTING plant = p_werks * LANGUAGE = SY-LANGU IMPORTING name = name EXCEPTIONS not_found = 1 OTHERS = 2.

HRCA_READ_VENDOR CALL FUNCTION 'HRCA_READ_VENDOR' EXPORTING lifnr = p_lifnr IMPORTING lifnrtext = p_lifnrtext EXCEPTIONS OTHERS = 1.

HRCA_READ_PURCHDOC CALL FUNCTION 'HRCA_READ_PURCHDOC' EXPORTING ebeln = p_ebeln ebelp = p_ebelp IMPORTING ebelptext = p_ebelptext EXCEPTIONS OTHERS = 1.

HRCA_READ_SERVICE CALL FUNCTION 'HRCA_READ_SERVICE' EXPORTING lstnr = p_asnum * LANGU = SY-LANGU IMPORTING lstnrtext = p_lstnrtext EXCEPTIONS OTHERS = 1.

HRCA_CHECK_MMSRV_0315 CALL FUNCTION 'HRCA_CHECK_MMSRV_0315' EXPORTING i_p0315 = i_p0315 EXCEPTIONS OTHERS = 0.

HRCA_CONTROLLINGAREA_FIND CALL FUNCTION 'HRCA_CONTROLLINGAREA_FIND' EXPORTING companycode = p0001-bukrs IMPORTING contrlarea = q0315-kokrs EXCEPTIONS not_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 MP031540 or its description.