SAP Reports / Programs

RAFWCH_CREATE_TESTCUSTOMIZING SAP ABAP Report - RAFWCHCREATETESTCUSTOMIZING







RAFWCH_CREATE_TESTCUSTOMIZING is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates test Customizing for the analysis structure...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 RAFWCH_CREATE_TESTCUSTOMIZING 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 RAFWCH_CREATE_TESTCUSTOMIZING. "Basic submit
SUBMIT RAFWCH_CREATE_TESTCUSTOMIZING AND RETURN. "Return to original report after report execution complete
SUBMIT RAFWCH_CREATE_TESTCUSTOMIZING 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: P_XNEW = Regenerate Analysis Structure
Selection Text: P_XCOPY = Transport Request for Copy
Selection Text: P_XCLEAN = Deletion Function
Selection Text: P_STR = Analysis Structure
Selection Text: P_SRCCLI = Client
Selection Text: P_ORDTYP = Order Category
Text Symbol: P05 = Check Consistency
Text Symbol: P04 = View for CFM Test
Text Symbol: P03 = Generate Portfolio Hierarchies
Text Symbol: P02 = Generate CFM View
Text Symbol: P01 = Generate Analysis Structure
Text Symbol: 013 = Cancel
Text Symbol: 012 = Y
Text Symbol: 011 = Created On
Text Symbol: 010 = Log for Creation of Test Customizing
Text Symbol: 008 = Do you really want to delete all views, portfolio hierarchies, and RDB data?
Text Symbol: 007 = (Deletion of All Views, Portfolio Hierarchies, and RDB Data)
Text Symbol: 006 = Cleaning of Client before Regeneration of Analysis Structure
Text Symbol: 005 = Transport Req. Cat.
Text Symbol: 004 = Client of Sample Customizing (00)
Text Symbol: 003 = Name of Analysis Structure (BANQ)
Text Symbol: 002 = Create Transport Request for Copy of Analysis Structure
Text Symbol: 001 = Use Sample Customizing to Regenerate Analysis Structure


INCLUDES used within this REPORT RAFWCH_CREATE_TESTCUSTOMIZING

INCLUDE IAFWCH_PROTCON.


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:

AFW_TRLOG_SHOW CALL FUNCTION 'AFW_TRLOG_SHOW' EXPORTING i_log_t = i_log i_title = 'Protokoll zu TESTREPORT'(010) i_subobject = 'BASICMUST' i_header = 'ASMU2' i_text = 'TESTREPORT'(011) i_save = 'X'. "Save protocol

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = i_percentage text = i_text.

RM_AREA_INFO_GET CALL FUNCTION 'RM_AREA_INFO_GET' EXPORTING i_rmda = p_str * IMPORTING * E_RMBBF_W = EXCEPTIONS not_found = 1 OTHERS = 2.

AFWCH_CLIID_MAINT_WARN CALL FUNCTION 'AFWCH_CLIID_MAINT_WARN' EXCEPTIONS canceled_by_user = 1 OTHERS = 2.

AFWCH_SAMPLE_CHAR_ACT CALL FUNCTION 'AFWCH_SAMPLE_CHAR_ACT' CHANGING c_log_t = t_log EXCEPTIONS error_cancel_datastr_act = 1 OTHERS = 2.

AFWCH_SAMPLE_DATASTR_ACT CALL FUNCTION 'AFWCH_SAMPLE_DATASTR_ACT' EXPORTING i_datastr_target = p_str i_order = order CHANGING c_log_t = t_log EXCEPTIONS datastr_already_exists = 1 OTHERS = 2.

AFWCH_VIEWS_ENQUEUE CALL FUNCTION 'AFWCH_VIEWS_ENQUEUE' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

AFWCH_DATASTR_VIEW_GET_ALL CALL FUNCTION 'AFWCH_DATASTR_VIEW_GET_ALL' EXPORTING i_datastr = 'ASAP' i_client = p_srccli IMPORTING e_view = view e_view_dim_t = t_view_dim * e_langu_text_t = t_langu_text "Texts are built locally EXCEPTIONS internal_error = 1 OTHERS = 2.

AFWCH_VIEW_SAVE_DB CALL FUNCTION 'AFWCH_VIEW_SAVE_DB' EXPORTING i_jbrsi_w = wa_jbrsi i_jbrsit_t = t_jbrsit i_jbrsim_t = t_jbrsim EXCEPTIONS database_error = 1 OTHERS = 2.

AFWCH_PHS_ENQUEUE CALL FUNCTION 'AFWCH_PHS_ENQUEUE' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

AFWCH_VIEW_PH_GET_ALL CALL FUNCTION 'AFWCH_VIEW_PH_GET_ALL' EXPORTING i_view = view "source view!! i_client = p_srccli IMPORTING e_ph_t = t_ph e_ph_text_t = t_ph_text e_ph_def_t = t_ph_def.

AFWCH_PH_SAVE_DB CALL FUNCTION 'AFWCH_PH_SAVE_DB' EXPORTING i_ph_t = t_ph i_ph_text_t = t_ph_text i_ph_def_t = t_ph_def IMPORTING e_order = order EXCEPTIONS transport_error = 1 database_error = 2 OTHERS = 3.

AFWCH_SAMPLE_DERI_ACT CALL FUNCTION 'AFWCH_SAMPLE_DERI_ACT' EXPORTING i_datastr = p_str i_drtype_control = w_deri_control i_srccli = p_srccli CHANGING c_log_t = t_log.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

RM_SYST_ORDER_GET CALL FUNCTION 'RM_SYST_ORDER_GET' EXPORTING i_order = order i_order_type = p_ordtyp IMPORTING e_order = order EXCEPTIONS canceled_by_user = 1 error_occurred = 2 OTHERS = 3.

RM_AREA_TR_LIST_GET CALL FUNCTION 'RM_AREA_TR_LIST_GET' EXPORTING p_rmbid = p_str * RM_ONLY = with_values = 'X' target_active = 'X' TABLES e_e071_objs = e_e071_objs e_e071_keys = e_e071_keys e_e071k_keys = e_e071k_keys EXCEPTIONS OTHERS = 1.

RM_KEYS_APPEND_TO_ORDER CALL FUNCTION 'RM_KEYS_APPEND_TO_ORDER' EXPORTING i_order = order IMPORTING sysubrc = sysubrc TABLES i_e071 = e_e071_keys i_e071k = e_e071k_keys EXCEPTIONS OTHERS = 1.

RM_APPEND_TO_ORDER CALL FUNCTION 'RM_APPEND_TO_ORDER' EXPORTING I_ORDER = ORDER IMPORTING SYSUBRC = SYSUBRC TABLES I_E071 = IT_E071 * I_E071K = EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM





CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-006 text_question = text-008 TEXT_BUTTON_1 = 'JA'(012) icon_button_1 = 'ICON_DELETE' TEXT_BUTTON_2 = 'Abbrechen'(013) ICON_BUTTON_2 = 'ICON_CANCEL' DEFAULT_BUTTON = '2' display_cancel_button = space "no cancel button IMPORTING answer = answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.



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