cancel
Showing results for 
Search instead for 
Did you mean: 

How to print the webdypro application

pasumpon_karuppaiah
Participant
0 Kudos

Hi ,

 

    I created one loan application form in webdynpro abap .now i need to print the form after fill the input when press PRINT button..

for that, I referred following link

that link related to BSP Application But how i can implement same things  for my webdynpro abap.

Kindly help me to resolve this..

Thanks,

Pasumpon Karuppaiah

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Pasumpon,

You can achieve your requirement as below


  • Create a button 'Print' and Onclick event to an action "PRINT'
  • Add the below code in the action handler

method ONACTIONPRINT .

  data lo_comp type REF TO if_wd_component.

  data lo_appl TYPE REF TO if_wd_application.

  lo_comp = wd_comp_controller->wd_get_api( ).

  lo_appl = lo_comp->get_application( ).

  lo_appl->print_page( ).

endmethod.

Note: this functionality is available from NW 7.02

Please refer the help document for more details on printing WDA application and its limitations

Printing Web Dynpro ABAP Applications - Web Dynpro for ABAP - SAP Library

Hope this helps you.

Regards,

Rama

Former Member
0 Kudos

Hi ,

i am also having same requirement .

In my application there is four forms and i have to print all those forms on single print button and send them to UWL for approval to manager.

Please help how can i resolve this.

Former Member
0 Kudos

Waiting for reply is anybody having solution for my query..?

Answers (0)