RNWCH_NEHC_PAT_DIF is a standard Executable ABAP Report 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 RNWCH_NEHC_PAT_DIF 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.
INCLUDE RNLALV00.
INCLUDE MNDATACHAT.
INCLUDE MNDATA_BOOL.
INCLUDE MNDATA_COUNTRY_VERS.
INCLUDE MNDATA_MODIFY_SCREEN.
No SAP DATABASE tables are accessed within this REPORT code!
ISH_COUNTRY_VERSION_GET call function 'ISH_COUNTRY_VERSION_GET' importing ss_cvers = g_version exceptions others = 1.
ISH_READ_NPAT call function 'ISH_READ_NPAT' exporting * SS_EINRI = '*' ss_patnr = l_patnr importing ss_npat = ls_npat exceptions not_found = 1 no_authority = 2 no_einri = 3 others = 4.
REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = repid i_callback_user_command = 'AT_LINE_SELECTION' is_layout = gs_layout it_fieldcat = xfield[] it_events = gt_events[] i_tabname_header = 'GT_OUTPUT' i_tabname_item = 'GT_ITEM' is_keyinfo = gs_keyinfo tables t_outtab_header = gt_output t_outtab_item = gt_item.
REUSE_ALV_LIST_LAYOUT_INFO_GET call function 'REUSE_ALV_LIST_LAYOUT_INFO_GET' importing es_layout = gs_layout et_fieldcat = xfield[] exceptions others = 0.
REUSE_ALV_HS_LIST_WIDTH_GET call function 'REUSE_ALV_HS_LIST_WIDTH_GET' exporting i_tabname_header = 'GT_OUTPUT' i_tabname_item = 'GT_ITEM' it_fieldcat = xfield[] is_layout = gs_layout importing e_width = l_width exceptions others = 0.
ISH_CALL_LIST_HEAD call function 'ISH_CALL_LIST_HEAD' exporting ausbegdt = rnstat-ausbegdt ausenddt = rnstat-ausenddt line_size = rnstat-line_size repid = repid title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 uline = ' '.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.