Print Functionality in Webdynpro Java

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

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

Similar Messages

  • Print Function in webDynpro

    Dear VS and All
    Pls guide me how to take print in webdynpro
    Send me the code one by one i.e From the scratch.
    B'cos i am new to webDynpro.
    So for i didn't get clear idea.
    Regrads
    Dhinakar

    Hi,
    Implementing print in Webdynpro is possible.Please have a look at the following thread
    Re: How to start the Print function in webdynpro
    Regards,
    Vijith

  • Drag and Drop functionality in webdynpro java

    Hi,
        Please check this article
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0fec52a-abad-2b10-48b8-cbdfd0dbca62]
    Thanks and Regards

    Hi raman,
    Such kind of drag and drop feture is only supported with CE 7.1 Eph1 onwards. if you have CE 7.1 Eph1 then you will also see these 'dragsourceinfo' and 'droptargetinfo'.
    Please check teh version of your installation.
    If you dont have CE 7.1 then I am afraid that you cannot implement any such feature using webDynpro. At maximum what you can do is create a browse and collect pattern, which will allow you to select multiple values from one table(Browse Table) and transfer that to other table (Collect Table). We also have many such screens which require multiple selection from one item list to other. And we follow the same technique.
    I hope this solves your issue. Please revert back if you require any other help or kindly close the thread.
    Thanks and Regards,
    Pravesh

  • Need Print  in webdynpro java

    Hi All
      I had one more urgent requirement
    I need to put Print option in webdynpro java  for to give print the entire table
    So if the table have 30 records the entire records have to display with header details also
    please give your inputs
    Thanks
    Renu

    Hi All,
        But in my screen I had one table and some other  fields also
        i want to print only the table  not those fields
       I  given below code line but its giving entire page print , but I am not expecting that , I need only the table and with header details.
      WDPrintService.getPrintService().print(wdControllerAPI);
    Thanks
    Renu

  • API - method for Webdynpro Java iview functionality of Print

    I know.. you would love to post me with n different blogs and forums discussion about how to print from webdynpro java application.
    But lets read before what i am looking for..
    There is standard "Print" function available on webdynpro for java iview.. and layout and all its just fine for us. though we want to trigger this event from a screen button. as going to iview properties is very user friendly.
    I was looking for some iview api which can help me.. We are on NW 7.01 SP6 at the moment. And this is for standard ESS applications.
    Thanks a lot for your inputs.
    Regards,
    Sudhir

    Hi
    You can write Java program for printing. Call the java class from screen (button or Url). Also you can write the content to XMl file.open the xml file in action. so that u will get print preview and print option.

  • Accessing Webdynpro Java iview functionality for print from webdynpro code

    I know.. you would love to post me with n different blogs and forums discussion about how to print from webdynpro java application.
    But lets read before what i am looking for..
    There is standard "Print" function available on webdynpro for java iview.. and layout and all its just fine for us. though we want to trigger this event from a screen button. as going to iview properties is very user friendly.
    I was looking for some iview api which can help me.. We are on NW 7.01 SP6 at the moment. And this is for standard ESS applications.
    Thanks a lot for your inputs.
    Regards,
    Sudhir

    Hi
    You can write Java program for printing. Call the java class from screen (button or Url). Also you can write the content to XMl file.open the xml file in action. so that u will get print preview and print option.

  • Print button on my webdynpro JAVA page

    Hi Experts,
    Is there any way that I can include a print button on my webdynpro JAVA page. ON click of the Print button I have to print the entire Page. User is able to print the page by using the print option of Browser, but in that case if the page is having a vertical or horizontal scroll, print output will contain only the visible part.
    Thanks and Regards,
    Sarath Satheesan

    Hi Sarath,
    Printing Web Dynpro Java (WDJ) applications is one of the missing functionalities that everyone wants to have in their application. you can use third party open source reporting tool, JasperReports, to solve this issue
    Printing in Web Dynpro using JasperReports
    PART 1 - /people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports
    PART 2 - /people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports
    PART 3 - /people/jawed.ali/blog/2009/10/30/part-iii-print-web-dynpro-java-applications-using-jasperreports
    Hope this will fulfil you requiremnt.
    Thanks
    Arun

  • Copy and Paste functionality required in Webdynpro Java

    Hi All !!
    I want to create a functionality in which i can copy the contents from table (Created in Webdynpro Java) and paste them below in same table.
    Scenario:
    I've a table UI (Created in Webdynpro Java) in my screen. Table UI is displaying data from database.
    Modifications, Insertion and deletion of data are allowed in the table control which will in turn reflect to Database.
    Now i want users to copy and paste the rows in the Table UI and past it in same table 
    Is it possible or not ?
    Can any one help me in this regard?
    Regards,
    Abhijeet

    Hi Abhijeet,
    try this.
    Assuming Value node Customer with attribute cname, cno and sal is bound to the table.
    //creating Dynamic node inside wdDoInit method for copy the table row details.
    IWDNodeInfo nodeInfo = wdContext.getNodeInfo().addChild("DynamicCustNode", null,true, false, false, false, false,
         true, null, null, null);
    nodeInfo.addAttribute("custName", "com.sap.dictionary.string");
    nodeInfo.addAttribute("custNo", "com.sap.dictionary.string");
    nodeInfo.addAttribute("custSal", "com.sap.dictionary.double");
    IWDNode node = wdContext.wdGetAPI().getRootNode().getChildNode("DynamicCustNode", IWDNode.LEAD_SELECTION);
    node.addElement(node.createElement());
    Inside View take a Button Say Copy,inside the action of the button store the selected table row data in the created dynamic node and copy
    the dynamic node details in to your Value node that is bound to the table.
    int leadSelected = wdContext.nodeCustomer().getLeadSelection();
    int n = wdContext.nodeCustomer().size();
    IWDNode node = wdContext.wdGetAPI().getRootNode().getChildNode("DynamicCustNode", IWDNode.LEAD_SELECTION);
    node.getCurrentElement().setAttributeValue("custName", wdContext.nodeCustomer().getCustomerElementAt(leadSelected).getCname());
    node.getCurrentElement().setAttributeValue("custNo", wdContext.nodeCustomer().getCustomerElementAt(leadSelected).getCno());
    node.getCurrentElement().setAttributeValue("custSal",new Double(wdContext.nodeCustomer().getCustomerElementAt(leadSelected).getCsal()));
      int  j = node.getCurrentElement().index();
      IPublicCustomerComp.ICustomerElement custElm = wdContext.createCustomerElement();
      custElm.setCname(node.getElementAt(j).getAttributeValue("custName").toString());
      custElm.setCno(node.getElementAt(j).getAttributeValue("custNo").toString());
      custElm.setCsal(Double.parseDouble(node.getElementAt(j).getAttributeValue("custSal").toString()));
      wdContext.nodeCustomer().addElement(custElm);
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44
    Regards,
    Mithu

  • Webdynpro java  calling bapi function module

    Hi all,
         I am webdynpro java developer, In my application i created model using bapi function module and fetch those values using iviews mapping to custom controller . While running that application i got an error as shown below
    **Application error occurred during request processing.**
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'ram.com/getdata' and application 'Searchapp' are not deployed on the server. Please check the used URL for typos.
    Exception id: [BCAEC58D04E400870000019500000DF80004B20FE3921612]
    Please help me anyone
    Thanks in advance.

    Hi,
    Have you deployed your application?because it is mentioned that the "Searchapp"(which i suppose is your application) is not deployed.
    Take the "Deploy and Run" option by right clicking the application(i mn Seachapp). It will prompt you to enter the SDM password. Give the pwd and it will open the explorer and will show you the output.
    Hope this helps you.
    Regards,
    Jithin

  • Accessing a printer using webdynpro java

    Hi friends,
    I need a solution to access my printer using my webdynpro application..
    I need it by using an action button to print the particular page..Do anyone have a better idea..

    Hi
    Try to go for Adobe Forms ...I believe that would be a better idea to print a page...
    try this link for sample program on adobe forms
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#47 [original link is broken]
    Do let me know in case of further doubts
    regards
    Krishna
    Message was edited by:
            krishnagopal Mukundan

  • Print Functionality in CE NWDS

    Hello Gurus ,
    I had a situation in using Print Functionality .
    I had CE- NW 7.10 Server Application in which I had used the Print Fucntionality by using the
    WDPrintService.getPrintService().print(wdThis.wdGetAPI());
    Now I am trying to run this application on NW 7.0 server by making this as a Federated Portal Iview . ON doing so , I encounters 2 difficulties :
    1. The Print fucntionality button which is working fine in case of CE 7.1 is no showing as Print Operation not supported .
    2. Secondly Just before onclick on Print Button action , I am presented with a new Browser window , which asks for the Login credentials of CE server , since my FPN iview resides there  . and once I am done with login , it throws me the exception in Portal , I check he logs in NWA of CE server coz that is where the Iview is running .
    Here are the atached logs :
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template '<System.scheme>://<System.servername>:<System.serverport>/webdynpro/dispatcher<Request.DistributionZone>/sap.com/pb/PageBuilder;jsessionid=<Request.JSessionID>?sap-ext-sid=<ESID[url_ENCODE]>&sap-wd-cltwndid=<ClientWindowID>&sap-wd-tstamp=<$TimeStamp>&PagePath=<FPN.PCDHomeLocation[url_ENCODE]>&sap-pp-producerid=<producerID>&sap-pp-consumerBaseURL=<Request.BaseURL[url_ENCODE]>&sap-wd-app-namespace=zzzz&sap-ep-version=<Request.Version[url_ENCODE]>&sap-locale=<Request.Locale>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-explanation=<User.Explanation[SAP_BOOL]>&sap-cssurl=<LAF.StylesheetUrl[url_ENCODE]>&sap-cssversion=<LAF.Version[url_ENCODE]>&sap-epcm-guid=<EPCF.RemoteGuid>&com.sap.portal.reserved.wd.pb.restart=<Node.Mode.isRefresh>&DynamicParameter=<DynamicParameter[PROCESS_RECURSIVE URL_ENCODE]>&<ForwardParameters[QUERYSTRING]>&<User."com.sap.tc.webdynpro".debugParameters>'; the problem occured at position 0. Cannot process expression <System> because Unable to lookup System 'CED'.
    Please check the system object and the alias.
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:156)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:130)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:200)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
    at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:278)
    ... 65 more
    +++++++++++++++++++++++++++++++++++++++
    3. shall I had to maintain the SSO ticket for tow portals in ach other  ...
    Please suggest ..........
    Regards
    Sandeep

    Hi
    Have a look on this similar thread.
    Best Regards
    Satish Kumar

  • A better way to print text from within java ?

    Hi, I want to make an app that brints out a bill (part of a bigger project for school) and I already know how to make my object printable and print it, but the "problem" lies in the graphics (or graphics2D) object that the print function uses to draw on the printable.
    The bill contains large amounts of text and as far as I know graphics and graphics2D only have drawString() as method to draw a string, and on top of that it does not support the newline char, so is there a way to print large amounts of text in another way ?
    also, since I'm using numbers and currency, would it be possible to alight text, so that it ends up like this:
    name of item          100.00 Euros
    name of other item       1.00 Euronicely aligned to the left for the names, and to the right for the numbers, the problem is that i'd like to keep that in a nonfixed width font, so calculating the needed position will be hard.
    thanks in advance,
    Boran.

    Within the 2D Graphics system there are methods for dealing with this. Check out the AttrributedCharacterIterator class and the TextLayout class. A good read is
    'Java 2D Graphics' by Jonathan Knudsen published by O'Reilly ISBN 1-56592-484-3 .

  • How to add table in SAP Non interactive forms in webdynpro java

    Hi Experts,
    I have a requirement in webdynpro java.I have a print button.On clicking print button a pdf will be opened.
    This pdf will have data from the webdynpro view.I want to know how to add table in the adobe pdf.The webdynpro view will have many rows of table(rows will keep changing as per the size of the data output).How to send this data to adobe.How do we bind the node to the table in the adobe.How to automatically
    Please suggest.
    Thanks,
    Rajani
    Edited by: Rajani Nandagiri on Dec 26, 2008 8:58 AM

    Rajani,
    Take a look at below links, it will help you.
    [Handling Dynamic Length Tables in Adobe Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669]
    [Integrate tables & Images in Adobe Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/dynamic%20non-interactive%20pdf%20form.pdf]
    [How to Handle Table Input and Output|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf]
    [How Tou2026deal with Table input and display in Interactive Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0]
    Chintan

  • How to Create a Variant in WebDynpro Java apllication

    Hello-
    we have a requirement where we require to create a Variant for some of the Webdynpro application.
    Now that is there any functionality which allows to do so , there are various reports and how will i populate the variant data , does it require backend table and FM for pulling those data..
    How will I save the variant data and access them.
    Regards,
    Raj

    Hi Raj,
             I don't think there is a ready made variant functionality in WD Java like in SAP R/3.  But we can have a work around. As you thought, we have to create a BAPI/RFC and custom table(s) to store the data. So initially, you have to call this RFC and get the data from the tables and then you have to set main RFC/BAPI and   then execute it. Add an additional button to save the variant, onAction of the button update the execute the variant RFC and save the current data in custom table.
    Regards,
    Siva

  • Transport of activity from Quality to production for webDynpro Java applica

    Hi,
    can anybody tell me how do i go for transporting activity in webdynpro java applications from quality to production server.
    i have done some changes in webdynpro code  and deployed in quality system. i have created activity and now want to transport that to production so that the changed functionality should reflect in production system.
    Its urgent so your quick suggestion will be appreciated.

    Hi,
    can anybody tell me how do i go for transporting activity in webdynpro java applications from quality to production server.
    i have done some changes in webdynpro code and deployed in quality system. i have created activity and now want to transport that to production so that the changed functionality should reflect in production system.
    Its urgent so your quick suggestion will be appreciated.
    Hi Vijayalaxmi,
    Following are the steps for transporting the content from DEV to QA
    1. Check in the activity into DTR and activate it. Once it is activated successfully it will show green
    2. Now go to transport view and release the activity by drilling down in waiting... node.
    3. Once the activity is released it becomes available in the Consolidation tab of CMS.
    4. Import the activity in consolidation tab
    5. Assemble the components in the Assembly tab.
    Once you assemble an .SCA file is created in \usr\<SID>\trans\CMS
    6. Copy this file manually and deploy it using SDM in QA.
    Hope it clears your doubts
    Best Regards,
    Ravi

