SAP Reports / Programs

RN1BBUCH SAP ABAP Report - Treatment Book







RN1BBUCH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The treatment register should show all patients that have been treated in an organizational unit during a specific period of time, i...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 RN1BBUCH 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 RN1BBUCH. "Basic submit
SUBMIT RN1BBUCH AND RETURN. "Return to original report after report execution complete
SUBMIT RN1BBUCH 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: VONDAT = Period
Selection Text: SORTNAM = Patient
Selection Text: SORTDAT = Date
Selection Text: ERBOE = Org. Unit
Selection Text: EINRI = Institution
Selection Text: BISDAT = To
Title: Treatment Book
Text Symbol: 019 = ICD
Text Symbol: 018 = total:
Text Symbol: 017 = Total patients on
Text Symbol: 016 = Create List ...
Text Symbol: 015 = Reading data...
Text Symbol: 014 = Sort
Text Symbol: 013 = ICD
Text Symbol: 012 = Diagnoses
Text Symbol: 011 = Date
Text Symbol: 010 = DoB
Text Symbol: 009 = Patient
Text Symbol: 008 = TREATMENT BOOK
Text Symbol: 007 = Time
Text Symbol: 006 = Date:
Text Symbol: 005 = Period:
Text Symbol: 004 = Org.Unit :
Text Symbol: 003 = Org. Units
Text Symbol: 002 = To
Text Symbol: 001 = Period


INCLUDES used within this REPORT RN1BBUCH

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_N2_AUTHORITY ** CALL FUNCTION 'ISH_N2_AUTHORITY'.

ISH_N2_AUTHORITY *call function 'ISH_N2_AUTHORITY' * EXPORTING * SS_EINRI = EINRI.

ISHMED_CHECK_N_EINR_REP CALL FUNCTION 'ISHMED_CHECK_N_EINR_REP' EXPORTING repid = repid einri = einri no_message = ' ' messagetype = 'S' auto_leave = 'X' IMPORTING rc = return_code EXCEPTIONS OTHERS = 1.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING ambes = ambes_kz anfkz = n1anfkz date = datum diskz = n1dikz einri = einri erbkz = n1erbrkz fazuw = fazuw_kz freig = on graph_title = title loekz = off no_bauid = off pfzuw = pfzuw_kz sperr = off * START_ORGID = start_oe vcode = vcode IMPORTING nothing_selected = nothing_sel selected_orgid = wert.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING einri = rnstat-einri line_size = rnstat-line_size repid = rnstat-repid title_lin1 = rnstat-title_lin1 uline = off * ausbegdt = vondat * ausenddt = bisdat EXCEPTIONS invalid_einri = 01.

ISHMED_RANGE_TO_STRING CALL FUNCTION 'ISHMED_RANGE_TO_STRING' EXPORTING i_length = 60 TABLES ranges_tab = erboe CHANGING c_string = erboestring EXCEPTIONS ex_invalid_range = 1.

ISHMED_CHECK_NORG CALL FUNCTION 'ISHMED_CHECK_NORG' EXPORTING ss_einri = einri ss_einri_chk = 'J' ss_fazuw = i_fazuw ss_pfzuw = i_pfzuw ss_n1anfkz = i_n1anfkz ss_n1erbrkz = i_n1erbrkz ss_orgid = i_orgid * importing EXCEPTIONS not_found = 1 not_valid = 2.



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