SAP Reports / Programs | Application Platform | Master Data | Central Part of Product Master(AP-MD-PRO) SAP AP

COM_SET_BW_RELEVANCE_FLAGS SAP ABAP Report - Program for Setting BW-Relevance Flags Subsequently for Set Types







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


Text pool values


Title: Program for Setting BW-Relevance Flags Subsequently for Set Types


INCLUDES used within this REPORT COM_SET_BW_RELEVANCE_FLAGS

INCLUDE COM_SETTYPE_ATTRIBUTE_CONST03.
INCLUDE COM_DS_GENERATE_CONSTANTS.


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:

COM_SETTYPE_EXIST CALL FUNCTION 'COM_SETTYPE_EXIST' EXPORTING iv_settype_name = lv_set_id IMPORTING es_settype_info = ls_set EXCEPTIONS nothing_exists = 1 settype_in_status_new = 2 settype_is_not_active = 3 table_entry_missing = 4 ddic_object_already_exists = 5 ddic_object_not_found = 6 ddic_object_not_active = 7 ddic_read_error = 8 object_in_customer_namespace = 9 object_in_sap_namespace = 10 object_already_exists = 11 invalid_parameter = 12 OTHERS = 13.

COM_SETTYPE_ATTR_READ_MULTIPLE CALL FUNCTION 'COM_SETTYPE_ATTR_READ_MULTIPLE' EXPORTING iv_settype_id = lv_set_id IMPORTING et_settype_attribute = lt_settyp_attr EXCEPTIONS invalid_import_parameters = 1 not_found = 2 OTHERS = 3.

COM_ATTRIBUTE_EXIST CALL FUNCTION 'COM_ATTRIBUTE_EXIST' EXPORTING iv_attr_name = lv_attr_id IMPORTING es_attribute = ls_attr EXCEPTIONS attribute_not_found = 1 attribute_in_status_new = 2 attribute_is_not_active = 3 ddic_object_already_exists = 4 ddic_object_not_found = 5 ddic_read_error = 6 object_in_customer_namespace = 7 object_in_sap_namespace = 8 object_already_exists = 9 invalid_parameter = 10 attribute_not_usable = 11 OTHERS = 12.

COM_SETTYPE_ATTR_CLEAR_BUFFERS CALL FUNCTION 'COM_SETTYPE_ATTR_CLEAR_BUFFERS'.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_repid dynumb = lv_dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

COM_SETTYPE_EXIST CALL FUNCTION 'COM_SETTYPE_EXIST' EXPORTING iv_settype_name = lv_settype_id IMPORTING es_settype_info = ls_set EXCEPTIONS nothing_exists = 1 settype_in_status_new = 2 settype_is_not_active = 3 table_entry_missing = 4 ddic_object_already_exists = 5 ddic_object_not_found = 6 ddic_object_not_active = 7 ddic_read_error = 8 object_in_customer_namespace = 9 object_in_sap_namespace = 10 object_already_exists = 11 invalid_parameter = 12 OTHERS = 13.

COM_SETTYPE_ATTR_READ_MULTIPLE CALL FUNCTION 'COM_SETTYPE_ATTR_READ_MULTIPLE' EXPORTING iv_settype_id = lv_settype_id IMPORTING et_settype_attribute = lt_settype_attr EXCEPTIONS invalid_import_parameters = 1 not_found = 2 OTHERS = 3.

COM_ATTRIBUTE_READ_MULTIPLE CALL FUNCTION 'COM_ATTRIBUTE_READ_MULTIPLE' EXPORTING it_attributes = lt_attributes IMPORTING et_attributes = lt_attribute_txt EXCEPTIONS no_authority = 1 OTHERS = 2.

COM_ATTRIBUTE_TAB_READ_ALL_TXT Call FUNCTION 'COM_ATTRIBUTE_TAB_READ_ALL_TXT' EXPORTING iv_attribute_guid = lv_attribute_guid IMPORTING et_attribute_t = lt_attribute_t EXCEPTIONS no_text_found = 1 no_import_values = 2 not_found = 3 OTHERS = 4.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING ddic_structure = 'COMS_ATTR_ID_FIELDNAME_TXT' retfield = 'ATTR_ID' value_org = 'S' TABLES value_tab = lt_value return_tab = lt_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_repid dynumb = lv_dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

COM_SETTYPE_EXIST CALL FUNCTION 'COM_SETTYPE_EXIST' EXPORTING iv_settype_name = lv_settype_id IMPORTING es_settype_info = ls_set EXCEPTIONS nothing_exists = 1 settype_in_status_new = 2 settype_is_not_active = 3 table_entry_missing = 4 ddic_object_already_exists = 5 ddic_object_not_found = 6 ddic_object_not_active = 7 ddic_read_error = 8 object_in_customer_namespace = 9 object_in_sap_namespace = 10 object_already_exists = 11 invalid_parameter = 12 OTHERS = 13.

COM_SETTYPE_ATTR_READ_MULTIPLE CALL FUNCTION 'COM_SETTYPE_ATTR_READ_MULTIPLE' EXPORTING iv_settype_id = lv_settype_id IMPORTING et_settype_attribute = lt_settype_attr EXCEPTIONS invalid_import_parameters = 1 not_found = 2 OTHERS = 3.

COM_ATTRIBUTE_READ_MULTIPLE CALL FUNCTION 'COM_ATTRIBUTE_READ_MULTIPLE' EXPORTING it_attributes = lt_attributes IMPORTING et_attributes = lt_attribute_txt EXCEPTIONS no_authority = 1 OTHERS = 2.

COM_ATTRIBUTE_TAB_READ_ALL_TXT Call FUNCTION 'COM_ATTRIBUTE_TAB_READ_ALL_TXT' EXPORTING iv_attribute_guid = lv_attribute_guid IMPORTING et_attribute_t = lt_attribute_t EXCEPTIONS no_text_found = 1 no_import_values = 2 not_found = 3 OTHERS = 4.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING ddic_structure = 'COMS_ATTR_ID_FIELDNAME_TXT' retfield = 'ATTR_ID' value_org = 'S' TABLES value_tab = lt_value return_tab = lt_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

COM_SETTYPE_READ_SINGLE CALL FUNCTION 'COM_SETTYPE_READ_SINGLE' EXPORTING iv_settype_id = p_set_id IMPORTING es_settype = ls_settype EXCEPTIONS not_found = 1 no_import_values = 2 no_text_found = 3 OTHERS = 4.

CRM_CRD_APPL_DETERMINE_SETTYPE CALL FUNCTION 'CRM_CRD_APPL_DETERMINE_SETTYPE' EXPORTING iv_comp_type = ls_settype-prod_comp_type iv_org_type = ls_settype-org_unit iv_gen_link_handler = lv_gen_link_handler IMPORTING et_appl_id = lt_appl_id EXCEPTIONS OTHERS = 0.

CRM_CRD_BW_APPL_INTERFACE





CALL FUNCTION 'CRM_CRD_BW_APPL_INTERFACE' EXPORTING i_appl_id = ls_appl_id i_frgtype_id = lv_frgtype_id i_flag_attr_ext_create = gc_x i_flag_text_ext_create = gc_x i_update_type = lv_update_type it_objects_plus_usage = lt_objects IMPORTING e_viewname = lv_viewname e_strucname = lv_strucname e_dsource_attr = lv_dsource_attr e_progname = lv_progname TABLES et_dsource_text = lt_dsource_text EXCEPTIONS create_error = 1 delete_error = 2 frgtype_not_bw_relevant = 3 wrong_update_type = 4 not_generated_objects_found = 5 OTHERS = 6.



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