Multilingual actions in Web dynpro

Hi
I created an application in web dynpro.In the starting project i given the default language as " American english".....
But now i want my screen to be displayed in French.
Please any one help me how to proceed.
Is it possible in Web dynpro  or else is there any need to change the settings in the backend system...
Regards
Sushma

Hi Sushma,
Nothing to worry! Just make sure that you have translation teams with you! Translation teams are responsible to maintain various languges for the applications which you have developed. Actually this is a part of internationalization. there are .xlf files where in you can maintain various langauges text for your application and at runtime these applications will be converted to the the logged in langauge.
However just to give you an idea, please go through these links:
1) Re: id in xlf-File, is that id really unique
2) xlf File extension for Canadian French in Webdynpro java App in Internation
3) Re: internationalization in webdynpro java
I am sure this will help you! Please revert back in case you have any further issue,
Thanks and Regards
Pravesh

Similar Messages

  • Passing parameters to Transactions from Web dynpro Application through ITS

    Hi,
    i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
    CONCATENATE 'http'
    '://' host ':' port
    '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
    '%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
    Called T-Code CAT3
    Passing Parameters are:
    Data Profile TCATST-VARIANT
    Pernr: CATSFIELDS-PERNR

    Pradeep,
    iam trying to pass values from webdynpro application to SAP GUI Transaction
    here is the sample code which iam using
    CONCATENATE  'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
    '%20CAUFVD-AUFNR='
                 'ApplicationParameter=CAUFVD-AUFNR='
                  lv_workorder';'
              'DYNP_OKCODE=SHOW'
             INTO lv_url.
    i could'nt able to succed as its displaying page not found exception.
    Help me on this to proceed further
    Regards
    Jaipal.E

  • Submit button  from Interactive adobe form in Web Dynpro ABAP

    Hi all,
    We seem to be having a problem with the 'submit' button on the Interactive Form for the Web Dynpro ABAP.  The submit button is from the Web Dynpro active X or web Dynpro Native in the form designer. The submit button doesn't trigger the action in Web Dynpro. we are currently running on support pack 9 for the ABAP stack. We have Internet Explorer browser version 6.  Could someone tell me if there are requirements for the IE version that will work in conjunction with a particular ABAP stack version.  And, are there specific IE security settings or administrative privilages required with this version of the ABAP stack.  Or, any other ideas as to why this does not seem to work. 
    Thanks in advance,
    Michelle Hong

    Hi Michelle,
    Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
    Many Thanks
    Christine

  • How to enable/disable the input fields based on the data entered/user action in the web dynpro abap?

    How to enable/disable the input fields based on the data entered in the web dynpro application abap?  If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.

    Hi,
    Try this code.
    First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
    Next go to Init method.
    Set the readonly value as 'X'.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
         DATA ls_context TYPE wd_this->element_context.
         DATA lv_visible TYPE wd_this->element_context-visible.
    *   get element via lead selection
         lo_el_context = wd_context->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_context IS INITIAL.
         ENDIF.
    *   @TODO fill attribute
    *   lv_visible = 1.
    *   set single attribute
         lo_el_context->set_attribute(
           name =  `READONLY`
           value = 'X').
    After that Go to the Action  ENTER.
    First read the input field ( first input field, which is value entered field) , next give a condition
    if input value is not initial  then set the readonly value is '  '.
    DATA lo_nd_input TYPE REF TO if_wd_context_node.
         DATA lo_el_input TYPE REF TO if_wd_context_element.
         DATA ls_input TYPE wd_this->element_input.
         DATA lv_vbeln TYPE wd_this->element_input-vbeln.
    *   navigate from <CONTEXT> to <INPUT> via lead selection
         lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
    *   @TODO handle non existant child
    *   IF lo_nd_input IS INITIAL.
    *   ENDIF.
    *   get element via lead selection
         lo_el_input = lo_nd_input->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_input IS INITIAL.
         ENDIF.
    *   get single attribute
         lo_el_input->get_attribute(
           EXPORTING
             name =  `VBELN`
           IMPORTING
             value = lv_vbeln ).
    if lv_vbeln IS not INITIAL.
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->element_context.
        DATA lv_visible TYPE wd_this->element_context-visible.
    *  get element via lead selection
        lo_el_context = wd_context->get_element( ).
    *  @TODO handle not set lead selection
        IF lo_el_context IS INITIAL.
        ENDIF.
    *  @TODO fill attribute
    *  lv_visible = 1.
    *  set single attribute
        lo_el_context->set_attribute(
          name =  `READONLY`
          value = ' ' ).

  • GP process action details in Web dynpro

    Hi
    I want to get the list of action  and the actions details for a GP Process in web dynpro callable object.
    Can anyone please help me.

    Hi Ritu/Shanto,
    I havenu2019t found a way to use GP API inside WebDynpro CO to get Action ID.
    Using IGPExecutionContext you can get the Process ID and Task ID and using these IDs, you canu2019t reach Action ID (there arenu2019t Interface/Class/Method to get that by a reverse way).
    What is your requirement? May be there are other ways to do that.
    Best Regards,
    Pedro Nunes

  • Action (navigation) when click on Hyperlink field in ALV web dynpro

    Hi - I had a question about Hyperlink in ALV web dynpro and it was answered in  Link: [web dynpro abap ALV link to (hyperlink);
    Now I need to click the Hyperlink field and navigate to another screen.
    i.e. I have a Object ID (PR Number) when I click the PR number I need to open the PR Document also another case is at the item level if the PR has more than one item I'm showing the word "MULTIPLE" so if the user click on Multiple I need to show all the items (material) in another ALV table that I already create.
    Thanks for your help!
    Jason P-V

    Hi,
    As per my understanding, there are PR number and Material and other columns in the SAME ALV table right.
    There is a ONCLICK event for ALV not for the VIEWCONTAINTERELEMENT.
    In the View where you have the ALV as component usage under view's properties, you have ALV usage right.
    Now, under the METHODS tab of the ALV, implement an event
    Onclick   EventHandler  ONCLICK(press F4) of that ALV.
    Now the Click event is implemented for that ALV. When ever you click on any column(Hyperlink) this gets called.
    Here there are parameters that you need to use it. R_PARAM has both the index and the element.
    Based on the COLUMN you can call the respective event.
    The index that you have clicked i shown from r_param->index and you can also know ATTRIBUTE name(column name).
    If attribute eq 'PRNUMBER'
    *call the Purchase requistion transaction
    elseif attribute eq 'MATNR'.
    *call the popup for other ALV as component usage to display item details.
    endif.
    Refer this Article -
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8&overridelayout=true
    Hope this is clear.
    Regards,
    Lekha.
    Edited by: Lekha on Sep 26, 2009 12:57 PM

  • Action on selected row in Web dynpro ALV grid

    Hello,
    i'm pretty new on web dynpro development, and i need some help.
    I have a working grid alv and i would like to create an event when i select a row (not editable).
    I have looked around and didn't find anything interesting.
    Do you have a solution?
    Thanks a lot.
    Cedric

    Hi.,
    U have to use onLeadSelection  Event Handler.,
    Check this tutorial.,: [ALV onLead Selection another ALV|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7020c76f-c40e-2e10-a795-d88e67740ee4?quicklink=index&overridelayout=true]
    hope this helps u.,
    Thanks & Regards
    Kiran.

  • Web Dynpro Action/Method Handeling question

    Hey guys, here is what i am trying to do:
    I have a view with an input field and a drop down.
    The user enters an employee number in the input field, and i want the drop down to populate with some info about that employee.
    I CAN get it to work with the user pressing ENTER after entering the employee number, but i am wondering if there is a way to handle if the use just TABS to the drop down, or if the user just CLICKS on the drop down with the mouse?
    Either that or a way to auto populate the drop down anytime the value changes in the text field?
    thoughts?
    I have tried all the standard WDDO events and none do what i want.
    Thanks!
    -Jason

    HI
    Ok.Maybe I didn't explain my question clearly.
    Firstly, what I want to do is just like send-email button does.But you know,after I click the sendemail button, an automatic check will be done to check which required text field is null,if is null, a red border will be added and the submit is not allowed.(and also execute presubmit event)
    Ok, I just add a web dynpro submit button,but I find it doesn't check whether the required text field is null.
    I thought I could add the SAPSUBMIT script to submit button,but when i change the button to regular submit button, the click event  disappeared.
    I know we can add some more scripts to archive this.
    But because of the form is so large, I just want to find an easy way.to do so.
    Thank you.
    Best Regards
    delma
    Edited by: delma ma on Aug 13, 2008 11:51 AM

  • To trigger event or action on "TAB" key press on web dynpro view

    Hi, I need to trigger event on "TAB" key press on web dynpro view , is it possible?How?

    Hi Dipak
    What Madhu said is correct. Tab key is pre-configured to move cursor from 1 field to next field. we can not create an event on tab key press.
    Regards
    Gaurav

  • ECATT abends during recording when lead selection is set to 0 on web dynpro

    We have a web dynpro application that works ok when running by itself.   When we tried to record ECATT testing on it, it abended after we click on a selection from a list of values.    The error on the browser indicated an error on the "lead select".   After reviewing the dump, we found that it abends on an exception when the lead selection on the ALV is not set.   When we changed our code to set the lead selection to 1, the ECATT recording worked.
    We have a requirement to set the lead selection of ALV to 0 so we need to change back our code.   We just did the setting to 1 just to get ECATT recording to work for now.    Does anybody know why ECATT requires this?   Is there a support packs that fixes this?
    Here is a snippet from ST22 for more details on this:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_WD_CONTEXT
    Date and Time          2007/02/07 14:50:06
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_WDR_CONTEXT_NODE===========CP' has to be
    terminated.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    The lead selection has not been set. VIEW_TABLE
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
    "CL_WDR_CONTEXT_NODE===========CP" or "CL_WDR_CONTEXT_NODE===========CM00V"
    "_RAISE_ELEMENT_NOT_FOUND"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "torsapd01"
    Network address...... "10.2.75.183"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 8 Bits
    Pointer length....... 64 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "TORSAPD01"
    Database type..... "MSSQL"
    Database name..... "PR3"
    Database user ID.. "dbo"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "Aug 28 2006 22:20:27"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "SQL_Server_8.00 "
    Patch level. 75
    Patch text.. " "
    Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 16128
    EM...... 16759616
    Heap.... 0
    Page.... 0
    MM Used. 12713776
    MM Free. 4042608
    User and Transaction
    Client.............. 200
    User................ "SIC0010"
    Language Key........ "E"
    Transaction......... " "
    Program............. "CL_WDR_CONTEXT_NODE===========CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "10.49.77.47"
    Caller Port........... 8000
    Universal Resource Id. "/sap/bc/webdynpro/sap/zpr3_base_price/"
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDR_CONTEXT_NODE===========CP" -
    in "_RAISE_ELEMENT_NOT_FOUND".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 11
    of the (Include) program "CL_WDR_CONTEXT_NODE===========CM00V".
    Source Code Extract
    Line
    SourceCde
    1
    method RAISEELEMENT_NOT_FOUND.
    2
    data: l_count type I,
    3
    l_node_name type string.
    4
    5
    l_node_name = if_wd_context_node~get_path( ).
    6
    7
    l_count = if_wd_context_node~get_element_count( ).
    8
    if l_count = 0.
    9
    raise exception type cx_wd_context exporting textid = cx_wd_context=>NODE_EMPTY node_nam
    10
    elseif element_index = if_wd_context_node=>use_lead_selection.
    >>>>>
    raise exception type cx_wd_context exporting textid = cx_wd_context=>NO_LEAD_SELECTION n
    12
    else.
    13
    raise exception type cx_wd_context exporting textid = cx_wd_context=>ELEMENT_NOT_FOUND n
    14
    endif.
    15
    endmethod.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    2
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    HTTP Control
    SY-MSGTY
    E
    SY-MSGID
    TD
    SY-MSGNO
    600
    SY-MSGV1
    000003587101
    SY-MSGV2
    0001
    SY-MSGV3
    EN
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070207
    SY-UZEIT
    145005
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT

    Hi Eugene,
    i suggest you raise an SMP ticket for these.
    Looks like a bug at first glance.
    regards
    Phil

  • How to open new window in web dynpro

    I want to open a new window with specific URL in web dynpro on a button's click event. waiting for your suggestions to do this.
    thank you,

    Create an action and put following lines in it and bind it to button's onAction event.
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow( "http://www.jawed.info", "My Personal Website");
    window.show();

  • Unable to download file from FileDownload UI Element - Java Web Dynpro

    Hello Experts,
    I am facing a strange issue.Scenario is:
    I created an java web Dynpro application (Please note that it is just a standalone WD app, not integrated in portal) with just one FileUpload UI Element ,one FileDownload UI element and one button (for triggering an action).
    I browse a file (e.g. text,pdf,doc etc.) and click on button. It uploads the file and when I click on download, there are two cases:
         1) Simply click on download does not downloads the file and shows error: "Unable to download <file name> from <server name>.  Unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later." Though it is opening the file,showing the content.
         2) I opened that portal URL in a new tab in same session and logged in with a portal user. Now if I click on download link of same WD app opened in different tab of same session, it downloads the file without any error.
    I am using portal 7.0
    Can somebody point what's going wrong with case 1?
    Helpful pointers will be appreciated.
    Thanks,
    Kirtiman

    Hi Sid,
    I did not gave any authentication of WD app as it is anonymous app. There is no parameter set in application properties.
    As I run the app, it is showing the initial screen with UI elemtns and till upload works fine,.It has to be an anonymous app, so cannot ask for credential from user.
    Thanks
    Kirtiman

  • I want to editable description field  in my web dynpro application

    Hi expert,
    The requirement is to make the Description field editable. However, the container for the dynpro only appears to allow for a certain type of action and is essentially used to display the Line Item details, giving no option to change the Line Item Description.
    so i want to editable in this description field  in my web dynpro application  /SAPSRM/WDC_DOTC_PC_I_BD .
    Kindly give me soulation ASAP.
    Thanks and Regard's.
    Vikash

    Thanks for the reply.
    The name of the view is V_PC_DOTC_ITM on which we have the records. On each line item there is a description field which is of type (LinkToAction). I want to enable user so that it can change the Description text (I will handle the action). Also, if you have any idea about updating the database table from here as it needs to be updated in BBP_PCPOS table.
    -vikash

  • Open PO in SRM 7.0 through program or web dynpro . Is it possible ?

    Hello All ,
    I have a PO number with me in SRM 7.0 . I have to open it as it opens in Portal .
    Can we do it through a program , or via custom web dynpro application using the link to action UI element or in any other way ?
    Regards,
    Ambar Patil.

    Any answers please ?

  • SRM 7.0 Web Dynpro ABAP Customization

    Hi ,
    Upgrading from SRM 5.0 to SRM 7.0 and would require customization at the Web Dynpro ABAP Component for RFx.
    I need to put a pop-up screen when the Buyer clicks on the "AWARD" button on the Bid Screen. Now I am not able to find the award action/event at the Web Dynpro component level where I have to put the pop-up code and other related logic. I also tried getting into the SPRO and find the class which may contain the AWARD event. Please let me know the solution to this problem. Thank you.
    Manoj

    Hi Akash,
    Thanks for the reply. Can you please guide me through how to go about the enhancement, keeping the original functionality of the Award Button intact. And I understand coding in method of interface is not possible.
    Manoj
    Edited by: MANOJ NACHIMUTHU on Jul 12, 2011 6:33 PM
    Edited by: MANOJ NACHIMUTHU on Jul 12, 2011 6:35 PM

Maybe you are looking for

  • Photoshop Crashes everytime I open it !! Please any help?!

    Hello Everyone Today I downloaded a psd file and when tried to open it i got the message that the fonts need to modified or so. Anw i just hit OK and after 2 sec (i ddnt press a thing) photoshop crashed and I cant open any psd that gives me the fonts

  • Incorrect assignment of cost estimate number to the material key

    Hi,    While doing GR for a particular PO we are getting error msg that "Incorrect assignment of cost estimate number to the material key" First we thought that this error might be missing of standard prices for materials. Even though creation of sta

  • Adobe InDesign CS5.5 Has Stopped Working

    Hello, I am new to InDesign as have been using PageMaker for years. I have just installed a Trial Version of CS 5.5 and am trying to open an InDesign document which was created by my friend. InDesign crashed when trying to open the document, it gave

  • Please Help! iPod not working!

    Please someone help me out, I really need my iPod tomorrow morning and its not working. When I plug into my Mac to sync it makes this creaky sound, i think its from the hard drive then my iTunes just freezes...Please Help!

  • Built In Speaker Question....

    This may be a dumb question... But the other day i started freaking out because i thought one of my built in speakers stopped working (the right one). But then i looked up the iPhone 3G specs on the apple website and noticed that the one i was talkin