SAP Reports / Programs

RNCHLGE2 SAP ABAP Report - IS-H CH: Cancel Generated Services







RNCHLGE2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RNCHLGE2 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

NWCH33 - IS-H CH: Cancel Service Generation


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 RNCHLGE2. "Basic submit
SUBMIT RNCHLGE2 AND RETURN. "Return to original report after report execution complete
SUBMIT RNCHLGE2 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: PA_SELKZ = D Fallselektion
Selection Text: PA_FSELT = D Kurztext
Selection Text: PA_FSELE = D Fallselektion
Selection Text: R_FALNR = Case number
Selection Text: R_FALAE = Case type
Selection Text: R_ABRV = Billing agreement
Title: IS-H CH: Cancel Generated Services
Text Symbol: S13 = Switzerland country version only
Text Symbol: S12 = Program available for
Text Symbol: S11 = Message
Text Symbol: S10 = Typ
Text Symbol: S09 = BllAgr.;;billing agreement
Text Symbol: S08 = Perf.OU
Text Symbol: S07 = Req. OU
Text Symbol: S06 = Qty
Text Symbol: S05 = End date/time
Text Symbol: S04 = Start date/time
Text Symbol: S03 = Service
Text Symbol: S02 = Patient name
Text Symbol: S01 = Case
Text Symbol: L10 = Service change log
Text Symbol: L05 = Services were not changed.
Text Symbol: L04 = Services were not cancelled.
Text Symbol: L03 = Service cancellation log
Text Symbol: L02 = No errors occurred during cancellation.
Text Symbol: L01 = Error log for service cancellation
Text Symbol: E09 = Generate services to
Text Symbol: E08 = Log
Text Symbol: E07 = Test mode
Text Symbol: E06 = Parameter
Text Symbol: E05 = Discharge date from
Text Symbol: E04 = to
Text Symbol: E03 = Admiss. date from
Text Symbol: E02 = Institution
Text Symbol: E01 = Selection criteria


INCLUDES used within this REPORT RNCHLGE2

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:

RS_SET_SELSCREEN_STATUS call function 'RS_SET_SELSCREEN_STATUS' exporting p_status = 'SEL' tables p_exclude = excl_tab exceptions others = 1.

ISH_CASE_SELECTION_READ call function 'ISH_CASE_SELECTION_READ' exporting ss_einri = einri ss_selkz = pa_selkz exceptions not_found = 1.

ISH_CASE_SELECTION_READ call function 'ISH_CASE_SELECTION_READ' exporting ss_einri = einri ss_selkz = pa_fsele exceptions not_found = 1.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = text-po1 * DIAGNOSE_OBJECT = ' ' text_question = text-po2 text_button_1 = text-po3 icon_button_1 = 'ICON_OKAY' text_button_2 = text-po4 icon_button_2 = 'ICON_CANCEL' * DEFAULT_BUTTON = '1' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' start_column = 1 start_row = 9 * POPUP_TYPE = importing answer = l_answer * TABLES * PARAMETER = exceptions text_not_found = 1 others = 2.

ISH_DYNP_VALUES_READ call function 'ISH_DYNP_VALUES_READ' exporting dyname = repid dynumb = dynnr tables dynpfields = dynpfields.

ISH_VALUE_REQUEST call function 'ISH_VALUE_REQUEST' exporting ss_select = einri ss_field = 'R_FALAE-LOW' ss_table = 'TN15A' importing ss_value = r_falae-low exceptions not_found = 01.

ISH_DYNP_VALUES_READ call function 'ISH_DYNP_VALUES_READ' exporting dyname = repid dynumb = dynnr tables dynpfields = dynpfields.

ISH_VALUE_REQUEST call function 'ISH_VALUE_REQUEST' exporting ss_select = einri ss_field = 'R_FALAE-HIGH' ss_table = 'TN15A' importing ss_value = r_falae-high exceptions not_found = 01.

ISH_COUNTRY_VERSION_GET call function 'ISH_COUNTRY_VERSION_GET' importing ss_cvers = l_version exceptions others = 1.

ISH_SHOW_LIST_PATIENT call function 'ISH_SHOW_LIST_PATIENT' exporting anfo = 'X' " Auswahlpopup npat_einri = einri fcode = 'PS' " Nur Patienten vcode = 'DIS' " Nur Anzeige und Auswahl importing npat_patnr = npat-patnr npat_pziff = npat-pziff exceptions geschlecht_falsch = 01 no_authority = 02 npat_not_found = 03 selection_false = 04.

ISH_SHOW_LIST_FALL call function 'ISH_SHOW_LIST_FALL' exporting call_from_dark = ' ' col = 5 exit_on_weiter = ' ' fcode = 'SO' list_layout = '0' nfal_einri = einri nfal_falnr = falnr nfal_fziff = ' ' nfal_patnr = npat-patnr * NPATSTRING = ' ' only_falnr = ' ' popup = 'X' repid = ' ' row = 6 tcode = ' ' vcode = 'DIS' zuordnung = 'A' importing * LIST_OKCODE = * NBEW_BEWTY = * NBEW_LFDNR = nfal_falnr = falnr nfal_fziff = nfal-fziff * NO_LIST = * SELECT_NFAL = * STORNO_SELECTED = * VCODE_NEU = * WEITER = exceptions pat_not_found = 01 repid_missing = 02.

