Translate field name using auto-generated xlf resource for a view
Hi,
as i already know a resource file (xlf), is automatically generated for each view, message pool, etc. But textAccessor seems to work only for messages in the message pool. What if i want to translate the name of a field in a view? Do i have to repeat it's name and translation in the message pool in order to show the field's name correctly translated?
The problem arose when i was trying to display an error message bound to an input field trying to append the field's name in the current language.
Greetings
Nicolás
Hi Nicolas,
For your WD views you are getting separate XLF files wich contains localizable text. So, if you have view with name ViewCV you will get ViewCV.wdview.xlf. Copy it with name ViewCV.wdview_de.xlf (german example), open in NWDS and change all UI text elements.
Best regards, Maksim Rashchynski.
Similar Messages
-
How to translate field names in SAP R/3 (SE63)?
Hi gurus,
I actually have an unsolved with my translation job in SAP R/3. It's urgent and I just can't find a solution for that:
I'm using the translation menu with transaction SE63.
Though I have translated the object types domain (DOM), data elements (DTEL) and table descriptions (TABT), I get no translated field name (e.g. in selection screens for summary tables).
Which object type do I have to translate? Or is there another SAP transaction or a table where I can translate the field names?
Thank you for answering!
Best regards
T. DuongDear T. Duong,
In SE63 -> Repository Texts.
Also, visit Note 585116.
WebAs Support Package 25 converts the SAP translation environment (SE63) to a Unicode-enabled version for short text translation. This conversion requires some system adjustments before translation can continue.
If you never translated in your system before Support Package 25 was imported, you can simply ignore this note because your system does not contain any translation data that needs converting.
Please download the current documentation attached to this note:
Choose file UC-SE63_DE.PDF or UC-SE63_EN.PDF if you want to read the end user documentation.
Choose file UC-TransAdmin-DE.PDF or UC-TransAdmin-EN.PDF if you want to learn more about translation system setup and coordination.
If your system does not yet run on a Unicode basis, you must make the
technical adjustments described on the first page of the documentation.
If yours is already a Unicode system, create an OSS message and assign it to the component BC-DOC-TTL.
Should you have to translate from a Business Warehouse (BW) environment, please refer to the Quick Guide to generating worklists in transaction SLWB attached to this note (files QuickGuideTransAdmin-DE.PDF or QuickGuideTransAdmin-EN.PDF).
Regards,
Naveen. -
LSMW error: Field name '' used more than once in file"
Hi,
I am doing a sample vendor master load with LSMW but while reading data I am getting an error
"Field name '' used more than once in file
'C:\Users\sdurgia\Desktop\LSMW\MM\vendor_master_te
s'."
Not getting proper reason.Can you please guide?
Urgent please help.
BR
SumeetHi,
FYI.
LIFNR
BUKRS
EKORG
KTOKK
NAME1
NAME2
SORT1
SORT2
STREET
HOUSE_NUM1
STR_SUPPL1
STR_SUPPL2
CITY2
CITY1
REGION
POST_CODE1
LAND1
TAXJURCODE
PFACH
PSTL2
REMARK
TEL_NUMBER
TEL_EXTENS
MOB_NUMBER
FAX_NUMBER
FAX_EXTENS
SMTP_ADDR
DEFLT_COMM
KUNNR
VBUND
KONZS
BEGRU
STCD1
STCD2
STCD3
STCD4
SCACD
SFRGR
DLGRP
BANKS
BANKL
BANKN
KOINH
BKONT
LNRZA
XZEMP
AKONT
ZUAWA
FDGRV
BEGRU1
QSSKZ
QSZNR
QSZDT
ALKTN
ZTERM
TOGRU
REPRF
KULTG
ZWELS
ZAHLS
LNRZB
HBKID
TOGRR
EIKTO
WAERS
ZTERM1
INCO1
INCO2
EIKTO1
WEBRE
XERSY
XERSR
VSBED
NAMEK
J_1IPANO
QLAND
LFBW-QSREC
XVERR
FYTYP
STCDT
BKREF
4000048674
2550
M004
DHL EXPRESS (USA) INC
PAY
4000069273
PO BOX 4723
HOUSTON
TX
US
77210-4723
CONTAC: IRMA MURILLO
800-225-5345
281-874-0678
[email protected]
94-3380425
US
11000536
999999
ACCOUNT HOLDER
221300
1
AP VEND
Z011
X
T
B
USD
Z011 -
I would like to set my system network proxy settings to those, Firefox chose. Firefox is configured to use "Auto-detect proxy settings for this network" and this works fine. How can I read out the settings Firefox chose, so I can adapt these system?
Hello Richard,
Download MozBackup and make a backup of your bookmarks and passwords. Uninstall firefox and remove ALL folders with the name "Firefox".
Install Firefox and restore your bookmarks and passwords. Now you should have a fresh install so you have to make all settings again. -
Problem in using Auto-generated Table in Program
Hi experts,
I'm using some auto-generated table in my program. But the Problem is program is not activated due to non-existance of any type of table or structure or view of that Table type in the development server. i.e. table name in development is FMFMOADE12200014 and same in Production is FMFMOAPE14000018.
How can I solve this problem to active the program and transport it?
Thnaks in advance.
GoutamHi Friend ,
If an Auto-generated tables inside your program ,then you should not use that table directly as internal table type .
In that case you have used the Dynamic structure in your program .
tips is you should check first the table is there in the database through your programing using the standard function module for checking the table exsisting , then use the field symbols for dynmaic creating of program strucuture ,including field creation to tat strcuture . this will make your program more lines in that case you can write subroutine for creating the fields and adding inside the dynamice strucure .
simple example please see this link : [http://www.sap-img.com/ab030.htm]
becasuse we do have the same auto-generating table concept in Finance base on the Operating cencern out table name & fields inside will be changing ,Our program has to support world wide Rollouts . so we used dynamic structuring inside Our program .
Regards, -
Using oracle db sequence for auto generating of PKs for CMP entity beans
Hi,
I have read quite a number of threads about (auto) generation of keys for primary keys for the CMP entity beans.
My requirement is I am migrating an application deployed on Weblogic to oc4j. The application is using cmp entity beans with auto key generation using a sequence in the Oracle db. This is specified in weblogic-cmp-rdbms-jar.xml file like below:
<automatic-key-generation>
<generator-type>Oracle</generator-type>
<generator-name>REPUSER.DEPT_REPORT_SEQ</generator-name>
<key-cache-size>1</key-cache-size>
</automatic-key-generation>
In the ejb-jar.xml, it is specified as:
<prim-key-class>java.lang.Integer</prim-key-class>
<primkey-field>id</primkey-field>
Now, I need to migrate this to oc4j. Can somebody suggest me options and clarify my questions kindly?
1) I have read articles that say that in the ejb-jar.xml, we need to specify <prim-key-class>java.lang.Object</prim-key-class> and this will create a column called 'autoid' in the respective entity table in the Oracle db.
- How can I use this to assign the value to my primary field, say, id?
2) Now, with the latest oc4j, can I use Oracle database sequence as the key generator for the values of the PKs just by specifying in the xml descriptor ejb-jar.xml?
2.a) If yes, is there any article that explains with the code?
2.b) If no, what are the alternatives I have?
I have read many discussions that say that we can create a stateless session bean that can lookup the database sequence using simple JDBC call to return the nextval of the sequence. The SSB should be called in the ejbCreate() of the entity bean.
My related question is, what is recommended for oc4j? What are limitations of the various options for the latest oc4j available?
How should I go about deploying this kind of ejbs in oc4j?
Any help and pointers are welcome. Please help.
Thanks a lot.
VadiHello ,
Instead of exposing a get/set method for each arribute of your bean (corresponding to database table) expose only one object.
For example
public class CustomerBean implements javax.ejb.EntityBean{
private CustomerVO objCustomer;
private String customerName;
private String customerMail;
private String customerType;
public CustomerVO getCustomer(){
return this.objCustomer;
public void setCustomer(CustomerVO objCustomer){
this.objCustomer = objCustomer;
public void ejbStore(){
customerName = objCustomer.getName();
customerMail = objCustomer.getMail();
customerType = objCustomer.getType();
HTH
VJ -
Substitution Variable for Field Name - Use in LOV Defintion
Hi,
I need to build an application with a lrage number of fields based on an LOV (Select List). All the LOVs will be sourced from a single table:
LOOKUP_TYPE VARCHAR2(30)
LOOKUP_CODE VARCHAR2(30)
MEANING VARCHAR2(100)
Each field will therefore need a simple LOV of:
select lookup_code, meaning
from
app_lookups
where
lookup_type = 'LOOKUP_TYPE_NAME'
order by 2Not complicated but it will take a long time due to the number of fields (across many pages).
I would like to be able to have the same code for all fields. Something like:
select lookup_code, meaning
from
app_lookups
where
lookup_type = V('THIS_FIELDS_NAME')
order by 2With this code I could simply copy fields around and rename them - the LOVs would automatiically select the right values by using the Field Name to find the correct codes.
A long shot - but worth asking.
Any thoughts?
Thanks,
MartinHi Andy,
Yes I know about Shared Component LOVs but this does not address my issue. I am also not restricting based on a page item value. I just want to restrict dynamically based on the field name.
On a page I will have at least 30 items, each with their own LOV. I can define an LOV for each item (either directly or though shared components) but each needs to be individually coded (where lookup_type = 'XXXX' with XXXX being different for every field).
If possible I would like to dynamically use the field name to select the group of lookup codes that I want - all fields could then have the same code (or potentially the same Shared Component LOV).
Not a major issue, but it would make my life a lot easier!!
Martin -
Tables & field names used in PS?
Hi ALL
I need all the Tables and fields names that are used in PS.If anyone provide it then it will be of great help.
Thanks in advanceHi,
refer below link
https://forums.sdn.sap.com/click.jspa?searchID=26790042&messageID=7548930
Regards,
Sandeep -
Auto generate CRUD packages for tables
Hi there
Is there any tool which can auto generate select/insert/update/delete packaged procedures in PL/SQL? I know that JPublisher can then create Java wrapper classes based on these packages, but it seems that the first step wouln't be that hard to implement. In fact, maybe I'll od it myself if nobody did it so far...Hi SQL nevigator has this fecility. you can get the crud matrix using following menu option.
EDIT -> Insert ->Crud MAtrix
Regards -
TOC using auto-generate TOC function in RH - wierd XREFs
I am using TSC2 on an XP machine.
I linked a FM file (not a book) and then used TOOLS, Auto-Create TOC. It does that just fine... but there are some topics named in the TOC as follows:
XREF_1234_1.0_Name of Topic
When I look at the project manager, although these are not topics, they are listed below the topics (sort of greyed out)
When I go to that topic, there is a little flag icon which says its a bookmark. If I delete the flag icon then the topic names correctly... what am I deleting? What are those bookmarks? Is that a setting I can change somewhere?
TIA,
AdrianaHi Adriana.
These bookmarks are being created because of something in your FM file. They could be bookmarks or some other element. Deleting them won't delete any content apart from the TOC entry so you are OK there. You can prevent having these by either removing the element from the FM file or manually creating the TOC. If the former, I can't say for sure what causes them without knowing more about your FM file.
Read the RoboColum(n). -
Installing components using auto-generated plans from Jython CLI
Hi All,
for specific reasons, we want to install a set of components with fixed signatures from Jython CLI, but without appropriate plans. In fact, we want to simulate the behavior that we know from Plugin UI, i.e. linking directly to an installer of a component.
We figured the following steps are necessary within CLI code:
1) For the targeted component generate an appropriate install plan using 'pdb.p.genplan' command. This unfortunately does not create the plan within the system, but rather has to be redirected to a file.
2) Import the previously generated plan using 'pdb.p.ci' command from this file.
3) run the plan using fixed signature to install component
4) eventually remove the plan.
Now, the problem is, that step 1) generates a plan targeted for the folder '/system/autogen', but step 2) fails on importing the plan there, because the folder is owned by the system plugin. So we would end up parsing the XML file, replacing path and so on .... We definately don't want to reinvent the wheel, here.
Any help appreciated!!!
Regards,
FrankFirst of all, thanks for the super-fast reply.
We got around with parsing using the xml.dom.minidom package in Python. Three more lines and poorer performance, but nothing you can measure against the CLI performance itself ;-)
I like the idea of using a template plan, as you suggested, because the generated ones bear another problem: We have to pipe in the plan parameters, which we don't know for sure, except for one, that is the 'markOnly' flag. So this might get us around piping in stupid dummy params.
How exactly do you wait for the plan completion? We use 'pe.p.lo', but don't know how to figure out, if it was successful or not, at all. No return code this time, and stdout isn't filled in markOnly=true mode.
Regards,
Frank -
Problem using Auto Generated Task Form with Autogenerated ADF controls
Sorry bothering you again, but I'm in troubles again.
I'm using an autogenerated page for a human task with adf controls. Generates fine, it's deployed in App Server and runs Ok, buth when you try to see the form, you get this error:
500 Internal Server Error
Servlet error: Security sensitive exception occured. Please consult application log for details.
And in the log, I got:
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Class not found:oracle.classloader.util.AnnotatedNoClassDefFoundError
Dependet class: oracle.bpel.services.workflow.adfforms.BPELWFDCDef
Loader: oracle.bpel.common:10.1.3
Origen : /C:/programs/com/oracle/SOASuite/10.1.3.1/bpel/system/services/lib/bpm-services.jar
Configuration: <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml
Class can be found in:
1. Code origen: /C:/programs/com/oracle/SOASuite/10.1.3.1/BC4J/jlib/adfui.jar (from <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml)
Este origen de código está disponible en el cargador adf.oracle.domain:10.1.3.
Este origen de código está disponible en el cargador adf.generic.domain:10.1.3.
2. Origen de Código: /C:/programs/com/oracle/SOASuite/10.1.3.1/BC4J/lib/adfm.jar (from <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml)
Este origen de código está disponible en el cargador adf.oracle.domain:10.1.3.
Este origen de código está disponible en el cargador adf.generic.domain:10.1.3.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2264)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)
at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:132)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
at oracle.adf.model.BindingContext.get(BindingContext.java:457)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:128)
at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.<init>(JUMethodIteratorDef.java:138)
at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:93)
at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:84)
at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
at oracle.adf.model.BindingContext.get(BindingContext.java:483)
at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:261)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:165)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
There is something I must add?See if this helps -
https://forums.oracle.com/thread/2460140 -
Pre populate a field to use later as a filter for [ME]?
I've got a list containing data records which apply to different people. I'd like to create a filter that compares [ME] with a field in the list so when each user logs in, they'll only see the records assigned to them. What do i need to put
in the field to accomplish this?Hi,
If you want to use function [ME] to filter a column in a custom list view, that column must be a "Person or Group" type column.
If this column value is dynamically assigned to specified people, we need to type and resolve the people manually,
If this column value is equal to "Created By" or "Modified By" value, we can create a workflow to auto update the custom this column value as Created by or Modified by value.
Then we can filter this column which value equals to [ME] in a custom list view, then create a custom web page and add this list view web part with filtered by [ME] in this web page, users should see the record items assigned to them in this page.
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Daniel Yang
TechNet Community Support -
How to change the auto generated thumbnail images for a clip?
When iMovie created all the thumbnails for my clips it got most of them right, but on some of them it has choosen a frame that doens't really represent that clip.
Is there any way to change the poster frame for each clip?Hi,
Afte uploaded record it create internal number (Personal ID), and it get stored in table MESSTAB. And that internal number is stored in field MESSTAB-MSGV1. Use this MESSTAB-MSGV1 field for the further use.
Hope, it will help you.
Thanks & Regads,
Poonam. -
Using RSLs generates unwanted dialog for other Flex developers
I posted earlier about this, but I can be more specific now
about the problem. Other users with the debug version of Flash see
a dialog asking 'Where is the debugger of host application
running?' EVERY time an RSL is linked at runtime. So if I have two
libraries being referenced by an application, the user sees it
twice.
I have checked very thoroughly to make sure I am using the
release version of the application. I am using FlexBuilder, and can
see no way of disabling debug information for a library project.
This is a shame, because the idea of RSLs is great.
Is there any way of avoiding this dialog by usine command
line compilation, or do I just have to abandon RSLs?Modules do not have a preloader like an application does. You can track the progress of the module being loaded but not the progress of its RSLs. If you would like to have this feature please create an enhancement request in the JIRA bug database. Thanks.
-Darrell
Maybe you are looking for
-
Is There A Fix For The Looping PC Suite 6.84?
I can no longer use my Nokia 6280 with my PC, since I upgraded to the latest build of PC Suite. I get a looping that completely disables my computer that involves the Microsoft User-Mode Framework. Here is my configuration - Microsoft Windows XP Buil
-
Remap volume and eject keys on aluminum keyboard?
Is there a way to remap the volume, mute and eject keys on the Apple (wired) aluminum keyboard? I'd rather have them above the keypad if that's possible - like they were on previous Apple keyboards.
-
How do i find my iphone if its lost?, how do i find my iphone if its lost?
how do i find my iphone if its lost?
-
Moden/Router in other room
I had another router and it went out last week; so bought new one, WRT54G. My modem is actully located in the den but my desktop is in the bedroom. I moved the modem to the BR so I could connect the router up and it's working fine here; BUT I want
-
I use Command (⌘)-Shift-4 to grab screenshots of diagrams to make flashcards with on a daily basis. But now my screenshots have stopped going to my clipboard - and they don't paste into my flashcards. Dropbox popped up and asked me if I wanted to use