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
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.
Title: Dynamic Action for Sick Leave Donations
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.