Skip to Content

Navigation to BRF object through hyper link

Hi Experts,

I have a requirement, where the user will like to navigate directly to a rule / ruleset by clicking on a button.

To elaborate more -

Lets assume we have 2 departments in an organisation, each department has their own rules and rulesets, now dept 1 wants to navigate straight to the ruleset which belongs to them, without having the pain of opening the workbench and finding their appropriate rule / ruleset.

can anyone help me with this ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 17, 2015 at 03:18 PM

    Hi,

    you can create a custom transaction using the UI execution class of BRFplus to do so. You fetch the reference via:

    cl_fdt_wd_factory=>if_fdt_wd_factory~get_instance( )->get_ui_execution( )

    The easiest way to directly open the object you want is:

    lo_ui_exec->execute_workbench( iv_id = <UUID of your object>)

    This gates you directly to the BRFplus object you specified. You can also influence the apperance of the UI by specifying a custom UI mode class:

    lo_ui_exec->set_ui_mode( io_ui_mode = NEW zcl_brfpluscustom_uimode( ) ).

    For the custom ui mode class you can check the class cl_fdt_wd_ui_simple_mode i. e. the if_fdt_wd_ui_mode~get_configuration method in order to see what you can influence on the BRFplus UI

    Hope that helps

    BR

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.