Currency input verifier for multilanguage support
Hello,
i must build a multilanguage Java GUI with currency input fields. How can i create a language independed currency input verifier?
Or exist a language independed Java Swing curreny component cotrol?
Can anybody help me with a code example or link tip?
Thank you and best regards
Tom
If you want to use multi langauge you could use internationalization in java.
http://java.sun.com/docs/books/tutorial/i18n/index.html
Similar Messages
-
Font for multilanguage support
Hi,
How can I use embed fonts for multi language support. If i set embed fonts = false; then the text input is taking any language but i need to use embed fonts as well as need to support any language
How can I acheive that.
Please give me suggesstionIf you want to use multi langauge you could use internationalization in java.
http://java.sun.com/docs/books/tutorial/i18n/index.html -
Currency input data for Vendor Master
Hi
When I make a PO (me21n), the Currency data is missing. From where do we get the Currency data - from Vendor Master or the Material Master ?
Thanks in advance
VaideeDear,
You got it from Vendor Master.
Enter XK01 - Create Vendor master - > Purchasing view you can maintain currency for vendor master.
For check vendor master - XK03.
You can change it with XK02.
Regards,
Mahesh Wagh. -
Multilanguage support in jsp reports (web layout) and in jsp general
Hi!
We have to develop multilingual applications, so we decide to use Oracle TranslationHub for translate our reports. This is restricted to paper layout at the moment.
1.
Are there plans to support jsp reports layouts through TranslationHub?
2.
I have played around whith some reports jsp tags (rw:), but it seems that it cannot reference boilerplates. If I could read the value from a paper layout boilerplate this would be a temporary solution, as all of our actual jsp reports contains paper layout as well and this I can translate with Oracle TranslationHub.
3.
Do you know any standard implementation for multilanguage support for jsp like resource files? Any hint to ducumentation would be helpful.
With kind regards
TorstenCheck out this "pager" taglib:
http://jsptags.com/tags/navigation/pager/index.jsp
Also this one:
http://www.servletsuite.com/servlets/pagertag.htm -
Multilanguage support for xMAM ..?
Hi guys,
I am trying to make the activity codes of xMAM v3 to be transferred to the device in language different than EN. What I've done so far:
- enabled the multilanguage support in customizing of MAM (spro)
- put the communication and login language of my user to the desired one (su01)
- logged in to the device using this language
- create an order with the corresponding language (stupid idea anyway, since the codes are got from other SyncBos)
I am totally out of ideas how can get from backend the strings in language different than EN. It is not about only activity codes/groups in MAM17 and MAM18, but in general.
Thanks in advance!
Best Regards,
LaloHi Lalo,
well, I am still not sure what your problem is - but....
The selection of the Code Group for example happens in:
BAPI_CODEGROUP_CODE_GETLIST
Well, this method is called in ALM_ME_CODEGRP_GETDETAIL and there you find the line
langu = sy-langu
so this defines the language.
Perhaps this helps you to solve your issue and understand the process a little? So you are right - it is the GETDETAIL handler as such - but the language in there is defined by sy-language as you see. Change the language and all should be fine.
Regards,
Oliver
Edited by: Oliver Kaluscha on Jan 30, 2008 2:19 PM
oh - just to mention - MAM017 and so on are running under the RFC user in the backend - so the language of the current user on the PDA will not really help here I think.
Regards,
Oliver -
I tried to update, but my apple ID does not allowing me , always giving me 'Your device or computer could not be verified. Contact support for assistance '. I changed my apple ID passwords, still same. help me please
Back up all data before proceeding.
Step 1
Triple-click anywhere in the line below on this page to select it:
/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
Right-click or control-click the line and select
Services ▹ Reveal in Finder (or just Reveal)
from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Restart the computer and test.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
Log out, log back in, and test. If there's no improvement, continue.
Step 2
Reset your computer’s PRAM. -
HT2589 Your device or computer could not be verified. Contact support for assistance.
When trying to update two apps on my MacBook Pro, my Apple ID is being rejected and I'm getting this message: Your device or computer could not be verified. Contact support for assistance.
Anyone have a solution?Quit the App Store if it's open.
Open the Finder. From the Finder menu bar top of your screen click Go > Go to Folder
Type this exactly as you see it here:
/Library/Preferences/SystemConfiguration
Click Go
Move the NetworkInterfaces.plist file from the SystemConfiguation folder to the Trash.
Try the App Store. -
My itunes account is attached to an email account that I no longer have and cannot retrieve. I have been having trouble with purchases made to my itunes account and want to view my purchases. The support center said that they would email me the purchase history. However, I don't have that email address. When I go to change my email address to my current one, I get a message in red saying that "the email address is already verified for another Apple I.D." I'm sure it is one of my devices as we have 4 ipods and 2 iphones. How can I get my account to use my current email address? If one of my devices was registered using my current email address as it apparently was, do I need to figure out which device that is and remove the email address from that account? I'm so confused. I just want ALL my devices to use my current email address. I need to replace the old email address with my current one. How do I do that?
thanks for any assistance.Your best bet would be to try resetting the password to the account that you would like to use via iForgot
Once you log in to that account change the email address to anything, it can even be fake its just a placeholder
After you do that you will be free to change your old email address on your appleID to the new one that is now free to be used as it is no longer attached to the other account. -
How to Block Account member in input reporting for some users?
Hi experts, i need to know if is possible to block input of values for some Users in the Account Dimension so that some users can input value in the report but other user cant do it.
I try to do this from "member access profile" but this option only allow you to define access right for one specifict parent o member.
I mean, is posible to asigned to Account Dimension a Propertie type "OWNER" like ENTITY?
For example: one user must to input value for the Account member "CASH", but other user dont, however i have to show the same input reporting for both users.
I hope understand the question, im sorry about my english
thank you in advance
Ignacio VazquezI would think you could do one of the following:
Either set account as a secured dimension. You would then define security profiles for all account groups and assign those to your users / teams as appropriate. Would take a while to setup initially, but if your users don't change that much it shouldn't be too difficult to manage once it's done.
Setup different input templates that only showed the accounts you wanted each group of users to see. Put the templates in different site folders and assign access to those sites as required. users would then only have access to open the template applicable to them. Would require that you basically make duplicate copies or your current template, modify and save to different site folders which could become a pain if the template requires changes (since you would now have to make the same change multiple times).
Setup a macro in the current template so that you need to enter a password to unlock the send commands for the respective accounts. I don't know if it can be setup to support multiple passwords - assuming it can, password 1 would unlock all accounts, password 2 would only unlock CASH accounts, password 3 would only unlock LIABILITY accounts, etc. You then distribute the passwords to the users as appropriate.
Hope that helps. -
Unable to enter Input value for an ICD
Hi All,
I have created an element XXX which has two input values "Pay Value" and "Class". The class has the values 'A','B','C','D'. I have created a plan and set up the rate In the calculation method I have chosen "No Standard values used".
Now when I try to assign this ICD plan to the user in the Miscellaneous plan I am not able to enter the car class. Can someone help me with this.
Thanks
Shekar.Hi Shekar
I find the ICD setup very 'picky'! If you get one thing wrong, it doesn't work. I have detailed below the steps I usually advise people to tek. Check your setup and see if this helps.
1. Define Plan Type, Compensation Category = Others.
2. Define Plan. Link to Plan Type. Plan Usage = May not be in program. On Not in program Tab - define sequence, currency, enrollment rate (per pay period?), activity reference period (Monthly). Your settings may need to be different. On Plan details tab, enter plan years.
3. Plan enrollment requirements. On the general tab, plan sub tab, make sure the method = EXPLICIT. this allows the user to enter an input value for the ICD. THIS MAY WELL BE THE SOURCE OF YOUR PROBLEM!
Make sure the CERTIFICATION region is UNTICKED. This can also cause ICDs not to work.
ALLOWS UNRESTRICTED ENROLLMENT must be TICKED. Otherwise there is no eligibility to the ICD.
On the rates subregion, make sure the run strt date is set to ENTERABLE.
4. standard Rates form. Make sure the ACTIVITY TYPE and TAX TYPE are entered. Select the ELEMENT and the INPUT VALUE and TICK the ELEMENT AND INPUT VALUE REQUIRED field.
On the processing Information tab - TICK ASSIGN ON ENROLMENT, DISPLAY ON ENROLLMENT and PROCESS EACH PAY PERIOD. Enter PER PAY PERIOD AMOUNT in VALUE PASSED TO PAYROLL and OTHER in COMPENSATION CATEGORY.
Let me know if this works!
Regards
Tim -
Multilanguage Support at data level
Hi,
I have seen that BO provides a tool (Trasnlation manager) to provide multilanguage support at metadata kevel (universes and reports), What about the contents. For instance: Consider that we have a dimensional month table with month names for ecah language in different columns. How to achieve that BO displays the month name according for user local language preferences?
ThanksHi Stratos,
Thanks for your suggestion. Its fits well for a table with following structure
Product ID LOCALE Product_Name
DC1212 en_GB Digital camera Appareil photo
DC1212 fr_FR numérique
DC1212 de_DE Digitalkamera 606 Universe Designer
DC1212 es_ES Cámaras digitales
SELECT Product_Name
FROM PRODUCT
WHERE PRODUCT.LOCALE = @Variable('PREFERRED_VIEWING_LO
CALE')
At query time the user replaces the variable by the correct locale value and Web Intelligence retrieves the information in that locale.
But what happens if instead of a LOCALE column I have a table with a diferent column for each language? Could be possible to apply some workaround?
Thanks -
Error while setting input parameter for dynamic process - GP
Hi All,
I am using CAF 7.1 GP.
Here I have to start a process dynamically and it is working fine.
But, when I tried to set value for input parameter of this process by
IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
params.setAttributeValue("Val","MyValue");
( <b>Val</b> is the name of grouped input parameter ), it is giving
com.sap.caf.eu.gp.exception.api.GPInvocationException: Structure with name input and namespace http://wwww.sap.com/nw/eup/gp does not have an attribute with name Val and namespace null.
But no where I have mentioned http://wwww.sap.com/nw/eup/gp.
I dont have any structures in my input and output.
Here is my full code
try
IGPProcess process = null;
IUser tl_user =UMFactory.getUserFactory().getUserByLogonID("fahad");
IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(tl_user);//, user.getLocale());
process =GPProcessFactory.getDesigntimeManager().getActiveTemplate("F5D76840A56F11DC983B001966243CAD",userContext);
wdComponentAPI.getMessageManager().reportSuccess("Title of process is "+process.getTitle());
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
int rolenum = process.getRoleInfoCount();
wdComponentAPI.getMessageManager().reportSuccess("Number is "+rolenum);
IGPProcessRoleInstance roleInstance=null;
IUser ho_User=null;
for (int i = 0; i < rolenum; i++)
wdComponentAPI.getMessageManager().reportWarning("Role Text is "process.getRoleInfo(i).getText()" Role Name is "+process.getRoleInfo(i).getRoleName());
if(i==1)
ho_User = UMFactory.getUserFactory().getUserByLogonID("poornendu");
roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
roleInstance.addRuntimeDefinedUser(ho_User);
roles.addProcessRoleInstance(roleInstance);
if(i==2)
ho_User = UMFactory.getUserFactory().getUserByLogonID("fahad");
roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
roleInstance.addUser(ho_User);
roles.addProcessRoleInstance(roleInstance);
wdComponentAPI.getMessageManager().reportSuccess(""+process.getStructure().getItemCount());
IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
wdComponentAPI.getMessageManager().reportSuccess("Title of process is "+process.getTitle());
<b>params.setAttributeValue("Val","MyValue");</b>
String pName=wdContext.currentContextElement().getProcessName();
IGPProcessInstance prInstance = rtm.startProcess(process,pName,"This process has been started using the GP public API",tl_user,roles,params,tl_user);
catch(Exception e)
wdComponentAPI.getMessageManager().reportException(""+e);
Can anyone help me on this.
Thanks,
Fahad HamsaHi Experts,
I solved it myself.
The problem was, I have to make the input parameter as exposed. Thats all
Anyway, thanks for the support.
Regards,
Fahad Hamsa -
Checking for Patch Requirements for Extended Support of 11.5.10
Hello
I am trying to check for a client that they are meeting the minimum requirements to remain on Extended Support. They use 11.5.10.2 and run that on a 11.2.0.3 db
The method I am using is:
1.
Check to see what is Shared and Licensed via OAM.
This will tell me the products that we must licensed and shared and which we must ensure we meet the minimum
2.
Go to Patch Requirements for Extended Support of Oracle E-Business Suite Release 11.5.10 [ID 883202.1]
and ensure that we are meeting these.
Seems very tedious ... (over 60 products to check) is there another way?
DAPl see if this MOS Doc can help
How to Verify the Versions for the 11.5.10 Minimum Baseline Requirement (Note 883202.1) [ID 1271621.1]
Pl also see
https://blogs.oracle.com/stevenChan/entry/ebs_11i_patch_wizard_extended_support_baseline
HTH
Srini -
Error: No batch input data for screen SAPMZVKDIALOGDEMO 1000 Help Needed
Hi Experts!
I wrote a program for BDC. I am attaching the code herewith. When i am trying to process the session in SM35, i was getting the error: No batch input data for screen SAPMZVKDIALOGDEMO 1000. Can anyone please tell me, what am i doing wrong.
Thanks.
REPORT zvkbdcdemo01.
DATA: bdc_tab LIKE bdcdata OCCURS 6 WITH HEADER LINE.
DATA: session LIKE apqi-groupid VALUE 'Session #1'.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
* DEST = FILLER8
group = session
* HOLDDATE = FILLER8
* KEEP = FILLER1
user = sy-uname
* RECORD = FILLER1
* PROG = SY-CPROG
* IMPORTING
* QID =
* EXCEPTIONS
* CLIENT_INVALID = 1
* DESTINATION_INVALID = 2
* GROUP_INVALID = 3
* GROUP_IS_LOCKED = 4
* HOLDDATE_INVALID = 5
* INTERNAL_ERROR = 6
* QUEUE_ERROR = 7
* RUNNING = 8
* SYSTEM_LOCK_ERROR = 9
* USER_INVALID = 10
* OTHERS = 11
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM fill_bdc_tab.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = 'ZVKTR001'
* POST_LOCAL = NOVBLOCAL
* PRINTING = NOPRINT
* SIMUBATCH = ' '
* CTUPARAMS = ' '
TABLES
dynprotab = bdc_tab
* EXCEPTIONS
* INTERNAL_ERROR = 1
* NOT_OPEN = 2
* QUEUE_ERROR = 3
* TCODE_INVALID = 4
* PRINTING_INVALID = 5
* POSTING_INVALID = 6
* OTHERS = 7
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'BDC_CLOSE_GROUP'
* EXCEPTIONS
* NOT_OPEN = 1
* QUEUE_ERROR = 2
* OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form fill_bdc_tab
* text
FORM fill_bdc_tab.
REFRESH bdc_tab.
PERFORM populate_bdc_tab USING:
'1' 'SAPMZVKDIALOGDEMO' '1000',
' ' 'SFLIGHT-CARRID' 'LH',
' ' 'SFLIGHT-CONNID' '0400',
' ' 'SFLIGHT-FLDATE' '07/07/2007',
' ' 'SFLIGHT-PRICE' '1982',
' ' 'SFLIGHT-CURRENCY' 'EUR',
' ' 'SFLIGHT-PLANETYPE' 'A310-300',
' ' 'BDC_OKCODE' 'CREA'.
ENDFORM. "fill_bdc_tab
*& Form POPULATE_BDC_TAB
* text
* -->FLAG text
* -->VAR1 text
* -->VAR2 text
FORM populate_bdc_tab USING flag var1 var2.
CLEAR bdc_tab.
IF flag = '1'.
bdc_tab-program = var1.
bdc_tab-dynpro = var2.
bdc_tab-dynbegin = 'X'.
ELSE.
bdc_tab-fnam = var1.
bdc_tab-fval = var2.
ENDIF.
APPEND bdc_tab.
ENDFORM. "POPULATE_BDC_TABThis normally means that you are trying to insert data on a screen for which a particular field is not available.
So check screen number, screen fields and report name. In case of screen fields, use F1, F9 (technical information), and check the name of the screen field for batch processing (all the way at th bottom of the pop-up). This can differ from actual name of the screen field.
If all this is ok, try to create a recording of the transaction with SM37. -
Issue with showing input forms for update SQL statement
Hi guys - I'm currently doing a college project and I'm not overly experienced in the area of Java/JSP but I'm having an issue with a project. I have a JSP project inserting, viewing and deleting rows from a database but having an issue getting the update/modify function working in my project.
If I hardcode values into my variables and launch the project it updates fine, but I believe theres an issue with how I'm calling the existing rows. I wish for the user to be able to view the rows from the database and modify as they wish. Once they submit the modifications, I want the row to be updated. Can anyone see where the problem might exist in my code below? I hope it's something small, but I'm not able to fix it at the moment and would apreciate anyone's help! :)
The problem I'm facing at the moment is the input boxes for displaying the current rows from the database are not even showing up..
ModifyNode.jsp:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="suaspackage.NodeManager" %>
<jsp:useBean id="AddNode" scope="session" class="suaspackage.NodeManager"/>
<%@ page language="java" %>
<%@ page import="java.sql.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Suas</title>
</head>
<body
<%! // Class level declarations
Connection dbCon; // interface type in java SQL
ResultSet rs; // interface type in java SQL
String serverName = "localhost";
String nodeID;
String valowneremail;
String valownersms;
boolean bFirstTime;
%>
<%
bFirstTime = true;
if(request !=null){
if(request.getParameter("submit") != null){
nodeID = "6";
valowneremail = request.getParameter("OwnerEmail");
valownersms = request.getParameter("OwnerSms");
bFirstTime = false;
AddNode.update(nodeID, valowneremail, valownersms);
%>
%>
<%
try{
Class.forName("com.mysql.jdbc.Driver"); // SQLServer specifics 1
dbCon = DriverManager.getConnection( // SQLServer specifics 2
"jdbc:mysql://" + serverName + ":3306" + "/suasdb", "root", "9631");
Statement stmt;
String sqlString = "select nodeid, node, owneremail, ownersms from nodemanager";
stmt = dbCon.createStatement();
rs = stmt.executeQuery(sqlString);
} catch (ClassNotFoundException e){
out.write("<B><CENTER><P>");
out.write("Error loading class for Suas database connection: </P><P>");
out.write(e.toString());
out.write("</B></CENTER></P>");
} catch (SQLException e){
out.write("<B><CENTER><P>");
out.write("Error accessing Suas database connection: </P><P>");
out.write("</B></CENTER></P>");
if(rs!=null){
%>
<jsp:include page="includeheader.jsp" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/pagemarker_nodemanager.jpg" alt="Node manager" width="176" height="55"></td>
</tr>
</table>
<jsp:include page="includenodemenu.jsp" />
<TABLE WIDTH="75% BORDER="0" CELLPADDING="5" ALIGN="CENTER">
<TR BGCOLOR="#9ddc4f"> </TR>
<br>
<TR BGCOLOR="#9ddc4f">
<TH>Node ID</TH>
<TH>Node</TH>
<TH>Owner E-Mail Address</TH>
<TH>Owner SMS Number</TH>
<TH></TH>
</TR>
<% } else {
%>
<% while (rs.next()){
%>
<FORM>
<TR BGCOLOR="#d7eabf">
<TD><%=rs.getString("nodeid")%></TD>
<TD><%=rs.getString("node")%></TD>
<TD><INPUT size="20" type="text" name="OwnerEmail" value="<%=rs.getString("owneremail")%>"</TD>
<TD><INPUT size="20" type="text" name="OwnerSms" value="<%=rs.getString("ownersms")%>"</TD>
<TD><INPUT type="submit" name="submit" value="Save"></TD>
</TR>
<% }
%>
</body>
</html>
{code}
The relevant part of my NodeManger package:
{code}
public void update(String updateNodeId, String valEmail, String valSMS) throws ClassNotFoundException, SQLException{
try{
String updateSQL;
String nodeid = updateNodeId;
String updateowneremail = valEmail;
String updateownersms = valSMS;
Connection dbCon;
Statement stmt;
ResultSet rs;
String serverName = "localhost";
Class.forName("com.mysql.jdbc.Driver"); // SQLServer specifics 1
dbCon = DriverManager.getConnection( // SQLServer specifics 2
"jdbc:mysql://" + serverName + ":3306" + "/suasdb", "root", "9631");
updateSQL = "update nodemanager SET owneremail='" + updateowneremail + "', ownersms='" + updateownersms + "' WHERE nodeid='" + nodeid + "'";
stmt = dbCon.createStatement();
stmt.execute(updateSQL);
} catch (ClassNotFoundException e){
throw(e);
} catch (SQLException e){
throw(e);
}{code}
Edited by: daveomcgee on Apr 9, 2009 8:03 AMI support what ThomYork suggests. Learn how to properly separate database/business logic from your view logic. Learn how to use servlets and JSPs together. Read abourt DAO classes. Learn how to build a view in JSPs using taglibs (JSTL to begin with).
You might think it is too much work, but if you learn this stuff the wrong way now, it is going to be that much harder converting to the clean, readable, reusable and maintainable way later on.
Maybe you are looking for
-
Need to run windows on new imac with lion. where do i get windows for mac?
I have a new iMac and am new to Apple after 30+ years with PC-based hardware & software. First of all, and not to offend, but anyone who says Mac computers are easier to use than Windows computers must be talking about people who just came out of th
-
Application Server Platform Edition 8.1 2005Q2 fails to start - CLI156
I have installed and re-installed PE8.1 on my laptop many times (with security off). I followed Quickstart and after 60 seconds end up with CLI156. I have upgraded from XP Home Edition to XP Professional. I have been going round and round for the las
-
I'm tryin to re-store all of my download music from iTunes store that I have purchase off my iPhone now since I have update my phone but nothing on my phone was backed up in I cloud so can I retrieve all my music back?
-
How can i score some star wars ringtones?
I downloaded the "star wars sound board" application because I wanted to have star wars ring tones and alerts, etc., on my iphone. I can't create ringtones from that application. Any suggestions on how to get star wars stuff? Hopefully free....
-
Alv Grid method get_grid_modified
Hi, Method get_grid_modified is returning true after making any changes in Grid. Please help me to make it working. Regards, Venkat