cancel
Showing results for 
Search instead for 
Did you mean: 

print version in powl

Former Member
0 Kudos

Hi all,

Print version button should be displayed by default in powl but in my case that button is not displaying.

can anybody suggest on this if any settings had to done..?

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

http://wiki.sdn.sap.com/wiki/display/WDABAP/POWL+CONFIGURATIONS

Please see that POWL configuration for print enable.

Best regards,

Rohit

Former Member
0 Kudos

Hi

Visibility of print button depends on configuration settings.

You can do the following to enable the print button for your powl application.

1. Position the mouse cursor in the powl application and click the right mouse button. Click More Field Help in the context menu that appears to get the "Configuration ID" information.

2. Start transaction SE80 and enter the transaction POWL_UI_COMP

3. Right click on node 'POWL_UI_COMP' or 'Component Configurations' -> create/change configuration

4. Web Dynpro Configuration Editor will start up

5. Enter 'POWL_UI_COMP' into the field component name and enter the above config id found in step 1.

Hit the 'Change' button at the top.

6. Click on tab Component-Defined

7. Select the node 'CONF_DATA'

8. Tick the checkbox 'enablePdfPrinting' and save the changes.

Print button will get enabled for your powl application.

Regards

Lorraine

former_member199125
Active Contributor
0 Kudos

Try this.

DATA:

lr_if_controller TYPE REF TO iwci_salv_wd_table,

lr_cmdl TYPE REF TO cl_salv_wd_config_table.

  • get reference to the ALV model

lr_if_controller = wd_this->wd_cpifc_alv( ). "supposed your reference is called alv

lr_cmdl = lr_if_controller->get_model( ).

  • disable print button

lr_cmdl->if_salv_wd_std_functions~set_pdf_allowed( abap_true).

REgards

Srinivas