SAP Reports / Programs | Personnel Management | Benefits(PA-BN) SAP PA

MP037840 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_BEN_CALC_ENDDA_REASON call function 'HR_BEN_CALC_ENDDA_REASON' exporting barea = p0378-barea adjust_reason = p0378-event begda = p0378-begda firsttime = true override = true reaction = no_log importing subrc = subrc tables error_table = error_table changing endda = computed_endda.

POPUP_TO_DECIDE_WITH_MESSAGE call function 'POPUP_TO_DECIDE_WITH_MESSAGE' exporting diagnosetext1 = diagnosetext1 diagnosetext2 = diagnosetext2 textline1 = 'Wollen Sie das aktuelle Endedatum'(p03) textline2 = 'durch das berechnete ersetzen?'(p04) text_option1 = 'Ja'(p05) text_option2 = 'Nein'(p06) titel = 'Abweichung des Enddedatums'(p07) start_column = 1 start_row = 10 importing answer = answer.

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting textline1 = 'Wollen Sie zur Anmeldung springen? '(001) text_option1 = 'Ja'(003) text_option2 = 'Nein'(004) titel = 'Sprung zur Anmeldung '(002) start_column = 1 start_row = 10 importing answer = answer.

HR_BEN_DEQUEUE_PERSONAL_NUMBER call function 'HR_BEN_DEQUEUE_PERSONAL_NUMBER' exporting pernr = p0378-pernr reaction = no_log.

HR_BEN_GET_KEY_DATE call function 'HR_BEN_GET_KEY_DATE' exporting begda = p0378-begda endda = p0378-endda reaction = no_msg importing keydt = key_date subrc = subrc tables error_table = error_table.

HR_BEN_ENQUEUE_PERSONAL_NUMBER call function 'HR_BEN_ENQUEUE_PERSONAL_NUMBER' exporting pernr = p0378-pernr reaction = no_log.



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