ISH_CASE_SELECTION_READ call function 'ISH_CASE_SELECTION_READ' exporting ss_einri = einri ss_selkz = pa_selkz tables ss_falnr = r_hlp_falnr exceptions not_found = 1 others = 2.

ISH_CH_CANCEL_GEN_SERVICES call function 'ISH_CH_CANCEL_GEN_SERVICES' exporting einri = i_nfal-einri falnr = i_nfal-falnr messages_collect = 'X' messages_show = 'X' importing gendat = gen_dat errors = anz_errors warnings = anz_warnings tables e_vnlei = ivnlei ernwcherr = irnwcherr1 exceptions false_einri = 1 false_falnr = 2 nothing_to_change = 3 fehler = 4 others = 5.

ISH_CASE_SELECTION_CREATE call function 'ISH_CASE_SELECTION_CREATE' exporting ss_einri = einri ss_selkz = pa_fsele ss_seltx = pa_fselt ss_update_allowed = 'X' tables ss_falnr = r_lt_faelle exceptions exists = 1 invalid_sign_option = 2 invalid_einri = 3 others = 4.

DD_INT_TABLINFO_GET call function 'DD_INT_TABLINFO_GET' exporting typename = 'RNLSR' tables extdfies_tab = lt_dfies_tab[] exceptions not_found = 1 internal_error = 2 others = 3.

ENQUEUE_ENFAL call function 'ENQUEUE_ENFAL' exporting einri = p_einri falnr = p_falnr x_einri = ' ' x_falnr = ' ' _scope = '2' _wait = ' ' exceptions foreign_lock = 01 system_failure = 02.

ISH_CASESERVICE_MODIFYMULTIPLE call function 'ISH_CASESERVICE_MODIFYMULTIPLE' exporting ss_einri = p_einri ss_falnr = p_falnr ss_testrun = l_testrun ss_act_complete = l_complete importing ss_retmaxtype = l_retmaxtype tables ss_rnlsr = lt_rnlsr[] ss_actnlei = lt_actnlei[] ss_actnnlz = lt_actnnlz[] ss_actnllz = lt_actnllz[] ss_actnlicz = lt_actnlicz[] ss_onlei = lt_onlei[] ss_onnlz = lt_onnlz[] ss_return = lt_bapiret2[].

ISH_CASESERVICE_POOL_GET call function 'ISH_CASESERVICE_POOL_GET' exporting ss_einri = p_einri ss_falnr = p_falnr tables ss_vnlei_curr = lt_vnlei_curr ss_vnnlz_curr = lt_vnnlz_curr ss_vnllz_curr = lt_vnllz_curr ss_vnlicz_curr = lt_vnlicz_curr.

ISH_CASESERVICE_ADJUSTMENTS





call function 'ISH_CASESERVICE_ADJUSTMENTS' exporting ss_einri = p_einri ss_falnr = p_falnr ss_adj_rules = on ss_dialog = off "MK201009 ss_check_rules = on ss_rlshow = on ss_event = 'NLRG00' ss_testrun = l_testrun importing ss_retmaxtype = l_retmaxtype tables ss_actnlei = lt_actnlei[] ss_actnnlz = lt_actnnlz[] ss_actnllz = lt_actnllz[] ss_actnlicz = lt_actnlicz[] ss_onlei = lt_onlei[] ss_onnlz = lt_onnlz[] ss_return = lt_bapiret2[] changing ss_act_complete = l_complete.

DEQUEUE_ENFAL call function 'DEQUEUE_ENFAL' exporting einri = p_einri falnr = p_falnr x_einri = ' ' x_falnr = ' ' _scope = '3'.

ISH_READ_NFAL call function 'ISH_READ_NFAL' exporting ss_einri = $einri ss_falnr = $falnr ss_read_db = off importing ss_nfal = nfal exceptions not_found = 01 no_authority = 02.

ISH_READ_NPAT call function 'ISH_READ_NPAT' exporting ss_einri = $einri ss_patnr = nfal-patnr ss_read_db = off ss_with_npae = off importing " SS_NOT_FOUND_IN_EINRI = " SS_NPAE = ss_npat = npat exceptions not_found = 01 no_authority = 02.

ISH_NPAT_CONCATENATE call function 'ISH_NPAT_CONCATENATE' exporting * SS_EINRI = '*' ss_patnr = npat-patnr * SS_READ_NPAT = ' ' ss_npat = npat * SS_NPAT_COMPLETE = 'X' * SS_LIST = ' ' importing ss_pname = $pname exceptions others = 1.



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