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

Similar Messages

  • 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

  • How  to  copy  the  table1selected  records into table 2 in webdynpro java.

    Hi 
           how  to  copy  the  table1selected  records into table 2 in webdynpro java.
    venkat
    Edited by: venkatpvr on Sep 23, 2011 11:53 AM

    Hi Venkat,
    You have 2 Value Nodes one for Table1 and second for Table2.
    Table1 node having one more Value Attribute i.e check Box data type is Boolean. Now you are requirement are select records from Table1 Node and click on One Method that records will moves to Second Table2 Node.
    Create One Method for getting the Records from 1-Table to 2-Table
    CopytoTable2 ()
    In this method you have to write code like this
    If (wdContext.nodeTable1.Checkbox(true))
    If(1. Check the Table1 Value Node Size()>0)
    Get the Table1 records and set to table2 Value node.
    Else
    Please select check box// Error message
    Hope this helps!!
    Regards
    Vijay K

  • Pass a table from my webdynpro JAVA application to an RFC in R/3

    Hi All,
    I need to Pass a table from my webdynpro JAVA application to an RFC in R/3. How can I do that?
    Regards
    Sarath

    Hi,
    Please have a look at this thread,
    Pass Table as Input to Adaptive RFC
    Regards,
    Saravanan K

  • 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

  • Dynamic table generation in webdynpro java

    Hello All,
      could you please  tell  me, how can i create Dynamic table in Webdynpro java.
         can some one help me out on this?
    Thanks
    Venkat.

    Hi,
    Please check this [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/74cda090-0201-0010-6b91-f85b2489f765?quicklink=index&overridelayout=true].
    Also search SDN for this query. You can get lot of help from the search.
    Regards,
    Manoj

  • 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

  • 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

  • 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

  • How to upload a file in R/3 system through RFC using WebDynpro Java

    Hi There,
    we need to pass a file(mostly xml) using file upload feature in Webdynpro and then need to pass the file in R/3 system using RFC. What should be importing parameters for RFC and how should i implement the fileUploadUi in this case.
    I have already seen example of how to add this in a table input form.
    Any pointers will be great help.
    Regards,
    Sudhir

    Use this code to convert the file content to bytes in WDJ:
    Apart from the resource context attribute create a context attribute of type binary.
    get the data from resource & convert it to binary & pass that to RFC. U can use this code for conversion
    byte fileData[] = null;
    try{
    InputStream fileIs = wdContext.currentAttachCVElement().getFileData().read(false);
    ByteArrayOutputStream bOut = new ByteArrayOutputStream();
    int length;
    byte[] part = new byte10 * 1024;
    while ((length = fileIs.read(part)) != -1) {
    bOut.write(part, 0, length);
    fileIs.close();
    fileData = bOut.toByteArray();
    bOut.close();
    } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportSuccess(e.toString());
    Here getFileData reffers to the attribute of type resource. rest of the code u can use directly.
    Use this code in your R/3 function module to convert the data.
    *" VALUE(XCONTENT) TYPE XSTRING OPTIONAL
    OUTSTRING TYPE STRING,
    CONV TYPE REF TO CL_ABAP_CONV_IN_CE.
    Convert data passed from WD Application.
    CONV = CL_ABAP_CONV_IN_CE=>CREATE( INPUT = XCONTENT ).
    CONV->READ( IMPORTING DATA = OUTSTRING ).
    SPLIT OUTSTRING AT CL_ABAP_CHAR_UTILITIES=>CR_LF INTO TABLE IT_DATA.
    DELETE ADJACENT DUPLICATES FROM IT_DATA.
    Let me know if you run into issues, please award points accordingly.

  • Some issues when consuming RFC2 model using WebDynpro Java CE 7.11

    Hi Experts ,
    I'm using Web Dynpro for Java to develop our project. I have issues when I use RFC 2 model to call BAPI function . I already create the RFC 2 model successfully to call one PO BAPI function --- BAPI_PO_GETDETAIL. The whole project build and deploy successfully. At run time, it will call the execute() function of the model object. It also works fine and get the return values.
    I just want to get two return objects : PO_Items and PO_Item_Schedules .
    So far, every thing works fine. But when I want to iterate the PO_Items node and get each property value of current element, the following error occurs :
    com.sap.tc.cm.base.exception.BaseModelRuntimeException: Class 'java.lang.String' of new attribute value is not assignment compatible for attribute 'Prnt_Price' of type 'boolean' in model class 'com.sap.demo.localwd.qaspomodel.Bapiekpo'
        at com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:306)
        at com.sap.tc.cm.arfc2.model.ARFC2GenericModelClass.unmarshalFromJCoRecord(ARFC2GenericModelClass.java:287)
        at com.sap.tc.cm.arfc2.model.ARFC2ModelObjectCollection.doUnMarshalAt(ARFC2ModelObjectCollection.java:97)
        at com.sap.tc.cm.arfc2.model.ARFC2ModelObjectCollection.get(ARFC2ModelObjectCollection.java:120)
        at com.sap.tc.webdynpro.progmodel.context.ModelElementList.getElement(ElementList.java:1726)
        ... 72 more
    I use the same way to iterate PO_Item_Schedules element. It also works fine. Therefore, I don't know why this error happens?

    Hi Experts,
    I continue this thread because it seems that I have the same problem as the one asked by Wester Wei.
    I'm developping an application on NWDS using CE 7.11 (I've learned RFC2 with the tutorial [here|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0b102ea-efff-2b10-b3aa-d9e84a2c6bb6?overridelayout=true] ). The problem seems to come from the RFC2 Model, but I just import it (and I can't modify it afterwards, because it is a read-only model).
    So, you advise to "declare one boolean variable and assign Prnt_Price to that variable." or to "Explicity convert boolean to string.", I think you are right, but I don't know how to do that in my app (in the component controller ?). Therefore, the attribute that occurs the problem is in the context outputs, to I don't know I will be able to affect it before calling the BAPI.
    Could you tell me how to fix this problem without modifying the model (because it's read-only) ?
    Thank you for advance,
    Louis

  • How to close current window  of webdynpro application using webdynpro java

    Hi All,
    u201CTo close the current  window  of webdynpro application"
    if i using exit plug its giving the following error in portal runtime.
    u201Ccom.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application! u201C .
    could you send me the  process how to use  portal navigation for the above scenariou2026u2026instead of exitplug.
    Thanks& Regards,
    Srinivas.

    Hi,
    Follow the steps below:
    1. Create a new Window and embed a View which needs to be opened from the main view.
    2. Create a context attribute of type IWDWindow (Java Native Type Option)
    3. Write the following code in the controller for opening the new window:
    IWDWindowInfo windowInfo = (IWDWindowInfo)  
                                                     wdComponentAPI.getComponentInfo().findInWindows("<windowname>");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    wdContext.currentContextElement().set<contextattributename>(window);
    window.show();
    4. In the new window, create a contextattribute and bind it to the attribute created in controller and on action of the close button write the following code:
    IWDWindow window = wdContext.currentContextElement().get<attributename>();
    window.destroyInstance();
    Hope this helps you.
    Regards,
    Poojith MV

  • How to send adobe data to R/3 using Webdynpro Java

    Hi All,
    I have a requirement in adobe form is i have one textfield on the Adobe form and user will enter input in that textfield.
    Now that input should be sent to R/3 using RFC.
    But i am unable to get the data from adobe form to Webdynpro Context.
    I am having model nodes in the Context. i tried mapping to them, but i am not getting data.
    I also tried taking a Value Node and bind that to Textfield in adobe, but in that also i am not getting data.
    I tried Interactive form example for Textfield and submit, but its showing only on that View only.
    My Major Concern is to map the adobe data to Context and then Send to R/3.
    Pls help me out.....
    Regards,
    Dhruv

    Hi Dhruv,
    Why do you want to retrieve the adobe data to context ?
    May be data connection can help you pass the data from adobe to R/3.
    Create a webservice for the RFC function module and mention the link in the data connection in adobe. It updates R/3.
    Priya Kota.

Maybe you are looking for

  • What is the "MasterPort" in IOKit

    I'm just learning/messing around with Objective C and OS X/Cocoa programming in general. I decided to mess with some USB HID software as most of what I want to do will be interfacing with micro-controllers. I'm not having a problem, so far, getting m

  • Bluez-simple-agent works for me

    The task was to transfer spreadsheets from a NOKIA E63 to an XPERIA X120 arc with some manual amendments by 'gnumeric' (on the PC). While getting bluez-simple-agent going was very much trial and error, it works on 2 machines (out of 3). One of them h

  • How do I attach a grid to a photograph?

    How do I attach a simple grid to a photograph for the purpose of sketching. I prefer to draw from an image via photoshop as opposed to a print out being that the quality is better. There is also the added advantage of being able to zoom in.

  • MAX doesn't find my USB-Scope

    Cheers! I am using Agilent DSO1014A USB-scope. If I switch my scope first on and then launch MAX it doesn't see my scope. Refresh doesn't help. Why? Only way which helps is to launch MAX first then power on scope. That is when NI Signal Express lauch

  • Please please please help. I erased firmwa

    Hello I hope that someone here can help me. I would really appreciate it. Since I bought a new laptop with Windows Vista I had trouble using my Creative Zen Touch Mp3 player. 40 GB. Today I tried to update it. I think I made a horrible mistake of era