RHOMATTRIBUTES_REPLACE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Replacement of Attributes In the CRM and EBP environment in particular you can use this report to view the attribute values assigned to a scenario, and to replace them either partially or fully...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 RHOMATTRIBUTES_REPLACE into the relevant SAP transactions such as SE38 or SE80
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: NEW_VAL7 = D Value (New)
Selection Text: NEW_VAL6 = D Value (New)
Selection Text: NEW_VAL5 = D Value (New)
Selection Text: NEW_VAL4 = D Value (New)
Selection Text: NEW_VAL3 = D Value (New)
Selection Text: NEW_VAL2 = D Value (New)
Selection Text: NEW_VAL1 = D Value (New)
Selection Text: NEWVAL10 = D Value (New)
Selection Text: ATTRIB9 = D Attribute
Selection Text: ATTRIB8 = D Attribute
Selection Text: ATTRIB7 = D Attribute
Selection Text: ATTRIB6 = D Attribute
Selection Text: ATTRIB5 = D Attribute
Selection Text: ATTRIB4 = D Attribute
Selection Text: ATTRIB3 = D Attribute
Selection Text: ATTRIB2 = D Attribute
Selection Text: ATTRIB10 = D Attribute
Selection Text: ATTRIB1 = D Attribute
Selection Text: SCENARIO = D Attribute Maintenance Scenario
Selection Text: PARTSTR9 = D Sub-String
Selection Text: PARTSTR8 = D Sub-String
Selection Text: NEW_VAL8 = D Value (New)
Selection Text: NEW_VAL9 = D Value (New)
Selection Text: OLDVAL10 = D Value (Old)
Selection Text: OLD_VAL1 = D Value (Old)
Selection Text: OLD_VAL2 = D Value (Old)
Selection Text: OLD_VAL3 = D Value (Old)
Selection Text: OLD_VAL4 = D Value (Old)
Selection Text: OLD_VAL5 = D Value (Old)
Selection Text: OLD_VAL6 = D Value (Old)
Selection Text: OLD_VAL7 = D Value (Old)
Selection Text: OLD_VAL8 = D Value (Old)
Selection Text: OLD_VAL9 = D Value (Old)
Selection Text: PARTST10 = D Sub-String
Selection Text: PARTSTR1 = D Sub-String
Selection Text: PARTSTR2 = D Sub-String
Selection Text: PARTSTR3 = D Sub-String
Selection Text: PARTSTR4 = D Sub-String
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' EXPORTING set_default_plvar = 'X' IMPORTING act_plvar = g_plavar EXCEPTIONS OTHERS = 0.
RHGA_SCEN_GET_ATTRIBS CALL FUNCTION 'RHGA_SCEN_GET_ATTRIBS' EXPORTING scenario = scenario IMPORTING attr_def = gt_attrdef EXCEPTIONS invalid_scenario = 1 invalid_attribute = 2 OTHERS = 3.
RHGA_SCEN_GET_SUBTYPE CALL FUNCTION 'RHGA_SCEN_GET_SUBTYPE' EXPORTING scenario = scenario IMPORTING subty = g_subtype EXCEPTIONS invalid_scenario = 1 OTHERS = 2.
RH_GET_OTYPE_TEXT CALL FUNCTION 'RH_GET_OTYPE_TEXT' EXPORTING otype =
-otype langu = sy-langu IMPORTING otext = wa_output-otext EXCEPTIONS invalid_otype = 1 OTHERS = 2.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = g_plavar otype =
-otype objid = -objid IMPORTING short = wa_output-short stext = wa_output-stext EXCEPTIONS not_found = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'OMATTRREPL' CHANGING ct_fieldcat = it_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = ' ' i_callback_program = g_repid i_callback_pf_status_set = 'ALV_SET_PF_STATUS' i_callback_user_command = 'ALV_USER_COMMAND' is_layout = g_layout it_fieldcat = it_fieldcat TABLES t_outtab = it_output EXCEPTIONS program_error = 1 OTHERS = 2.
RH_UPDATE_INFTY CALL FUNCTION 'RH_UPDATE_INFTY' EXPORTING vtask = 'D' commit_flg = 'X' authy = ' ' repid = g_repid form = 'INSERT_TAB' TABLES innnn = l_it_p1222 EXCEPTIONS error_during_update = 1 no_authorization = 2 repid_form_initial = 3 corr_exit = 4 OTHERS = 5.
RHGA_ATTRIBUTE_F4 CALL FUNCTION 'RHGA_ATTRIBUTE_F4' EXPORTING invisible = '*' simulated = ' ' dynprog = g_repid dynnr = sy-dynnr attr_dynfield = lv_attrfield scen_dynfield = 'SCENARIO' EXCEPTIONS cancelled = 1 nothing_found = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RHOMATTRIBUTES_REPLACE - Replacement of Attributes RHOMATTRIBUTES_REPLACE - Replacement of Attributes RHOMATTRIBUTES_CONSISTENCY - Consistency Check: Characteristics Generic Attributes RHOMATTRIBUTES_CONSISTENCY - Consistency Check: Characteristics Generic Attributes RHOMATTRIBUTES_CLEAN_HRT1222 - Deletion of entries in table HRT1222 that are no longer referenced RHOMATTRIBUTES_CLEAN_HRT1222 - Deletion of entries in table HRT1222 that are no longer referenced