Tool for generating properties files

Hello Experties,
I am wondering is there a tool or program for SAP to get SAP fields screen names from SAP backend for diffrent languages and generat the properties files?
for java uwl or webdynpro they are all the same properties file.
thanks

WebDynpro i18n is done by .xlf files. Its an standard (http://en.wikipedia.org/wiki/Xliff) and there are some OSS editors available, just google xlf editor.Or check this one: http://okapi.opentag.com/applications.html#rainbow
The Idea is, that you give your xlf files to the translator and safe the results with a suffix representing the language (_de.xlf for german).
Hope this helps.

Similar Messages

  • Tools for generating java files

    Hello!
    I need a tool which can generate .java files (just like rmic generates _Stub.java files). 
    I know Velocity but i'm looking for something better. Can you help me?
    Kuba Kr�likowski

    rmic does not generate Stub and Skel .java
    files, but it generates .class files.
    (just a side-note)RMIC always produce .java files at first - you can keep them using -keep or -keepgenerated option!
    Kuba

  • Tools for generating WSDL file

    I have created one Java Web Service in Apache Soap. Now I want to create the WSDL file so that my clients will
    come to know what is my Web Service about. But I am not able to find any tool which will automatically generate
    the WSDL file from the Java Class since my Web Service is purely written in Java. I came to know about GLUE but
    was not able to find the link from where I could download it. Can anybody help me to find such tools?

    I dont want to use Axis. Even Glue has the same command to generate the WSDL file from Java. Do you have any
    idea from where I could download Glue?

  • Classpath root for locating properties file?

    I'm trying to read a property file from a pluggable Reports destination. I've tried placing it in the domain root and in the domain lib folder (I'm sure it was picked up there in a previous release) but I can't appear to find it.
    What is a general classpath root that could be used for storing properties files in?
    Thanks in advance,
    Nik

    Open your %DOMAIN_HOME%/server/AdminServer/logs/AdminServer.log and search for java.class.path.
    You'll see all classpath roots available, I'm using %DOMAIN_HOME%/config/soa-infra.
    Cheers,
    Vlad

  • Tool for generating ER diagrams

    Hi ,
    I need a free tool for generating ER diagrams.
    Using Tool TOAD i can do but, i Have 1000 objects in one schema where i need to generate er diagrams by grouping 10 objects at a time. to do so i need to uncheck the remaining Objects manually.
    in additional TAOD is taking more time for generating er diagrams.
    Please help me in this regard.
    Thank You.
    Rajini

    Try SQLModeler (see the SQLDeveloper web site on OTN).

  • Writing a java program for generating .pdf file with the data of MS-Excel .

    Hi all,
    My object is write a java program so tht...it'll generate the .pdf file after retriving the data from MS-Excel file.
    I used POI HSSF to read the data from MS-Excel and used iText to generate .pdf file:
    My Program is:
    * Created on Apr 13, 2005
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    package forums;
    import java.io.*;
    import java.awt.Color;
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.Font.*;
    import com.lowagie.text.pdf.MultiColumnText;
    import com.lowagie.text.Phrase.*;
    import net.sf.hibernate.mapping.Array;
    import org.apache.poi.hssf.*;
    import org.apache.poi.poifs.filesystem.*;
    import org.apache.poi.hssf.usermodel.*;
    import com.lowagie.text.Phrase.*;
    import java.util.Iterator;
    * Generates a simple 'Hello World' PDF file.
    * @author blowagie
    public class pdfgenerator {
         * Generates a PDF file with the text 'Hello World'
         * @param args no arguments needed here
         public static void main(String[] args) {
              System.out.println("Hello World");
              Rectangle pageSize = new Rectangle(916, 1592);
                        pageSize.setBackgroundColor(new java.awt.Color(0xFF, 0xFF, 0xDE));
              // step 1: creation of a document-object
              //Document document = new Document(pageSize);
              Document document = new Document(pageSize, 132, 164, 108, 108);
              try {
                   // step 2:
                   // we create a writer that listens to the document
                   // and directs a PDF-stream to a file
                   PdfWriter writer =PdfWriter.getInstance(document,new FileOutputStream("c:\\weeklystatus.pdf"));
                   writer.setEncryption(PdfWriter.STRENGTH128BITS, "Hello", "World", PdfWriter.AllowCopy | PdfWriter.AllowPrinting);
    //               step 3: we open the document
                             document.open();
                   Paragraph paragraph = new Paragraph("",new Font(Font.TIMES_ROMAN, 13, Font.BOLDITALIC, new Color(0, 0, 255)));
                   POIFSFileSystem pofilesystem=new POIFSFileSystem(new FileInputStream("D:\\ESM\\plans\\weekly report(31-01..04-02).xls"));
                   HSSFWorkbook hbook=new HSSFWorkbook(pofilesystem);
                   HSSFSheet hsheet=hbook.getSheetAt(0);//.createSheet();
                   Iterator rows = hsheet.rowIterator();
                                  while( rows.hasNext() ) {
                                       Phrase phrase=new Phrase();
                                       HSSFRow row = (HSSFRow) rows.next();
                                       //System.out.println( "Row #" + row.getRowNum());
                                       // Iterate over each cell in the row and print out the cell's content
                                       Iterator cells = row.cellIterator();
                                       while( cells.hasNext() ) {
                                            HSSFCell cell = (HSSFCell) cells.next();
                                            //System.out.println( "Cell #" + cell.getCellNum() );
                                            switch ( cell.getCellType() ) {
                                                 case HSSFCell.CELL_TYPE_STRING:
                                                 String stringcell=cell.getStringCellValue ()+" ";
                                                 writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                 phrase.add(stringcell);
                                            // document.add(new Phrase(string));
                                                      System.out.print( cell.getStringCellValue () );
                                                      break;
                                                 case HSSFCell.CELL_TYPE_FORMULA:
                                                           String stringdate=cell.getCellFormula()+" ";
                                                           writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                           phrase.add(stringdate);
                                                 System.out.print( cell.getCellFormula() );
                                                           break;
                                                 case HSSFCell.CELL_TYPE_NUMERIC:
                                                 String string=String.valueOf(cell.getNumericCellValue())+" ";
                                                      writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                      phrase.add(string);
                                                      System.out.print( cell.getNumericCellValue() );
                                                      break;
                                                 default:
                                                      //System.out.println( "unsuported sell type" );
                                                      break;
                                       document.add(new Paragraph(phrase));
                                       document.add(new Paragraph("\n \n \n"));
                   // step 4: we add a paragraph to the document
              } catch (DocumentException de) {
                   System.err.println(de.getMessage());
              } catch (IOException ioe) {
                   System.err.println(ioe.getMessage());
              // step 5: we close the document
              document.close();
    My Input from MS-Excel file is:
         Planning and Tracking Template for Interns                                                                 
         Name of the Intern     N.Kesavulu Reddy                                                            
         Project Name     Enterprise Sales and Marketing                                                            
         Description     Estimated Effort in Hrs     Planned/Replanned          Actual          Actual Effort in Hrs     Complexity     Priority     LOC written new & modified     % work completion     Status     Rework     Remarks
    S.No               Start Date     End Date     Start Date     End Date                                        
    1     setup the configuration          31/01/2005     1/2/2005     31/01/2005     1/2/2005                                        
    2     Deploying an application through Tapestry, Spring, Hibernate          2/2/2005     2/2/2005     2/2/2005     2/2/2005                                        
    3     Gone through Componentization and Cxprice application          3/2/2005     3/2/2005     3/2/2005     3/2/2005                                        
    4     Attend the sessions(tapestry,spring, hibernate), QBA          4/2/2005     4/2/2005     4/2/2005     4/2/2005                                        
         The o/p I'm gettint in .pdf file is:
    Planning and Tracking Template for Interns
    N.Kesavulu Reddy Name of the Intern
    Enterprise Sales and Marketing Project Name
    Remarks Rework Status % work completion LOC written new & modified Priority
    Complexity Actual Effort in Hrs Actual Planned/Replanned Estimated Effort in Hrs Description
    End Date Start Date End Date Start Date S.No
    38354.0 31/01/2005 38354.0 31/01/2005 setup the configuration 1.0
    38385.0 38385.0 38385.0 38385.0 Deploying an application through Tapestry, Spring, Hibernate
    2.0
    38413.0 38413.0 38413.0 38413.0 Gone through Componentization and Cxprice application
    3.0
    38444.0 38444.0 38444.0 38444.0 Attend the sessions(tapestry,spring, hibernate), QBA 4.0
                                       The issues i'm facing are:
    When it is reading a row from MS-Excel it is writing to the .pdf file from last cell to first cell.( 2 cell in 1 place, 1 cell in 2 place like if the row has two cells with data as : Name of the Intern: Kesavulu Reddy then it is writing to the .pdf file as Kesavulu Reddy Name of Intern)
    and the second issue is:
    It is not recognizing the date format..it is recognizing the date in first row only......
    Plz Tell me wht is the solution for this...
    Regards
    [email protected]

    Don't double post your question:
    http://forum.java.sun.com/thread.jspa?threadID=617605&messageID=3450899#3450899
    /Kaj

  • How to give Path for a properties file

    Hi,
    I am using a SQL.properties file to load all my SQL statements to my EJB JDBC prepared Statement. I have placed the SQL.properties file in com.company.sql package. I have another SQL class in the same package which is loading the SQL.properties file to cache for future use. I am using the path as "SQL.properties" (the file name straight ) in the SQL class to access the properties file.
    I am using Sun App Server 7. To get access to this file I need to copy the SQL.properties file to the config directory of the app server instance. Otherwise it is not able to locate the file. I don't want to put the properties file in the config directory of the app server instance. Please help me, what path I have to give to access the file from the package itself, rather from the config directory of server instance.
    I think , some one who is doing localization can help me out here. They have to put the localized properties file to access the text out of it. Please help me. Thanks in advance.
    Thanks
    Amit

    You can use ResourceBundle class to load this properties file from the classpath:
    ResourceBundle props = null;
    props = ResourceBundle.getBundle("com.company.sql.SQL");

  • How to set Path for a properties file

    Hi,
    I am using a SQL.properties file to load all my SQL statements to my EJB JDBC prepared Statement. I have placed the SQL.properties file in com.company.sql package. I have another SQL class in the same package which is loading the SQL.properties file to cache for future use. I am using the path as "SQL.properties" (the file name straight ) in the SQL class to access the properties file.
    I am using Sun App Server 7. To get access to this file I need to copy the SQL.properties file to the config directory of the app server instance. Otherwise it is not able to locate the file. I don't want to put the properties file in the config directory of the app server instance. Please help me, what path I have to give to access the file from the package itself, rather from the config directory of server instance.
    I think , some one who is doing localization can help me out here. They have to put the localized properties file to access the text out of it. Please help me. Thanks in advance.
    Thanks
    Amit

    I am using the propeties file to get the SQL statements. I have all the SQL query statement in the properties file. I am creating a preparedstatement after getting the statement from the properties file with the id like we do in ResourceBundle. If I keep the properties file in the config directory of the Sun App Server instance , then it is working fine. But If I don't keep it there, then it is giving me a file not found exception.
    My SQL class which is accessing the properties file are in same package (com.company.sql). But still it is not able to find the file. As suggested by you, I tried it by giving the path as com.company.sql.SQL. Still it did not found the file. The file is there inside the WEB-INF/classess/com/company/sql/.
    Thanks
    Amit

  • CSS3 Generator tool for generating css

    Hi,
    I found a new tool with code updated for IE9, CSS3 generator tool created in Flex,
    http://www.designscripting.com/webtools/css3/generator/
    Tool to generate
    Gradient
    Box Shadow
    Multicolumn
    Transition
    Transform
    Border
    CSS3 background
    Outline

    Hi Erik,
    Last year SAP's Ian Mayor showed us Online CSS3 Code Generator With a Simple Graphical Interface - EnjoyCSS "Enjoy CSS"  Design Studio Cookbook for Dashboard Users - ASUG BusinessObjects Conference
    Reaction was very positive from this session...I recommend trying it out.
    Tammy

  • What are the best tools for converting .shg files to HTML image maps?

    After trying several different ways to import our WinHelp
    project into RH HTML, I'm left with recreating the project in HTML.
    There are over 200 .shg files. What's the best tool for converting
    them? Is there a free program that converts them? Or is there a
    better way?
    Lacona

    Yes, I have not been able to import the .hlp file, which was
    my last posted question/issue. I have tried creating a Microsoft
    HTML layout in RH4 Word; it begins to compile and, somewhere in the
    process, just freezes. I've tried importing the .hlp file into RH
    HTML; same result. I've tried creating a new HTML project with the
    .hlp file; same result. If I could import the file, it'd be great.
    Otherwise, I'll need to recreate the entire project, which brings
    me to converting the .shg files. Any ideas?

  • Why jre makes unnecessary trips to server for getting properties file

    Hi,
    I'm using ResourceBundle.getBundle("myresource") method for loading the resourcebundle. I have placed my myresource.properties file in the jar which loaded, when UI getting loaded. But I could see from the java console(by entering 5), that java-plugin makes several trips to server, though I have the file in the client loaded jar file. How can I avoid it. Thanks for any help.
    The search goes as follows:
    Opening http://<servername>:7001/myresource.class
    Connecting http://<servername>:7001/myresource.class with no proxy
    Connecting http://<servername>:7001/myresource.class with cookie "JSESSIONID=APBnBCd2y8mJRQgGM9GqzXAT197iMQv7SaM9QORKg5mxvyp1PRKh!-1116598258"
    Opening http://<servername>:7001/myresource_en.class
    Connecting http://<servername>:7001/myresource_en.class with no proxy
    Connecting http://<servername>:7001/myresource_en.class with cookie "JSESSIONID=APBnBCd2y8mJRQgGM9GqzXAT197iMQv7SaM9QORKg5mxvyp1PRKh!-1116598258"
    Opening http://<servername>:7001/myresource_en.properties
    Connecting http://<servername>:7001/myresource_en.properties with no proxy
    Connecting http://<servername>:7001/myresource_en.properties with cookie "JSESSIONID=APBnBCd2y8mJRQgGM9GqzXAT197iMQv7SaM9QORKg5mxvyp1PRKh!-1116598258"
    Opening http://<servername>:7001/myresource_en_US.class
    Connecting http://<servername>:7001/myresource_en_US.class with no proxy
    Connecting http://<servername>:7001/myresource_en_US.class with cookie "JSESSIONID=APBnBCd2y8mJRQgGM9GqzXAT197iMQv7SaM9QORKg5mxvyp1PRKh!-1116598258"
    Thanks

    The reason the unnecessary trips are being made is that the ResourceBundle is using the default class loader to find the resource files. When a resource can't be found in the jar file, it will send a request to the server to see if it exists there. For the locale "en_US" and the bundle name "myresource", the ResourceBundle will attempt to load all of the following resources:
       myresource.class
       myresource.properties
       myresource_en.class
       myresource_en.properties
       myresource_en_US.class
       myresource_en_US.propertiesSince, you only had "myresource.properties" in your jar file, the ClassLoader attempted to find the other resources on the server.
    The following code can be used to create a resource bundle that uses a special classloader that only searches the included jar or zip files. This only works on 1.2 or greater JVMs.
       public ResourceBundle getResourceBundle(String bundleName) {
          ClassLoader rcl = null;
          Locale l = Locale.getDefault();
          ClassLoader cl = this.getClass().getClassLoader();
          if (cl instanceof java.net.URLClassLoader) {
             java.net.URLClassLoader ucl = (java.net.URLClassLoader)cl;
             URL[] urls = ucl.getURLs();
             ArrayList jarUrls = new ArrayList();
             for (int i=0; i<urls.length; i++) {
                String path = urls.getPath();
    if ((path.endsWith(".jar")) || (path.endsWith(".JAR")) ||
    (path.endsWith(".zip")) || (path.endsWith(".ZIP")))
    jarUrls.add(urls[i]);
    URL[] newUrls = new URL[jarUrls.size()];
    jarUrls.toArray(newUrls);
    rcl = java.net.URLClassLoader.newInstance(newUrls, null);
    } else {
    rcl = cl;
    DiagUtils.log("Resource bundle: " + bundleName + " initializing...");
    ResourceBundle rb = ResourceBundle.getBundle(bundleName, l, rcl);
    DiagUtils.log("Resource bundle: " + bundleName + " initialized.");
    return rb;
    The basic idea behind this code is to create a new URLClassLoader which only contains URLs that end with ".jar" or ".zip". The parent classloader must be set to null in the newInstance method.
    This will not work on the MSJVM because URLClassLoader was introduced with JDK 1.2.
    I hope this helps.
    -jonp

  • What is suitable method or Tool for Generate Reports or Inovice?

    Which Tool or Class is suitable for Generate Reports or Inovice?
    i hope to make some reports and invoice for my project,
    but i don't know what is suitable class to generate and show report and invoice.
    can you give me some advice?
    thanks!

    My report consists of one main repeating frame containing about 15 (detail) repeating frames. The main frame starts a new page each time the deposit (master record) changes and resets the physical page number at the top of the page. In the property palate, I have Source set to my deposit number and Maximum Records per Page set to 1 and this results in the start next deposit on a new page.
    I can't find any 'BREAK' command that would result in the action I need - and there seems to be nothing in the SRW_package or conditional formatting that might help.
    What I was hoping was that there would be a command somewhere that I have missed, that would cause a new report to be written each time the deposit (or master record) changes, rather than one huge report.
    Thanks for the suggestion
    Glenn

  • Tools for generating weblogic-cmp-rdbms-jar.xml files

    Hi All:
    I am using Weblogic 8.1 sp6 and MyEclipse 5.1.
    Does anybody knows if weblogic 8.1 provides a wizard or tool or some product that will help you generate the
    weblogic-cmp-rdbms-jar.xml and webloigc-ejb-jar.xml files if given the ejb-jar.xml, the home, remote and bean classes and the database server information.
    The reason, I am asking this is because if you're using Hibernate, there is a hibernate tool that will generate the hbm.xml and persistence classes given a particular database information.
    I was wondering if there is the same thing in ejb development with weblogic 8.1 sp6?
    Yours,
    Desperate

    I think u r some confusion with productID and SuppliedID . primary key of one column( productId ) can be a foreign key of other table colum( SuppliedID). but foreign key( SuppliedID) can not be a primary key of second table .u declared SuppliedId as primary key . so ur mapping is incorrect.

  • Tool for generating JNI Wrapper DLL

    Hi,
    In my project I need to access methods from third party C++ DLL using JNI.
    For that I will have to write a JNI Wrapper DLL.
    I am a java programmer and have no idea about C++ programming and creating DLLs.
    Is there any tool available that can generate wrapper DLL for me out of that third party DLL?
    Thanks
    -Pragati

    Hi
    I am working on JNI Implementaion.
    Please help me out in generating the DLL file using VC++.
    I am able to successfully compile the file and able to generate the lib files but it is not generating the DLL file.
    Can you please check this once.
    Displaying the following message.
    --------------------Configuration: ikmp2lib - Win32 Release--------------------
    Compiling...
    ikmp2Lib1.c
    IKMP_lib.c
    Linking...
    Microsoft (R) Incremental Linker Version 6.00.8168
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
    kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib D:\DecevalJNI\ikmp2lib\Release\ikmp2Lib1.obj D:\DecevalJNI\ikmp2lib\Release\IKMP_lib.obj D:\DecevalJNI\ikmp2
    lib\Release\IKMP_callback.obj c:\forte\install\lib\qqsm.lib c:\forte\install\lib\qqfo.lib c:\forte\install\lib\qqdo.lib c:\forte\install\lib\qqcm.lib c:\forte\install\lib\qqkn.lib kmpapi32.lib OLDNAMES.LIB OLDNAMES.LIB KERNEL32.LIB USER32.LIB GDI32.
    LIB WINSPOOL.LIB COMDLG32.LIB SHELL32.LIB WSOCK32.LIB NETAPI32.LIB WINMM.LIB ADVAPI32.LIB
    Creating library ikmp2Lib1.lib and object ikmp2Lib1.exp
    ikmp2lib.dll - 0 error(s), 0 warning(s)
    Thanks and Regards
    Chatrapathi

  • Script for generating XML file ... problem with null values

    Greetings everyone,
    i come here with a question that troubles me for some time now. I have a script which i run from SQLPLUS every now and then to generate an XML file.
    Problem is that data which needs to be in XML is not allways <> NULL and i need to hide those tags that are empty </tag>.
    I will post below my script and if you could help me with it it would be really great!
    Thanks for reading!
    set long 20000000
    set long 20000000
    set linesize 32000
    SET ECHO OFF
    SET TRIMSPOOL on
    SET HEADING OFF
    SET PAGESIZE 50000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET TERMOUT OFF
    spool C:\test.xml
    set serveroutput on
    begin
      dbms_output.put_line('<?xml version="1.0" encoding="utf-8" ?>');
    end;
    SELECT
    XMLELEMENT("ReportRoot",XMLATTRIBUTES('http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi", 'http://www.w3.org/2001/XMLSchema' as "xmlns:xsd" , '1.0' as "Version",sysdate as "CreationDate",to_char(sysdate,'hh:mm:ss') as "CreationTime",'1524544845' as "id"),
    XMLELEMENT("Porocila",XMLELEMENT("JOLY",(SELECT XMLAGG (XMLELEMENT("RefNrReport",replace('SON'||to_char(ref_ST,'00000'),' ',''))) from access_table_2 where ref_ST = &1),
    XMLELEMENT("ReportDate",sysdate),XMLELEMENT("Labeling",'545254450'),
    (SELECT XMLAGG     (XMLELEMENT("Reportf",
                                                                     XMLELEMENT("access",access),
                                                                     XMLELEMENT("date",date),
                                                                     XMLELEMENT("datep",datep),
                                                                     XMLELEMENT("ModificationInfo",'M'),XMLELEMENT("ModificationReason",modireason)))
                                                 from v_xml_test where id_dok = &1 and ind_print = '1'))))
      .extract('/*')
      from dual
         spool off
    exitNow lets pretend that XMLELEMENT("datep",datep), is sometimes NULL and i do not want to display it.

    may be
    with t as
    select sysdate datep from dual union all
    select null datep from dual
    select xmlagg(xmlelement("Reportf",
                             case when datep is not null then XMLELEMENT("datep", datep)
                             end
      from t

Maybe you are looking for