SAP Reports / Programs

RN1_REPAIR_NLEM SAP ABAP Report - Correct Defective Service Entries







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


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 RN1_REPAIR_NLEM. "Basic submit
SUBMIT RN1_REPAIR_NLEM AND RETURN. "Return to original report after report execution complete
SUBMIT RN1_REPAIR_NLEM 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: 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.


INCLUDES used within this REPORT RN1_REPAIR_NLEM

INCLUDE MNDATA00.
INCLUDE MNCOLOUR.


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:

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.



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