RPUPLZC0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this program, you can check the addresses in Switzerland that are stored in the
If you would like to execute this report or see the full code listing simply enter RPUPLZC0 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_M02_PLZC0 - Compare Address Data Switzerland
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 = Variant
Selection Text: P_BEGDA = Infotype Records Check From
Selection Text: P_MAXREC = Records in Output List (Max.)
Selection Text: P_SH_ALL = Display all Infotype Records
Title: Comparison of Address Data Switzerland
Text Symbol: 001 = Status
Text Symbol: 002 = Number of Records Checked:
Text Symbol: 003 = Error When Checking Address
Text Symbol: 004 = No Errors During Address Check
Text Symbol: 005 = Records Found With Errors;
Text Symbol: 006 = No Records Found With Errors;
Text Symbol: 008 = Additional Selection Parameters
Text Symbol: 010 = Enhanced Post Code Check Not Activated
Text Symbol: 011 = Incomplete Address
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_F4_FOR_ALV_VARIANT CALL FUNCTION 'HR_F4_FOR_ALV_VARIANT' EXPORTING current_report = g_repid IMPORTING variant = pa_varia.
HR_CHECK_AUTHORITY_TCODE CALL FUNCTION 'HR_CHECK_AUTHORITY_TCODE' EXPORTING tcode = 'PA30' * LEVEL = 'R' * MIN_CHECKS = 'X' EXCEPTIONS no_authorization = 1 OTHERS = 2.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_GREEN' info = 'keine Fehler bei Adressprüfung'(004) IMPORTING RESULT = g_icon_green EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_RED' info = 'Fehler bei Adressprüfung'(003) IMPORTING RESULT = g_icon_red EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE * CALL FUNCTION 'ICON_CREATE' "yellow not yet needed * EXPORTING * name = 'ICON_LED_YELLOW' * info = 'Warnung'(007) * IMPORTING * RESULT = g_icon_yellow * EXCEPTIONS * icon_not_found = 1 * outputfield_too_short = 2 * OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'RPUPLZC0_ALV1' is_layout = l_layout it_fieldcat = lt_fieldcat it_sort = lt_sort_alv is_variant = l_is_variant TABLES t_outtab = gt_0006_alv EXCEPTIONS program_error = 1 OTHERS = 2.
HR_EMPLOYEE_ENQUEUE CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE' EXPORTING number = l_pernr IMPORTING return = l_bapireturn.
BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = l_pernr.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = l_tcode EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.
SUSR_AUTHORITY_CHECK_S_TCODE CALL FUNCTION 'SUSR_AUTHORITY_CHECK_S_TCODE' "#EC * EXPORTING tcode = l_tcode IMPORTING rc = l_subrc EXCEPTIONS OTHERS = 1.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = '0006' number = l_wa_0006_alv-pernr subtype = l_wa_0006_alv-subty objectid = l_wa_0006_alv-objps lockindicator = l_wa_0006_alv-sprps validityend = l_wa_0006_alv-endda validitybegin = l_wa_0006_alv-begda record = l_p0006 operation = pspar-actio dialog_mode = '2'.
BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = l_pernr.
HR_PERSONEE_GETPERSON CALL FUNCTION 'HR_PERSONEE_GETPERSON' EXPORTING iv_employee_id = l_pernr * IV_WITH_AUTHORITY = 'X' IMPORTING es_hrpersonee = ls_hrpersonee.
HR_PERSONEE_GETEMPLOYEE_LIST CALL FUNCTION 'HR_PERSONEE_GETEMPLOYEE_LIST' EXPORTING it_personid = lt_hrpersonid_tab[] * IV_WITH_AUTHORITY = 'X' IMPORTING et_hrpersonee = lt_hrpersonee[].
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = l_pernr infty = '0006' bypass_buffer = 'X' "needed TABLES infty_tab = lt_p0006 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
ADDR_REGIONAL_DATA_CHECK CALL FUNCTION 'ADDR_REGIONAL_DATA_CHECK' EXPORTING x_adrc_struc = ls_adrc_struc_in x_dialog_allowed = lc_dialog_allowed x_accept_error = lc_accept_error x_t005 = g_wa_t005 IMPORTING * y_adrc_struc = ls_adrc_struc_out y_retcode = l_returncode_error TABLES error_table = lt_errortable.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.