SAP Reports / Programs

H99PDSY_COMPARE SAP ABAP Report - HRDSYS: Cross-system text comparison







H99PDSY_COMPARE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report converts from the manual tax exemption for pensions limit for pensioners, to the automatic calculation of exemptions...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 H99PDSY_COMPARE into the relevant SAP transactions such as SE38 or SE80


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 H99PDSY_COMPARE. "Basic submit
SUBMIT H99PDSY_COMPARE AND RETURN. "Return to original report after report execution complete
SUBMIT H99PDSY_COMPARE 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: P_DESTIN = D RFC destination
Selection Text: P_MOLGA = D Country Grouping
Selection Text: P_ONAME = D Object Name
Selection Text: P_OTYPE = D HR documentation class
Title: HRDSYS: Cross-system text comparison
Text Symbol: I01 = Identical
Text Symbol: I02 = Different
Text Symbol: I03 = Does not exist locally
Text Symbol: I04 = Only exists locally
Text Symbol: T03 = Status
Text Symbol: W00 = Confirmation Prompt
Text Symbol: W01 = The selected documentation already exists in this system
Text Symbol: W02 = Do you want to overwrite the existing documentation?


INCLUDES used within this REPORT H99PDSY_COMPARE

No INCLUDES are used within this REPORT code!


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:

HRDSYS_FIND_DOCU_RETURN_ITAB CALL FUNCTION 'HRDSYS_FIND_DOCU_RETURN_ITAB' EXPORTING otype = p_otype molga = p_molga oname = p_oname TABLES result = loiotmp.

HRDSYS_FIND_DOCU_RETURN_ITAB CALL FUNCTION 'HRDSYS_FIND_DOCU_RETURN_ITAB' DESTINATION p_destin EXPORTING otype = p_otype molga = p_molga oname = p_oname TABLES result = loiotmp EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text.

HRDSYS_DOCU_TO_ITAB CALL FUNCTION 'HRDSYS_DOCU_TO_ITAB' EXPORTING smolga = -molga soname = -oname sotype = -otype TABLES docu_itab = itab_local EXCEPTIONS OTHERS = 0.

HRDSYS_DOCU_TO_ITAB CALL FUNCTION 'HRDSYS_DOCU_TO_ITAB' DESTINATION p_destin EXPORTING smolga = -molga soname = -oname sotype = -otype TABLES docu_itab = itab_remote EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text OTHERS = 0.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = c_true i_callback_program = 'H99PDSY_COMPARE' i_callback_pf_status_set = 'GRID_STATUS' i_callback_user_command = 'GRID_COMMAND' it_fieldcat = fieldcat i_default = c_true i_save = c_true is_layout = layout is_variant = variant TABLES t_outtab = docutab EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-w01 textline2 = text-w02 titel = text-w00 cancel_display = c_true IMPORTING answer = answer.

HRDSYS_DOCU_TO_ITAB CALL FUNCTION 'HRDSYS_DOCU_TO_ITAB' EXPORTING smolga = -molga soname = -oname sotype = -otype TABLES docu_itab = local EXCEPTIONS OTHERS = 0.

HRDSYS_DOCU_TO_ITAB CALL FUNCTION 'HRDSYS_DOCU_TO_ITAB' DESTINATION p_destin EXPORTING smolga = -molga soname = -oname sotype = -otype TABLES docu_itab = remote EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text OTHERS = 0.

HRDSYS_DOCU_DELETE CALL FUNCTION 'HRDSYS_DOCU_DELETE' EXPORTING molga = -molga oname = -oname otype = -otype transportflag = c_true wi_trkorr = trkorr cust_only = c_true IMPORTING we_trkorr = trkorr EXCEPTIONS wrong_otype = 1 not_found = 0 internal_error = 3 no_transport_selected = 4 OTHERS = 5.

HRDSYS_ITAB_TO_DOCU CALL FUNCTION 'HRDSYS_ITAB_TO_DOCU' EXPORTING transportflag = c_true wi_trkorr = trkorr IMPORTING we_trkorr = trkorr TABLES docu_itab = remote EXCEPTIONS OTHERS = 5.

HRDSYS_DOCU_TO_ITAB CALL FUNCTION 'HRDSYS_DOCU_TO_ITAB' DESTINATION p_destin EXPORTING smolga = $docu-molga soname = $docu-oname sotype = $docu-otype slangu = $docu-sprsl TABLES docu_itab = itab EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text OTHERS = 0.

HRDSYS_DOCU_TO_ITAB CALL FUNCTION 'HRDSYS_DOCU_TO_ITAB' EXPORTING smolga = $docu-molga soname = $docu-oname sotype = $docu-otype slangu = $docu-sprsl TABLES docu_itab = itab EXCEPTIONS OTHERS = 0.



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