SAP Reports / Programs | Clinical System | Clinical System(IS-HMED) SAP IS

RN2LN212 SAP ABAP Report - Display and Print Cumulative Findings







RN2LN212 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report prepares cumulative findings for output via a SAPSCRIPT interface or displays it on the screen...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 RN2LN212 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 RN2LN212. "Basic submit
SUBMIT RN2LN212 AND RETURN. "Return to original report after report execution complete
SUBMIT RN2LN212 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Display and Print Cumulative Findings
Text Symbol: T26 = of
Text Symbol: T25 = ??:??
Text Symbol: T22 = Frm
Text Symbol: T21 = To
Text Symbol: T20 = Findgs
Text Symbol: T16 = Right edge reached
Text Symbol: T15 = Left edge reached
Text Symbol: T14 = Time
Text Symbol: T13 = Date
Text Symbol: T12 = Order number
Text Symbol: T09 = Nursing OU:
Text Symbol: T08 = unknown
Text Symbol: T06 = Lab:
Text Symbol: T05 = Case no.:
Text Symbol: T04 = Patient no.:
Text Symbol: T03 = Born on:
Text Symbol: T02 = Ms.
Text Symbol: T01 = Mr.
Text Symbol: R01 = RN2LN212
Text Symbol: K02 = FIRST EXAMINATION
Text Symbol: K01 = FURTHER EXAMINATIONS
Text Symbol: H01 = Standard cumulative findings
Text Symbol: E06 = outofrange =
Text Symbol: E05 = 'ISH_TEXT_LONG_TO_BUFFER' sy-subrc =
Text Symbol: E04 = 'ISH_CALL_LIST_HEAD' sy-subrc =
Text Symbol: E02 = Index not in range between 1 and 5
Text Symbol: E01 = Internal error


INCLUDES used within this REPORT RN2LN212

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:

MODX_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'MODX_FUNCTION_ACTIVE_CHECK' EXPORTING cprogname = 'RN2LN212' funcnumber = '001' IMPORTING active = user_exit_is_active * TABLES * ACTIVE_FUNCNUMBERS = EXCEPTIONS OTHERS = 0.

ISH_N2_TEXT_LONG_TO_BUFFER CALL FUNCTION 'ISH_N2_TEXT_LONG_TO_BUFFER' EXPORTING ss_tlong = labtext ss_append = space * importing * ss_ttab_high = xtabindex TABLES ss_ttab = l_text EXCEPTIONS long_empty = 1 offset_out_of_range = 2.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' " IS-H Standardkopf EXPORTING ausbegdt = ss_kumsel-dateb ausenddt = ss_kumsel-datee einri = ss_kumsel-einri line_size = repwidth repid = text-r01 title_lin1 = l_title1 title_lin2 = ' ' uline = ' ' verbegdt = '00000000' verenddt = '00000000' EXCEPTIONS invalid_einri = 1 OTHERS = 2.

ISH_FIND_FORMS CALL FUNCTION 'ISH_FIND_FORMS' EXPORTING einri = ss_n2labor-n2laeinri orgid = ss_n2labor-anfoe * änderung, preißinger, 14.9.98, anfid 02864

ISH_N2_READ_NPAT CALL FUNCTION 'ISH_N2_READ_NPAT' EXPORTING ss_einri = ss_kumsel-einri ss_patnr = ss_kumsel-patnr IMPORTING ss_npat = npat ss_pname = rnpa1-pname EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_READ_NORG CALL FUNCTION 'ISHMED_READ_NORG' EXPORTING ss_orgid = l_nbew-orgpf IMPORTING e_norg = norg EXCEPTIONS OTHERS = 0.

ISH_N2_SET_APICONTROL_DEFAULT CALL FUNCTION 'ISH_N2_SET_APICONTROL_DEFAULT' EXPORTING im_method = l_method CHANGING ch_apicontrol = ls_apicontrol.

ISH_N2_DOCUMENT_MAINTENANCE CALL FUNCTION 'ISH_N2_DOCUMENT_MAINTENANCE' EXPORTING im_apicontrol = ls_apicontrol im_document_key = ls_doc_key IMPORTING ex_worst_msgty = l_worst_msgty TABLES ext_return = lt_return.

ISH_N2_SHOW_KUMSEL CALL FUNCTION 'ISH_N2_SHOW_KUMSEL' EXPORTING im_mode = 'FILTER' IMPORTING ex_fcode = p_funct CHANGING ch_kumsel = ss_kumsel EXCEPTIONS err_wrong_param = 1 OTHERS = 2.

ISH_N2_PROCESS_KUMSEL CALL FUNCTION 'ISH_N2_PROCESS_KUMSEL' EXPORTING im_kumsel = ss_kumsel TABLES ss_n2labor = ss_n2labor ss_n2labor001 = ss_n2labor001 ss_n2text = ss_n2text ss_n2labor_all = ss_n2labor_all ss_n2labor001_all = ss_n2labor001_all ss_ndoc_all = ss_ndoc_all CHANGING ch_kumcust = ss_kumcust EXCEPTIONS OTHERS = 0.

ISH_N2_SEARCH_LAB_DATA CALL FUNCTION 'ISH_N2_SEARCH_LAB_DATA' EXPORTING im_kumsel = l_kumsel TABLES ss_n2labor = l_n2labor_all ss_n2labor001 = l_n2labor001_all ss_n2text = l_n2text ss_ndoc = l_ndoc_all CHANGING ch_kumcust = l_kumcust EXCEPTIONS err_nodata = 1 OTHERS = 2.

ISH_N2_KUMULATIV_CUSTOMIZING CALL FUNCTION 'ISH_N2_KUMULATIV_CUSTOMIZING' EXPORTING ss_okcode = 'DIS' TABLES ss_n2labor001 = l_n2labor001_all ss_n2labor = l_n2labor_all ss_n2text = l_n2text ss_labcust = l_labcust CHANGING ch_kumsel = l_kumsel ch_kumcust = l_kumcust EXCEPTIONS no_customizing_tn2kum01 = 1 no_customizing_tn2kum02 = 2 OTHERS = 3.

ISH_N2_PROCESS_KUMSEL CALL FUNCTION 'ISH_N2_PROCESS_KUMSEL' EXPORTING im_kumsel = l_kumsel TABLES ss_n2labor = l_n2labor ss_n2labor001 = l_n2labor001 ss_n2text = l_n2text ss_n2labor_all = l_n2labor_all ss_n2labor001_all = l_n2labor001_all ss_ndoc_all = l_ndoc_all CHANGING ch_kumcust = l_kumcust EXCEPTIONS err_nodata = 1 OTHERS = 2.

ISH_N2_SORT_LABDATA CALL FUNCTION 'ISH_N2_SORT_LABDATA' " Note 391498 EXPORTING im_kumcust = l_kumcust " MED-42534 TABLES ss_labcust = l_labcust ss_n2labor = l_n2labor ss_n2labor001 = l_n2labor001 ss_n2text = l_n2text 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 RN2LN212 or its description.