RPHALGEN 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 RPHALGEN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
BW10 - BW20PI: Log. Gen. Hierarchy for BW
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: ROLNM = D Data Element
Title: BW20PI: Generate DataSource for Customer-Defined General Hierarchies
Text Symbol: 001 = Data Element for the Logical General Hierarchy
Text Symbol: 010 = Reading Data....
Text Symbol: 011 = No General Hierarchy Available in R/3
Text Symbol: 012 = Display of Selection Options
Text Symbol: 013 = Table contains no values
Text Symbol: 030 = Data element
Text Symbol: 031 = Not Allowed for Logical General Hierarchy
Text Symbol: 050 = Generate BW20 DataSource
Text Symbol: 051 = Generate HIER DataSource
Text Symbol: 052 = in source system for BW hierarchy?
Text Symbol: 053 = HIER DataSource
Text Symbol: 054 = already exists. Overwrite?
INCLUDE LRSAPK01.
INCLUDE LRSALK01.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-010.
DD_DTEL_GET CALL FUNCTION 'DD_DTEL_GET' EXPORTING roll_name = l_s_select-rolnm TABLES dd04t_tab_a = l_t_dd04t EXCEPTIONS illegal_value = 1 OTHERS = 2.
HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING cucol = 2 curow = 4 selectfield = 'ROLNM' titel = text-012 IMPORTING ind = l_table_index TABLES fields = l_t_fields full_table = l_t_select EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text-013.
DD_DTEL_GET CALL FUNCTION 'DD_DTEL_GET' EXPORTING roll_name = rolnm IMPORTING dd04l_wa_a = l_s_dd04l TABLES dd04t_tab_a = l_t_dd04t.
RSA1_SINGLE_OLTPSOURCE_GET CALL FUNCTION 'RSA1_SINGLE_OLTPSOURCE_GET' EXPORTING * I_WITH_BUF = ' ' i_oltpsource = l_s_oltpsource-oltpsource * I_OBJVERS = 'A' * I_RLOGSYS = * I_T_LANGU = * IMPORTING * E_S_OLTPSOURCE = * E_S_OHIECAT = * E_S_ROIS = * E_S_RODCHABAS = * E_S_ROHIEBAS = * E_S_RSMDDELTA = * E_T_ROOSGEN = * E_T_FIELDS = * E_T_TEXTS = * E_T_FIELDT = * E_T_OHIECOM = * E_T_ROOSPRMSF = * E_T_ROIST = * E_S_MDDELTA = * E_T_OHIECOMTECH = EXCEPTIONS no_authority = 1 not_exist = 2 inconsistent = 3 OTHERS = 4.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = l_message textline2 = text-054 titel = text-050 IMPORTING answer = l_answer.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = l_message textline2 = text-052 titel = text-050 IMPORTING answer = l_answer.
RSA1_OLTPSOURCE_GENERATE CALL FUNCTION 'RSA1_OLTPSOURCE_GENERATE' EXPORTING * I_TESTMODE = ' ' i_save_despite_warning = 'X' i_s_oltpsource = l_s_oltpsource i_t_oltpsourcefields = l_t_oltpfields i_t_ostext = l_t_ostext i_s_oshiecat = l_s_oshiecat i_t_ohiecom = l_t_ohiecom i_with_dynpro = rsaot_c_flag-off * I_REQUEST = * I_DEVCLASS = * I_NO_TRANSPORT = RSAOT_C_FLAG-OFF * I_OBJVERS = 'A' * I_S_MDDELTA = * I_S_DD02V = * I_T_DD03P = * I_T_DD05M = * I_T_DD08V = IMPORTING e_t_messages = l_t_messages * E_REQUEST = * E_DEVCLASS = e_subrc = l_subrc * E_S_OSOURCE = TYPE RSAOT_S_OSOURCE EXCEPTIONS internal_error = 1 transport_error = 2 locked = 3 inconsistent = 4 cancelled = 5 OTHERS = 6.
APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = 'RSAR' subobject = 'METADATA' external_number = l_externe_nummer EXCEPTIONS no_authority = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPHALGEN - BW20PI: Generate DataSource for Customer-Defined General Hierarchies RPHALGEN - BW20PI: Generate DataSource for Customer-Defined General Hierarchies RPH00001 - documentation and ABAP source code RPH00000 - Master Data Headers RPH00000 - Master Data Headers RPGSIRFF - documentation and ABAP source code