SAP Reports / Programs

RNHCO008 SAP ABAP Report - HCO: Classification of Case-Based Orders







RNHCO008 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program allows you to prepare case-based orders for summarization in CO...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 RNHCO008 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

NCO7 - HCO: Case-Based Order Classification


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 RNHCO008. "Basic submit
SUBMIT RNHCO008 AND RETURN. "Return to original report after report execution complete
SUBMIT RNHCO008 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: VISDAT = First Visit Date
Selection Text: USERF = Fill User Fields
Selection Text: TXTEINRI = Institution Text
Selection Text: TESTM = Test Mode
Selection Text: KLASS = Classification
Selection Text: INIMW = Display Initial Values
Selection Text: FALNR = Case
Selection Text: ENTLDAT = Discharge Date
Selection Text: EINRI = Institution
Selection Text: CUSTO = Fill Customer Fields
Selection Text: AUFNDAT = Admission Date
Selection Text: ASTNR = Order Status
Selection Text: ABRKZ = Billing Status
Title: HCO: Classification of Case-Based Orders
Text Symbol: U01 = Institution ;;
Text Symbol: N01 = Case Order Classification
Text Symbol: F07 = Classification
Text Symbol: F06 = Fill Customer-Spec. Fields
Text Symbol: F05 = Output
Text Symbol: F04 = Other Restrictions
Text Symbol: F03 = Action Selection
Text Symbol: F02 = Alternative Selection Options
Text Symbol: F01 = Selection by Case
Text Symbol: B02 = Outpatient Cases
Text Symbol: B01 = Inpatient Cases
Text Symbol: 009 = Characteristic Value
Text Symbol: 008 = Characteristic Description
Text Symbol: 007 = Cha
Text Symbol: 006 = Case ;;
Text Symbol: 005 = Order ;;
Text Symbol: 004 = Classification
Text Symbol: 003 = Case-Based Order
Text Symbol: 002 = Error Log
Text Symbol: 001 = Error: No cases match your selection criteria.


INCLUDES used within this REPORT RNHCO008

INCLUDE RNDATA00.
INCLUDE MNCOLOUR.
INCLUDE RKOVRGNG.
INCLUDE RNSSSPBO.





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_OUTPATIENT_ACTIVE CALL FUNCTION 'ISH_OUTPATIENT_ACTIVE' IMPORTING e_active = l_outpatient_active.

ISH_COUNTRY_VERSION_GET CALL FUNCTION 'ISH_COUNTRY_VERSION_GET' IMPORTING ss_cvers = cvers EXCEPTIONS OTHERS = 1.

ISH_SAP_BP_CHECK_ACTIVE call function 'ISH_SAP_BP_CHECK_ACTIVE' IMPORTING E_STATUS = g_sap_bp_active EXCEPTIONS * NOT_ACTIVE = 1 OTHERS = 0 .

ISH_COUNTRY_VERSION_GET CALL FUNCTION 'ISH_COUNTRY_VERSION_GET' "gr 7.5.99

ISH_AUTH_CHECK_REPORT_EINRI CALL FUNCTION 'ISH_AUTH_CHECK_REPORT_EINRI' EXPORTING repid = repid einri = einri no_message = off messagetype = 'E' auto_leave = off.

ISH_CASE_VALUE_REQUEST CALL FUNCTION 'ISH_CASE_VALUE_REQUEST' EXPORTING ss_einri = einri ss_vcode = update IMPORTING ss_falnr = falnr-low.

ISH_CASE_VALUE_REQUEST CALL FUNCTION 'ISH_CASE_VALUE_REQUEST' EXPORTING ss_einri = einri ss_vcode = update IMPORTING ss_falnr = falnr-high.

