Show date dependant of portal locale
Hi,
I want to display a date dependant of the locale of the user/portal/system settings. I assume the system settings are normally used. So if the user has an english system...use dd-mm-yyyy and if he has a dutch setting use mm-dd-yyyy for example.
I searched on the forum and found a usefull post but there was a link which was broken...see post :
How to Change Date Format according to the Locale/Country of Portal User
I know that i can use the SimpleDateFormatter for that but i still have to enter a pattern....is it also possible to only supply a locale so it figures out the pattern itself?
Much thanks,
Hugo
Hi Hugo,
Use
DateFormat.getDateInstance(int style, Locale aLocale)
where you get Locale from
WDResourceHandler.getCurrentSessionLocale()
Or use IWDResourceHandler.formatDate().
Regards
Markus
Similar Messages
-
Y/t chart stops showing data depending on Maximum Display Range setting
The y/t graph will not display any data if I increase the Maximum Display Range setting to .8000s or higher. The data in the file is at 5000 Hz, is this part of the problem? I have played around with the Time Base and Measurement setting to no avail. The data is arbirary in length, but will not be longer than 3 seconds.
Solved!
Go to Solution.Here's the scoop...
You have 145 blocks of data in the file. Fewer than that are sent through the Relay00.
When you configure the Y/t Chart for more blocks than you have, then it waits for the rest of the blocks to come in. And they are not going to come in.
One workaround is to use the "Fast Recorder" mode of the Y/t Chart, but your block size is too small (50 vs 128 minimum).
I'd suggest switching to the Chart Recorder module - configure it like this... and then, because you want the trigger to reset the time to 0, use an Action module.
Configure the Action like this... it will reset the Chart to start at 0 each time the trigger opens the Relay.
- cj
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab. -
Poor performance showing BW data in NW portal
Hi all,
we have a problem with showing data from BW in a NetWeaver Portal here.
There is a table with several different entries displayed on a portal page. When you click one entry some details for this are shown in an area below the table.
Now the problem is that every time you click one entry it lasts around 5 seconds until the details are shown which is much to long.
The data to be shown comes from a BW system.
I know that there are a lot of parameters you can check in BW to optimize performance. But maybe I have a common problem here and one of you can tell me which parameters should be check first.
Thanks for all answers in advance!
Best Regards,
TorbenDear Torben,
The basic things which we need to check in our BW system is:
1) Increase the parallel processing during extraction
2) Selective loading.
3) Every job will be having a priority (A, B, C A being the highest and C being the lowest), choose this based on your scenario.
4) Check with the basis team for the sizing of your server
5) You can increase the number of background processes during data loads. This can be done by making dialog processes as Background processes.
For this you need basis inputs. (This is done in some profile settings by making the system behave differently during loads. (something like day mode/night mode))
6) There are some maintenance jobs that should run regularly in any SAP box to ensure proper functioning.
7) Use of start routines is preferred instead of update routines.
Assign points if these helps u...
Regards,
KK. -
Hi all,
Iam working in Portal 7.2 and I need to change the date format in portal. Is there any path in System Administration -> System Configuration any properties that i need to change the format.
Any help/advice/suggestions highly appreciated.
Thanks in advance.
MaggieHi,
The Date Format depends on the Browser Language and also the Language set to user in User Administration of Portal.
Check the threads below:
How to set default language for Portal?
Issue with Record Working Time.
Check the SAP Note : Note 947081 - Locales, languages, date and time formats in Web Dynpro
It will give you info of what has to be changed.
Hope this helps.
Cheers-
Pramod
Edited by: Pramod on Jan 12, 2011 8:17 AM -
Please Help PI Data Dependent Integration Builder Authorizations NOT Workng
Dear Friends / Experts,
I had spend many days and explored all Weblog and links on this website and implemented all the steps required to acheive Data Dependent Integration Builder Security and I am not successful so far. I am just giving up now - Please Help Me ---
As I said, I already read all the important Forum Links and SAP Web links and Followed Each and Every Step - service.sap.com/instguidesNW04 ® Installation ® SAP XI
Security Requirement - Data Dependent/Object Level Authorizations in XI / PI
In distributed teams or in a shared PI environment it might be necessary to limit authorization for a developer or a group of developers to only one Software Component or objects within a Software Component or to specific Configuration Objects.
Our Environment - PI 7.0 SP 16
Created a new role in the Integration Builder Design
u2013Add Object Types of any Software Component and Namespace
- Enable usage of Integration Builder roles in Exchange Profile
Integration Builder u2013Integration Builder RepositoryParameter com.sap.aii.util.server.auth.activation to true
Assign users to the newly created Integration Builder roles
u2013Create dummy roles in Web AS ABAP, these roles are then available as groups in Web AS Java
u2013Assign users to these roles
u2013Assign the Integration Builder roles to the above groups in Web AS Java
u2013Assign unrestricted roles to Super Users
Please help - How to validate whether Data Dependent Authorizations are Activated?
I am working with XI Developers and Basis Team and we did updated all the Required Exchange profile parameters.
Per this Document - User Authorizations in Integration Builder Tools - Do we need to update the server.lockauth.activation in Exchange Profile. When We updated, It removed Edit Access from all XI Developers in PI
In both the Integration Repository and the Integration Directory, you can define more detailed authorizations that restrict access to design and configuration objects.
In both tools, you define such authorizations by choosing Tools ® User Roles from the menu bar. The authorization for this menu option is provided by role SAP_XI_ADMINISTRATOR_J2EE. Of course, this role should only be granted to a very restricted number of administrators. To activate these more detailed authorizations, you must set exchange profile parameter com.sap.aii.ib.server.lockauth.activation to true.
The access authorizations themselves can be defined at the object-type level only (possibly restricted by a selection path), where you can specify each access action either individually as Create, Modify, or Delete for each object type, or as an overall access granting all three access actions.
http://help.sap.com/saphelp_nw04/helpdata/en/f7/c2953fc405330ee10000000a114084/frameset.htm
I was able to control display and maintain access from ABAP Roles, but completely failed to implement Integration Builder Security?
Are there any ways to check Whether Data Dependent authorization or J2EE Authorizations are activated?
Thanks a lot
SatishHello,
so to give you status of our issue.
We were able to export missing business component .
But we also exported some interfaces after that and we had some return code 8, due to objects still present in change list on quality system (seems after previous failed transports , the change list was not cleared completley...).
So now we have checked that no objects is present in the change list of quality system and we plan to export again our devs on quality system.
Hope after that no more return code 8 during imports and all devs transported correctly on quality system.
Also recommending to read that, which is pretty good.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7078566c-72e0-2e10-2b8a-e10fcf8e1a3d?overridelayout=t…
Thanks all,
S.N -
Download data from Screen to local disk
Hi all,
I have developed a Module pool program. I want to download the data from Screen to local disk in Word format.
Example :-
Name XYZ Surname ABC Date of Birth 00/00/9999
Address XXXXXXXXX
Number of Dependent
1) ABC LLL CCC 00/00/0000
2) XYZ ABC XXX 00/00/0000
3) ABC LLL CCC 00/00/0000
Is there any function module which does this
Thanks in AdvHi,
the simplest and easiest answer that I can think of is :
1. Press Ctrl Y.
2. Select the area of the screen you want.
3. Press Ctrl C
4. Press Ctrl V on your word document.
5. :-).
Regards,
Anand Mandalika.
P.S. Alternatively, you can use the print screen option on your keyboard. -
WD ABAP iview for Adobe Forms showing data of previous PERNR
Hi Experts,
We have developed adobe forms using HCM P&F functionality. We copied standard delivered WD ABAP Iview "Termination" multiple times for the use in developed forms. The Portal IDs are attached to the employee's IT 0105-Subtype 0001 Syname.
We added the parameters in iview:
Application Parameter: GET_PERNR=X&PERNR_MEM_ID=ESS01&Process=ZXXX_XXX_FORM
Problem:
The Portal id is assigned to PERNR in IT 0105 - Subtype 0001 correctly and when we execute the Form Service link is clicked on Portal it shows the correct default data in Adobe form.
But if we remove the Portal id from 1 PERNR and assigned to another PERNR then Adobe Form still shows the data from previous PERNR.
We are unable to figure out the problem as the new Portal id is attached correctly and other WD Java iviews are showing correct data for existing PERNR but only Adobe forms are showing data from old PERNR assignment.
Please advise.
SunnyHi Siddharth,
We have already done a number of action to clear the cache such as:
- Set the 2 properties of the iview
a. Cache Level ---> None
b. Cache Validity Period --->-1
- Cleared Portal Run Time Cache
- Clear DB cache
- UME cache (In case you are changing users frequently )- System Administration -> System Configuration -> UME Configuration -> Support -> Invalidate cluster wide cache
- Clear the browser cache --> Most imp - Browser settings -> tools -> Internet Optionsu2026 -> Temporary Internet Files -> Delete Files.
The actions are already done but the problem is still there.
I read some blog on SAP INDX tabel which records the Portal IDs when user logged in and Iview Properties "PERNR_MEM_ID=ESS01" reads this table . I am not sure that if this is the problem.
Please help.
thanks
Sunny -
Data dependent routing with WebLogic
How do you do data dependent routing with WebLogic Platform? Does it require additional
products or can it be done just using WebLogic Platform components?
ThanksWLI, or "WebLogic Integrator" may be what you are looking for, this is a
full fledged message-flow/routing product built on top of JMS.
If your needs are simple, you can roll-your-own data dependent routing
using the WebLogic server built-ins of JMS, which provides reliable
messaging, in combination with MDBs and/or Messaging Bridges - both of
which allow the specification JMS selectors (filters). Furthermore,
your MDB application can enqueue to a specific local destination (or a
remote one, which is harder) based on the contents of the message it
receives. Voila.
For example, WorkQ (local or remote) --> MDB --> JobQ1 or JobQ2 or
JobQ3. To simplify the MDB logic, JobQs could be on the same server,
and therefore always available. (This is one of the advantages of
having a JMS that can run in the same JVM as the app server, the other
is very fast performance.)
Tom
David B wrote:
> How do you do data dependent routing with WebLogic Platform? Does it require additional
> products or can it be done just using WebLogic Platform components?
>
> Thanks
-
Strange date format in german locale
According to /usr/share/i18n/locales/de_DE the date format for german locale is defined as follows "2000-06-24", which is not very common in German-speaking countries.Usually date is written as "24.06.2000". Some programs use this "wrong" format.
Is it save to edit the file mentioned above to achieve this format?
Last edited by tyr0 (2010-08-05 18:04:05)tyr0 wrote:Thank you, karol, formating the file didn´t force programs to use the new format. Maybe my editing isn´t correct.
Actually it isn´t a real problem, because in scripts you can use "date +%d.%m.%g", so I´ll mark this topic as solved.
I see that you decided against marking it as solved - or you forgot about it :-)
Which programs are showing the wrong date? They may be using their own date format and your locales are / were fine. -
Can anyone give any assistance on portal form naming conventions?
I am trying to implement a date pickerr in portal. I've got the
calendar to come up in a new window but can't get it to return
the value to the date field. I think i may be using the wrong
syntax for the javascript function. I am getting the following
error when clicking on a date:
JavaScript Error:
http://ITCuA:7777/pls/portal30/PORTAL30.wwa_app_module.show?p_ses
sionid=668,
line 604:
document.GOV_LEAVE_FORM_1 has no properties.
This is used in a function defined in the calling window:
function restart() {
document.GOV_LEAVE_FORM_1.dateField.value = '' + padout(day)
+ '/' + padout(month - 0 + 1) + '/' + year;
frmCAL.close();
Am i reeferencing this correctly?
David TatumI had similar problems with a Javascript date picker. Portal
generates unique names for all form fields at runtime, and you
can't reference the form field names as entered in the form
designer (they're not the ones used).
Use the 'View | Source' function in the browser to see all INPUT
fields, and start counting until you find the field you want to
write to.
Using the Javascript document object model (DOM), - reference
the field as indexes into the document array (i.e. forms
[0].elements[14]).
Also note that Portal generates hidden fields in addition to the
ones you put on your form, - that's why you have to step through
the generated source in order to correctly index your form
fields.
Regards,
-Haakon- -
hello expert
i have two form .in first form i hav room no and total beds edit box boths data save in master database . in second form i create same room no and bed quntity edi box . now i want to show data of master database of first form to second form edit box .how could i do itWell, it depends if you are using UDOs or not. You should use the unique Code of a MasterData item to make sure you get data for the same room.
-
Hi,
I am using Windows 8.1
I have an External Hard Disk i have partitioned it to 4 parts.
One drive is now inaccessible due to sudden power failure while listening Music from that drive few days ago.
Now it shows "Data error (Cyclic redundancy check)".
I tried all the procedures provided here like
chkdsk /f, diskpart, rescan etc
but no result :( (i mean all processes failed. They could not detect the drive).
Please help me to get those data, pictures and project files.
thank youThen why aren't you posting this in the Windows 8 forums found @
http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w8itpro
This is a Windows 7 forum for discussion about Windows 7.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” -
PLD Report does not show data from Query
Hello,
SAP b1 9.0 PL08 on MSSQL 2008 and I get data on the query, but when the PLD prints, it shows nothing. Is there a way to filter the data that the PLD shows? Does PLD have its own SQL script it uses b/c its not showing data from the query.
Thanks,
NickHi Nicholas,
Please check below links.
query based print layout design
Print Layout Designer \Custom Reports
How to Make a Print Layout (PLD) Report from a SBO Query | SBOnotes.com
http://www.tegrous.com/wp-content/uploads/2011/07/HowTo_QPrintLs_88.pdf
Hope this help
Regards::::
Atul Chakraborty -
Discoverer Plus 10gR2 not show data when the script of view have package
Hi my friends.
I have a problem with discoverer plus, I don't know is a problem or I'm doing something wrong.
I have a four views, the views containg in the SELECT stament and WHERE clause packages, example:
SELECT d.price,
d.total,
d.min,
d.mx,
TO_CHAR (SYSDATE, 'q') quarter,
d.fid,
k_xdcd_qry.f_xdc_obt_price (d.prod, d.id) --> package
k_xpxpd_qry.f_xpeds_salary_ca_u (
d.prod,
d.id) xp --> package
FROM px_prices_proc c,
xp_sla_max d,
xmp_sla_puc b
WHERE a.prod = b.prod
AND a.id = b.id
AND a.prod = k_xps_tools.f_obt_prod --> package
When I used the views on discoverer plus for construct the report, when execute the query not show data.
Appreciate it if you could help or tell me I'm doing wrong or does not support Discoverer Plus package execution.Hi Tux,
This appears to be a grant issue. Apparently, you have granted execute with respect to this package to the EUL owner or the view would not have compiled. If you have not given EUL owner the grant option, I would recommend doing this as well.
This appears to be an Oracle APPS EUL (tell me if I am wrong). If this is the case, it goes without saying that APPS will need to be granted the execute privilege.
Also, by default, a stored package executes with the privileges of its owner. If your custom package was designed this way, are the objects which it references received the appropriate grant? I assume you tested this, but I am concerned that the line, a.prod = k_xps_tools.f_obt_prod, in the where clause could be resulting in the Null set being returned.
Patrick -
Not able to show data of prior three quarters,periods along with QTD , MTD
My requirement is when user selects a date then we have to show data in the report for three ago quarters data and QTD, three ago periods data and MTD.
eg: let the user selects a date in the 2010 Q 2(May-21-2010) then report should show
2010 Q 1, 2009 Q 3, 2009 Q 2, QTD(2010Q2 till 21st May), Feb-10, Mar-10, Apr-10, May-10 (MTD till 21st May).
I have created Ago metrics, Todate time series metrics for quarters and periods...
but Ago metrics are not working when Todate metrics are filtered with date prompt,
if I remove date filter then Todate metrics are not working (means not showing correct results).
Also I tried to create logical columns in BMM layer by using filter condition with enterprise qtr, enterprise periods.
but major problem is I am unable to go back to previous quarters and periods for the date user selected.
I am struggling for it a lot, Please assist me
Any response is highly appreciated.
Thank you,
Ramanujan.found the problem
thanks
Maybe you are looking for
-
Has anyone fixed problems with OIS after upgrading to iOS 8.3?
MY camera worked absolutely fine on my 6 Plus until I upgraded to 8.3 at which point my rear camera won't focus. I Can't downgrade to the previous version so how do I fix it?
-
IPad iTunes app: download error. Tap to retry
All song or movies download faces similar problem, cannot download with my iPad mini at all, with the most updated iOS. Not connection or memory problem. Took forever for apple customer support to answer me. Searched on my it seems this problem is fa
-
Conference link with login and password included
Hi, I have been trying to find a way to make Adobe Connect send meeting invitation e-mails with login and password included in the link - unfortunately to no avail. Does anyone know, if it's at all possible to do it and if so, how it's done? I'm stil
-
Hi, I need extract data from Oracle Hyperion HFM application, but i can't identify in which table of HFM database will find this information. Could help me to find that table, or clarify if there is a table that integrates centralized information of
-
Get html code and save it to disk
Hi! I have a question... Does anyone know, how can I save the html source code of a web page through java code? I want to do the following thing: 1. give the url an get the html page 2. save the html page source code -both functions should be in one