on 09-11-2008 2:02 PM
hi @,
I am having a view which is dsiplaying data fetched from the R/3 through Adaptive RFC in a table. This table need to have a print functionality to print on the client.
How to do this I am not having any function / UI to do this.
Any help.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try This:
When the user click on Print button, launch a new window as below:
public void onActionPrint(com.sap.xyz.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionPrint(ServerEvent)
StringBuffer strB = new StringBuffer("/webdynpro/dispatcher/xyz.com/(component name space) ab~xyz~testprint/(application name)PrintTestApp");
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(strB.toString(), "Print");
window.show();
//@@end
}
The above code helps to launch a new window with your Web Dynpro application. The application is sepecific to print functionality.
ThePrintTest App should have the content with format what exactly you would like to print. (Users use the browser standard print functionality to print the table content).
This is a kind of work around and as of NW 7.0 there is no standard print functionality available in Web Dynpro.
Thanks
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.