How to delete BW Query from ABAP code?

BW Query is stored as component(reusable element) in database table RSZCOMPDIR. To delete it, you need to search for query’s component UID (COMPUID) for existing query’s technical name saved in COMPID field.

DATA: lv_compuid TYPE sysuuid_25,
lv_subrc TYPE sysubrc.

   i_compuid = lv_compuid          “hashed UID
   i_delete_variables = rs_c_false “delete all related variables
   e_subrc = lv_subrc.


Add a comment

Your email address will not be published.


Your personal information will be exclusively used for processing current comment only. Personal data protection policy

  • Download and Run Your SAP System Within Minutes After Download!
  • Newest Blog Posts
  • Most Popular Posts
  • Categories