SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

RGSALEH1 SAP ABAP Report - Send Complete CO Hierarchy via ALE







RGSALEH1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program to send a complete CO hierarchy via ALE...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 RGSALEH1 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 RGSALEH1. "Basic submit
SUBMIT RGSALEH1 AND RETURN. "Return to original report after report execution complete
SUBMIT RGSALEH1 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: GROUP = D Group name
Selection Text: KOKRS = D Controlling area
Selection Text: LOGSYS = Target system
Selection Text: TABLE = D Table
Title: Send Complete CO Hierarchy via ALE


INCLUDES used within this REPORT RGSALEH1

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:

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING e_kokrs = kokrs.

G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING shortname = group old_setid = setid kokrs = kokrs IMPORTING new_setid = setid.

G_SET_ALE_SEND_CO_HIERARCHY CALL FUNCTION 'G_SET_ALE_SEND_CO_HIERARCHY' EXPORTING logsys = logsys setid = setid EXCEPTIONS no_receivers_found = 1 kokrs_does_not_exist = 2 not_in_source_system_of_kokrs = 3 no_authority_to_read_sets = 4 hierarchy_not_found = 5 subgroup_not_found = 6 no_authority_to_send_idoc = 7 OTHERS = 8.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog "Current program dynumb = sy-dynnr "Current screen TABLES dynpfields = dynpfields. "Relevant screen fields

G_SET_SELECT CALL FUNCTION 'G_SET_SELECT' EXPORTING class = '010+' kokrs = kokrs set = setname_aux typelist = 'BS' IMPORTING setid = setid_aux set_name = setname_aux EXCEPTIONS no_set_picked = 1 no_sets = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields.



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