SAP Reports / Programs

RNWCHEACO SAP ABAP Report - documentation and ABAP source code







RNWCHEACO 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 RNWCHEACO 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 RNWCHEACO. "Basic submit
SUBMIT RNWCHEACO AND RETURN. "Return to original report after report execution complete
SUBMIT RNWCHEACO VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RNWCHEACO

INCLUDE RNSSEINR.
INCLUDE RNSSIEIN.
INCLUDE RNSSSEIN.
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:

MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE'.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = '1' text = progress_text exceptions others = 1.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = progress_text exceptions others = 1.

MESSAGES_COUNT call function 'MESSAGES_COUNT' importing count = anz_mess exceptions inconsistent_range = 01 inconsistent_range_severity = 02.

ISH_PRINT_PROTOCOL_BATCH call function 'ISH_PRINT_PROTOCOL_BATCH' exporting line_size = line_size minutes_title = text-ueb new_section = on exceptions no_messages = 2.

ISH_PRINT_PROTOCOL call function 'ISH_PRINT_PROTOCOL' exporting line_size = line_size minutes_title = text-ueb.

ISH_MESSAGE_HANDLER_LINE_SET call function 'ISH_MESSAGE_HANDLER_LINE_SET' exporting ss_mess_line = $user0 exceptions others = 1.

ISH_COST_ALLOCATION_PREP_NEW call function 'ISH_COST_ALLOCATION_PREP_NEW' "[1]U exporting i_rnhk1 = rnhk1 importing break_allocation = fehler tables t_nlei = inlei kontierungen = kont.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = percentage text = progress_text exceptions others = 1.

ISH_CALL_LIST_HEAD call function 'ISH_CALL_LIST_HEAD' exporting ausbegdt = uldat * AUSENDDT = ERSDT-HIGH einri = se_einri line_size = lsize repid = 'RNHCO000' title_lin1 = 'Überleitung Leistungen'(u01) title_lin2 = 'auf Kostenstellen bzw. Aufträge'(u13)

ISH_DISTRIBUTE_ACTIVITY_ALLOC call function 'ISH_DISTRIBUTE_ACTIVITY_ALLOC' exporting einri = rnhk1-einri event = 'HCO010' mappe = mappe * TMODE = 'E' * TUPDATE = 'A' * importing * subrc = tables t_rnhc01 = $rnhc01 exceptions no_configuration_found = 1 error_transaction = 2 others = 3.

ISH_INTERNAL_COST_ALLOCATION * CALL FUNCTION 'ISH_INTERNAL_COST_ALLOCATION' * EXPORTING * MAPPE = MAPPE * TMODE = 'E' * TUPDATE = 'A' * TABLES * T_RNHC01 = $RNHC01.

ISH_READ_NLCO * CALL FUNCTION 'ISH_READ_NLCO' * EXPORTING * LNRLS = GEBUCHTE_KONT-LNRLS * TABLES * E_NLCO = YNLCO * EXCEPTIONS * NO_NLCO_FOUND = 01.

ISH_VERBUCHER_VBAP call function 'ISH_VERBUCHER_VBAP' in update task exporting datum = sy-datum tcode = sy-tcode uname = sy-uname uzeit = sy-uzeit tables xnlei = xnlei ynlei = ynlei.

ISH_VERBUCHER_NWCHLCOEA call function 'ISH_VERBUCHER_NWCHLCOEA' in update task exporting datum = sy-datum tcode = sy-tcode uname = sy-uname uzeit = sy-uzeit tables nlco_mod = xnwchlcoea.

DEQUEUE_ENFAL call function 'DEQUEUE_ENFAL' exporting einri = $einri falnr = $falnr.

DEQUEUE_ENLEI call function 'DEQUEUE_ENLEI' exporting einri = $einri orgid = $orgid exceptions others = 1.

ISH_MESSAGE_HANDLER_LINE_SET call function 'ISH_MESSAGE_HANDLER_LINE_SET' exporting ss_mess_line = $orgid exceptions others = 1.

