RN1_REPAIR_NLEM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report checks whether the patient number for a service matches the patient number of the case...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 RN1_REPAIR_NLEM 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.
Selection Text: R_ERBOE = Perf.OU
Selection Text: R_DATUM = D Date From
Selection Text: PA_TEST = Test Mode
Selection Text: PA_EINRI = D Institution
Title: Correct Defective Service Entries
Text Symbol: 019 = Service Error:
Text Symbol: 018 = No valid NPAT entries exist for the caseless services:
Text Symbol: 017 = NPAT Patient Entry:
Text Symbol: 016 = NLEM Patient Entry:
Text Symbol: 015 = New Patient:
Text Symbol: 014 = Old Patient:
Text Symbol: 013 = Case No.:
Text Symbol: 012 = Time:
Text Symbol: 011 = Date:
Text Symbol: 010 = Service Code:
Text Symbol: 009 = Service Number:
Text Symbol: 008 = Test run; no database changes.
Text Symbol: 007 = Update of NLEM was not successful.
Text Symbol: 006 = Update of NLEM was successful.
Text Symbol: 005 = service entries were corrected.
Text Symbol: 004 = Case-rel.
Text Symbol: 003 = service entries can be corrected.
Text Symbol: 002 = Case-rel.
Text Symbol: 001 = No services found for correction.
INCLUDE MNDATA00.
INCLUDE MNCOLOUR.
No SAP DATABASE tables are accessed within this REPORT code!
ISH_EINRI_CHECK CALL FUNCTION 'ISH_EINRI_CHECK' EXPORTING ss_einri = pa_einri EXCEPTIONS not_found = 1 OTHERS = 2.
ISH_READ_NFAL CALL FUNCTION 'ISH_READ_NFAL' EXPORTING ss_einri = pa_einri ss_falnr = l_nlem-falnr IMPORTING ss_nfal = l_nfal EXCEPTIONS not_found = 1 not_found_archived = 2 no_authority = 3 OTHERS = 4.
ISH_READ_NPAT * CALL FUNCTION 'ISH_READ_NPAT' * EXPORTING * ss_einri = pa_einri * ss_patnr = l_nlem-patnr * IMPORTING * ss_npat = l_npat * EXCEPTIONS * not_found = 1 * no_authority = 2 * no_einri = 3 * OTHERS = 4.
ISH_READ_NPAT * CALL FUNCTION 'ISH_READ_NPAT' * EXPORTING * ss_einri = pa_einri * ss_patnr = l_npat-rfpat * IMPORTING * ss_npat = l_npat * EXCEPTIONS * not_found = 1 * no_authority = 2 * no_einri = 3 * OTHERS = 4.
ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = pa_einri start_orgfa = ' ' IMPORTING selected_orgid = l_norg-orgid EXCEPTIONS bauid_not_in_nbau = 1 einri_not_in_tn01 = 2 no_hierarchy = 3 orgid_not_in_norg = 4 OTHERS = 5.
ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = pa_einri start_orgfa = ' ' IMPORTING selected_orgid = l_norg-orgid EXCEPTIONS bauid_not_in_nbau = 1 einri_not_in_tn01 = 2 no_hierarchy = 3 orgid_not_in_norg = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RN1_REPAIR_NLEM - Correct Defective Service Entries RN1_REPAIR_NLEM - Correct Defective Service Entries RN1_REPAIR_N1APCN - i.s.h.med: Correct Defect Appointment Entries RN1_REPAIR_N1APCN - i.s.h.med: Correct Defect Appointment Entries RN1_REPAIR_LEIST_ZOTYP - i.s.h.med: Fills Missing ZOTYP in Database Table NLEI RN1_REPAIR_LEIST_ZOTYP - i.s.h.med: Fills Missing ZOTYP in Database Table NLEI