cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide/disable the print version button in std webdynpro ABAP UI

Former Member
0 Kudos

Hi All,

Currently we are using standard ABAP webdynpro application which is from standard webdynpro ABAP component in SAP EM system,

i.e /saptrx/em_fpm_ui.

In the standard webdynpro table UI element there is button for print version functionality which we wanted to hide/disable , please let me know how this is possible to hide this button in std webdynpro component, currently I couldn't find any layout properties in the UI for hide the button on the standard webdynpro component.

are there any code changes required or thru settings or configuration. Please get back to me.

Thanks & Regards

Sudhan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sudhan,

Is this a table designed in a webdynpro and used as a generic UIBB in FPM.

If this is a part of the webdynpro component then you will have to create a enhancement for the view which ever it is in and then write code in PRE of the enhancement of WDOINIT for ALV modification and make the button hide in case of an ALV .

In case of FPM then you will have to create an enhancement for the component config and then hide the button in the properties.

Hope this helps you.

Thanks

Phani

Answers (4)

Answers (4)

Former Member
0 Kudos

Sudhan,

Have you resolved this?If yes, please let us know.

Regards,

Ashok

former_member192434
Active Contributor
0 Kudos

Hi Sudhan,

Use this code to hide you Print button from AVL.

Note : lv_value is your get_Model() instance.

lv_value->if_salv_wd_std_functions~set_pdf_allowed( ABAP_False ).

Thanks

AB

kutjohn
Active Participant
0 Kudos

Hi Sudhan,

Is this an ALV?

Former Member
0 Kudos

Hi,

i guiess this is a ToolBarLinkToAction UI element, so it has the Proporty visible.

try to bind this with a context Atribute type boolean. And set this Attribute on (X) or of ('') by Coding.

u can do this dynamicly to.