Show print version button on ALV

Hi gurus!
I need to show (and use) the Print Version standar button on my ALV component.
I have set l_table->if_salv_wd_std_functions~set_pdf_allowed( abap_true ) but nothing appears.
Any idea about it?
Regards

Hi,
by default the Print Version button will be displayed on ALV. you may want to refer the code in method WDDOINIT method of standard application WDT_ALV.
regarding using this button - Once the Print Version button is displayed then  click it. if everything is fine then you will be able to see PDF else error message will be displayed along with Display Help link. Just click it and follow the instuctions as per it.
It says, Note 918236 contains detailed information.
I hope this is useful for you.
Thanks,
Chandra

Similar Messages

  • Removing "print version" button in alv

    Hi Experts,
    I am trying to hide the buttons in ALV table.
    I did hide all other buttons except "Print Version".
    Can anyone assist.
    Thanks,
    Siva.

    Hi,
    I think use this "'SALV_WD_EXPORT' to hide the print version
    Use the below code -
    ***Reference to the standard button reference of the ALV
      DATA:
        ls_functions_std type SALV_WD_S_FUNCTION_STD_REF.
    ***Modifying The standard functionality buttons
    if lt_functions_std1 is not initial.
      loop at lt_functions_std1 into ls_functions_std.
        case ls_functions_std-id.
          when wd_assist->GC_APPEND_ROW.                           "'SALV_WD_INPUT_APPEND_ROW'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
          when wd_assist->GC_INPUT_DELETE.                         "'SALV_WD_INPUT_DELETE'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
          when wd_assist->GC_INSERT_ROW.                           "'SALV_WD_INPUT_INSERT_ROW'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
          when wd_assist->GC_EXPORT_EXCEL.                        "'SALV_WD_EXPORT_EXCEL'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
          when wd_assist->GC_PDF.                                     "'SALV_WD_PDF'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
          when wd_assist->GC_INPUT_CHECK.                            "'SALV_WD_INPUT_CHECK'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
          when wd_assist->GC_EXPORT.                                "'SALV_WD_EXPORT'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
          when wd_assist->GC_FILTER .                               "'SALV_WD_FILTER'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
          when wd_assist->GC_SETTINGS.                              "'SALV_WD_SETTINGS'
            CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
              EXPORTING
                VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
        endcase.                     "Case ls_functions_std-id
        clear LS_FUNCTIONS_STD.
      endloop.                       "LOOP at lt_functions_std1 into ls_functions_std.
    endif.                           "IF lt_functions_std1 is not initial.
    Regards,
    Lekha.

  • GRC 10 Print Version Button

    HI There
    I have setup the RFC connection to the ADS service etc but the "Print Version" button does not appear after running a report
    Please advise

    Dear Parab,
    This is a general requirement.The reason why you are getting the communication failure error  is because the print version for generating ABAP ALV is not set-up.
    The flow is : The system (GRC here)uses the RFC connection SALV_WD_EXPORT_PDF to call a portal service >the portal service uses Adobe Document Services>the system uses RFC to return the PDF document to the WD ABAP ALV
    and displays the document.
    For your NW version and SP level , please implement SNOTE  1413938 - WD ABAP ALV -creating print version.
    The  Web Service Destination for Adobe Document Services (in SAP NetWeaver
    Administrator) needs to be set-up as explained in note.
    Also see  IMG > SAP Netweaver >AS> Setup Printing for Web Dynpro ABAP ALV .
    Best Regards,
    Vishal Padiyar

  • Info Field is not shown in PDF by toolbar Print Version button

    Hi Everyone,
    I need your help:
    I enhanced 0ANALYSIS_PATTERN to include UserID / DateTime information when Export to PDF and excel.  I added Info Filed in this template and added this new web item in BUTTON_TOOLBAR_2 Button 3 (Print Version) and 4 (Export to Excel).   UserID / DateTime displayng on web is fine and Exporting to Excel is fine also.   Only problem is when clicking on Print Version the UserID / DateTime information is not showing in PDF.   I created a new button to Export PDFand it's working fine.  Somehow just this toolbar button Print Version has issue with Info Field.
    Can anyone help me to resolve this problem?
    Thanks, Jin

    Hi Jin.
    I have tried using the separate print template method but didn't manage to get it to work (and not very excited about the concept anyway as it means even more web templates to manage).
    But I got it to work without using a separate print template, by inserting the InfoField as part of the Filter Area (because I didnt want it displayed in the face of the Web when the report was run initially). But it seems to be that as long as the InfoField is displayed somewhere in the Web, then it can be exported/printed. Having done the data binding step, obviously.
    You mind if I pick your brains (offline) re the print template method?
    Patrick
    (points if that helps?)

  • ALV Print Version

    Hi,
    I have displayed some columns in an ALV table. One of the columns has data element length of 400.
    When I use the print version button the data get exported to PDF but the column which has length of 400 takes the entire page width but then too some data of that column get truncated.
    I have selected Poster radio button from Print Version tab in settings because when I select the other 2 radio buttons it displays the entire ALV data in one page which is not readable.
    Ho should I enable the wrapping for the column which is of length 400 in the PDF
    Thanks,
    Feroz

    Hi Feroz,
    Try programmatically setting the column attributes via the ALV Model:
    Regards,
    Uday
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_alv_adv( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      data l_salv_wd_table type ref to iwci_salv_wd_table.
      l_salv_wd_table = wd_this->wd_cpifc_alv_adv( ).
      data l_table type ref to cl_salv_wd_config_table.
      l_table = l_salv_wd_table->get_model( ).
      data l_column type ref to cl_salv_wd_column.
      data textview type ref to cl_salv_wd_uie_text_view.
      l_column = l_table->if_salv_wd_column_settings~get_column( 'ADD_PARTICIPANTS' ).
      create object textview.
      textview->set_text_fieldname( 'ADD_PARTICIPANTS' ).
      textview->set_wrapping( abap_true ).
      l_column->set_cell_editor( textview ).

  • Print Version ALV

    hi ,
    I am able to use the print version option in ALV report for 10 - 20 records. But when the data is 25000 records it says print failure. I know we have 1000 records restriction when displaying the Visible row count. Does this restriction apply for print version also?
    Any clues?
    Thanks

    Well a workaround!  Export the records to excel and then call print from EXCEL may be that would let you over come the record limit.
    Greetings
    Prashant

  • Question about WAD print version configuration

    Hi gurus,
    We are having a problem with the WAD print version. We have created two WAD templates, one of them is for be viewed at the portal and the other one for the export to PDF.
    Our template has several tables(data providers) in a horizontal line. The template for the export is exactly like this original template, but despite this, when we press the "print version" button in the portal, the PDF appears desconfigure and shows the data providers one under the other, in a vertical line.
    We have tried to change the size of the data providers but we are not getting the expected result.
    Could anyone give me some idea of how to proceed correctly for this situation?
    Thank you in advanced.
    Manuel.

    Ok Mike, thank you very much! I was already guessing it would really not work in Firefox, and we would have to look for alternative solutions.
    We followed your advice and we are now trying to use a Firefox plugin named IE Tab, and it looks like its going to solve our problem.
    Thanks a lot for your attention.
    Sincerely,
    Carlos Eduardo Lacombe

  • Print version about BORGR_C

    My system is R3 46C.I want to output GR slip via WE03 condition type. The material document doesn't generate message after I post goods receipt via BORGR_C, I have created the condition record for the condition type. I check the access sequence about WE03, it consist of Transaction/event type, print version and print item. Transaction/event type is WE about GR, We can set the print version when we use transaction code MIGO. But I can not set the print version in BORGR_C. I check the setting via OMBR, but I canu2019t find the setting with
    BORGR_C. So I want to know which print version the system use when I post goods receipt via BORGR_C. thank you!

    Hi,
    by default the Print Version button will be displayed on ALV. you may want to refer the code in method WDDOINIT method of standard application WDT_ALV.
    regarding using this button - Once the Print Version button is displayed then  click it. if everything is fine then you will be able to see PDF else error message will be displayed along with Display Help link. Just click it and follow the instuctions as per it.
    It says, Note 918236 contains detailed information.
    I hope this is useful for you.
    Thanks,
    Chandra

  • "Error while generating pdf" error come when clicking on "Print Version "

    Hello ,
    When we execute Query in the Portal there is a 'Print version' button.
    When you select it, it opens up print dialog and click OK
    It is supposed to send 'pdf' stream to  Web browser client on end user but it is not able to generate the pdf .
    getting ' Error while generating pdf '
    I am working on BI 7.0 .
    The same is running fine in the Q Environment .But in Production we are getting this error .
    Thanks ,
    Rahul

    Hi,
    I think this is an ADS error. This is a reason why pdf's are not working. We had the same issue.
    You can check your installation:
    Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool
    SAP Note Number: [937697|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393337363937%7d]
    Exceptions: Prerequisites for messages in the area BI Java
    SAP Note Number: [1224043 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31323234303433%7d]
    Solution in our case was to update the SAPADS package to 7.00 17.1
    Regards
    Andreas

  • CHM buttons are not localized in a French project (shows English Contents, Index, Search, Print, Hide buttons)

    I opened an old WinHelp project into my new RoboHelp 7. When
    I generate the CHM, even with the Project Settings in RoboHelp set
    to French and running in a French Windows operating system (MS
    Windows XP Pro 2002 SP 2), the CHM output is still in English. The
    buttons display in English (Contents, Index, Search, Print, Hide
    buttons). The title bar of the CHM also says "HTML
    Help" even though the project title in the Project
    Settings is "Aide en ligne...".
    My Windows Regional Settings through the Control Panel -
    Regional Options tab is set French (France). On the Languages tab I
    under Text Services and Input Languages, Details button, I selected
    French (France) French. On the Advanced tab I selected French. Then
    I rebooted.
    On the language bar on my Task pane, I selected FR. The CHM
    still displays in English.
    Please help! I have to produce 4 CHMS in languages other than
    English today.
    Thanks!

    GinaL, would you be able to give us an update? Did the CHM
    files look ok on a PC with a true French OS installed?
    To avoid having to rewrite everything, I've written the
    following info/instructions for my team -- though I'm not yet sure
    they're 100% correct:
    After I reported this issue to Adobe, they worked on the
    problem for several days. They even sent me a new
    HtmSingleSourceHtmlHelp.dll file that was supposed to solve the
    problem. But it didn't work correctly. No matter what contortions
    we put ourselves through, we couldn't get both of these items
    correct in the CHM file at the same time, namely:
    Index compiled in correct alphabetical order accdg to the
    language of the help project.
    Correctly translated help title showing in the caption,
    regardless of the user's Windows regional settings. (For example,
    we wanted "FORMS-Hilfe zu FORMS 5-3" to appear as the caption of
    the German version of FORMS help, even if our regional settings
    were set to English.)
    I think we'd all agree that the index has to be in
    alphabetical order. So from what I've seen, this is what we have to
    do when compiling a non-English version of help using RH7:
    1. Set up the project with the foreign name.
    2. Set the language in the project settings. And in the
    Project Settings dialog, click Advanced and check out the LNG File
    tab to make sure it's using a translated version.
    3. Ensure that the Window Caption setting is correct in each
    window included in the project. (On RoboHelp's Project tab, open
    the Windows folder, double-click each window in turn, and check the
    settings.)
    4. Set the Language setting in the HHP file to Language=[hex
    value for that language]. I found a bunch of them listed on this
    web page. Someone else might be able to find a better source:
    https://svn.origo.ethz.ch/scoop/es_scoop_60/library/i18n/locale/nls/i18n_nls_lcid_tools.e
    5. Change your Windows regional settings to the same language
    as the help project. (Reboot if prompted.)
    6. Recommended, for safety's sake: Delete the CPD file.
    7. Open the project and compile using RH7.
    8. Check the index's sort order -- is it in alphabetical
    order according to the language of the project?
    9. Check the help caption -- make sure it's not "HTML Help".
    Note: Any customized buttons in your CHM should appear
    correctly translated, but other buttons (Contents, Index, Search)
    still appear in English -- at least they do on my PC, even though I
    did step 2 above. We need to check whether those buttons appear
    correctly when the PC is actually running a true foreign version of
    Windows, and not just with temporarily adjusted Windows settings.
    OR -- is anyone else able to get these to appear translated in the
    CHM file?
    Does anyone have anything to add? Other solutions? Easier
    procedures? Better results to report?
    Thank you
    Eileen

  • Print button in ALV

    Hi
    I want to add a print button in the alv toolbar displayed. Standard alv toolbar has print preview button but I want a button so that just by pressing i can get a print out on my default printer. i am using reuse_alv_grid _display function module to show alv. I dont want to use print button in menu bar.
    Thanks
    Vishal kapoor

    Hi Vishal,
    To standard print button you have to copy any standard PF status from any standard program because if you just put code set pf status it will overwrite every thing.
    So do one thing copy STANDARD pf status from sap standard program SAPKLBL to your programand activate it.
    Hope it will solve ur problem.
    Regards
    Krishnendu

  • Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I'd like students to be able to view my comments on printed version of their papers.

    Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I am a teacher, and I would  like students to be able to view my comments on printed versions of their papers. I know word displays the comments off to the side of the document, and those comments can be viewed all at once and printed alongside the document.

    There doesn't appear to be a way to print conmments in either Pages or Numbers in the Mavericks versions.
    Jerry

  • Problem with 'Print' button in ALV

    Hi All,
    I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.
    How do I do this ? Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.
    Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.
    Thanks in advance.

    Cancelled

  • How to show traffic lights on push button in ALV Grid?

    Hi Experts,
    I have an requirement where I have to show traffic lights on push button in ALV grid of a container. I am showing access sequence for each condition type in my grid. Now, if the access sequence contains 'PLANT', it should show 'green' on push button or else it should show 'red'. How I can I achieve this?
    Thanks in advance.

    Try This One.
    DATA: gs_fieldcat TYPE slis_fieldcat_alv,
              gt_fieldcat TYPE slis_t_fieldcat_alv,
              gs_layout   TYPE  slis_layout_alv.
    TYPES :BEGIN OF gty_temp,
                col(10) TYPE c,
               END OF gty_temp.
    DATA : gt_temp TYPE STANDARD TABLE OF gty_temp,
                gs_temp TYPE gty_temp.
       gs_temp-col  ='@0A@'. "ERROR RED LIGHT
           APPEND gs_temp TO   gt_temp.
        CLEAR GS_TEMP.
    gs_temp-col  = '@08@'." SUCCESS GREEN LIGHT
    APPEND gs_temp TO   gt_temp.
    CLAER GS_TEMP.
    gs_temp-col  = '@09@'. WARNING YELLOW LIGHT
    APPEND gs_temp TO   gt_temp.
    CLAER GS_TEMP.
    gs_fieldcat-fieldname   = ' COL'.
    gs_fieldcat-tabname   =  'GT_TEMP'.
    gs_fieldcat-seltext_m = 'ERROR'."
    APPEND gs_fieldcat TO gt_fieldcat.
    CLEAR gs_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program = 'ZPROG1' " PROGRAM NAME
         i_grid_title       = 'Details'
    *   is_layout          = gs_layout
         it_fieldcat        = gt_fieldcat
       TABLES
         t_outtab           = gt_temp.
    * EXCEPTIONS
    *   PROGRAM_ERROR                     = 1
    *   OTHERS                            = 2
    IF sy-subrc <> 0.
    * Implement suitable error handling here
    ENDIF.

  • Move Print Version and Export of ALV to the right

    Hello online experts,
    Merry Christmas and Happy New Year!
    I am working on a webdynpro that displays data in ALV format.
    I now want to move Print Version and Export of ALV to the right side and hide View(Standard View).
    I am able to hide View(Standard View), but the Print Version and Export are automatically moved to the
    left.
    How can I have Print Version and Export on the left side when I hide View(Standard View)?
    Thanks,
    AS.

    Hi Anna,
    For the standard ALV Function ( Print version, Export, View, Filter ) you can only to display or hide them. And unfortunately you can not change their position or their order .
    Regards,
    $=====$
    Are you newbie? Check this out: [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]

