cancel
Showing results for 
Search instead for 
Did you mean: 

Print Functionality in Webdynpro Java

Former Member
0 Kudos

Hello,

I have a created a Webdynpro Java Application in which i want to give the 'Print Functionality' to the users.....how can i implement the same in webdynpro..../?

Any help would be highly appreciated...

Regards,

Shikhil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you are working on CE 7.1, you can directly use this method.

WDPrintService.getPrintService().print(wdControllerAPI);

Regards,

Sunaina Reddy T

Answers (7)

Answers (7)

Former Member
0 Kudos

Finally used one column for all the rows....Thanks

Edited by: Shikhil Arora on Aug 22, 2009 11:56 PM

susmita_panigrahi
Active Participant
0 Kudos

Hi

Below forum will help ,

Thanks

Susmita

Former Member
0 Kudos

hi

check this blog on print functionality ,

/people/ritushree.saha/blog/2009/07/02/webdynpro-java-printing-using-nw-2004-2004s

the above blog you can go through , just use the code and work on print functionality in webdynpro java.

hope this bolg should certainly solve your problem.

Thanks

Former Member
0 Kudos

Hello Murali,

Thanks for the reply....i was able to generate the html for my view and provide the print functionality but the only problem is that the layout of the page is not appropriate....since i have many fields .....i am using multiple tables and setting the column width of one column is affecting the layout of other rows in the same table and rows of other tables....

Please help.

Regards,

Shikhil

Former Member
0 Kudos

HI Shikhil,

I done the same reqiurement in my application.

Can you please explain me clearly what is your requirement?

How many tables you need to print ?

Which version you are using?

Regards,

Prasad

Former Member
0 Kudos

Hello Prasad,

Thanks for the reply....actually i have 30 rows in my view ....each row has labels and inputfields......and i want to have all these rows in the Print screen.....and i want to control the width of all the fields in the rows...like one field may have less width ...another may have more......

Please help..

Regards,

Shikhil

Former Member
0 Kudos

Check this blog in SDN

/people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities

It has the code for Print.

Thanks

Avik

Former Member
0 Kudos

Hi ,

Which version of Netweaver are u using. If you are using NW CE then print utility is there. but if you are using NW2004 /2004s then

you can follow the [blog|/people/ritushree.saha/blog/2009/07/02/webdynpro-java-printing-using-nw-2004-2004s].

The above mentioned link will help you to solve the problem.

Thanks

Ritushree Saha

Edited by: Ritushree Saha on Aug 13, 2009 12:04 PM

junwu
Active Contributor
0 Kudos

hi

if you are using CE7.1, you are lucky

[/people/community.user/blog/2007/10/01/printing-in-web-dynpro-finally|/people/community.user/blog/2007/10/01/printing-in-web-dynpro-finally]

Best regards,

John

Former Member
0 Kudos

hello my friend please explain me more about your problem and what are you using.

in order to help you.