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

Similar Messages

  • 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

  • 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

  • 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 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

  • 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

  • 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

  • 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 Service Consumption in Web Dynpro Java

    Hi,
    I'm using NetWeaver 2004s for Java. I have generated a Web Service out of a BAPI. I use that Web Service in a Web Dynpro Java Application as Model. Model generation works fine. But when I call the Web Service during execution of the corresponding Web Dynpro Application, I get the following Exception:
    "java.rmi.RemoteException: Service call exception; nested exception is: java.lang.Exception: Call to returned http code 500 with unacceptable content type (text/html; charset=iso-8859-1). <HTML> <HEAD> <TITLE>Unknown Host</TITLE> </HEAD> <BODY BGCOLOR="white" FGCOLOR="black"> <H1>Unknown Host</H1> <HR> <FONT FACE="Helvetica,Arial"><B> Description: Unable to locate the server named "<EM>us0308.wdf.sap.corp</EM>" --- the server does not have a DNS entry.  Perhaps there is a misspelling in the server name, or the server no longer exists.  Double-check the name and try again. </B></FONT> <HR> </BODY>"
    Testing the Web Service via transaction WSADMIN works fine. Can anybody give me an advise how to solve that problem?
    Thanks in advance!
    Regards,
    Frank

    Had Exactly same problem with authorization issues on the server hosting the webservices.
    Create a CPIC user Id on the server hosting the webservice. The user id should have authorization to execute the webservice.
    Create a webservice destination in VA for the said webservice using the user id
    1. Log on to the J2EE Engine as an administrator using the Visual Administrator.
    2. Expand -> Server ->Services.
    3. Select the Destinations service.
    4. Under Destinations, select HTTP and choose New
    You need to create two destinations one for matadata and another for execution data.
    Use the destinations while creating the WS model in NWDS.
    if you have issues importing the model using the URL, you can create the model using the WSDL and use the WS Destinations to execute it.
    I am following the same approach after i had faced similar issues with webservices on PI7.1 and Portal 7.0
    About the option to use _setusername, _set...., not all webservices come with the _set methods.
    and moreover if you do that, it would be more of hardcoding in the code, which should be avoided.
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 11, 2009 6:11 PM

  • Web Dynpro Java Application for Handheld Device

    Hi everybody,
    I have been reading some documentation about what is the best option to create an application for handheld device. So this is my landscape. I have SAP Netweaver 7.4 SR1 AS ABAP, and Java instance. So, I want to know whether is possible to create a normal web dynpro java application and then visualize this application on Browser of handheld device. That's all that I have to do? I read that exist another solution Developing mobile application for handhelds. By other side a need to know how to is the integration of this device with this application if exist. This application is going to consume data from SAP Backend system, so I just have to create JCO's for connect this application to this system, right?
    Please, can you help me with that.
    Best Regards.

    Hi Deepti,,
    Refer to the following thread which says that you must retrieve the data from the CRM backend system using standard BAPI's or customer Remote enabled function modules (socalled RFC's) and to access the backend system you will have to set up an RFC connection with CRM system.
    Regarding web dynpro and CRM
    Thanks & Regards,
    Jhansi Miryala

  • Standard F4 (search help) in the web dynpro JAVA

    Hi,
             I have a small doubt in web dynpro Java. Basically I am an ABAP developer. We created some custom Remote function modules (RFM). Now are able to call RFM through web dynpro JAVA in the portal. We are able to run the RFMs in the portal.
             But we have problem with search help. How can I built the search help for the input fields in the portal using web Dynpro  Java.
             Can we bring standard search help (which is exist in R/3) in the portal?

    Hi,
    I think there is no standered functionality available in WDJava to achieve this functionality like ABAP or WDAbap. but, you can still achieve this using OVS option. to do this also, first you should have an interface which can talk to the R3 system and search the dB as per the query parameters i.e, an RFC which can the desired form of input and give you the desired output.
    for more info on OVS, please look into this below links.
    OVS:
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]#51 [original link is broken]
    WDJ tutorials:
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]

  • 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

  • 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

  • Reading contents of uploaded excel file in web dynpro java

    Hi All.
    I am aware how to provide facility to upload files in web dynpro java. But my requirement is that on uploading a particular file (for eg. an excel file having 10 columns), I need to read the contents of that file and store it in a table in R/3.Can anyone suggest a way how I can read the contents of the uploaded file?
    Thanks and Regards,
    Saurabh.

    Hi.
    I am having the following requirement : I have a FileUpload UI element where user clicks Browse button, selects a file from the local system and presses a Upload button. Upon pressing Upload, the name of the selected file and the contents of the file should be shown.
    In the View context, I have two value attributes: FileName of type String and FileResource of type binary.
    This is the code that I have in the Upload button action handler :
      public void onActionUpload(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload(ServerEvent)
        IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(
                 IPrivateReadExcelView.IContextElement.FILE_RESOURCE);
        IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)attributeInfo.
                 getModifiableSimpleType();
        IPrivateReadExcelView.IContextElement element = wdContext.createContextElement();
        String fname = binaryType.getFileName();
        wdComponentAPI.getMessageManager().reportSuccess("File selected - "+fname);  //Statement 1
         try {
              wdComponentAPI.getMessageManager().reportSuccess("Successful");    // Statement 2
              InputStream in = new FileInputStream(fname);
              HSSFWorkbook wb = new HSSFWorkbook(in);
              wdComponentAPI.getMessageManager().reportSuccess("Successful");    //Statement 3
              int sheetsNo = wb.getNumberOfSheets();
              for (int i=0;i<sheetsNo;i++) {
                   HSSFSheet sheet = wb.getSheetAt(i);
                   Iterator rowsNo = sheet.rowIterator();
                   while(rowsNo.hasNext()) {
                        HSSFRow rows = (HSSFRow)rowsNo.next();
                        Iterator colsNo = rows.cellIterator();
                        while(colsNo.hasNext()) {
                             HSSFCell cell = (HSSFCell)colsNo.next();
                             wdComponentAPI.getMessageManager().reportSuccess("File uploaded" +
                                  "successfully");
                             if(cell.getCellType()==1) {
                                  wdComponentAPI.getMessageManager().reportSuccess("00000"+
                                       cell.getStringCellValue());
                             else if(cell.getCellType()==0) {
                                  String str=""+cell.getNumericCellValue();
                                  wdComponentAPI.getMessageManager().reportSuccess("11111"+str);
         catch(Exception e) { wdComponentAPI.getMessageManager().raisePendingException();
        //@@end
    On pressing Upload button, name of selected file is being shown(Statement 1). I am also getting Statement 2 in the output. However I am not getting Statement 3 onwards.
    Where am I going wrong? Can anyone shed some light on this?

Maybe you are looking for

  • How can I sync two iPhones with iCloud on my mac?

    My husband and I both have an iPhone and one macbook between us. How can I get iCloud to transfer photos/info from both our iPhones to our mac withough having to change login details all the time (defeating the purpose of iCloud if I need to log onto

  • Search Help Parameters Import and Export??

    Hello, In my WDA View i have some <b>InputFields</b>, which are mapped to Context which is copied from a Dictionary Structure. For all Input Fields i have a corresponding Search Help assigned in the Dictionary Structure. Search Help for some of the I

  • PS CC 2014 -- Preferences not saved!!

    I just discovered that Adobe Photoshop CC 2014 is not saving any of my preferences. They get lost every time I close the application. No error messages . . . . Nothing! I'm running it on a new Mac Pro 2013, on the latest version of OS X. I've been us

  • Plug-ins in browser not playing

    Anything that uses Quicktime on any browser shows the quicktime symbol with a question mark through it. I have unistalled and reinstalled a few times both quicktime and my browser, it just wont work!

  • Accrual Reversal F.81

    Hi Guys, When I am doing the Accrual Reversal in F.81 I am getting the following error " VL 476: Item 'Official Doc. Number' is not copied from the reference document ". I have maintained the number ranges also. I am not able to understand why the sy