cancel
Showing results for 
Search instead for 
Did you mean: 

Web Portal Printing Issue

Former Member
0 Kudos

Hi,

We are accessing the SAP through Web Link and trying to print a printout through portal but it sends only the spool to SAP which is in completed status but not prints.

Your valuable inputs will be appreciated.

Thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

Laszlo_B
Active Contributor
0 Kudos

Hello Mallinath,

do I understand correctly that a spool will be visible in transaction SP01, and it has the status "Completed", yet nothing is printed physically?

If yes: please post details about the Output Device which is used (which Device Type, which Access Method, etc. is used).

Best regards,

Laszlo

Former Member
0 Kudos

Hi,

Have you tried below code?..


DATA lo_component TYPE REF TO if_wd_component.

  DATA lo_appl      TYPE REF TO if_wd_application.



  lo_component = wd_comp_controller->wd_get_api( ).

  lo_appl      = lo_component->get_application( ).

  lo_appl->print_page( ).







  DATA lo_app_info TYPE REF TO if_wd_rr_application .

  lo_app_info = lo_appl->get_application_info( ).



  DATA lv_app_name TYPE string .

  lv_app_name = lo_app_info->get_name( ).

Hope this helps you.

Thanks

KH

Former Member
0 Kudos

This code needs to be included in the program in SAP?

Former Member
0 Kudos

This needs to be in-corporated in webdynpro which you are trying to access from portal.

Thanks

KH

Former Member
0 Kudos

Could you suggest how we put his code in webdynpro.

When we see the program in webdynpro in se80 its not showing i mean there is no link.

Former Member
0 Kudos

Are you accessing webdynpro component through portal?.

Thanks

KH

Former Member
0 Kudos

Actually its an program where we activated the new screens for mobility.

These screens we access through web link and try to print.

Former Member
0 Kudos

The code which i have provided is for webdynpro not for normal SE38 program.

Thanks

KH