Webserver generator default number format
How can you set the default number format for Designer generated webserver apps? Designer generated Forms and reports use the TXTDFN property for this... but it does not exist in the webserver generator properties?
Until I figure this out... all of my data with the NUMBER datatype (with no (#,#)) are being displayed with 38 digits behind the decimal!!
Please Help,
Pete
I've been having similar problems, but nobody seems to have an answer.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by karanika:
How can you set the default number format for Designer generated webserver apps? Designer generated Forms and reports use the TXTDFN property for this... but it does not exist in the webserver generator properties?
Until I figure this out... all of my data with the NUMBER datatype (with no (#,#)) are being displayed with 38 digits behind the decimal!!
Please Help,
Pete<HR></BLOCKQUOTE>
null
Similar Messages
-
Hi,
I have created a Web intelligence report. One of the columns need to display percentage values based on another column. Now suppose there is 0 as the value in the other column the corresponding percentage should display 0.00%. Maybe as default value. I tried to set the properties>text format>number format --> to Number and properties to 123,456,70%; -123,456,70%. But still it doesnt display it as 0.00% when there is no value. It displays #DIV/0.
Could anyone please help me in resolving this?
Thanks!Hi,
Go to CJE6 & select the form 12KST1A, click on column heder & do the number formation as u required(clicking on number format button).
make sure to set the factor always against the required decimal places.
do the all formating for all required forms you are using
Hope this will solve your issue.
Regards,
Sam L. -
How to set default number format for whole app
Hi!
I have a bunch of View Objects and I have to set the format for each attribute of type number. I've tried using
MyAtt_FMT_FORMAT=#,##0.00
MaAtt_FMT_FORMATTER=oracle.jbo.format.DefaultNumberFormatter
on just a couple of attributes and it works OK. But since I have a lot of number fields across application in a lots of view objects, I would like to set this format as default for all the number fields in my application.
Can I do that and if yes, how?
Thanksyou can use Domains.
chapter 26 Advanced Entity Object Techniques in Developer’s Guide For Forms/4GL Developers
Regards, -
How to change default number format for saved data in signalexpress
I cannot find an option for determining format and precision of saved data. By default it is scientific with i think 3 siginificant numbers. How and where to do it?
Stjepan, it sounds like you're right where I was 2 months ago! Glad to see I'm not the only one struggling w/ SE.
Here's what I've had to do to control the precision of the data in my ascii file.
Insert an Amplitudes and Levels step from Analysis>Time Domain Measurements.
In the A&L settings, deselect Export RMA Value (keep Export DC Value selected).
Now drag that DC signal from the A&L step into your data view (literally drag and drop this signal onto the graph). From here you can configure the data view's properties to your likings, I.E, significant digits or digits of precision, floating point, etc.
I've found that Floating Point, 2 Significant Digits, and uncheck Hide Trailing Zeros to work well (visually speaking).
Insert your Save to ASCII step after the A&L step, and be sure to save your A&L's DC signal.
The data will export exactly as it's shown in the display.
TIP: you can rename your signals from any of the steps. This is handy because it's the renamed channel names that show up in your data headers (much more descriptive when you have multiple channels).
My apologies if this is all information you already know...
Message Edited by OKors on 09-10-2009 10:27 AM
SCXI- 1000 Chassis w/ 1346 adapter
PCI 6281 DAQ card
SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
SCXI- 1180 Feedthrough Panel w/ 1302 Block
Signal Express 2014.
Win7 Enterprise -
How to globally modify number formatting in Crystal Reports
How do I globally modify the number formatting in Crystal Reports to NOT use the default which is “System Default Number Format”? The goal is to modify the number formatting to NOT contain commas. This modification should be global and should apply to any local account that will launch and use Crystal Reports on the server where it is installed. Can anyone help?
Hi Raghavendra,
For new reports, we have tried the setting you specified. The question is, how can we force Crystal Reports to “keep” and “retain” the adjusted format globally every time users create a new report?
Thank you!
Ivy -
Custom Number Format Default to Numeric Keyboard
Hello,
I recently put together a timesheet form for our superintendents. I have some fields to accept our company's 6-digit cost codes. Initially, I used the general Number format. This worked well since, on the iPad, the numeric keyboard came up by default and only numbers were accepted. However, there was no limit to the number and it always removed the leading "0", which was not acceptable. Our cost codes are layed out as follows:
011010
082010
120010
It was important that we retain the leading "0". Then, after some research I found a code (entered into to Custom format) on this forum allowing me to retain that zero:
event.rc = true;
if (event.value) {
if (/^\d{6}$/.test(event.value)==false) {
app.alert("Error! The entered value must be 6 digits.");
event.rc = false;
This worked well... however, I am back to the numeric keyboard not being default and the field accepting letters as well as number.
MY QUESTION:
How do I create a numeric only, exactly 6-digit field that will open the numeric keyboard on the iPad (like the number field does). Is this possible?Hello,
I recently put together a timesheet form for our superintendents. I have some fields to accept our company's 6-digit cost codes. Initially, I used the general Number format. This worked well since, on the iPad, the numeric keyboard came up by default and only numbers were accepted. However, there was no limit to the number and it always removed the leading "0", which was not acceptable. Our cost codes are layed out as follows:
011010
082010
120010
It was important that we retain the leading "0". Then, after some research I found a code (entered into to Custom format) on this forum allowing me to retain that zero:
event.rc = true;
if (event.value) {
if (/^\d{6}$/.test(event.value)==false) {
app.alert("Error! The entered value must be 6 digits.");
event.rc = false;
This worked well... however, I am back to the numeric keyboard not being default and the field accepting letters as well as number.
MY QUESTION:
How do I create a numeric only, exactly 6-digit field that will open the numeric keyboard on the iPad (like the number field does). Is this possible? -
How to change Default number of rows displayed in a Briefing Book
Hi,
We have a requirement to deliver a dashboard containing 7 dashboard pages to the business users.
To achieve this, I have created a briefing book by adding all the required dahboard pages and scheduled an agent to deliver the briefing book in PDF format. However, the briefing book delivered by the agent shows only 25 rows for all the analysis (reports) included in the dashboard pages.
I have already made the following settings:
1. At the report level, edited the table view property to show 150 Rows Per page.
2. At the dashboard page level, edited the PDF and Print properties to Print All Rows.
3. Edited the instanceconfig.xml file to include the following tag under <Table> tag: <DefaultRowsDisplayedInDelivery>15000</DefaultRowsDisplayedInDelivery>
Please advise if there is any setting which can help in increasing the default number of rows in a Briefing Book (OBIEE 11.1.1.3).
Thanks & Regards,
SumitHi,
This is a bug in 11.1.1.3
Bug 12671370 - BRIEFING BOOKS DO NOT SHOW ALL ROWS
As a workaround, you may want to click on the "Display Maximum(500) rows per page" button on the dashboard page before you download to Briefing books.This will work for reports with less than 500 rows.
Rgds,
Dpka -
How can I tell that a default numeric format has been applied to a numeric limit step?
I am working on generating custom HTML code for our test systems in order to reduce the 'footprint' of the standard HTML entries for numeric limits, multiple-numeric limit steps etc....
For a Numeric Limit step, I can set the Numeric Format via the 'Limits' tab and select the pulldown arrow to select any format. Does TestStand actually save this information with the step so I could possibly use this later? I ask this because my modifications are within the 'ModifyReportEntry' Callback. When I am modifying the code to generate new HTML within this callback, I have no idea if the developer has selected a Numeric Format for a given step OR simply left it as DEFAULT.
To make matters more confusing, here is some more information....
When I pause the execution in the callback I notice the following:
Case 1: User has selected a Numeric Format ( this example I will say 3 digits of precision ) %.3f. for a numeric limit step.
Parameters.Result.Limits.Low = 10.000
Parameters.Result.Limits.High = 20.000
Parameters.Result.Numeric = 15.657
Notice the numeric data is ALREADY formatted! Great, I can simply use this to generate my custom HTML table for the numeric limit step.
Case 2 : User has left the numeric format to <Default> for the step.
Parameters.Result.Limits.Low = 10
Paramters.Result.Limits.High = 20
Parameters.Result.Numeric = 15.65713515155
Numeric data is NOT formatted. I know that TestStand will apply the Default Numeric Format that is configured in the report options when it writes the report but since I am doing a custom report I am stuck.
My question is how can I possibly tell that the data has already been formatted by TestStand in the ModifyReportEntry callback? Is there some flag that I could check or anything?
I do notice that the Parameters.ReportEntry string contains TestStand's default HTML code for the step and this is already properly formatted.. so as a possible workaround I could 'pick out' the data from this string but this is slow and time consuming.
Thanks
PHPH,
You can find out if the numeric format has changed using the TestStand API. I use the following statement in my step's post-expression to find out the numeric format that TestStand uses for the step.
Step.Limits.Low.NumericFormat
If the string returned is an empty string, then it is the default format, otherwise, it's the one specified in the string.
Hope this helps.
Raj
National Instruments
Applications Engineer -
How to use FM format element in number format model
Dear all,
Could anybody explain what is FM format element for in number format model? I read the documentation, it doesn't show a clear description as it those in Datetime Format Model section.
regards,
ValerieIt works mopre or less the same for numbers as for dates:
SQL> -- generating some numbers:
SQL> with t as (
2 select level n
3 from dual
4 connect by level <= 10
5 )
6 --
7 -- actual query:
8 --
9 select n
10 , '*'||to_char(n, '09')||'*' nofm
11 , '*'||to_char(n, 'fm09')||'*' fm
12 , length(to_char(n, '09')) lnofm
13 , length(to_char(n, 'fm09')) lfm
14 from t;
N NOFM FM LNOFM LFM
1 * 01* *01* 3 2
2 * 02* *02* 3 2
3 * 03* *03* 3 2
4 * 04* *04* 3 2
5 * 05* *05* 3 2
6 * 06* *06* 3 2
7 * 07* *07* 3 2
8 * 08* *08* 3 2
9 * 09* *09* 3 2
10 * 10* *10* 3 2
10 rows selected.As you can see, the leading spaces are trimmed. -
CSV to Excel 2013 - Issue with number format
Hi,
I use Excel 2013 to manipulate CSV files. I experienced issue with number format cells. In my CSV file there is one column that presents latitude values in format: 52.05456464. When I open my CSV file in Excel 2013 all values in that column get separator
".", in this case my number is present like this: 52.054.454.464. I tried to change my cell format, and when opened the category was Number, I change it to the General but in that case I lost all "." and got 52054454464.
I also tried to open same file on other machine with Excel 2010 and file is opened correctly without issues and in cell format the category is general by default.
I hope that there is some kind of resolution for this.Hi
According to your description, we may follow these steps:
highlight the column B > Home Tab > Number section > Select Number and choose "More Number Format" > Make sure the Negative number is chosen correctly. If you are using Custom format, we will have to change it.
Hope it helps
Best regards -
Broadcaster - PDF Output: number format
dear gurus
Where do I find the setting to set the display format for numbers of a PDF report sent with the BEx Broadcaster?
I'm currently setting up a lot of reports on our new BI installation. Most of these reports are sent in Excel (XML) format. When the user opens such an Excel file, all the numbers are displayed in the correct format.
eg. 1'000'000.00
(swiss-german format)
If I send the same report as PDF I get some (well, for me) wired format
e.g. 1,000,000.00
or 1 000 000,00
As far as I understand this, in Excel it seems to take the local user settings on the computer for displaying numbers an such. Since the PDF is generated on the server, the generator takes the format available (or set) on the server.
Tomorrow morning there will be a guy from the BASIS in our company. I'd like to have a clue what to tell him and how to make the PDF generator take our number format.
- danHi Vineet
Thanks a lot for this advice. I did already test that by changing the number format in SU01 to different values. I did change that for the user which is set as permission holder for the query and also for the user that is set as broadcast sender. I have following options to set
1.234.567,89
1,234,567.89
1 234 567,89
All three settings did not have any impact to the report. The number format did not change. Furthermore there is no option for the desired format:
1'234'567.89 -
BAPI_ACC_DOCUMENT_POST & generated document number
Hi,
I am using BAPI function BAPI_ACC_DOCUMENT_POST to post financial documents in the system. My question is, how properly retrieve generated document number (BKPF-BELNR). We are using internal document number generation so the function generates document number. But, function itself, does not return generated document number. Currently, after commit I try to locate a record of generated document using reference key ... Isn't there any better way how to get generated document number?
Tkank you.Yes, I found this code ... as I wrote, there is not problem if I set curtp = '10'. BUT, there is another problem, with different currencies. Then, when I try to post document in different currency that the currency of company code is, function raises error "Inconsistent currency information" ...
here is an example, how I fill tax information, as requested:
DATA: docHeader TYPE BAPIACHE09,
accGL LIKE BAPIACGL09 OCCURS 0 WITH HEADER LINE,
accReceivable LIKE BAPIACAR09 OCCURS 0 WITH HEADER LINE,
accAmnt LIKE BAPIACCR09 OCCURS 0 WITH HEADER LINE,
accTax LIKE BAPIACTX09 OCCURS 0 WITH HEADER LINE,
extension LIKE BAPIACEXTC OCCURS 0 WITH HEADER LINE,
tax_account TYPE STRING,
tax_code TYPE STRING,
tax_trans TYPE STRING,
tax_spec LIKE ZIFPRMS-VALUE,
itemno TYPE N LENGTH 10.
* initialize document header
docHeader-bus_act = 'RFBU'.
docHeader-username = sy-uname.
docHeader-header_txt = fin_data-text.
docHeader-comp_code = header-company_code.
docHeader-doc_date = header-document_date.
docHeader-pstng_date = fin_data-posting_date.
docHeader-ref_doc_no = header-id_sale.
docHeader-doc_type = params-doc_type.
* process document items, in loop
LOOP AT fin_items INTO fin_item.
* initialize AR (line 1)
accReceivable-itemno_acc = itemno.
accReceivable-customer = cus_data-id_contact.
accReceivable-comp_code = header-company_code.
CONCATENATE fin_item-text ' (receivable)' INTO accReceivable-item_text.
accReceivable-pmnttrms = params-payment_term.
accReceivable-pmnt_block = params-payment_block.
IF doc_type = 'APR'.
accReceivable-sp_gl_ind = 'F'.
ENDIF.
APPEND accReceivable.
* initialize receivable amount
accAmnt-itemno_acc = itemno.
accAmnt-currency = fin_data-currency.
accAmnt-curr_type = '10'.
accAmnt-amt_doccur = fin_item-vat_base + fin_item-vat.
IF doc_type(2) = 'CR'.
accAmnt-amt_doccur = accAmnt-amt_doccur * ( -1 ).
ENDIF.
APPEND accAmnt.
itemno = itemno + 1.
* do not continue when posting a down payment request
CHECK doc_type < > 'APR'.
* initialize GL account line item
accGL-itemno_acc = itemno.
accGL-gl_account = params-doc_gl_account.
CONCATENATE fin_item-text ' (revenue)' INTO accGL-item_text.
accGL-pstng_date = fin_data-posting_date.
accGL-tax_code = tax_code.
accGL-doc_type = params-doc_type.
accGL-costcenter = fin_item-cost_centre.
APPEND accGL.
* initialize GL amount
accAmnt-itemno_acc = itemno.
accAmnt-currency = fin_data-currency.
accAmnt-curr_type = '10'.
accAmnt-amt_doccur = - ( fin_item-vat_base ).
IF doc_type(2) = 'CR'.
accAmnt-amt_doccur = accAmnt-amt_doccur * ( -1 ).
ENDIF.
APPEND accAmnt.
itemno = itemno + 1.
* initialize TAX account line item
IF STRLEN( tax_code ) > 0.
accTax-itemno_acc = itemno.
accTax-gl_account = tax_account.
accTax-tax_code = tax_code.
accTax-cond_key = 'MWAS'.
APPEND accTax.
* initialize tax amount
accAmnt-itemno_acc = itemno.
accAmnt-currency = fin_data-currency.
accAmnt-curr_type = '10'.
accAmnt-amt_doccur = - ( fin_item-vat ).
accAmnt-amt_base = - ( fin_item-vat_base ).
IF doc_type(2) = 'CR'.
accAmnt-amt_doccur = accAmnt-amt_doccur * ( -1 ).
accAmnt-amt_base = accAmnt-amt_base * ( -1 ).
ENDIF.
APPEND accAmnt.
itemno = itemno + 1.
ENDIF.
ENDLOOP.
* translate customer field to BAPI format
CALL FUNCTION 'MAP2E_BAPICOBL_CI_TO_BAPIEXTC'
TABLES INTERNAL_CI_COBL = cust_ext
EXTENSION_CODINGBLOCK = extension.
* call BAPI function to create customer invoice
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING DOCUMENTHEADER = docHeader
IMPORTING OBJ_TYPE = obj_type
OBJ_KEY = obj_key
OBJ_SYS = obj_sys
TABLES ACCOUNTGL = accGL
ACCOUNTRECEIVABLE = accReceivable
ACCOUNTTAX = accTax
CURRENCYAMOUNT = accAmnt
EXTENSION1 = extension
RETURN = returnTab.
Edited by: Rastislav Mojzis on Jul 9, 2008 7:18 AM -
Generating Symbolic Number at the time of Syndication
Hi! All
I have the following user requirement:
The Material number in one of the client system is in the following format-
70000-00001, which is a symbolic number. There are already 54000 records in that particular system. These records needs to be cleaned by MDM and then syndicated back to the respective system with the number being generated in the same format ie. symbolic number and also if any record is added further, it should generate the number in the ascending order. For Eg. 70000-00001, 70000-00002, 70000-003, etc.
Please suggest me the best possible solution. Thanks in advance for the same.
With Best Regards,
Devendra Pandeyhi,
if you have AUTO ID field in the main table. It will generate number for each record in the ascending order only.
for example:
700000-00001 for this record the auto id is 001 .
when ever you are syndicating, you can use Cust Items property in the syndicator ( concatenation of two fields).
you can set custom delimiter for custom items.
EX:
1.create a custom item( ex: custom number ), in that custom tab, you can create the formula, click on that formula,
2.select the fields, you want to concatinate, ( in our example: material number and auto ID,), this custom filed you find in the source items.
3.map this Concatinated field to Destination item.
4.and you can synicate
hope this may help you,
Regards,
Srinivas -
Solved: Pick Number format mask
Hello,
I'm trying to format all my numbers to a specific model:
999G999G999G999G990D00
I tried doing it like I did with 'PICK_DATE_FORMAT_MASK', where I define my format under
"Application Attributes>Definition". I called it PICK_NUMBER_FORMAT_MASK'.
It didn't work and i got the next error above my report:
report error:
ORA-01481: invalid number format model
I also tried to define an application item with the value: 999G999G999G999G990D00
but then I get the same error. If I paste my number format in my report column under Number / Date Format then it works perfect. But I can't change the global format of my numbers now.
Can anyone help me?
Thanks in advance.
Regards,
Oli<p>Oli,</p>
<p>As you already discovered there is no PICK_NUMBER_FORMAT_MASK substitution variable like there is for date pickers. Perhaps this a nice enhancement request. However, there are some workarounds:
<ul><li>
<p>For reports, you can use your PICK_NUMBER_FORMAT_MASK if you convert the NUMBER columns into VARCHAR2 columns like this:<BR>
<p>to_char(number_column,'& PICK_NUMBER_FORMAT_MASK.')</p></li>
<li><p>Use ApexLib and extend the firefox plugin with your own numeric settings.</p></li>
<li><p>You can use the user interface defaults (table defaults, column defaults) in the shared components section of your application.</p></li>
</ul>
<p>With kind regards,</p>
<p>Jornica</p> -
Hi All
I am getting data from RFC and able to bind it into table. Now I want to format date and numbers into user logged in format. i.e. If user enters country as Germany while registration,date format should be European in table displayed otherwise it should be US format.
Can any one suggest me how to do it?Thanks for your your Help Abhilash. I slightly changed code and now its working. I think this is almost same thing that you discussed.You can see code below.
Can you help in working with Number format also? I am getting number format exception. String returned when RFC executed is in 10,000,00. I need to change according to user locale format. I tried doing it in java also. When I remove commas in above string its working fine.
public java.lang.String DisplayingDateFormat( java.lang.String date )
//@@begin DisplayingDateFormat()
// Current date Format in BW
SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
String ChangedDateFormat=null;
try{
// sdf.setLenient(false);
//Parsing String to Date
Date sqlDate =sdf.parse(date);
// wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Source date"+ ele.getSched_Date());
// wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Date converted "+sqlDate);
// Getting User Locale
//Getting Locale Information form Current Session
Locale userLocale= WDResourceHandler.getCurrentSessionLocale();
//wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" User Current Locale "+userLocale );
//Setting date format ie Short,default etc
DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT, userLocale);
//wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Formatting to user locale ");
//Converting Date to String
String newDateString = dateFormat.format(sqlDate);
//wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Changed Date Format "+newDateString);
//binding to Table UI element
ChangedDateFormat=newDateString;
catch(Exception e)
wdThis.wdGetAPI().getComponent().getMessageManager()
.reportException(
e.toString(),
false);
Maybe you are looking for
-
Slow loading of IR's in Space Designer
When i load an Impulse response in space designer, it takes at least 20-30 seconds with a frozen Logic, before it loads. I suppose Space Designer is looking for IR's but i don't know why. Anybody experienced the same?
-
GPIB write error code 6, how to do proper wait in GPIB comm
Hi! I use a Keithley MUX and a DVM to measure different values in my system, including 4 wire resistance. My project runs for several hours without any problem, but last night I have got an error after approx. 8 hours runtime. My error out in the mai
-
Which app is the best for deleting the apps we do not need?
I am concerned about the fact that when u delet an app, some parts of it still resides within. so what should I do?
-
Since a few days impossible to open the links that I receive
Safari is working, but impossible to open links. The link is charging but I'm getting a black page
-
Automated cropping and resizing with user interaction
Dear all, after hours of tests with batch processing and search in the internet maybe somebody of you can help me: I have roughly 3000 jpgs. in one folder (all different sizes and proportions), and I need all of them cropped to a specific proportion