RNCSDO00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program creates SDO files for the inpatient/day patient cases that match your selection criteria...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 RNCSDO00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
NSDO - IS-H:Hospital Discharge Report (SDO)
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: SO_SDOID = D .
Selection Text: SO_PATNR = D .
Selection Text: SO_ORGPF = Discharge Nursing Org. Unit
Selection Text: SO_ORGFA = Discharge Dept. Org. Unit
Selection Text: SO_MDSTS = D .
Selection Text: SO_MDSTA = D .
Selection Text: SO_FALNR = D .
Selection Text: SO_DSDAT = Discharge Date
Selection Text: SE_EINRI = D .
Selection Text: P_XTEST = D .
Selection Text: P_XGNSEL = Select Cases Using Criteria
Selection Text: P_XFILCR = Create SDO Files Directly
Selection Text: P_XFASEL = Select Cases Using Case Sel.
Selection Text: P_XCRSAP = Output on SAP Server
Selection Text: P_XCRPC = Output to PC
Selection Text: P_SELKZ = D .
Selection Text: P_LAYOUT = D .
Selection Text: P_FPATH = Data Output Path
Title: Hospital Discharge Report (SDO)
Text Symbol: S01 = Institution
Text Symbol: BL3 = File Creation
Text Symbol: BL2 = Additional selection criteria
Text Symbol: BL1 = Select cases
Text Symbol: 025 = Without Errors
Text Symbol: 024 = With Warnings
Text Symbol: 020 = Count
Text Symbol: 019 = With Errors
Text Symbol: 018 = Total number of cases with error:
Text Symbol: 016 = Total number of cases with warning:
Text Symbol: 015 = Total number of cases without error:
Text Symbol: 014 = Total number of cases selected:
Text Symbol: 012 = SDO Value
Text Symbol: 011 = SDO Field
Text Symbol: 010 = SAP Value
Text Symbol: 009 = SAP Field
Text Symbol: 008 = File
Text Symbol: 006 = Message Text
Text Symbol: 005 = Output
INCLUDE MNDATA00. "#EC INCL_OK
INCLUDE MNDATA_MOVEMENT_CATEGORIES. "#EC INCL_OK
INCLUDE MNDATA_CASE_TYPES_EN. "#EC INCL_OK
INCLUDE RNMDSTATUS_DATA. "#EC INCL_OK
INCLUDE RNCSDO00DECL.
INCLUDE RNCSDO00F00.
INCLUDE RNCSDO00F01.
INCLUDE RNCSDO00F02.
INCLUDE RNCSDO00F03.
INCLUDE RNSSEINR. "#EC INCL_OK
INCLUDE RNMDSTATUS_SSR. "#EC INCL_OK
INCLUDE RNSSIEIN. "#EC INCL_OK
INCLUDE RNSSSEIN. "#EC INCL_OK
No SAP DATABASE tables are accessed within this REPORT code!
ISH_SHOW_LIST_PATIENT CALL FUNCTION 'ISH_SHOW_LIST_PATIENT' EXPORTING anfo = on vcode = 'DIS' npat_einri = se_einri IMPORTING npat_patnr = l_help_patnr EXCEPTIONS geschlecht_falsch = 01 no_authority = 02 npat_not_found = 03 selection_false = 04.
ISH_SHOW_LIST_PATIENT CALL FUNCTION 'ISH_SHOW_LIST_PATIENT' EXPORTING anfo = on vcode = 'DIS' npat_einri = se_einri IMPORTING npat_patnr = l_help_patnr EXCEPTIONS geschlecht_falsch = 01 no_authority = 02 npat_not_found = 03 selection_false = 04.
ISH_FILE_VALIDATE_NAME CALL FUNCTION 'ISH_FILE_VALIDATE_NAME' EXPORTING i_pathonly_flag = on "XTS1609102 CHANGING c_filename = p_fpath EXCEPTIONS error = 1 others = 2.
ISH_SDOITEM_GETDETAIL CALL FUNCTION 'ISH_SDOITEM_GETDETAIL' EXPORTING i_einri = g_einri it_nfal = gt_case_det * I_LANGU = SY-LANGU IMPORTING et_rnsdo_item = gt_sdo_item es_rnsdo_header = gs_sdo_header es_tnc301ver = gs_tnc301ver et_case_seqmr = gt_case_seqmr e_dschgdate = l_dsdat et_return = lt_return EXCEPTIONS dcp_not_found = 1 asl_instn_not_found = 2 comm_std_ver_not_found = 3 OTHERS = 4.
ISH_CASE_SELECTION_READ CALL FUNCTION 'ISH_CASE_SELECTION_READ' EXPORTING ss_einri = se_einri ss_selkz = p_selkz EXCEPTIONS not_found = 1 OTHERS = 2.
ISH_CASE_SELECTION_READ CALL FUNCTION 'ISH_CASE_SELECTION_READ' EXPORTING ss_einri = se_einri ss_selkz = p_selkz TABLES ss_falnr = lr_rnsfalnr EXCEPTIONS not_found = 1 OTHERS = 2.
ISH_READ_TNSTA0 * CALL FUNCTION 'ISH_READ_TNSTA0' * EXPORTING * i_institution = se_einri ** I_DATE = * i_casenumber =
-falnr * IMPORTING * e_tnsta0 = ls_tnsta0 * EXCEPTIONS * not_found = 1 * OTHERS = 2.
ISH_MD_STATUS_SELECT_OBJNR CALL FUNCTION 'ISH_MD_STATUS_SELECT_OBJNR' "#EC NO_INCOMP EXPORTING i_mdsta = so_mdsta[] i_mdsts = so_mdsts[] i_objnr_tab = lt_objnr IMPORTING e_excl_objnr_tab = lt_excl_objnr.
ENQUEUE_ENFAK CALL FUNCTION 'ENQUEUE_ENFAK' EXPORTING mode_nfak = gc_msgty_error mandt = sy-mandt einri = se_einri selkz = p_selkz x_einri = ' ' x_selkz = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ISH_GET_MD_STATUS CALL FUNCTION 'ISH_GET_MD_STATUS' EXPORTING i_einri = g_einri i_falnr =
-falnr i_objnr = ls_case-objnr IMPORTING e_md_status = ls_md_status EXCEPTIONS not_active = 1 not_found = 2 OTHERS = 3.
ISH_PATNAME_GET CALL FUNCTION 'ISH_PATNAME_GET' EXPORTING i_patnr = ls_case-patnr i_pseudo_override = on "for SDO always use the original data IMPORTING e_pnamec1 = l_patdet EXCEPTIONS patnr_not_found = 1 no_authority = 2 no_einri = 3 gender_not_found = 4 age_not_found = 5 OTHERS = 6.
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 RNCSDO00 or its description.
RNCSDO00 - Hospital Discharge Report (SDO) RNCSDO00 - Hospital Discharge Report (SDO) RNCRXOUT - IS-HCM:Connect. to R/2: Auxil.program to delete asterisks frm R/2 code RNCRXOUT - IS-HCM:Connect. to R/2: Auxil.program to delete asterisks frm R/2 code RNCRXIN - IS-HCM:Connect. to R/2: Auxil.program for marking R/2 code w/asterisks RNCRXIN - IS-HCM:Connect. to R/2: Auxil.program for marking R/2 code w/asterisks