SAP Reports / Programs

MP061360 SAP ABAP INCLUDE - Dynamic Action for Sick Leave Donations







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


Text pool values


Title: Dynamic Action for Sick Leave Donations


INCLUDES used within this REPORT MP061360

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_UPDATE_LEAVE CALL FUNCTION 'HR_UPDATE_LEAVE' STARTING NEW TASK task_name PERFORMING get_rfc_results ON END OF TASK EXPORTING pernr = rpenr awart = p2001-awart begda = p2001-begda endda = p2001-endda stdaz = p2001-stdaz actio = 'INS ' donor = pspar-pernr.

HR_UPDATE_LEAVE CALL FUNCTION 'HR_UPDATE_LEAVE' STARTING NEW TASK task_name PERFORMING get_rfc_results ON END OF TASK EXPORTING pernr = rpenr awart = p2001-awart begda = p2001-begda endda = p2001-endda stdaz = p2001-stdaz actio = 'DEL '.

HR_UPDATE_QUOTA_SL_DONATION CALL FUNCTION 'HR_UPDATE_QUOTA_SL_DONATION' "#EC * STARTING NEW TASK 'HR_UPDATE_QUOTA_SL_DONATION' PERFORMING get_rfc_results ON END OF TASK EXPORTING pernr = recipientpernr recipient_ktart = quota_type begda = p2001-begda endda = p2001-endda quota_number = sick_leave_credit actio = pspar-actio donor = p2001-pernr * IMPORTING * BAPIRETURNINFO = EXCEPTIONS RECIPIENT_AWART_NOT_FOUND = 1 RECIPIENT_RECORD_NOT_FOUND = 2 UNRECOGNIZED_ACTION = 3 OTHERS = 4.

HR_UPDATE_QUOTA_SL_DONATION CALL FUNCTION 'HR_UPDATE_QUOTA_SL_DONATION' "#EC * STARTING NEW TASK 'HR_UPDATE_QUOTA_SL_DONATION' PERFORMING get_rfc_results ON END OF TASK EXPORTING pernr = recipientpernr recipient_ktart = quota_type begda = p2001-begda endda = p2001-endda quota_number = sick_leave_credit actio = 'DEL ' "pspar-actio donor = p2001-pernr * IMPORTING * BAPIRETURNINFO = EXCEPTIONS RECIPIENT_AWART_NOT_FOUND = 1 RECIPIENT_RECORD_NOT_FOUND = 2 UNRECOGNIZED_ACTION = 3 OTHERS = 4.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * PERCENTAGE = 0 text = waiting_message.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING * CLIENT = SY-MANDT date = begda foreign_amount = sel0014-betrg foreign_currency = sel0014-waers local_currency = poolwaers * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = exchange_rate * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.



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