SAP Reports / Programs

RNABG000 SAP ABAP Report - IS-H: Determine Cost Portions with Workers' Comp. Assoc. Billing







RNABG000 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In outpatient Workers' Compensation Association billing, the amount invoiced is broken down for accounting purposes...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 RNABG000 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 RNABG000. "Basic submit
SUBMIT RNABG000 AND RETURN. "Return to original report after report execution complete
SUBMIT RNABG000 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: EINRI = Institution
Selection Text: R_FALAR = Case Type (Optional)
Selection Text: R_FALNR = Case (Optional)
Selection Text: R_ORGID = Performing OU/Physician
Selection Text: R_ZEITR = Created On
Selection Text: TXTEINRI = Institution Text
Selection Text: XHB_ALLG = General Treatment
Selection Text: XHB_BES = Special Treatment
Selection Text: X_ARZT = Physician Fees
Selection Text: X_HON = Fee Transfer
Selection Text: X_SACH = Material Costs
Selection Text: X_SEL = Output Selections
Title: IS-H: Determine Cost Portions with Workers' Comp. Assoc. Billing
Text Symbol: D12 = Inv.Amount;; invoiced amount
Text Symbol: D13 = Total ;;
Text Symbol: D14 = Material Costs
Text Symbol: D15 = Phy. Fees
Text Symbol: D16 = Fee Transf;;
Text Symbol: D17 = Currency ;;
Text Symbol: G01 = Performing OU/Physician
Text Symbol: G02 = Invoice Creation Period
Text Symbol: G03 = Case Number
Text Symbol: G04 = Case Type
Text Symbol: H01 = Costs Portions
Text Symbol: S01 = Selections
Text Symbol: S02 = Institution:
Text Symbol: S03 = Billing Type:
Text Symbol: S04 = Cost Elem:
Text Symbol: S05 = Selection Option Name
Text Symbol: S06 = Sign
Text Symbol: S07 = Option
Text Symbol: S08 = Val From
Text Symbol: S09 = To
Text Symbol: T01 = Billing Type
Text Symbol: T02 = Cost Elem.
Text Symbol: T03 = List Output
Text Symbol: D11 = Inv. Date ;;
Text Symbol: 001 = Settings





Text Symbol: 002 = Institution
Text Symbol: 003 = General Treatment
Text Symbol: 004 = Special Treatment
Text Symbol: 005 = No costs to be reported were determined
Text Symbol: 006 = Billing Type: ;;
Text Symbol: 007 = WCA Phy.;;
Text Symbol: 008 = Code: ;;
Text Symbol: 009 = Case
Text Symbol: 010 = Name
Text Symbol: 011 = Invoice No;; invoice number
Text Symbol: 012 = Created:;; date when invoice created
Text Symbol: 013 = Invoiced Amount;; invoiced amount
Text Symbol: 014 = Costs Portions
Text Symbol: 015 = Total
Text Symbol: 016 = Material Costs
Text Symbol: 017 = Phy. Fees
Text Symbol: 018 = General Treatment ;;
Text Symbol: 019 = Special Treatment ;;
Text Symbol: 01A = Billing Type Settings
Text Symbol: 01B = Cost Type Settings
Text Symbol: 020 = Invalid Internal Billing Type ;;
Text Symbol: 021 = Subtotal of Cost Portions per Physician
Text Symbol: 022 = Sumtotal of Cost Portions per Physician
Text Symbol: 023 = Fee Transfer
Text Symbol: 024 = List Output
Text Symbol: D01 = OU ;;
Text Symbol: D02 = Physician
Text Symbol: D03 = Code
Text Symbol: D04 = Ex.BillTyp;;
Text Symbol: D05 = In.BillTyp;;
Text Symbol: D06 = Case
Text Symbol: D07 = CheckDigit;;
Text Symbol: D08 = Name
Text Symbol: D09 = Invoice No;;
Text Symbol: D10 = Created on;;


INCLUDES used within this REPORT RNABG000

INCLUDE: MNCOLOUR, "FARBDEFINITIONEN


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_AUTH_CHECK_REPORT_EINRI





CALL FUNCTION 'ISH_AUTH_CHECK_REPORT_EINRI' EXPORTING repid = reportid einri = einri messagetype = 'E' IMPORTING rc = rc EXCEPTIONS OTHERS = 1.

ISH_GET_COST_REIMBURSEMENT CALL FUNCTION 'ISH_GET_COST_REIMBURSEMENT' EXPORTING einri = einri abart_on = on kschl_on = off kon_tab = ikon_tab[] r_zeitr = r_zeitr[] r_falnr = r_falnr[] r_falar = r_falar[] r_abart = r_abart[] r_orgid = r_orgid[] TABLES kosten_tab = ikosten_tab konwert_tab = ikonwerte_tab EXCEPTIONS missing_data = 1 no_bills = 2 OTHERS = 3.

F4_FILENAME * CALL FUNCTION 'F4_FILENAME' * IMPORTING * FILE_NAME = PFAD * EXCEPTIONS * OTHERS = 1.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * FILENAME = DPFAD * FILETYPE = 'DBF' * TABLES * DATA_TAB = LIST_TAB * FIELDNAMES = HEADERS * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_WRITE_ERROR = 2 * INVALID_FILESIZE = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7 * OTHERS = 99.

ISH_SAP_OM_CHECK_ACTIVE CALL FUNCTION 'ISH_SAP_OM_CHECK_ACTIVE' EXCEPTIONS not_active = 1.

ISH_OM_OU_GET CALL FUNCTION 'ISH_OM_OU_GET' EXPORTING itr_orgid = ltr_orgid IMPORTING et_norg = lt_norg EXCEPTIONS nothing_found = 0 internal_error = 0 OTHERS = 0.

ISH_READ_NORG CALL FUNCTION 'ISH_READ_NORG' EXPORTING einri = einri orgid = $orgid IMPORTING norg_e = *norg EXCEPTIONS missing_orgid = 01.

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 title_lin2 = rnstat-title_lin2 uline = on ausbegdt = r_zeitr-low ausenddt = r_zeitr-high EXCEPTIONS invalid_einri = 01.

ISH_DYNP_VALUES_READ CALL FUNCTION 'ISH_DYNP_VALUES_READ' EXPORTING dyname = p_reportid dynumb = p_dynnr TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = einri IMPORTING output = einri EXCEPTIONS OTHERS = 1.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = einri freig = '*' ambes = '*' fazuw = '*' pfzuw = '*' no_bauid = '*' IMPORTING selected_orgid = p_r_orgid EXCEPTIONS bauid_not_in_nbau = 1 einri_not_in_tn01 = 2 no_hierarchy = 3 orgid_not_in_norg = 4 OTHERS = 5.



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