SAP Reports / Programs | Patient Accounting | SAP Healthcare - Industry-Specific Components for Hospitals | Patient Accounting(IS-H-PA) SAP IS

RNUNKSD_NTC SAP ABAP Report - IS-H: Check NKSD Before PPA Billing (New Treatment Certificates)







RNUNKSD_NTC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program generates missing details for treatment certificates (table NKSD)...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 RNUNKSD_NTC 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 RNUNKSD_NTC. "Basic submit
SUBMIT RNUNKSD_NTC AND RETURN. "Return to original report after report execution complete
SUBMIT RNUNKSD_NTC 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: S_PROT = Generate Log
Selection Text: S_TEST = Test Run Only
Selection Text: SE_EINRI = D .
Selection Text: SE_FALNR = D .
Selection Text: SE_SELKZ = D .
Title: IS-H: Check NKSD Before PPA Billing (New Treatment Certificates)
Text Symbol: 001 = No authorization to execute report
Text Symbol: 002 = "New Treatment Certificates" switch (ISH_TC) is not active
Text Symbol: 004 = No billing selections exist
Text Symbol: 005 = Error while locking case
Text Symbol: 006 = Error while unlocking case
Text Symbol: 101 = Test Run Only - no DB Changes
Text Symbol: 102 = Production Run with DB Changes
Text Symbol: 103 = Message Type
Text Symbol: 104 = Message


INCLUDES used within this REPORT RNUNKSD_NTC

INCLUDE RNDATA00.
INCLUDE RNLALV00.
INCLUDE MNDATA_BILLING_TYPES.
INCLUDE MNDATA_CASE_TYPES.


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_TC_SWITCH CALL FUNCTION 'ISH_TC_SWITCH' IMPORTING e_switch = l_value.

ISH_TRTCRT_ADAPT_NKSD CALL FUNCTION 'ISH_TRTCRT_ADAPT_NKSD' EXPORTING i_falnr = -falnr i_einri = -einri i_nfal = * I_NBDT = it_nksk = lt_nksk * IT_NBDT02 = IMPORTING et_vnksk = lt_vnksk et_vnksd = lt_vnksd CHANGING ct_nksd = lt_nksd.

ISH_VERBUCHER_NKSK_NKSD CALL FUNCTION 'ISH_VERBUCHER_NKSK_NKSD' EXPORTING datum = sy-datum tcode = l_tcode uname = sy-uname uzeit = sy-uzeit TABLES icdtxt_nksk = lt_cdtxt xnksd = gt_vnksd xnksk = gt_vnksk ynksd = lt_dummy_vnksd ynksk = lt_dummy_vnksk.

ENQUEUE_ENFAL CALL FUNCTION 'ENQUEUE_ENFAL' EXPORTING einri = -einri falnr = -falnr _scope = '3' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ENFAL CALL FUNCTION 'DEQUEUE_ENFAL' EXPORTING einri = -einri falnr = -falnr _scope = '3' EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = sy-repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_STRUCTURE_NAME = is_layout = gs_layout it_fieldcat = xfield * IT_EXCLUDING = * it_special_groups = gt_sp_groups[] it_sort = gt_zsum[] * IT_FILTER = * is_sel_hide = gs_sel_hide * I_DEFAULT = 'X' i_save = 'A' * is_variant = gs_variant it_events = gt_events[] * IT_EVENT_EXIT = * IS_PRINT = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_mess EXCEPTIONS program_error = 1 OTHERS = 2.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING einri = se_einri ausbegdt = rnstat-ausbegdt ausenddt = rnstat-ausenddt verbegdt = rnstat-verbegdt verenddt = rnstat-verenddt title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 line_size = rnstat-line_size repid = rnstat-repid uline = off 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 RNUNKSD_NTC or its description.