cancel
Showing results for 
Search instead for 
Did you mean: 

Activation of BEX Analyser in Webdynpro ALV

Former Member
0 Kudos

Hi All ,

I'm trying to use the BEX analyser report in Webdynpro ALV table standard functionalities . I have activated the BEX analyser in IMG setting . I could able to see the BEX Analyser button in Export Menu bar. But when I try to open that , I'm getting the error "Variable not set " . Should I need to do any other settings to make this work ? . Kindly help out to solve this issue .

Regards ,

Kalpana A .

Accepted Solutions (0)

Answers (1)

Answers (1)

yesrajkumar
Active Participant
0 Kudos

Hi,

You have to define in the Code inorder to enable the same button. Below is the code for the enabling the button in the Standard ALV toolbar.

        • Set standard functions

DATA: lr_std_functions TYPE REF TO if_salv_wd_std_functions.

lr_std_functions ?= wd_this->mr_table.

cl_salv_wd_model_table_util=>if_salv_wd_table_util_stdfuncs~set_all( r_model = wd_this->mr_table ).

*Place the other Buttons here

CALL METHOD lr_std_functions->set_export_allowed( abap_true ).

CALL METHOD lr_std_functions->set_pdf_allowed( abap_true ).

CALL METHOD lr_std_functions->set_display_as_allowed( abap_false ).

CALL METHOD lr_std_functions->set_graphic_allowed( abap_true ).

CALL METHOD lr_std_functions->set_group_aggregation_allowed( abap_false ).

**Call the method here inorder to enable the BEX ANALYZER HERE

CALL METHOD lr_std_functions->IS_BEX_ANALYZER_ALLOWED( abap_true ).

Thanks,

Rajkumar.S