Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
RAF
Active Contributor

Do you wonder how you can add a BRF+ customizing to you individual customizing structure?

Well here is my solution for this:

1) Create report to display a catalog

                REPORT zdisplay_catalog.

PARAMETERS p_catid TYPE if_fdt_types=>id.
DATA lo_cat_maint_mode TYPE if_fdt_wd_types=>catalog_maintenance_mode.
DATA lv_enable_structure_change TYPE abap_bool.
DATA lo_ui_execution TYPE REF TO cl_fdt_wd_viewer.

lo_cat_maint_mode
= if_fdt_wd_constants=>gc_catalog_mmode_no_maint.
lv_enable_structure_change
= abap_false.

CREATE OBJECT lo_ui_execution.
lo_ui_execution
->if_fdt_wd_ui_execution~execute_catalog_browser(
EXPORTING
   iv_id                     
= p_catid    " ID
   iv_maintenance_mode       
= lo_cat_maint_mode    " Catalog Maintenance Mode
   iv_enable_structure_change
= lv_enable_structure_change ).

Of course here you can call whatever customizing you created and what is support by the BRF+ API

2) Create a variant with the concrete catalog ID.

3) Create a report transaction with this variant        

4) To skip the start screen create a second parameter transaction for the transaction created in step 3.

Of course you can simply hard code the catalog but for reuse purpose I created the parameter report.

5) Create a customizing object via TA SOBJ: Typ = T

6) Create your own customizing node in SIMGH

7) Add the created customizing object with type t and your created transaction.

Done.

Now you can call this BRF+ customizing within your own SPRO

Labels in this area