RPUNSHA0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to read the data for personnel numbers that you previously saved in view variant VV_558A_RPUNSHA0 (
If you would like to execute this report or see the full code listing simply enter RPUNSHA0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M03_UNSH - External Data Transfer to Cluster NS
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.
Selection Text: PA_VARIA = Layout
Selection Text: PA_NRPER = D No. of Data Transfer Periods
Selection Text: PA_LAST = D End of External Data Transfer
Selection Text: PA_DERIV = D Auto. Entry in Subseq. Months
Selection Text: PA_DATUJ = Date Type Entry Leave Year
Title: Transfer of External NSchG Data to Cluster NS
Text Symbol: P03 = Save proposed records?
Text Symbol: P02 = Direct DB Update in Cluster NS
Text Symbol: P01 = Direct DB Insert in Cluster NS
Text Symbol: MD8 = No records selected for database insert
Text Symbol: MD7 = No records selected for database update
Text Symbol: MD6 = No. of months for data transfer must be at least 1
Text Symbol: MD5 = Specified date must be last day of month
Text Symbol: MD3 = or overwritten
Text Symbol: MD2 = No cluster entries saved
Text Symbol: MD1 = DB change terminated
Text Symbol: M35 = with errors.
Text Symbol: M34 = terminated
Text Symbol: M33 = @1B@Export to database buffer for per. no.
Text Symbol: M32 = failed.
Text Symbol: M31 = PCL1
Text Symbol: M30 = @1B@Writing to database
Text Symbol: M29 = Proposed Records for Cluster UPDATE, Remainder
Text Symbol: M28 = Proposed Records for Cluster INSERT, Remainder
Text Symbol: M27 = Failed Changes from Cluster UPDATE
Text Symbol: M26 = Failed Changes from Cluster INSERT
Text Symbol: PNO = No
Text Symbol: PYS = Y
Text Symbol: S01 = Selected records for personnel no.
Text Symbol: S02 = have already been saved to the database
Text Symbol: S03 = Selected record for personnel no.
Text Symbol: S04 = is identical to the database data.
Text Symbol: S05 = The record will not be included in the selection.
Text Symbol: S06 = Records for Pers. No.
Text Symbol: S07 = added to selection for database insert
Text Symbol: S08 = removed from selection for database insert
Text Symbol: S09 = added to selection for database update
Text Symbol: S10 = removed from selection for database update
INCLUDE RPPPXD00.
INCLUDE RPPPXM00.
No SAP DATABASE tables are accessed within this REPORT code!
HR_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'.
DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = l_domname value = l_domvalue langu = sy-langu IMPORTING dd07v_wa = idd07v EXCEPTIONS OTHERS = 1.
RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = l_endda end = l_endda IMPORTING fire_date = p_fire_date hire_date = l_hire_date TABLES pphifi = l_phifi pp0000 = p0000 pp0001 = p0001.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = l_pernr arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.
HR_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'.
HR_APPEND_STAT_LIST CALL FUNCTION 'HR_APPEND_STAT_LIST' EXPORTING selected = g_statistik-get_pernr_all processed = g_statistik-pernr_selected rejected = g_statistik-pernr_rejected EXCEPTIONS OTHERS = 4.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m21 number = g_statistik-t558a_selected.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m22 number = g_statistik-ns_ins_accepted.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m23 number = g_statistik-ns_upd_accepted.
CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m24 number = l_dstatistik-ns_inserted.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m28 number = l_dstatistik-ns_not_inserted.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m26 number = l_dstatistik-ns_ins_rejected.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m25 number = l_dstatistik-ns_updated.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m29 number = l_dstatistik-ns_not_updated.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = c_msgid msgno = c_msgno msgv1 = text-m27 number = l_dstatistik-ns_upd_rejected.
HR_ALV_LIST_DISPLAY CALL FUNCTION 'HR_ALV_LIST_DISPLAY' EXPORTING data_structure = c_struct current_report = g_repid list_title = sy-title list_title2 = l_list_title2 hr_display_error_list = l_display_eolist hr_display_stat_list = l_display_eolist variant = pa_varia callback_button1 = l_callback_button1 text_button1 = l_text_button1 callback_button2 = l_callback_button2 text_button2 = l_text_button2 status_fieldname = l_c_stat_field callback_user_command = l_c_form_user_callback TABLES data_tab = i_alvliste EXCEPTIONS program_error = 1 OTHERS = 2.
HR_ALV_LIST_REFRESH CALL FUNCTION 'HR_ALV_LIST_REFRESH'.
HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING doklangu = sy-langu doktitle = p_doktitle * CALLED_BY_TCODE = called_by_program = g_repid called_by_dynp = l_dynp called_for_tab = c_struct called_for_field = 'ERRID' * CALLED_FOR_TAB_FLD_BTCH_INPUT = * CALLED_BY_CUAPROG = * CALLED_BY_CUASTAT = merge_dz_if_available = 'X' * MEMORYID = * EXPLICIT_MEMORYID = ' ' * TABLES * LINKS = * excludefun = * EXCEPTIONS * OBJECT_NOT_FOUND = 1 * SAPSCRIPT_ERROR = 2 * OTHERS = 3 .
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = l_titlebar text_question = l_text_question text_button_1 = 'Ja'(pys) text_button_2 = 'Nein'(pno) default_button = '2' display_cancel_button = 'X' IMPORTING answer = p_confirmation.
VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = p_endequeue enqueue_mode = 'E' view_name = 'T558A' enqueue_range = 'X' TABLES sellist = l_isellist EXCEPTIONS foreign_lock = 2 system_failure = 5 OTHERS = 7.
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 RPUNSHA0 or its description.