ISH_NBEWTAB_GET_FIRST_VISIT CALL FUNCTION 'ISH_NBEWTAB_GET_FIRST_VISIT' EXPORTING ss_einri = v_nbew-einri ss_falnr = v_nbew-falnr * SS_READ_DB = ' ' * SS_READ_STORN = ' ' * SS_NBEWTAB = IMPORTING ss_nbew = ls_nbew EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_PRINT_PROTOCOL_BATCH CALL FUNCTION 'ISH_PRINT_PROTOCOL_BATCH' EXPORTING line_size = lsize minutes_title = 'Fehlerprotokoll'(002) repid = repid EXCEPTIONS no_messages = 01.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = 'Fallauftragsklassifizierung'(n01) show_linno = ' ' EXCEPTIONS inconsistent_range = 01 no_messages = 02.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

ISH_CALL_LIST_HEAD * CALL FUNCTION 'ISH_CALL_LIST_HEAD' * EXPORTING * einri = einri * line_size = lsize * repid = repid * title_lin1 = 'Fallauftrag'(003) * title_lin2 = 'Klassifikation'(004) * uline = ' '.

ISH_DOMAIN_VALUE_TEXTS CALL FUNCTION 'ISH_DOMAIN_VALUE_TEXTS' EXPORTING domname = domname domvalue = domvalue IMPORTING ddtext = ddtext.

ISH_READ_NFAL CALL FUNCTION 'ISH_READ_NFAL' EXPORTING ss_einri = nbew-einri ss_falnr = nbew-falnr ss_read_db = ' ' IMPORTING ss_nfal = nfal EXCEPTIONS not_found = 01 no_authority = 02.

ISH_DISTRIBUTE_READ_ORDER CALL FUNCTION 'ISH_DISTRIBUTE_READ_ORDER' EXPORTING aufnr = $eaufn einri = $einri event = 'HCO007' IMPORTING e_coas = l_coas EXCEPTIONS not_found = 01 no_configuration_found = 02.

ISH_GET_CHARACTERISTICS CALL FUNCTION 'ISH_GET_CHARACTERISTICS' EXPORTING einri = einri falnr = ausgabe_position-falnr IMPORTING subrc = lrc TABLES merkmale = merkmale.

ISH_DISTRIBUTE_CHANGE_ORDER CALL FUNCTION 'ISH_DISTRIBUTE_CHANGE_ORDER' EXPORTING einri = einri i_coas = l_coas grunddaten = ' ' userfelder = userf klassifizierung = klass customerfields = custo tmode = 'E' tupdate = 'A' TABLES merkmale = merkmale EXCEPTIONS no_configuration_found = 1 change_error = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = gv_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD_FREE_TEXT





CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gv_log_handle i_msgty = iv_msgtyp i_text = iv_text1 EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING einri = einri line_size = lsize repid = repid title_lin1 = 'Fallauftrag'(003) title_lin2 = 'Klassifikation'(004) uline = ' '.

ISH_PNT_API_FALL_BEW_ALL call function 'ISH_PNT_API_FALL_BEW_ALL' EXPORTING I_EINRI = einri * ITR_EINRI = * I_BWIDT = * IT_BWIDT = ITR_BWIDT = ltr_bwidt ITR_FALAR = ltr_falar * ITR_BWART = * ITR_ZIMMR = * ITR_PATNR = * IT_FALNR_LFDNR = * ITR_FALNR = I_BEWTY = visit * ITR_BEWTY = * ITR_PLANB = * I_STORN = ' ' * ITR_STORN = * I_NOTAN = ' ' * I_KRZAN = ' ' * I_NOTKZ = * ITR_ORGFA = * ITR_ORGPF = IMPORTING ET_PAT_FALL_BEW = lt_pat_fall_bew * ET_NADR_BP = lt_nadr_bp .

ISH_NBEWTAB_GET_FIRST_VISIT CALL FUNCTION 'ISH_NBEWTAB_GET_FIRST_VISIT' EXPORTING ss_einri = -einri ss_falnr = -falnr * SS_READ_DB = ' ' * SS_READ_STORN = ' ' * SS_NBEWTAB = IMPORTING ss_nbew = ls_nbew EXCEPTIONS not_found = 1 OTHERS = 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 RNHCO008 or its description.