Programming Key Functions in Web Dynpro Java

Hi, "Amigous"
How can I Programming Key Functions in Web Dynpro Java, like F1, F2, F3...??
Thanks in advance.
P:D. I don´t have Swine Flu.

Hi,
Please see the below link.
[http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_I.pdf]
Regards
Krishna

Similar Messages

  • How call key Function in WEB Dynpro Java?

    Hi,
    Somebody know how to call key Function(F1, F2, ... F12) in WEB Dynpro Java to launch and Event?
    Thanks in advance.

    Hi,
    You can WDHotKey property to define the different keyboard shortcuts to enable the user to trigger events with key combinations.
    When the user presses the key board shortcut defined as the hotkey then onAction event is triggered.
    The keys F2, F3, F4, F5, F6, F7, F8 and F9 are not supported, they call predefined functions provided by the Web Dynpro Framework.
    The complete list of supported shortcuts is here:
    http://help.sap.com/saphelp_nwce711/helpdata/en/48/1f1d65deaf733fe10000000a42189b/frameset.htm
    http://help.sap.com/saphelp_nwce711/helpdata/en/62/832cf3cd35004aa4ea8a2378c8a2be/content.htm
    If your question is answered then mark it so.

  • Accessing ABAP Functions in Web Dynpro Java

    Hi,
    I am trynig to do "Accessing ABAP Functions in Web Dynpro Java" this application, (which is the example application which i got from www.sdn.sap.com) but everything is fine no error also while dyploying.
    But it is not dysplaying the first page after i run the application i am getting plain web page ,without any content.
    Can any body help me.
    Regards,
    H.V.Swathi

    k.. now iam getting some error on page.
    I have embeded the two view in to window.
    But now after running the application i am getting connection error
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=jktr3 GROUP=SPACE R3NAME=R32 MSSERV=sapmsR32 PCS=1 ERROR Group SPACE not found TIME Fri Sep 26 15:05:59 2008 RELEASE 700 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4288 DETAIL LgIGroupX COUNTER 1
        at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
        at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
        at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
        at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:90)
        at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:122)
        ... 61 more
    Rgards,
    H.V.Swathi

  • Accessing ABAP Functions in Web Dynpro Java in CE7.1

    Hi,
    I have a CE7.1 SP5 system installed and no access to an SLD. How can I use BAPIS  of an R3 backend system within a Web Dynpro application? Adaptive RFC only works with an SLD, right?
    Best regards,
    Kevin

    Hai ,
    if u want work RFC model u have to create JCO Connections in Portal . the u can give destination and import your bapi from r/3 System.
    Regards ,
    Venkat

  • To Implement TREX functionality in web dynpro java application in portal

    Hello Experts,
    We have a requirement in which the client want to search with the help of TREX in webdynpro for java application. Can you please help how we can connect webdynpro for java with TREX.
    Thanks and Regards,
    Vivek

    Hi Robin,
    I have connected the KM with webdynpro java application with the help of following url.
    Knowledge Management and TREX Functionalities through WebDynpro using KM index management APIs
    Still not getting any data returned from the KM. What should i do next.
    Thanks and Regards,
    Vivek

  • Select - Option functionality in Web Dynpro Java

    Hi Experts,
    I would like to have a select option functionality in my WDJ application input fields which resembles the select-option functionality in R3. Can any one please throw some light on this.
    Regards,
    Abdullah

    There are various spell checker webservices you could use (Google, Yahoo, etc) which upon submit of your form will be called.
    However, keep in mind you won't have fancy inline-edit-and-replace functionality, but you either you could just present a list with results and have the user make the corrections himself, or you could correct all the findings at once without user interaction
    Edited by: Robin van het Hof on Oct 21, 2011 2:38 PM

  • Web Dynpro Java Internationalization and backend ABAP function modules

    Friends,
    I have a requirement where I want my Web Dynpro Java application to support BRAZIL and CHINESE.
    I have been through the sample programs and tutorials and I understand how to support my application in these 2 languages. The challenge I am facing is how to communicate the language to the backend code (ABAP function modules) so that the function modules can written language specific error messages and texts.
    I searched SDN but could not find anything. Your help is appreciated.

    Prashant,
    When you are configuring JCo connection in WebDynpro Content Administrator, just left language settings blank for metadata connection (you may do the same for data connection). Now WD will supply language of currently logged-in user when obtaining connection settings from system landscape and you'll get necessary functionality.
    By default locale of user determined by parameter sap-locale (sap-locale=de_DE for example), settings of user's browser and lastly preferences of user stored in UME.
    Btw, BRAZIL (or Portugees for this matter) is not fully supported language by SAP, so R/3 side may be not  translated or partly translated.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Function used in web dynpro java application

    Hi
    I am creating some application in web dynpro java by using ABAP function module and table. I am trying to put data to table and update data in table and delete data in table in my application by using ABAP function by using RFC. And this is the ABAP function module.
    FUNCTION ZUP_DESIG12.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(DESG_CODE) TYPE  ZUP_DESIG-DESG_CODE OPTIONAL
    *"     VALUE(DESG_DESC) TYPE  ZUP_DESIG-DESG_DESC OPTIONAL
    *"     VALUE(DESG_ACT) TYPE  ZUP_DESIG-DESG_ACT OPTIONAL
    *"     VALUE(DESG_OPT) TYPE  ZUP_DESIG-DESG_OPT OPTIONAL
    *"  TABLES
    *"      WA STRUCTURE  ZMSTR_DESIG
    DATA CNT TYPE I.
    SELECT MANDT DESG_CODE DESG_DESC DESG_ACT FROM ZMSTR_DESIG
      INTO TABLE WA.
    IF DESG_OPT = 'U'.
    UPDATE ZMSTR_DESIG
        SET DESG_DESC = DESG_DESC
        DESG_ACT = DESG_ACT
        WHERE DESG_CODE = DESG_CODE.
    MESSAGE 'Updated Successfully' TYPE 'I'.
    ELSEIF DESG_OPT = 'C'.
    SELECT COUNT( * ) FROM ZMSTR_DESIG INTO CNT
       WHERE DESG_CODE = DESG_CODE.
       IF CNT > 0.
       MESSAGE 'Duplicate Designation code' TYPE 'I'.
       ELSE.
      WA-DESG_CODE = DESG_CODE.
      WA-DESG_DESC = DESG_DESC.
      WA-DESG_ACT = DESG_ACT.
      MODIFY ZMSTR_DESIG FROM WA.
       MESSAGE 'Inserted successfully' TYPE 'I'.
    ENDIF.
    ELSEIF DESG_OPT = 'D'.
       DELETE FROM ZMSTR_DESIG WHERE DESG_CODE = DESG_CODE.
       MESSAGE 'Deleted successfully' TYPE 'I'.
    ENDIF.
    ENDFUNCTION.
    I am not able to put data to table through my application but i am getting this error.
         java.lang.ArrayIndexOutOfBoundsException: -1
    What might be the problem .
    Regards,
    H.V.Swathi

    Can any one tell solution

  • Advantages and dis advantages of web dynpro java

    Hi Guys,
    May i know what are the advantages and dis advantages of web dynpro java?
    Regards,
    Madhu

    Hi Madhu,
    Web Dynpro (WD) is a proprietary web application user interface technology developed by SAP AG and exists in a Java (Web Dynpro for Java, WDJ or WD4J) and an ABAP (Web Dynpro ABAP[1]  , WDA) flavor. Both have in general the same functionality, but usually one flavor is improved after the other, so temporary one flavor is more advanced than the other. Hence, the decision for one of the two flavors shall be based on organizational and business circumstances, but not on functionality.
    WD follows an adapted MVC pattern and a model driven development approach ("minimize coding, maximize design") with a large number of dedicated hooks in generated code to place custom coding. It is intended for business applications that shall follow standardized UI principles, connect to backend systems and be scalable.
    Main advantages of Web Dynpro over other technologies
    typed access for design time checks, e.g. navigation links and messages are accessed via types instead of string keys like in JSF
    diverse services for backend access, like aRFC, JEE and Web Service data models
    integration with SAP Interactive Forms by Adobe, which are interactive PDF forms, during design (same IDE) and run time (data sharing)
    integration with business process management and business rules management (since NetWeaver CE 7.1 EHP 1)
    designed to support development big scale applications by adding multiple grouping layers on top of Java packages (DCs, SCs, products)
    runs on different clients e.g. web browser, mobile device, widget engine
    comes with a big collection of UI elements providing a wealth of functionality and only have to be configured but not programmed
    Main disadvantages
    proprietary, running only on SAP servers
    less flexible due to support for multiple clients (i.e. custom html is not possible). To reduce the limitations, several measures have been taken. For example, WD supports so-called "islands" for e.g. flash applications that enrich the Web Dynpro UI element collection by rich UI elements. This disadvantage doesn't seem so serious but in fact basic features that user expect to receive cannot be implemented (e.g. coloured rows in table, colours in general, advanced aligning of simple UI elements (due to nonexistence of more complicated ones), selecting multiple rows in tree-like tables (this is due to preserving basic concept of WD) and many more). Having the flash feature means that developer completely avoids WD UI (And thus cannot use other features).
    rendering speed in browser for larger tables (>1000 rows)
    The designtime and runtime environment is part of SAP NetWeaver 7.0[2] (also known as Netweaver 2004s) and following releases.
    The name comes after the original Dynpro library, whose name meant "Dynamic Program".
    Regards,
    Pradeep Kumar

  • Creating sales order using web dynpro JAVA

    Hello everyone,
    i am new to web dynpro. Can any one tell me how to creating sales order by web dynpro JAVA using BAPI.
    Thanks.
    Vinita Sharma

    Hi...
    you can use Adaptive RFC methodology in web dynpro java to work with BAPIs..... these are standard bapi's provided
    Here are required Bapis... select which one you want....
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    check this thread SALES ORDER creation using BAPI
    sample java program which will call SAP bapi function sales order create
    PradeeP

  • Web Dynpro Java to Web Dynpro ABAP

    Hi all,
    I am a web dynpro java developer with more than 3 years of portal development experience.
    I am now put into a project with web dynpro ABAP(ESS/MSS customization).
    Would like to know whether I should start concentrating more on ABAP or SAP HR?
    I dont have any ABAP programming exp except that attended a training few years back.
    And on SAP HR,dont have much exp except that have some knowledge on ESS customization in dynpro java.
    Please let me know where I should start to get myself refreshed before starting my work.
    Any advice/docs are invited.
    Also,please let me know whether there is any NWDI required for ESS/MSS customization in webdynpro ABAP.
    Thanks
    Meena

    Hi Meena,
    As you have good experience of Web Dynpro JAVA.
    I think you just need to comcentrate on ABAP skills.
    You need not concentrate on SAP HR as ur work is technical your functional guys will take care of HR module and will help you.
    For starting i would suggest you to just go through the basics of ABAP like Work areas , internal tables etc.
    Then start doing some WD ABAP hands on.
    My scenario is similar.
    I am a portal and WD JAVA person and this is my first WD ABAP assignment.
    I followed the above approach.
    You will find many concepts similar to WD JAVA as this is just the ABAP flavour of Web Dynpro.
    The below link will help you a lot
    [WD ABAP HELP|http://help.sap.com/saphelp_nw04s/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/frameset.htm]
    I hope it helps.   

  • Web Dynpro JAVA VS. Web Dynpro ABAP

    Hi,
    I'm interested in advantages and disadvantages of WD JAVA & WD ABAP. Could anybody give me some "detailed" information about it?
    We need any information you can give us.
    regards,
    Sharam

    Hi,
    <b>Web Dynpro for ABAP:</b>
    Web Dynpro for ABAP or Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web applications in the ABAP environment. It consists of a runtime environment and a graphical development environment with special Web Dynpro tools that are integrated in the ABAP Workbench (SE80).
      The use of declarative and graphical tools significantly reduces the implementation effort
    1)    Web Dynpro supports a structured design process
    2)      Strict separation between layout and business data
    3)     Reuse and better maintainability by using components
    4)     Automatic operation of the Web Dynpro application using the keyboard
    5)     User interface accessibility is supported
    6)     Full integration in the reliable ABAP development environment
    for more see:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    <b>Web Dynpro for Java:</b>
    Web Dynpro is a client-independent programming model of the SAP NetWeaver technology platform for developing user interfaces for professional business applications. It is based on the model view controller paradim which ensures that the business logic is separated from the presentation logic. This architecture is visible in the Web Dynpro perspective of the SAP NetWeaver Developer Studio (NWDS).
    Web Dynpro helps you with the development of Web applications by:
    1)       Ensuring platform-independence with the meta model approach
    2)       Minimizing the implementation effort through declarative programming
    3)      Supporting a structured design process by applying the model view controller paradigm
    4)        Providing reuse and better maintainability by using components
    5)       Providing graphical support with tools in the Web Dynpro perspective
    6)       Providing the SAP NetWeaver Java Development Infrastructure (NWDI) which supports team work with different services such as source code versioning and the Central Build Service.
    for more see:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/content.htm
    <i>The concept of Web Dynpro ABAP is identical with Web Dynpro Java and offers more or less the same functions</i>
    hope it helps
    regards

  • How to display smartform as PDF in web dynpro java

    Hi,
    Where can I find sample program to display smartform as PDF in web dynpro java.
    Thanks.
    Regards,
    Henry

    1. Create a smart form in the R/3 side
    2. Now create a function module with the corresponding export parameter:
    3. Make sure that the function module is marked remote enabled. 
    4. In NWDS  create an Adaptive RFC model which points to the FM created in R/3 under the webdynpro application
    5. Now create an application and view inside it to display the PDF and Insert a frame inside the view
    6. Create a  value node and an attribute say url of type string inside that node and bind it to the source
    7. In the doInit() method place the following code
    >    ZTest_Pdf_1_Input input = new ZTest_Pdf_Input();
    >    wdContext.nodeZTest_Pdf_Input().bind(input);      
    >    try {                       
    >            wdContext.currentZTest_Pdf_InputElement().modelObject().execute();
    >            }
    >  catch (Exception e) {
    >                        e.printStackTrace();
    >            }          
    >  wdContext.currentInternalElement().setUrl(convert(wdContext.currentOutputElement().getBin_File()));       
    Inside that view create a method to convert the string to url so that it can be passed as a string to the setUrl method of the currentContextElement() , say convet(byte[] doc_content) which return a string.
    Inside that methos write the following code,
    >         String url = "";
    >           WDWebResourceType webResType = WDWebResourceType.PDF;
    >            IWDWebResource webResource = WDWebResource.getWebResource(doc_content, webResType);
    >            try {
    >                        url = webResource.getURL();
    >            }
    >  catch (Exception e) {
    >                        e.printStackTrace();
    >            }          
    >            return url;
    Hope It will be helpful
    Regards,
    Sam Charles J.

  • How to set a variable in portal session using web dynpro java.

    Hi,
    I have created a web dynpro application, which is running inside portal. I have created a role called "R1". Inside role R1, i have created 3 workset W1, W2 and W3. and inside each workset i have some pages and iviews.
    My requirement is when user logins to the portal , and when he clicks on role R1 for the first time, a login page should come (so that we can do revalidation), and when he enters his password again in that login page , then only workset W1, W2 and W3 should be visible/accessible to him and after successful revalidation, if he clicks again on role R1, in that particular portal session, than that login page should not come.
    for this, i thought i will set a variable in portal session, whenever user successfully revalidated himself, and if after successful revalidation he clicks again on role R1, i will check in doinit method of webdynpro whether variable is set or not (which i already set on successful revalidation), and if it is set then i will do Donavigation else i will present login page to the user.
    Can anyone tells me how to set a variable in portal session using web dynpro java.
    thanks
    Arush

    Hi,
    Try this:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, key, value)
    WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)
    Ex:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE,"Key1","Value1");
    String value1=WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Key1").toString();
    /people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
    Regards,
    Charan

  • Enhancements / Modifications in Web Dynpro Java

    Hi, all!
    I' ve a more general question: Are there any enhancement concepts for Web Dynpro Java available or at least planned that would give developers the same comfort and possibilities ABAP programmers have?
    I mean, will there ever be an Enhancement Framework like in ABAP - modification free enhancements via BADIs or customer exits?
    Think of one of SAPs WDJ flagship - the ESS/MSS. If you want to change anything within, you have no other possibility but to modify the sources. Considering this - together with the weak possibilities of backend access via JCo - I give the WDJ not a chance to stand the challenge of WD4A.
    Regards,
    Thomas

    Hi!
    I' m just going through the hep-pages, but what I can definitly say by now is that there' s no enhancement-concept in sight. This matter is getting kind of really embarrassing and leaves the question open: What the heck should an SAP customer persuade to focus on Java Development? No enhancements, no direct data access, no easy debugging possibilities like in ABAP.
    I' ve started with WDJ, but digging deeper into WD4A I' m getting more and more convinced that the whole Java thing was just something like a playground field for the development of the programming model and is now getting more and more obsolete with the rising of WD4A.
    Correct me, if I' m wrong, and forgive me, if I' m flaming, but when I started with Java development in SAP enviroment I was quite enthusiastic and didn' t understand resentiments of the ABAP developers against our programming language, but now I' m more and more joining their opinion.
    Regards,
    Thomas
    PS: I' ve - by the way - done the SAP Java Certification and am already regretting it.

Maybe you are looking for

  • How to get Current day and month value in Stk applets

    Friends please provide me the hint to get the Current Value of month and date from the Mobile equipment(ME). please send feedback to [email protected]

  • This apps is not in my ipad

    Hi My ipad have a apps available updates call: Kick off Football V2.0, but i never install such as this app in my ipad and i can't remove this note in my update list. any help on this? thanks Zero I'm using ipad4 update ios.

  • Documentation in ABAP Programming for ECC 6.0

    Can Anybody tell me how to do documentation in ABAP Programming in SAP  ecc 6.0 What are the options there ? Also please let me know if there is a concept called "C DOCS". Thanks Naresh

  • Issue having seperate data pushes for multiple email accounts

    I've always had gmail set up through my phone. I love push and don't receive any issues using it.I recently added a 2nd, work email (exchange) to my phone. However, I'd prefer to manually check the exchange account while leaving my gmail on push. I c

  • 2LIS_02_itm Data duplicated

    Hi, Some one has executed the LBWQ queues twice when they got stuck in R/3 on one day for 2LIS_02_ITM. Due to this we got duplicate orders on that particular day in BW. how can I solve this issue? need to maintain In-sync data between r/3 and BW. Tha