SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Sets(FI-SL-SL-MD-SE) SAP FI

SETHANA_ACTIVATOR SAP ABAP Report - Activation program for HANA set hierarchies







SETHANA_ACTIVATOR 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 SETHANA_ACTIVATOR into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SETHANA_ACTIVATOR - Activation of HANA set hierarchies


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 SETHANA_ACTIVATOR. "Basic submit
SUBMIT SETHANA_ACTIVATOR AND RETURN. "Return to original report after report execution complete
SUBMIT SETHANA_ACTIVATOR 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_SUBCLS = Set subclass
Selection Text: S_SETCLS = Set class
Selection Text: S_HRCHY = Hierarchy name
Selection Text: P_SKIP = Do nothing when in conflict
Selection Text: P_SIMU = Simulation Run
Selection Text: P_REAL = Update Run
Selection Text: P_PREFER = Process plan actions instead
Selection Text: P_PLAN = Process plan actions
Selection Text: P_IGNORE = Ignore plan actions
Selection Text: P_GLOBAL = Process global actions
Selection Text: P_CHECK = Check consistency
Selection Text: P_ACTION = Global Action
Title: Activation program for HANA set hierarchies
Text Symbol: 010 = Show Activation Log
Text Symbol: 009 = Could not exclusively lock table SETHANA_STATUS
Text Symbol: 008 = Repair
Text Symbol: 007 = If a plan action exists for a hierarchy
Text Symbol: 006 = Processing mode
Text Symbol: 005 = Global/Repair action
Text Symbol: 004 = Detailled check
Text Symbol: 003 = Check if up to date
Text Symbol: 002 = Action to be performed on selected hierarchies
Text Symbol: 001 = Hierarchy Selection


INCLUDES used within this REPORT SETHANA_ACTIVATOR

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:

APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = 'SETHIERARCHY' object_attribute = 1 date_from = l_datum time_from = '000000' date_to = sy-datum time_to = '235959' suppress_selection_dialog = ' ' EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_HISTORY' info = 'Show Activation Log'(010) add_stdinf = '' IMPORTING result = l_icon.

HDB_DBCON_GET_APPL CALL FUNCTION 'HDB_DBCON_GET_APPL' EXPORTING i_application = 'SETS' IMPORTING e_dbcon_name = l_hana_dbcon e_hdb_is_primary_db = lv_is_in_memory_db EXCEPTIONS OTHERS = 0.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'E' enqueue_mode = 'E' view_name = 'SETHANA_STATUS_V' enqueue_range = 'X' TABLES sellist = lt_sellist EXCEPTIONS foreign_lock = 2.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'E' enqueue_mode = 'E' view_name = 'SETHANA_STATUS_V' EXCEPTIONS foreign_lock = 2.

G_SET_PROCESS_ACTION CALL FUNCTION 'G_SET_PROCESS_ACTION' EXPORTING setclass = lt_status-setclass subclass = lt_status-subclass hierarchy = lt_status-hierarchy simulation = l_simu action = p_action check = l_check priority = l_priority hana_connection = l_hana_dbcon IMPORTING log_handle = l_loghandle.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'D' enqueue_mode = 'E' view_name = 'SETHANA_STATUS_V' enqueue_range = 'X' TABLES sellist = lt_sellist EXCEPTIONS OTHERS = 0.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'D' enqueue_mode = 'E' view_name = 'SETHANA_STATUS_V' EXCEPTIONS OTHERS = 0.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_t_log_handle = lt_loghandles i_s_msg_filter = l_msgfilter IMPORTING e_t_msg_handle = lt_msghandle EXCEPTIONS msg_not_found = 4.

BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = l_msghandle IMPORTING e_s_msg = l_smsg e_txt_msg = l_msg.



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