SAP Reports / Programs | Basis Components | Use Subcomponents | Maintain Profile(BC-CCM-CNF-PFL) SAP BC

SP_TEST_BA_FUNCTIONS SAP ABAP Report - Test Changed Function Modules Using Dynamic WPs







SP_TEST_BA_FUNCTIONS 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 SP_TEST_BA_FUNCTIONS 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 SP_TEST_BA_FUNCTIONS. "Basic submit
SUBMIT SP_TEST_BA_FUNCTIONS AND RETURN. "Return to original report after report execution complete
SUBMIT SP_TEST_BA_FUNCTIONS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Test Changed Function Modules Using Dynamic WPs


INCLUDES used within this REPORT SP_TEST_BA_FUNCTIONS

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:

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING * LANGU = SY-LANGU * ONLY = ' ' tabname = 'SPFID' * WITHTEXT = 'X' * IMPORTING * HEADER = * RC = TABLES fieldtab = target_fields_spfid EXCEPTIONS internal_error = 1 no_texts_found = 2 table_has_no_fields = 3 table_not_activ = 4 OTHERS = 5.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING * LANGU = SY-LANGU * ONLY = ' ' tabname = 'SPFIS' * WITHTEXT = 'X' * IMPORTING * HEADER = * RC = TABLES fieldtab = target_fields_spfis EXCEPTIONS internal_error = 1 no_texts_found = 2 table_has_no_fields = 3 table_not_activ = 4 OTHERS = 5.

RZL_GET_BA_LIST CALL FUNCTION 'RZL_GET_BA_LIST' * EXPORTING * WITH_INACTIVE_INSTANCES = ' ' * IMPORTING * SUBRC = TABLES ba_tbl = ba_table id_tbl = id_table.

RZL_GET_BA_DESCR CALL FUNCTION 'RZL_GET_BA_DESCR' EXPORTING betriebsart_name = ba_wa-baname * WITH_INACTIVE_INSTANCES = ' ' * IMPORTING * BETRIEBSART_DESCRIPTION = * SUBRC = TABLES instance_description_table = id_table .

RZL_GET_INST_STATE CALL FUNCTION 'RZL_GET_INST_STATE' * IMPORTING * SUBRC = TABLES inst_descr_table = id_table inst_state_table = is_table.

RZL_INST_PROFILE_DATA CALL FUNCTION 'RZL_INST_PROFILE_DATA' EXPORTING inst_descr = id_wa IMPORTING * PROFILE_NOT_ACTIVE = inst_descr_out = id_wa EXCEPTIONS pfl_doesnt_exist = 1 profile_name_type_conflict = 2 profile_name_missing = 3 OTHERS = 4 .

RZL_ACTUALIZE_INSTANCE_DESCR CALL FUNCTION 'RZL_ACTUALIZE_INSTANCE_DESCR' EXPORTING is_tbl_in = is_wa IMPORTING is_tbl = is_wa.

RZL_ACTUAL_ID_DESCR CALL FUNCTION 'RZL_ACTUAL_ID_DESCR' EXPORTING spfid_in = id_wa IMPORTING spfid_out = id_wa curr_baname = baname.

RZL_PFL_INST_OPMODE_CHECK CALL FUNCTION 'RZL_PFL_INST_OPMODE_CHECK' TABLES inst_tbl = id_table protocol = protocol_table EXCEPTIONS INST_TABLE_EMPTY = 1 OTHERS = 2 .

RZL_STANDARD_ID_DESCR CALL FUNCTION 'RZL_STANDARD_ID_DESCR' EXPORTING spfid_in = id_wa IMPORTING SPFID_OUT = id_wa.

RZL_RCV_SINGLE_INST_DESCR_T CALL FUNCTION 'RZL_RCV_SINGLE_INST_DESCR_T' EXPORTING is_tbl_in = is_wa IMPORTING IS_TBL = is_wa * SUBRC = * SPFID = EXCEPTIONS COMMUNICATION_FAILURE = 1 SYSTEM_FAILURE = 2 OTHERS = 3 .

RZL_RCV_SINGLE_INST_DESCR CALL FUNCTION 'RZL_RCV_SINGLE_INST_DESCR' EXPORTING is_tbl_in = is_wa IMPORTING IS_TBL = is_wa * SUBRC = .

RZL_SAVE_BA_DESCR CALL FUNCTION 'RZL_SAVE_BA_DESCR' EXPORTING betriebsart_description = ba_wa betriebsart_name = ba_wa-baname * IMPORTING * SUBRC = TABLES instance_description_table = id_table EXCEPTIONS ARGUMENT_ERROR = 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 SP_TEST_BA_FUNCTIONS or its description.