ISH_COST_ALLOCATION_PREPARE





call function 'ISH_COST_ALLOCATION_PREPARE' exporting i_rnhk1 = rnhk1 importing break_allocation = fehler tables t_nlei = inlei kontierungen = kont.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = percentage text = progress_text exceptions others = 1.

ENQUEUE_ENLEI call function 'ENQUEUE_ENLEI' exporting einri = $einri orgid = $orgid _scope = 3 exceptions foreign_lock = 1 system_failure = 2.

ISH_HELP_REQUEST call function 'ISH_HELP_REQUEST' exporting ss_header = ' ' ss_object = object ss_title = ' '.

ISH_READ_NTPK call function 'ISH_READ_NTPK' exporting einri = $rnhk1-einri talst = $nlei-leist tarif = $nlei-haust importing e_ntpk = ntpk exceptions not_found = 01.

ISH_GET_QUANTITY_SERVICES call function 'ISH_GET_QUANTITY_SERVICES' exporting aufdt = $rnhk1-aufdt aufzt = $rnhk1-aufzt begdt = rest_ab * BEGZT = "Default 00:00 Uhr einri = $rnhk1-einri enddt = $nlei-iendt endzt = $nlei-iezt etlart = $rnhk1-entart etldt = $rnhk1-entdt etlzt = $rnhk1-entzt * S_PARAM = NTPK-BFORM falnr = $rnhk1-falnr "PA 02.04.98

ISH_DYNP_VALUES_READ call function 'ISH_DYNP_VALUES_READ' exporting dyname = dyname dynumb = dynumb translate_to_upper = 'X' tables dynpfields = idynpread.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = dyn_einri importing output = dyn_einri exceptions others = 1.

ISH_SHOW_SERVICES_NEW call function 'ISH_SHOW_SERVICES_NEW' exporting einrichtung = dyn_einri * TARIF = ' ' * TALST = ' ' * ZEITRAUM = 'X' * ZEITPUNKT = 'X' * ENTGA = ' ' * TAGRU = ' ' * BEGDT = '00000000' * ENDDT = '00000000' * SEL_LEIST = 'X' * SEL_GROUP = 'X' * SEL_ERFSP = ' ' multi_select = ' ' * USE_GROUPS = 'X' * ZOTYP = ' ' * DEPTH = '1' * CHANGE_TARIF = 'X' * CHANGE_ZEITR = 'X' * CHANGE_ZEITP = 'X' * CHANGE_ENTGA = 'X' * CHANGE_TAGRU = 'X' * CHANGE_ZOTYP = 'X' * CHANGE_USEGR = 'X' * WIN_TITLE = 'Eingabehilfe' * TEXTNR = '1' * VCODE = 'UPD' * SKIP_FIRST_SCREEN = ' ' * READ_VLE = 'X' * SELECT_ALL = 'X' importing e_ntpk = ntpk * tables * T_NTPK = * T_NTPT = exceptions wrong_einri = 1 nothing_found = 2 nothing_selected = 3 missing_zotyp = 4 others = 5.

ISH_READ_NLCO call function 'ISH_READ_NLCO' exporting lnrls = gebuchte_kont-lnrls tables e_nlco = ynlco exceptions no_nlco_found = 01.

ISH_VERBUCHER_NLEI call function 'ISH_VERBUCHER_NLEI' in update task exporting datum = sy-datum tcode = sy-tcode uname = sy-uname uzeit = sy-uzeit upd_hco = off "Wichtig: Änderungskennzeichen tables "soll nicht gesetzt werden xnlei = xnlei ynlei = ynlei.

ISH_VERBUCHER_NWCHLCOEA call function 'ISH_VERBUCHER_NWCHLCOEA' in update task exporting datum = sy-datum tcode = sy-tcode uname = sy-uname uzeit = sy-uzeit tables nlco_mod = vnwchlcoea.



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