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

Similar Messages

  • Access ABAP table in Webdynpro Java application

    Hi All
    Is it possible to access ABAP table in Webdynpro Java application
    Please provide your input
    Thanks
    Karthi D.

    Hi you will connect to the remote SAP system, the
    backend, using an Adaptive RFC MOdel. To access database tables, you can make use of existing functions in terms of RFC function modules. For each function module you need, the system generates a corresponding Java proxy class. All the generated proxy classes and interface are bundled together in the RFC model and treated as part
    of your Web Dynpro project
    In WebDynpro java you RFC by using Model :
    Adaptive RFC Model
    1. automatically adapts to changes in function module signature
    2 provides support for data types and extensibility
    3.support for different structure definitions in different backend
    systems (release dependent structures, custom adaptation)
    Basic principles and guidelines
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    See this blog
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
    Thanks,
    Tulasi

  • Can we access PI tables from WebDynpro Java via PI 7.1?

    Hi Experts
    Is it possible to fetch PI Tables (to display monitoring and alerts as dashboard on portal) from Java Stack. I got some javadocs API SAP Netweaver for PI 7.1 but i don't know how far it can help me in solving my purpose of fetching and displaying the PI monitoring data on Portal.
    https://www.sdn.sap.com/irj/sdn/javadocs
    Please advise if J2EE access to PI Tables is possible or RFC is the suggested solution to fetch PI Monitoring data.
    Thanks
    Neha

    Hi Neha,
    You can access PI tables from Webdynpro Java application using RFC or Webservices. Create RFC or Webservices which will fetch data from the PI tables.Create the required JCO's and the Webdynpro java application which uses the Adaptive RFC model or Adaptive Webservice Model to connect to the ECC system.
    I found a document that speaks about fetching data from SXMB_MONI Standard Table https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050ff4f-84c3-2b10-3d99-8f9c44f57a17
    Hope this is useful.
    Regards,
    Seema Rane.

  • Creating webservice using webdynpro java calling bapi from r/3

    hi all,
    as i am new to this area can anyone provide me a guide to create a simple webservice using webdynpro java to call bapi's from r/3?
    i want to consume the created webservice on a .net client.
    Thanks in advance,
    Raghunandan

    You can use the SAP .NET Connector to do it.
    Download from [http://service.sap.com/connectors|http://service.sap.com/connectors].

  • How to send pdf attachment through mail using Webdynpro-Java

    How can i send the Adobe Interactive Form with data involved as a PDF attachment to mail? using Webdynpro-Java.
    Is there any Adobe API or jar file for generating pdf?
    Helpful answer is highly appreciable and rewarded with points.!

    Hi Sankar,
    try [Offline Interactive PDF Form Using E-Mail|/docs/DOC-8061#49]
    Michal

  • Is there  a way to access total memory used by java instance?

    is there a way to access total memory used by java instance?
    i'm familiar with
    runtime.getTotalMemory() and runtime.getFreeMemory();
    and i understrnad that it is a measure of the amount of memory available for the heap used to allocate objects and the amount of memory not being used by the object heap --
    but is there a way to (from java get the value that you get when you go to the windows taskmanager and look at javavm.exe
    stephen

    i'm using java 1.4 if that helps

  • Printing  Adobe form using Webdynpro Java

    Hi All,
    I have a requirement to integrate data coming from web services onto a adobe form on the Portal.
    This form needs to be generated in the background and then automatically sent to the local printer attached to the pc.
    The idea is that the user need not preview the form and then send it for printing.
    Any suggestions on how this custom functionality could be achieved.
    Any help will be greatly appreciated.
    Regards
    Nidhideep Bhandari

    "This form needs to be generated in the background and then automatically sent to the local printer attached to the pc.
    The idea is that the user need not preview the form and then send it for printing." - not possible. I think what you intend to say is to call up the print option without the preview, correct?
    "Send it for printing" is a bit confusing a statement.
    I haven't personally tried this but what you can try to do is use JPS (Java Print Service).
    Here's the link to the documentation: [JPS Documentation|http://java.sun.com/j2se/1.4.2/pdf/JPS_PDF.pdf]
    And this for more info: [http://java.sun.com/javase/technologies/desktop/printing/]
    There you can indicate the file stream is a pdf file for printing.
    "application/pdf"
    Goodluck!
    Regards,
    Jan

  • Creating a pdf from Webdynpro iview using "WebDynpro Java"

    Hi everybody,
           I have a requirement like creating a pdf file from the iview content in a web dynpro project.  
           Can any one explain me the procedure as well as code how to create a pdf from the table content using the "WebDynpro Java". 
    Thanks in advance,
    Naveen

    Hi Naveen,
    To be able to use PDF forms in Web Dynproapplications:
    ��SAPNetWeaver Developer Studio(minimum SPS 11) is installed
    ��Adobe LiveCycleDesigner7.0 is installed
    ��Adobe Reader7.0.x is installed
    ��SAP NetWeaverWeb AS Java compatible with the DevStudio s installed
    ��The Adobe Document Services are deployed and configured on the SAP J2EE Engine.
    ��The Active Component Framework(ACF) of the Interactive Forms integration is installed. (not mandatory)
    �� Internet Explorer(version 6)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b6db1c4-0801-0010-faa5-ff4b4df55b45
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
    Web Report to PDF
    /thread/104121 [original link is broken]
    Dynamik PDF
    Create Adobe PDF for user to download and print
    Online PDF
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d7b9e7d-0c01-0010-2495-947691554cb7
    Regards,
    Mithu

  • IE11 compatibility of application developed using webdynpro java in NWDS7.01.12

    Hi,
    I have a webdynpro java application developed using NWDS 7.01.12 with jdk1.4. This portal application is not working when accessed using IE11 browser. The action on buttons and selection from a drop down list in this application is not responding in IE11. Its working well with mozila fire fox vrs 31. On click of action the following error is encountered:
    SCRIPT438: Object doesn't support property or method 'attachEvent'
    File: sapUrMapi_ie6.js, Line: 683, Column: 7
    which points to the below piece of code:
    function sapUrMapi_initLinkStatus() {
      var oNodes = document.getElementsByTagName("A");
      for (var n=0;n<oNodes.length;n++) {
        if (oNodes[n].href.indexOf("javascript:void")>-1) {
          oNodes[n].attachEvent("onmouseover",sapUrMapi_resetStatus);
          oNodes[n].attachEvent("onfocus",sapUrMapi_resetStatus);
    Also on selection from the combo box the below error is displayed.
    SCRIPT438: Object doesn't support property or method 'createEventObject'
    File: sapUrMapi_ie6.js, Line: 2193, Column: 2
    Code:
    oComboBoxSCEvent = document.createEventObject( oEvt);
    The above mentioned errors are being pointed to sapUrMapi_ie6.js file.
    Is there any solution to over come these issues other than setting "user agent string" value in the browser?
    Can this be resolved with any changes in the application or is there any SAP provided solution?
    Please help me to resolve this issue.
    Similar issues are also pointed to popup_ie6.js files at "window.attachEvent("onload",sapPopup_init)" and
    "window.document.attachEvent("onmousemove",resetMouseOver)".
    Thankyou.

    Hi Karthika,
    It is mentioned in Ervin's famous doc, that NWDS version must match that of RunTime System.
    NWDI vs. NWDI content
    I thought the NWDS must be updated via update sites, but surprisingly I could find the patch in service market place.
    I do not know how to get the download link directly for you.
    Perhaps you can spare a few seconds and navigate to
    http://service.sap.com/swdc
    Support Packages and Patches
    A-Z Index
    N
    SAP NetWeaver
    EHP1 for NetWeaver 7.0
    Entry by Comopnent
    Developer Studio
    BR, Tom

  • Advantage of using WebDynPro Java?

    Hi,
    What is the advantage/disadvantage of using Web dynpro in developing web-service based applications in terms of cost, development capability, security and compatibility? in comparison with Visual composer or CAF?
    Thanks,
    Aravind

    Hi,
    What is the advantage/disadvantage of using Web dynpro in developing web-service based applications in terms of cost, development capability, security and compatibility? in comparison with Visual composer or CAF?
    All this tools are created with different purposes, so you cant compare them.
    For creating ui's you have to use webdynpro
    For webservice either you have to create java classes and expose them or else expose ejb(session facades).
    Visual composer is a modeling tool, you cant create webservices their, but you can consume.
    CAF is building applications using existing or new services, here also you can create service and consume as well.
    Regards
    Ayyapparaj

  • Access ABAP tables using NWDS Java Code

    All,
    I am planning to write a program to autmatically update is_url entries in sxmb_admin using a Java program.
    Is there a way we can access the ABAP tables using standalone Java Code? would it something like dblookup that we use in the mappings?
    Your Thoughts....
    Thanks.

    Hi Vicky - Interesting..Seems like you are trying to automate every single thing
    However you can make use of Jco to connect to ABAP tables..
    Check the below thread..
    Help on accessing tables of SAP from the Java Application
    I assume the table name is "SXMSCONFVLV" which you might have to update but not sure..

  • Table Filters using webdynpro Java

    Hi Experts,
    I am trying to implement Table Filter i did every thing mentioned in this
    Generic Web Dynpro Java Table Filter still am not getting the filter values
    all the table columns remains same it is not doing any filtering , please help me in solving this logical issue
    Thanks a lot in advance.
    Regards,
    Ken.

    Hi Ken,
    I believe you might came across these blogs as well: if not pls go through the below blogs:
    How to get ready-made filter for your Web Dynpro Table with minimal coding ?
    Filtering Table Values using WebDynpro
    Hope this helps.
    Cheers-
    Pramod

  • 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

  • How to read "Customixed Information" in UME using WebDynpro Java APIs

    Dear All
    In our Portal UME we have defined 3 custom fields that appear in the "Customized Information"
    tab in the standard Portal "Identity Mangagement" application ie:
    krb5principalname :
    How can I retrieve the custom fields and values using WebDynpro APIs?
    I have the following basic code to retrieve the standard user session information, but
    do not know how to extend it to extract the values of the custom fields.
    Full points will be awarded to whoever answers question with suggestion that works.
    Many thanks in advance
    Mike

    Hi Mike,
    Following code is for just one custom attribute <custom attribute>
                                  String namespaces[] = umeUser.getAttributeNamespaces();
                                  String ns = null;
                                  for (int i = 0; i < namespaces.length; i++) {
                                       if (i > 0)
                                            ns = namespaces[ i ];
                                       String attrNames[] = umeUser.getAttributeNames(ns);
                                       if (ns != null){                                   
                                   if(ns.equals("<name-space>")){     
                                       for (int j = 0; j < attrNames.length; j++) {
                                            if(attrNames[j].equals("<custom attribute>")){                                        
                                                 Object attr[] = umeUser.getAttribute(ns, attrNames[j]);
                                                 for (int k = 0; k < attr.length; k++){
                                                      if(!(null == attr[k])|| !(attr[k].toString().length() == 0)){                                                  
                                                           //attr[k].toString() has the custom attribute value
                                                      break;
                                            }else
                                                 continue;               
                                   }else
                                       continue;
    Where <name-space> is the same value you set in config tool or on portal UME configuration.
    Config Tool: Global Service Configuration>services->com.sap.security.core.ume.service>ume.virtual_groups.user_attribute.namespace
    Portal
    System Administration>System Configuration>UME configuration> User Admin UI tab>
    Custom attributes of the user profile
    Administrator-Managed Custom Attributes: add ;<name-space>:<custom-attribute>
    Hope this helps

  • Can we access PI tables from WebDynpro Java via PI 7.1 to display inPortal?

    Hi Experts
    Is it possible to fetch PI Tables (to display monitoring and alerts as dashboard on portal) from Java Stack. I got some javadocs API SAP Netweaver for PI 7.1 but i don't know how far it can help me in solving my purpose of fetching and displaying the PI monitoring data on Portal.
    https://www.sdn.sap.com/irj/sdn/javadocs
    Please advise if J2EE access to PI Tables is possible or RFC is the suggested solution to fetch PI Monitoring data.
    Thanks
    Neha

    Hi
    For that tables any if RFC are created if created it's possible with WD for Java technology.
    Suggestable is backend is R/3 right, advisable is use all SAP standard tech
    Regards
    -SS
    Edited by: Sridhar S on Apr 14, 2009 11:12 AM

Maybe you are looking for

  • How to add a total at the end of a characteristic column

    Hi All, There is a report where sales document number(0doc_number)is displayed in one of the columns, now There is a requirement where I need to add a total count of those doc numbers at the end of that column. I am not able to find a suitable way to

  • Quick time videofile hacking

    Hi When I put my video fil in imovie or try to play it in Quick Time it hack. When I play it in VLC there is no problem. I have a brand new Macbook Air and a 1/2 year old iMac, and the problem is at both machines?

  • Error: Unable to find file image browser on you system??? help

    I keep getting this error when I try and add an image to my form. I can do it on another computer with no problem, but on my work one who these forms are for it's not working. but I can add images to anything else, word, excel, etc, just not in LiveC

  • Mail signatures in mountain lion

    My mail signatures are not working in Mountain Lion. Whenever I send a new mail, the signatures I set up under that account are not showing up. The ony choices I have is 'none' or 'edit signatyres'. I can got to edit signatures and then copy paste th

  • Officejet 7500 is connected to network, but none of the computers will recognize it

    All my computers are connected to network, one of them wirelessly to a router.  However, the printer, from it's display screen says it is connected, however, none of the computers recognize it. Help !