cancel
Showing results for 
Search instead for 
Did you mean: 

Convert a Classical Report into a Script,ALv into a Smart Form

Former Member
0 Kudos

Hi Experts,

I wrote a program, for which i display 3 radio buttons in selection screen

1. Classical Report

2. ALV

3. Blocked

and now there is requirement for which i need to give a button in the output screen say GET REPORT

and it dispaly the above three radio buttons ,on selecting classical report it should dispaly output in script,

for alv in smart form and for blocked in adobe form.

can you pls help with the code.

Regards,

Krishna Thota.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Krishna,

Create all your radio buttons in Transparent container or Group or Tray.

Create one attribute of type WDUI_VISIBILITY and bind this to visible property of TC or Group or Tray.

In on action of GET REPORT button write code to visible above contaner by using set_attribute method

lo_el_new->set_attribute(
          name =  `VISIBILE`   // your attribute
          value = '02' ).      // 01 for invisible and 02 for visible.

Now on action of radio buttons .. As per your requirement create 3 views for 3 reports or in same view

like above create 3 Transaparent containers based on your selection visible that TC.

OR create in another view navigate to other view based on selection.

Cheers,

Kris.