How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table

Hello,
How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table ?
Thanks

hi,
Check out this link for sorting in Table.
Sorting option in WebDynPro ABAP UI Table
steps to follow :
->Have the data in internal table (itab).
->Now use sort command for the particular column which ever you want to sort.
  e.g sort itab descending by <Column>.
->Now you can bind the internal table with the Context Node which is binded to Table.
I hope it helps.
Thanx.

Similar Messages

  • How can I set the data binding between Web Dynpro & Database table

    Dear friend,
    I am a beginner of Web Dynpro. I want to develop my simple project like these:
    1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
    2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
    For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
    1. How can I set the data binding between Web Dynpro and Database table ?
    2.  Are there any nescessary steps that I will concern for this case?
    Sorry if my question is simple, I had try  to find solution myself, but it not found
    Thanks in advances,
    SeMs

    Hi,
    You can write your own connection class for establishing the connection with DB.
    Ex:
    public class  ConnectionClass {
    static Connection con = null;
    public static Connection getConnection() {
    try{
    Context ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
    con = ds.getConnection();
    return con;
    }catch(Exception e){
    return null;
    You can place the above class file in src folder and you can use this class in webdynpro.
    You can have another UserInfo class for reading and writing the data into the DB .
    Regards, Anilkumar
    PS : Refer
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
    Message was edited by: Anilkumar Vippagunta

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • How to open Outlook, generate an email with Web Dynpro ABAP

    Hi Experts,
    I have to generate an email which must be open with MS Outlook.
    The body will be filled by values from the IView, then Outlook should be open and the email
    should be shown so that the user can change or add s.th. in the email.
    I tried it in a class with OLE2, but thats not possible with WD ABAP.
    Could anybody help me with that problem???

    To generate the  receipient name dynamically.
    You have to create an context attribute of type string and bind this attribute with reference property of linktourl.
    then create a local variable of type string. suppose name of the local variable is lv_mail.
    You will be having mail ID of the receipient  in any local variable suppoe in variable lv_mailid.
    Now use the following line.
    Concatenate 'mailto:' lv_mailid '?subject=<subject line>' into lv_mail.
    Now set your context attribute with the value lv_mailid.
    To generate there is one standard FM. Sorry I do not remember the name of that FM.

  • How to implement a filter

    Can anyone tell me how to implement a filter (like working sets filter in the project toolbar in Jdeveloper).

    I am developing an extension and want to implement a "Filter"(funnel shaped) with similar features which is present in the jdeveloper(project toolbar->working sets)

  • How to modify themes in web dynpro abap

    How can we identify which css file and class are used in web dynpro abap iview ?? I m new to web dynpro abap application. I need to change the look and feel of the page developed in web dynpro abap.
    How i can use css files to change the UI of the page and how can i reach to the css file and class of  a particular page developed in web dynpro abap. When we run the abap application on browser we don't get view source of it. Please tell me the ways to find the css and class files to modify them

    >
    Narendra wrote:
    > Hi,
    >
    > You can create one .css and .js page of page type Page with Flow Logic.and can make use in your normal .htm page..
    >
    >
    > Regards,
    > Narendra.
    I don't believe that your answer applies to Web Dynpro ABAP.  Page with Flog Logic sounds like BSP.  Please make sure you are posting about the correct technology.

  • How to see the authorization data of a user in Web Dynpro ABAP

    Hi all,
    if I have authorization problems in a normal SAP transaction I can use transaction SU53 to see the missing authorization objects.
    How can I get the missing authorization objects for a Web Dynpro ABAP application?
    regards

    What about using SU53 again - just log into ABAP system and use the F5 - "other use"r option to select the user having the issues.
    There is unfortunately no way to see this as standard from the WDA application.
    Sorry,
    Chris

  • How to use HR Macros in Web Dynpro ABAP

    Hai All,
         Am new to Web dynpro Abap working in HR req.
           Can u pls help me how to import HR Macros in webdy ABAP.
            It will be very much helpful to me. Pls provide any link or doc if available.
    Thanks in Advance,
    Nalla.B

    Hi Nalla,
    if you can't find any Function Modules or BAPIs as Kris suggested, you would basically do this (conceptionally):
    1. What is your business logic supposed to do (output)  and what information does it need (input) for processing.
    2. Build a class in se24 and implement static public methods with the business logic you defined in (1.).
    3. Call the static methods in your WD4A-Framework.
    If you are unfamiliar with the class builder, make a local class first in se80, in a test program or alike.
    Does this help you a bit?
    regards, Lukas

  • How to fill BI cube with Web Dynpro ABAP Program UI

    Hello,
    I am new in web dynpro ABAP and need zour help. How can i write aABAP web dynpro program, which allows the user to enter transactional data and saved in the real time infocube.
    I know that such a functionality exist  in the integrated planning where a real time infocube, changeable query, data provider and web template are created, and through which a user can enter or change for sepecific master data combination transactional data and save them in the info cube.
    Have you an experience in the way of implementing an user interface in connection with the real time cube. Do i have to use the BIAPPLICATIONFRAME UI element or is there a better way.
    Many thanks
    Arnaud
    Edited by: Arnaud on Jul 28, 2010 3:32 PM

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

  • How to Email POWL Reports / Apply Web Dynpro ALV Table Layout Settings

    Hi all,
    we want to be able to automatically extract POWL reports and email them to users in a batch job.
    We can refresh a POWL report using FM POWL_QUERY_REFRESH, and access the raw report data using method CL_POWL_QUERY_ACCESSOR=>GET_CACHED_RESULTS.
    However this merely gives us a table of raw data.  No view layout (ie. Web Dynpro ALV table layout) settings have been applied, so there is no hiding or arranging of columns, row sorting, calculations or filters.
    Ideally we would like to be able to specify a query and view layout.  The batch job would then refresh and extract the data, and format the data according to the view layout before sending it on as an attachment in an email.
    Does anyone know how to determine and apply Web Dynpro ALV table layout settings to format table data outside of the Web Dynpro environment ?
    Thanks & regards,
    Grogan

    Hi Grogan,
    Did you find out how this works..i also have the same issue.
    Thanks
    Jdsouza

  • How to integrate backend web dynpro abap application in Portal 7.3?

    Hello,
    before Portal 7.3 I was able to integrate a web dynpro abap application as iView in the portal. Now I don't get the point on how to do it. I cannot find a "normal" iview that enables me to give the backend and the application name. The possibilty to create iView based on remote source looks strange because I don't want to upload the application I just want to do my normal user/pass mapping and show the applicaton via iView.
    Somehow I don't get the point with the new version. Could someone give me a hint where to find more information regardings this problem`?
    Thanks a lot,
      Vanessa

    Hi Vanessa,
    Could someone tell me if I should see the SAP Web Dynpro for ABAP iView template in the long list of available templates when I create a new iView?
            You will 'SAP Web Dynpro iView' option in the list while creating iview from template.Create and change the property platform to 'Web Dynpro for ABAP'.
    Is it correct not to use the remote source option? I think yes because otherwise he would upload the app to the portal, if I am not wrong.
         If i understood your question correct,then You can use this option as well to create iview.Atlast it wil create only iview for the application not the application itself in the portal.
    Naga

  • How we can done background job in web dynpro abap

    Hi expert,
    my requriment is how i can set background job in web dynpro .
    regard's
    vikash

    The same way you do it in normal ABAP. There is nothing Web Dynpro ABAP specific about starting a background job.
    There are API Function modules that begin with the name JOB_*.  Have a look at the online help for samples:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fa/096d40543b11d1898e0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fa/096d4d543b11d1898e0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fa/096d67543b11d1898e0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fa/096d74543b11d1898e0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fa/096d8e543b11d1898e0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fa/096ce5543b11d1898e0000e8322d00/frameset.htm

  • How to configure SSO for web dynpro ABAP (not web dynpro Java)

    Hi Experts,
        I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
    1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
    2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
         procedure"
       Then deleted all logon procedure other than "SSO Authentication" and saved.
    3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
         signal).
    4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
    After all this settings I opened a browser enter above URL and hit enter but there is an error
    There is no login page. It directly showed this error page. No cookies is saving.
    Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
    How to set the for single sign-on?
    Thanks in Advance
    Regards
    Piyush

    Hi Piyush,
    Pls refer below links,
    Single Sign On with ABAP WebDynpro
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
    Regards
    K.N

  • How to fix few rows in ALV after filtering on a column in Web Dynpro ABAP

    Hi,
    I have the following requirement:
    In an ALV, when i filter based on a column, then this filter should not be applied to 2 of its rows.
    These rows relate to totals. The totals are manually calculated as they require other component information too.
    Along with the filter result, these total rows have to be displayed.
    Let me know in case ALV in Web Dynpro ABAP supports this functionality.
    Regards,
    Rekha

    Hi,
    ALV table does not support this functionality.
    You can display the total in an another table instead.
    I had the same requirement with total and had to display the totals separately.
    Thanks,
    Feroz

  • Error is in example  "How to Create Online and Offline Forms in Web Dynpro"

    Hi,
    I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
        at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
        at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
        ... 34 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
    J2EE Engine 7.00 patchlevel
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
    Web Dynpro Code Generation Infos
    local/TravelRequest
    SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates (unknown)
    SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
         at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    So please help me to correct this error .....
    Help will be rewarded.
    Regards,
    Gurprit Bhatia

    Hi Gurprit,
    A null value is being passed at runtime. Make sure that you enter values when filling in the form.
    Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
    In wdDoInit() method:
    wdContext.currentNodeAElement.setValueA("");
    Context is as follows:
    RootNode
      |____NodeA
            |_____ValueA
    Hope it helps.

Maybe you are looking for

  • Very urgent: call servlet from JSP

    Hello, I'm facing a problem in invoking a servlet from a JSP having the JSF components. The application has a text field to implement ajax for search functionality in the database .I have written a servlet to make the database connection and fire the

  • Essbase 11.1.2.1 mandatory components

    Hi all, I have a requirement where i need to install essbase in stand alone mode(wihout shared services). People will connect to cubes through essbase addin and they wd use eas console through URL Now for this setup, tell me if the following componen

  • Social comment control in custom page layout stucks at "Working" for read access users

    Hi, I created a custom page layout which is attched to my custom content type. i have a custom field control which is derived from RichImageField. i have also added a social comment control to the page layout using <SharePointPortalControls:SocialCom

  • Repeated applications in "Open With..." menu

    Hello, This is not an emergency or anything, but I hope somebody could help me with this. Whenever I 'right-click' a file and select "Open With...", a menu of compatible apps comes up. However, some apps are repeated in the list. For example, the men

  • I-recruitment ( Oracle E business Suite)

    Friends, I'm a newbie in Oracle E-business suite. I have 4 yrs of experience as Oracle DBA. Our company is implementing i-recruitment module. The approahed with some issues. They want to enable attachment functionality to the i-recruitment website. B