Character encoding in Web Dynpro source code

Hi all,
I want to use special characters like "äüß" in Web Dynpro java code and can't find a possibility to specify the character encoding (ISO-8859-1) for Developer Studio Web Dynpro source editor.
After rebuilding or compiling the code looks like "äüß".
In the Java perspective source editor of eclipse/Developer Studio is a menu entry edit/encoding/... but not in Web Dynpro perspective.
Does anybody know how to set encoding?
Michael

Hi Michael,
Perhaps you can try converting your unicode characters to Java String literal with this web site  (http://www.snible.org/java2/uni2java.html).
The characters that you supplied convert to "\u00E4\u00FC\u00DF", perhaps inserting that as the String will help.
Best regards,
Patrick.

Similar Messages

  • Which table(object) store web dynpro source code?

    Hello Colleague:
    As we are try to copy and rename webdynpro  component,the objects which  are used in the component controller method

    Hi,
    You can search for table name using  WDY_*.  There are so many tables related webdynpro.
    For example.. WDY_APPLICATION  - WD Application details. you can search for more..
    For source code.. check this..
    Need table name used for storing web dynpro methods' code.
    Cheers,
    Kris.

  • ESS/XSS Web Dynpro SCA import in CMS to view/modify Web Dynpro Source Code

    I am having problems importing ESS/XSS Web Dynpro related SCA's into CMS.
    Following steps were followed
    1. Download following files from SAP service marketplace.
    BPERP4ESS0_0-10003146.sca
    ESS09_0-10002965.zip ( This file shows as SCA in the download page but download as with .zip)
    PCUIGP009_0-20000568.zip ( This file shows as SCA in the download page but download as with .zip)
    Question: Is this correct, did I get all I need? Do I need to download any more files?
    2. Deployed above files using SDM.
    3. Created a product in SLD and defined software component dependencies(SAP_BUILDT, SAP_JTECHS, SAP-JEE) I could define any of the above files(BPERP4ESS0_0-10003146, ESS09_0-10002965,PCUIGP009_0-20000568) as software dependencies as I could find in the software catlog.
    Question: Should this files show up in the software catlog? If yes what should I do?
    4. Created a track in CMS.
    5. Added software components for development defined in the SLD. Above files doesn't show up under sap.com to be added as development component. I already copied BPERP4ESS0_0-10003146.sca, ESS09_0-10002965.zip,PCUIGP009_0-20000568.zip to D:\usr\sap\JTrans\CMS\inbox.
    Question: How do I add this files to development components??
    5. All other required Software Components(SAP_BUILDT, SAP_JTECHS) were automatically added when I added the development component.
    What should I do so ESS09_0-10002965.zip,PCUIGP009_0-20000568 would show up under sap.com vendor component list??
    Any help on this is greatly appericated.
    Thanks!!

    Hi,
    Did you receive a response to this question? We are having the same problems whilst following some instructions we received from SAP's OSS titled the JDI cookbook for ESS.
    When defining a track in the CMS the software components SAP_ESS and SAP_MSS are not in the list for vendor sap.com. Yet we use the standard ESS and MSS portal content delivered by SAP.
    How do we get these components in the list so that we can select them?
    Thanks in advance.

  • No NWDI activity asked while modifying the Web Dynpro java code

    Hi,
    We have 2 team in our project, one offshore team and one onsite team. We have NWDI also in our landscape.
    I have created 1 project in my local NWDS from DTR using create project  option from NWDI track , when i do any modification in that web dynpro code once it appears in my local NWDS, its asking for the activity, all this is fine.
    But when my offshore team send me this project from offshore (offshore team also working on this project), i go to my local machine under C:\Documents and Settings\user\.dtc\0\DCs\xyz.org\.. (workspace, where all the project folders are created in my local machine ) and replaces the web dynpro project  (which i created using create project option from NWDI track ) with the project which offshore teams gave me  that is I copy paste the project folder I received from offshore team.
    I closed the NWDS and reopened NWDS, i did repair and reload also, but now when i try to do any code modification in that project its not asking any activity at all. So i want to know the reason why its not asking activity at all while modifying the code.
    if now i do any code changes, and since no activity is asked, it wont be transported to QA and Prd system.
    Can anyone have any suggestion on this..

    Hi GLM,
    I think you might be right that some files are in read as well as write mode. I went to my local machine and checked the project folder C:\Documents and Settings\user\.dtc\0\DCs\xyz.org\testproject\_comp\.dcdef  file , its not in read only mode, that is read only flag was not checked.
    I again checked the mode of .dcdef file in other web dynpro projects which are asking for the activity in all those projects mode of .dcdef was read only that is read only flad was checked in .dcdef file.  ( I am not sure is .dcdef file only giving this problem that si because of this file not in read only mode I am not asked for the activity)
    So could you plzz tell me how to make in read only. when ever i click the read only check box of .dcdef file and reload the project in my NWDS. that read only check box is getting removed. how to do this..
    regarding your query, landscape in offshore team and onsite team are different, client has not provided nay access to its landscape to ofshore team so offshore team can not check in / check out the code written by me and same applies to me I can not check in / check out the code written by offshore team , only option is offshore team do some changes in the code and send the project folder via email and I have to deploy in client landsacpe and do further modification.

  • Need table name used for storing web dynpro methods' code.

    Hi experts,
    I am trying to retrieve the code of a particular web dynpro component's methods.
    So can anyone please tell me the table in which the code or logic part  of the methods are stored?????????
    Thanks in advance.....
    Edited by: Adithya K Ramesh on Oct 28, 2010 6:26 PM
    Edited by: Adithya K Ramesh on Oct 28, 2010 6:26 PM

    WDY_CTRL_COMPO - although you should be cautious with such access as direct interaction with the Web Dynpro Metadata is not supported by SAP.

  • Testing ABAP Web dynpro: Error  code 403 and for the reason Forbidden

    Hi,
      We have NW04s Installed and trying to execute a SAP supplied ABAP web dynpro application DEMO_SIMPLE_MAIN. Please see the following error and let us know which service it's talking about? I am familiar with SICF. However in AS7.0( New name for WEB AS ) The transaction is little different.
      Thanks
    Arunava
      However we are getting the following service error
    Service cannot be reached
    What has happened?
    URL http://server.domain.name.com:8001/sap/bc/webdynpro/sap/demo_simple_main call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system XXX with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:NAME999_XXX_01-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team

    Hi,
      this was actually some services which needed to be started through SICF. Once I have started the service sap/bc/public ETC.. and the web dynpro started working. Most of the SAP delivered demo apps are working
      However for some ABAP web dynpro ( for some application XRPM ) I get  some peculiar error. Please see below and if you could think of anything out of these.
    I have already checked and found the both HTTP and SMTP services are working fine.
    The following error text was processed in the system PXA : Syntax error in program /1BCWDY/56ZRPAZLU25M8S1BKV2T==CP .
    The error occurred on the application server fmsap994_PXA_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONSTRUCTOR of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: CONSTRUCTOR of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: CREATE_APPLICATION of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP

  • Web Dynpro Java code changes

    Hi,
    I need to put some validations in web dynpro java page which is "employee address page". I checked the BADI's but no badi exists which serve my purpsoe.
    Now I want to make the code change in web dynpro java. Pls answer the followng questions.
    1- I have installed NWDS on my local machine. Do i need to install NWDI also?
    2- How to import and export the required page and from where?
    3- How to modify the standard code, I mean in ECC we have enhancement and modification concept.
    Thanks,

    NWDI is a part of NWDS, So you would need both as mentioend
    NWDI - Netweaver Development Infrastructure is an SAP sytem for java development & change management. It's a repository for java code and change management system.
    NWDS is a developer tool to build applications similar to Eclipse. NWDS uses NWDI to check-in & check-out java code and move java changes to SAP runtime systems (like portal etc).
    Read the basics of NWDI and its utility in the below help document
    http://help.sap.com/saphelp_nwce72/helpdata/en/48/bc23b1a70a0611e10000000a42189b/frameset.htm
    Also go through how to import ESS configurations in NWDI
    ESS/MSS Customization – Make it Simple
    NWDI cookbook in SAP note : 872892
    The specified item was not found.
    Edited by: Siddharth Rajora on Nov 9, 2011 9:28 PM

  • Broken character encoding in Web Gallery / Journal

    Hi,
    Is there another place to submit bugs to Apple than posting here?
    I noticed that the web gallery and journals are exported with HTML indicating iso-8859-1 encoding, but the characters are actually encoded with "MacRoman" (which isn't supported in most browsers and doesn't have a standard encoding name).
    I put an example here:
    http://tmp.askask.com/2005/12/aperture_bug/
    (See the ø in my name be messed up on the bottom line).
    Speaking of character sets; it really should export UTF-8 rather than iso-8859-1. (But anything else than MacRoman would be an improvement!)
    - ask
    Quad PowerMac   Mac OS X (10.4.3)  

    After i read elsewhere in this forum that you can "hack" the HTML Templates I thought I give it a try and change the encoding settings.
    So I went to Apperture.app/Contents/Resources/English.lproj/WebThemes/ and went into the Directory of the Theme I used, Pictures. I opened detail.html, gallery.html, journal-gallery.html and journal.html with BBEdit (I think TextEdit is just fine, too) and changed the charset to macintosh as this seems to be the official name of the MacRoman encoding as stated here: http://www.iana.org/assignments/character-sets
    I saved everything (you might make a backup of the original files first) and opened Aperture, exported my Web-Journal to a shared folder with my wife's PC and made some tests.
    The encoding was recognized perfectly and automatically by Firefox (PC, 1.0.7), InternetExplorer (PC, 6.0) and of course Safari and Firefox on the Mac.
    So it seems I can work around my second "favorite" bug in Aperture...
    (My "favorite" is that I lost some projects when naming them with äöü's, it's soooo good to have a backup at hand)
    iBook G4 12"   Mac OS X (10.4.3)   1.25 GB RAM

  • Character encoding across Web application contexts

              If I submit an HTTP request encoded in SHIFT-JIS across Web application contexts,
              the characters seem to get mangled. Do I need to do anything special to pass request
              objects that are encoded in SHIFT-JIS to another context.
              

    a. EUC-JP
    EUC is Extended Unix Code.
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=x-euc-jp">x-euc-jp should be EUC-JP. You use x- for non-registered
    encoding names with IANA.
    b. JIS
    Japanese Industrial Standard
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=iso-2022-jp">To be precise, JIS means nothing. JIS has many standards.
    It is an ISO-2022 encoding applied to JIS code sets.
    c. Shift_JIS
    Microsoft's Japanese encoding method loosly based on
    JIS.
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=x-sjis">Use "charset=Shift_JIS" in most cases.
    >
    d. UTF-8You use charset=UTF-8.
    - Which one of the above 4 I should use? Either one is fine as long as you include the meta tag
    in HTML. If you want to support older generation of
    browsers, then skip UTF-8. If you target i-mode
    phone browser, use Shift_JIS.
    - Do I have to worry about the encoding of the
    Japanese data being entered by user in the input
    fields in the HTML form?Yes. Use the same encoding as the encoding of the form.
    Make sure to call response.setEncoding to set the
    enxoding for the parameter processing.
    - What should be encoding of the content of html
    output generated by the JSP?Use contentType tag in page directive.

  • Character encoding in web gallery

    Hi,
    When creating web galleries, LR seems to use UTF-8 encoding for it.. Can I change it to use ISO-Latin-1? I use mostly Finnish in the galleries, and UTF-8 causes some of the Finnish characters to show incorrectly. A test gallery where you can see the problem:
    http://patej.1g.fi/judo/alkeiskurssi_k2006/content/index.html
    My browsers try to read it as ISO-Latin-1-page, which results in showing 'ä' and 'ö' characters incorrectly. I can of course change the encoding the browser uses to view the page, but that isn't too convenient.. Any ideas how to create LR-galleries, which use ISO-Latin-1?
    looking forward to any advice,
    --patrik

    Well, it seems LR's output
    does not validate. Hence some browsers seem to get the charset wrong as "iso-8859-1". (If I change the display to UTF-8 in the browser manually, the site looks fine.)
    Try manually fixing at least the
    first reported error (the omitted end tag in the charset-definition) and see if it works then.
    Alexander.
    Canon EOS 400D (aka. XTi) • 20" iMac Intel • 12" PowerBook G4 • OS X 10.4 • LR 1 • PSE 4

  • EP server is getting restarted becauses of Web Dynpro java code

    Hi All,
      Node strucure is
       -->Prospect(Value Node)
          -->Opportunity(Value Node)
              --> Opportunity ID(Value attr)
      -->ProspectID(Value attr)
      -->Prospect Name(Value Attr)
              int nProspectOppNodeSize = wdContext.nodeZopportunity().size();
              IPrivateStaffingView.IProspectNodeElement eleProspect;
              IPrivateStaffingView.IOpportunityNodeElement eleOpportunity;
              wdContext.nodeZopportunity().moveFirst();
              for(int i=0;i<nProspectOppNodeSize;i++)
                   eleProspect = wdContext.nodeProspectNode().createProspectNodeElement();
                   wdContext.nodeProspectNode().addElement(eleProspect);
                   eleProspect.setProspectID(wdContext.currentZopportunityElement().getProspect_Id());
                   eleProspect.setProspectName(wdContext.currentZopportunityElement().getProspect_Name());
                   String strCurrentProspectID =  wdContext.currentZopportunityElement().getProspect_Id();
                   while(strCurrentProspectID.equalsIgnoreCase(wdContext.currentZopportunityElement().getProspect_Id()))
                        eleOpportunity = wdContext.nodeOpportunityNode().createOpportunityNodeElement();
                        wdContext.nodeOpportunityNode().addElement(eleOpportunity);
                        eleOpportunity.setOpportunityID(wdContext.currentOpportunityNodeElement().getOpportunityID());
                   wdContext.nodeZopportunity().moveNext();
                   wdContext.nodeZopportunity().moveNext();
         wdContext.nodeZopportunity().moveFirst();
         int nProspect = -1;
         for(int i=0; i<wdContext.nodeZopportunity().size(); i++)
              if(wdContext.currentDisplReq_Zsr_MasterElement().getProspect_Id().equalsIgnoreCase(wdContext.currentProspectNodeElement().getProspectID()))
                   nProspect = i;
              wdContext.nodeProspectNode().moveNext();
         wdContext.nodeProspectNode().moveTo(nProspect);
    Please help

    Hello,
      I think the problem is that you are not controlling the end of this bucle:
        String strCurrentProspectID =  wdContext.currentZopportunityElement().getProspect_Id();
        while(strCurrentProspectID .equalsIgnoreCase(wdContext
                                                .currentZopportunityElement().getProspect_Id()))
           wdContext.nodeZopportunity().moveNext(); 
    you can do something like:
       int count = 0;
       int num_ele = number of elements of node Zopportunity
       while (<b>count<num_ele</b> && strCurrentProspectID .equalsIgnoreCase(wdContext
                                                .currentZopportunityElement().getProspect_Id()))
        wdContext.nodeZopportunity().moveNext(); 
        <b>count++;</b>

  • HELP !!! Problem in R/3 trying to get a PDF on to Web Dynpro

    Hi,
    I read a note about <b>How to get PDF on to Web Dynpro iView </b>, it was very helpfull, but the problem is in R/3 because I need that the Print Window do not open and send data direct to Web Dynpro.
    the code is:
      control_parameters-no_dialog  = 'X'.
      control_parameters-preview    = ' '.
      control_parameters-langu      = 'S'.
      control_parameters-getotf     = 'X'.
      output_options-xsfcmode   = 'X'.
      output_options-xsf        = space.
      output_options-xdfcmode   = 'X'.
      output_options-xdf        = space.
      output_options-tdnoprev   = 'X'.
    *  OUTPUT_OPTIONS-TDNOPRINT  = 'X'.
      output_options-xsfoutdev = output_options-tddest = 'ZWIN'.
      output_options-tdimmed    = 'X'.
      output_options-tddelete   = 'X'.
    call function 'SSF_FUNCTION_MODULE_NAME'
        exporting
          formname              = 'Z_REP_TRANS_PRES'
    *   VARIANT                 = ' '
    *   DIRECT_CALL             = ' '
       importing
         fm_name                  = formato
    * EXCEPTIONS
    *   NO_FORM                 = 1
    *   NO_FUNCTION_MODULE      = 2
    *   OTHERS                  = 3
    call function '/1BCDWB/SF00000022'
    exporting
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
       control_parameters         = control_parameters
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
       output_options             = output_options
    *   USER_SETTINGS              = 'X'
    *   USUARIO                    =
    *   FECHA_INI                  =
    *   FECHA_FIN                  =
       tipo_rep                   = tipo_rep
    *   TIPO                       =
    *   LOGO                       = 'ZHR_CANTV_LOGO'
    importing
    *   DOCUMENT_OUTPUT_INFO       =
       job_output_info            = output_job
    *   JOB_OUTPUT_OPTIONS         =
      tables
        transf_pres                = transf_pres
    * EXCEPTIONS
    *   FORMATTING_ERROR           = 1
    *   INTERNAL_ERROR             = 2
    *   SEND_ERROR                 = 3
    *   USER_CANCELED              = 4
    *   OTHERS                     = 5
      call function 'CONVERT_OTF'
        exporting
          format                = 'PDF'
    */      MAX_LINEWIDTH         = 132
        importing
          bin_filesize          = numbytes
          bin_file              = bin_file
        tables
          otf                   = zoftdata
          lines                 = zpdf
        exceptions
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          others                = 0.
    Thanks in advance!!!
    tgfch

    Hi Claus,
    Try use this web dynpro code to open the XSTRING that coming from abap side:
    IWDCachedWebResource resource = WDWebResource.getWebResource(
    wdContext.currentZReport_OutputElement().getPdf(), WDWebResourceType.getWebResourceTypeForFileExtensio("pdf"));
    resource.setResourceName(this.getDescriptionReport());
    // Create a External Window with the URL destination
    IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getURL(), this.getDescriptionReport(), true);
    // Eliminate some features of the window
    window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    window.removeWindowFeature(WDWindowFeature.MENU_BAR);
    window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
    window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    window.setWindowSize(780,430);
    window.setWindowPosition(20,140);
    window.open();
    This code will open its PDF report!!!
    Regards,
    Luciano Leite

  • Web dynpro iviews

    Hi all,
    I have couple of questions on web dynpro iviews.
    Is it necessary to have sld configured for executing a web dynpro application as an iview in the portal.
    My other question is how do you set the Jco connections for a web dynpro application. Please advice
    thanks for your help in advance.
    regards
    Henry Ragl

    Hi Henry,
    Yes,If you are developing Web Dynpro applications that connect to a back end with a static user, the use of an SLD means that you can, for example, avoid using passwords as part of the Web Dynpro application code, since the SLD utilizes a secure storage for the password.
    You configure an SLD for a Web Dynpro application using the Visual Administrator.
    Your Second Question Jco Connection Please click the link below.
    To Create Jco Connection you have to go to your J2EE Engine.
    http://localhost:50000/ and click the Web Dypro. And again click the Content Administrator remaining details are in the link below
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/content.htm">Jco Connection</a>
    PS: Give the points if it helps you

  • How to read source code in Safari?

    How do I read a web page source code using Safari?
    Thanks.

    Safari > Preferences > Advanced > Show Develop in menu bar
    then
    Develop > Show Page Source

  • XSS/ESS Web Dynpro Design Principles

    Dear NetWeaver Web Dynproers
    Kind of wondering if any of you have any high level/detailed documentation on Web Dynpro Design principles used by SAP while building XSS business package?
    Looking at the Web Dynpro XSS Code there seems to use a consistent design principals and naming convections that have followed like Cc.., Fc.. , Vc.. and also uses advanced Web Dynpro programming, like Guided Procedures and Floor Manger patterns. I am really excited with the implementation and would like to know more about these topics and kind of understand the core design principals behind it before I make any enhancements and customizations.
    Are there any links and documentation that kind of covers all this...? Is there any cookbook on Web Dynpro enhancements and customizations for XSS for keeping the core design intact and kind of natural bending the custom code to it?
    Any help on this is greatly appreciated.
    Cheers!!

    Hi Phani,
    I am not sure if there is any documentation released about the WebDynpro Design Standards being followed by SAP in ESS and XSS WebDynpro Applications.
    But I can throw some light on the same.
    XSS is the central component which will be used in all probably all the SAP Self Services going ahead. This is being done to provide all the Self Services, consitent User Interface.
    FPM - The floorplan manager (FPM) is the central part of the XSS architecture. It can be said to be the base of all self sevices. Any WebDynpro application that implements FPM is known as FPM Application.
    So if you want to design your own custom application using FPM, you should know the following.
    FPM provdes 4 basic interfaces that are implemented by the Self Services WebDynpro Applications,
    1) IVAC (for the Visual Application Component - Vc)
    2) IBLC (for the Business Logic Component - Fc)
    3) IXssAppConf ( for the Configuration Component - Cc)
    4) IFPM (It gives the self service application access to the FPM and its utility classes)
    You have to define the above interfaces as the implemented interfaces and then you can implement their functions. To start with first analyze any ESS application like this
    1) Cc(here all the configuration is done for the application. You will also see how a persepective is being built and how a navigation path is being defined.
    2) Fc(here all the Model are executed)
    3) Vc(This contain the view or Visual Component)
    Hope this helps in some basic understanding of Self Service Applications.
    Regards,
    Shubham

Maybe you are looking for

  • Some Itunes songs in my library do not play. How do I play them?

    Many of the songs purchased and located in my Itunes library do not play.  One of the common denominators with the non-playing songs is the Icloud with an arrow next to the song.  I've been instructed to click on these and nothing happens.     I've a

  • Nokia C7 - Changing Contact types???

    When you add a new contact it automatically shows it as a mobile number.  Is there a way to change this to call it "Home" as some of my contacts have a home number and mobile number but at the moment my C7 will only call them both mobiles and there s

  • Edit Submit Email Message

    I've seen other people post this question, but cannot find an answer.  When a user completes and submits a form created in LiveCycle and distributed as a saved file (as opposed through Adobe) an email is generated that has the completed form attached

  • ADF FACES  showOneTab does not raise valueChange events

    Hello all, the next problem with showOneTab tag: when changing to another tab, the input components like inputText or selectOneChoice do not get notifications about value changes, so the changes get lost. Is it a bug, intention or one can do somethin

  • IT0210 exemptions not being considered in BSI script

    Dear all, If you have note 1455498 the exemption will not be considered in BSI Interface. To solve it you need to apply SAP note 1466714. Even though you don´t use BADI  PC10_PAY0008. Kind regards, Graziela Dondoni