PTWLNPPF 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 PTWLNPPF 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: Include PTWLNPPF
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr IMPORTING entrydate = l_pension_wa-hidat TABLES entry_dates = entry_date_tab EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = lv_date IMPORTING last_day_of_month = keydate EXCEPTIONS day_in_no_date.
COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = l_pension_wa-hidat second_date = l_pension_wa-ledat IMPORTING years_between_dates = t_ee_years EXCEPTIONS sequence_of_dates_not_valid = 1 OTHERS = 2.
HR_HK_DIFF_BT_2_DATES CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES' EXPORTING date1 = endda date2 = begda output_format = p_output_format IMPORTING years = g_total_years months = g_total_months days = g_total_days EXCEPTIONS OTHERS = 1.
HR_HK_DIFF_BT_2_DATES CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES' EXPORTING date1 = endda date2 = begda output_format = p_output_format IMPORTING years = g_total_years months = g_total_months days = g_total_days EXCEPTIONS OTHERS = 1.
HR_HK_DIFF_BT_2_DATES CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES' EXPORTING date1 = endda date2 = begda output_format = p_output_format IMPORTING years = g_total_years months = g_total_months days = g_total_days EXCEPTIONS OTHERS = 1.
ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = '1' input = $amt sign = 'X' IMPORTING output = $amt EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.
ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = '0' input = $amt sign = 'X' IMPORTING output = $amt EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid "g_rpt_summary-repid i_callback_pf_status_set = 'ALV_EVENT_PF_STATUS' i_callback_user_command = 'ALV_EVENT_USER_COMMAND' is_layout = l_layout_tab it_fieldcat = l_fieldcat_tab i_save = 'A' is_variant = l_variant it_event_exit = l_exit_tab it_events = l_event_tab TABLES t_outtab = p_pension_tab EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = p_event_tab.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_logo = 'ENJOYSAP_LOGO' it_list_commentary = l_comment_tab.
COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = p0002-gbdat second_date = keydate IMPORTING years_between_dates = $p_t_ee_age EXCEPTIONS sequence_of_dates_not_valid = 1 OTHERS = 2.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = target_it number = p0267-pernr subtype = p0267-subty validityend = p0267-endda validitybegin = p0267-begda record = p0267 operation = operation nocommit = false IMPORTING return = return key = infty_key.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = target_it number = p0015-pernr subtype = p0015-subty validityend = p0015-endda validitybegin = p0015-begda record = p0015 operation = operation * dialog_mode = '1' nocommit = false IMPORTING return = return key = infty_key.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = target_it number = p0015-pernr subtype = p0015-subty validityend = p0015-endda validitybegin = p0015-begda record = p0015 operation = operation nocommit = false IMPORTING return = return key = infty_key.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' "note 1232955 EXPORTING infty = target_it number = p0267-pernr subtype = p0267-subty validityend = p0267-endda validitybegin = p0267-begda record = p0267 operation = operation nocommit = false IMPORTING return = return key = infty_key.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = target_it number = p0015-pernr subtype = p0015-subty validityend = p0015-endda validitybegin = p0015-begda record = p0015 operation = operation nocommit = false IMPORTING return = return key = infty_key.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' "note 1232955 EXPORTING infty = target_it number = p0267-pernr subtype = p0267-subty validityend = p0267-endda validitybegin = p0267-begda record = p0267 operation = operation nocommit = false IMPORTING return = return key = infty_key.
CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES' EXPORTING date1 = l_pension_wa-ledat date2 = l_pension_wa-hidat output_format = p_output_format IMPORTING years = g_total_years months = g_total_months days = g_total_days EXCEPTIONS OTHERS = 1.
HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_display_profile EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = '-6' olddate = cv_basedate IMPORTING newdate = lv_temp_date.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = '-6' olddate = cv_basedate IMPORTING newdate = lv_temp_date.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = '-6' olddate = cv_basedate IMPORTING newdate = lv_temp_date.
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 PTWLNPPF or its description.