Maybe you are looking for

  • Using Tiger 10.4.11 and trying to back up hard drive on time capsule

    I have successful set up time capsule to be my base internet station. Now I want to copy my hard drive onto Time Capsule but cannot figure out how to do it. I visited the apple store today in NYC and they folks there suggested I use "migration assist

  • Text spacing/shifting in Flash CS4?

    Hey guys, I am new to the forum, I have used Flash MX 2004 for quite a while and had never had this problem, recently I gave my site a "facelift" in CS4 and I got it exactly how I wanted it, I exported the swf file and then saved the flash file. That

  • FIOS Quantum Gateway and Actiontec WCB3000N Wireless Network Extender

    I purchased the Quantum Gateway router as I was told that it would provide better coverage in my home but have been disappointed so far.  As a result, I purchased the Actiontec WCB3000N Wireless Extender.  When I connect the exytender, it works great

  • Graphical interface improvements on JDeveloper 11g

    Congratulations you really improved the design interface I finally could drag an jsf adf item to anothre place, But I can't move the prompt of that item so easily. I don't know if you checked yahoo geocities free web designer, this is very interestin

  • PLEASE HELP:OIM DATABASE ACCESS TABLE CONNECTOR ERROR

    i m using database access table connector with OIM the connector is created i have created a table (without a column for password) in database (oracle 10g) i did create a lookup definition for account status (only created it,not used it anywhere) i g