Skip to Content
author's profile photo Former Member
Former Member

print version in powl

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Dec 13, 2011 at 07:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2011 at 07:57 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2011 at 10:36 AM

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

    Please see that POWL configuration for print enable.

    Best regards,

    Rohit

    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.