on 02-15-2014 10:28 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.