Maybe you are looking for

  • Apple ID password won't work but I am entering correctly

    my iphone 5 told me my password was incorrect and so I completed a reset apple id password using the web. When I enter the new password into my phone settings, it is rejected. It is not a case sensitive issue because I entered the password just as I

  • Application hangs when using ProcessStartInfo and Process.WaitForExit.

    I've looked on different threads about this, but all of them uses the Process.RedirectStandardOutput = True, which I don't. I'm trying to open a process (console application, not made by me) to make it compile a special .acs file to a .o file. The st

  • Is WLS 12.1.2 or 12.1.3 supported on RH Linux 5.9 64bit

    Hi, We are planning to upgrade WLS 11g to WLS 12.1.2 or .3. The linux server we have is 5.9 64bit. Is this a supported configuration? Thanks Riz

  • IDM autoprovisioning does not execute searchRequest befor addRequest

    In the CUP interface, under Configuration->Workflow->Auto Provisioning->By System, one configures the autoprovisioning for the IDM system. There is an option labeled "Create If User Does Not Exist". When this option is set to "Yes" and I approve a us

  • Does Time Machine back up my Mail ?

    Hey All.. Just wondered if anyone can give me a definite answer on wether or not Time Machine backs up my email inbox, sent items and trash? I have been backing up for 2 months now and would like to change my laptop. When connecting my back up drive