/ISDFPS/ACCHIERGEN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for INCLUDE /ISDFPS/CO_GENERATE OBJECT DOKU ID TX STYLE S_DOCUS1 On any key date, you can generate a CO standard hierarchy for a controlling area from the CO master data for force elements...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 /ISDFPS/ACCHIERGEN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
/ISDFPS/ACCHIERGEN - Generate CO Standard Hierarchy
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.
Selection Text: P10LOG = Application Log
Selection Text: P11SAVDB = Save Application Log
Selection Text: P2KEYDAT = Key Date
Selection Text: P7 = Cost Centers
Selection Text: P8 = Profit Centers
Selection Text: P9INIT = Initial Hierarchy Generation
Selection Text: P9TSTRUN = Simulation
Title: Generate CO Standard Hierarchy from Organizational Structure
Text Symbol: 000 = Standard Hierarchy for
Text Symbol: 001 = Selection
Text Symbol: 002 = Processing Options
Text Symbol: 003 = (Simulation)
Text Symbol: 004 = (Update)
Text Symbol: 005 = Extended Settings
Text Symbol: AC3 = Hierarchy Master Data - Compare
Text Symbol: AC4 = Before comparing the hierarchy, you must observe the current program documentation; execute function?
Text Symbol: FC1 = Set Controlling Area
Text Symbol: FC2 = Test the Hierarchy
Text Symbol: FC3 = Hierarchy Comparison
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
/ISDFPS/AC_COAREA_READ CALL FUNCTION '/ISDFPS/AC_COAREA_READ' EXPORTING coarea = p1coarea IMPORTING e_tka01 = e_tka01 EXCEPTIONS not_found = 1 OTHERS = 2.
/ISDFPS/AC_COAREA_UPDATE CALL FUNCTION '/ISDFPS/AC_COAREA_UPDATE' EXPORTING coarea = p1coarea ls_tka01 = e_tka01 g_appl = g_appl EXCEPTIONS update_not_possible = 1 OTHERS = 2.
/ISDFPS/MSG_TO_BAL_MSG CALL FUNCTION '/ISDFPS/MSG_TO_BAL_MSG' EXPORTING if_msgid = '/ISDFPS/ACCMSG' if_msgty = 'E' if_msgno = '028' if_msgv1 = lv_msg1 CHANGING ct_appl_log_msg = lt_appl_log_msg.
/ISDFPS/BAL_MSG_SAVE CALL FUNCTION '/ISDFPS/BAL_MSG_SAVE' EXPORTING is_log_header = ls_bal_log it_log_msg = lt_appl_log_msg if_display_log = p10log if_save_log = p11savdb IMPORTING ef_loghandle = ls_log_handle EXCEPTIONS import_para_error = 1 bal_log_error = 2 OTHERS = 3.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING i_kokrs = p_kokrs popup = p_popup IMPORTING e_kokrs = p_kokrs EXCEPTIONS not_found = 1 OTHERS = 2.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'CURRENT' no_dialog = 'X' report = '/ISDFPS/ACCHIERGEN' IMPORTING out_parameters = params valid = valid.
/ISDFPS/MSG_TO_BAL_MSG CALL FUNCTION '/ISDFPS/MSG_TO_BAL_MSG' EXPORTING if_msgid = sy-msgid if_msgty = sy-msgty if_msgno = sy-msgno if_msgv1 = sy-msgv1 if_msgv2 = sy-msgv2 if_msgv3 = sy-msgv3 if_msgv4 = sy-msgv4 CHANGING ct_appl_log_msg = lt_appl_log_msg.
/ISDFPS/MSG_TO_BAL_MSG CALL FUNCTION '/ISDFPS/MSG_TO_BAL_MSG' EXPORTING if_msgid = '/ISDFPS/ACCMSG' if_msgty = 'I' if_msgno = '043' if_msgv1 = lv_msg1 CHANGING ct_appl_log_msg = lt_appl_log_msg.
/ISDFPS/MSG_TO_BAL_MSG CALL FUNCTION '/ISDFPS/MSG_TO_BAL_MSG' EXPORTING if_msgid = '/ISDFPS/ACCMSG' if_msgty = 'I' if_msgno = '044' if_msgv1 = lv_msg1 CHANGING ct_appl_log_msg = lt_appl_log_msg.
RH_ENTH_PATH_SET CALL FUNCTION 'RH_ENTH_PATH_SET' "#EC EXISTS EXPORTING ext_path_costcenter = wegid_ctr_hier ext_path_profitcenter = wegid_prctr_hier.
G_SET_DEQUEUE CALL FUNCTION 'G_SET_DEQUEUE' EXPORTING setid = gd_gener.
/ISDFPS/MSG_TO_BAL_MSG CALL FUNCTION '/ISDFPS/MSG_TO_BAL_MSG' EXPORTING if_msgid = '/ISDFPS/ACCMSG' if_msgty = 'S' if_msgno = '064' CHANGING ct_appl_log_msg = lt_appl_log_msg.
/ISDFPS/AC_TCODE_AUTH_CHECK CALL FUNCTION '/ISDFPS/AC_TCODE_AUTH_CHECK' EXPORTING ac_cctr_hier_maint = p7 ac_prctr_hier_maint = p8 IMPORTING ac_authorization = ac_auth.
G_SET_DEQUEUE CALL FUNCTION 'G_SET_DEQUEUE' EXPORTING setid = gd_gener.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/ISDFPS/ACCHIERGEN - Generate CO Standard Hierarchy from Organizational Structure /ISDFPS/ACCHIERGEN - Generate CO Standard Hierarchy from Organizational Structure /ISDFPS/ACCHIERCOPY - Generate CO Alternative Hierarchy from Organizational Structure /ISDFPS/ACCHIERCOPY - Generate CO Alternative Hierarchy from Organizational Structure /ISDFPS/ACCCORATES - Force Element: Send CO Plan Quantities and Prices /ISDFPS/ACCCORATES - Force Element: Send CO Plan Quantities and Prices