Skip to Content
Former Member
Apr 11, 2012 at 06:15 PM

Print from web dynpro view


I am trying to use the example from link:

to add a print button to a view and then when the user clicks on the button, the view will be printed. However, the print_page method is missing from IF_WD_CONTEXT_NODE. Can you provide sample code of printing the view from web dynpro using the sample in the link. Thanks Jim B


  1. data: l_api_componentcontroller type ref to if_wd_component,
  2. l_appl type ref to if_wd_application.
  3. l_api_componentcontroller = wd_comp_controller->wd_get_api( ).
  4. l_appl = l_api_componentcontroller->get_application( ).
  5. l_appl->print_page( ).