SAP Reports / Programs

RHALECPS SAP ABAP Report - HR: Display ALE Change Pointers for HR Master Data







RHALECPS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program displays the change pointers for HR organizational data and HR master data that were written in the specified period...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RHALECPS into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RE_RHALECPS - HR: Display ALE Change Pointers


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


Text pool values


Selection Text: ZEITLOW = Start time
Selection Text: ZEITHIGH = End time
Selection Text: USER = User making change
Selection Text: PROCESS = Processed only
Selection Text: OBTYP = D Object type
Selection Text: OBJECID = D Object ID
Selection Text: NOPROC = Unprocessed only
Selection Text: MESTYP = D Message type
Selection Text: DATUMLOW = Start date
Selection Text: DATUMHIG = End date
Selection Text: ALLE = Display all change pointers
Title: HR: Display ALE Change Pointers for HR Master Data
Text Symbol: USE = User making change:
Text Symbol: U06 = Validity period
Text Symbol: U05 = Subtype
Text Symbol: U04 = Infotype
Text Symbol: U03 = Object ID
Text Symbol: U02 = Otype
Text Symbol: U01 = Changed by
Text Symbol: TIT = Display HR change pointers (master and organizational data)
Text Symbol: TIM = Reporting period:
Text Symbol: SYS = User selection
Text Symbol: RED = Change pointer has not been processed
Text Symbol: PRO = Processed only
Text Symbol: PCS = Change pointer has been processed
Text Symbol: OTY = Object type:
Text Symbol: OID = Object ID:
Text Symbol: NPC = Change pointer has not been processed
Text Symbol: NOP = Unprocessed only
Text Symbol: NIX = No change pointers found for these options
Text Symbol: MTY = Message type:
Text Symbol: MIN = -
Text Symbol: GRE = Change pointer has been processed
Text Symbol: FRA = Reporting period
Text Symbol: FLA = Display change pointers
Text Symbol: BIS = To
Text Symbol: ANZ = Change pointers:
Text Symbol: ALL = All





INCLUDES used within this REPORT RHALECPS

INCLUDE RHALEDAT.


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:

CHANGE_POINTERS_READ CALL FUNCTION 'CHANGE_POINTERS_READ' EXPORTING activation_date_high = datumhig activation_date_low = datumlow activation_time_high = zeithigh activation_time_low = zeitlow message_type = mestyp read_not_processed_pointers = ' ' TABLES change_pointers = i_bdcp1 EXCEPTIONS OTHERS = 0.

CHANGE_POINTERS_READ CALL FUNCTION 'CHANGE_POINTERS_READ' EXPORTING activation_date_high = datumhig activation_date_low = datumlow activation_time_high = zeithigh activation_time_low = zeitlow message_type = mestyp read_not_processed_pointers = 'X' TABLES change_pointers = i_bdcp EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = '@02\Q' info = text-npc add_stdinf = ' ' IMPORTING result = gs_bdcp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = '@01\Q' info = text-pcs add_stdinf = ' ' IMPORTING result = gs_bdcp-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog "#EC DOM_EQUAL dynumb = $dynumb TABLES dynpfields = dynpfields_read EXCEPTIONS OTHERS = 0.

RH_USER_SEARCH_VIA_NAME CALL FUNCTION 'RH_USER_SEARCH_VIA_NAME' EXPORTING search_string = dynpfields_read-fieldvalue TABLES user_name = namelist EXCEPTIONS OTHERS = 0.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING curow = curow display = inp_switch selectfield = 'SYSTEM' titel = text_popup filter_full_table = 'X' write_selectfield_in_colours = 'X' use_user_selections = sw_user_sel IMPORTING ind = help_tab_ind TABLES fields = fields_tab full_table = namelist EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = plvar EXCEPTIONS OTHERS = 0.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = plvar otype = 'US' realo = ruser TABLES existence = extab EXCEPTIONS OTHERS = 0.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = gv_repid i_callback_pf_status_set = gc_pf_status i_callback_user_command = gc_user_command * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = gc_structure_name * I_BACKGROUND_ID = ' ' i_grid_title = gv_title * I_GRID_SETTINGS = '' is_layout = ls_layout_change_pointers it_fieldcat = lt_fieldcat_change_pointers * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = * IS_VARIANT = it_events = lt_events_change_pointers * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_bdcp EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid * I_INTERNAL_TABNAME = G_TABNAME i_structure_name = gc_structure_name * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = xt_fieldcat_change_pointers.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_end_of_list_grid = 'X' it_list_commentary = gt_list_end_of_list.

REUSE_ALV_BLOCK_LIST_REFRESH CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_REFRESH'.



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