Cannot use BigDecimal fields
Hello
I'm using CR inside Rational Application Developer 7.0 with POJO datasources.
When i try to use POJO with java.math.BigDecimal field, this field doesn't show up in the Crystal Report designer.
It seems to be a bug, may something has to be done to import these BigDecimal ?
See you
Sébastien
<p> A demo version of Crystal Reports Developer edition is available here:</p><p><a href="http://www.businessobjects.com/products/reporting/crystalreports/default.asp" target="_blank"> http://www.businessobjects.com/products/reporting/crystalreports/default.asp</a></p><p>Ted Ueda <br /></p>
Similar Messages
-
Cannot add form fields in document
Acrobat Pro version 9.1.2
Windows XP SP 3
I have a document that I cannot add form fields to. When I try I get a message that says "You cannot edit the file as a form due to its security settings.
When I go to Advanced->Security->Show Security Properties. The security method is set to No Security and everything is "Allow" under the Document Restrictions Summary.
Where is there a security issue?Lori,
How did you identify the PDF/A option? I am just curious for my future reference. I could not find it.
==================
Rupey,
The fonts are not embedded and that may also be something to address. A lot of these issues may be related to the 3rd party product used to create the PDF. -
Cannot see form fields on EBay and Ad trader sites
cannot see form fields on EBay and Ad trader sites. when asked to fill a form with item details the boxes that you have to fill in are missing. using Firefox 3.6.2. i have contacted Ad trader with the question but have got no replies.
i have to use Internet Explorer to see them. does anyone have the solution to my problem? i hate explorer so much and Firefox is so quick i use it as my main browser.
== URL of affected sites ==
http://http://www.adtrader.co.uk/"Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
"Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
<br />
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]<br />
<br /> -
How i use header fields in soap adapter
Hi Experts,
I need use header fields http in soap adapter receiver but i don't know where's the Variable Header
Do you know where i find this?
Somebody know how i put header fields http in soap adapter receiver?
Thanks for all,It is similar like in this blog:
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Find in the online help the values for the SOAP adapter.
You can only add additional fields, you cannot influence the standard field like content-type and content-id.
Regards
Stefan -
E6-00 and Belle update : Cannot use Wifi and LEAP ...
Upgraded the E6-00 yesterday. First issues arise and even after a full reset, it still does not work.
- Wifi connection using LEAP authentication
Network is found, popup to enter username and password, all is good. Except the phone keep trying to connect while I type the password and each time, it re-ask the username. In short I cannot use connect at all as I don't have time to enter both username and password before it loop.... No more wifi connection possible as it use this LEAP authentication. Any way to increase the connection retry timeout ?
- IMAP folder not found
Same config as under Anna, but under Belle, it does not find any folder for IMAP account (and yes, the mail root folder is right), refreshing the folder list, just do nothing.
- MAPS
Say that it's empty and need maps. Give few options:
* use OVI on the PC : OVI doesn't find MAP on the phone
* use wifi to download map : .... if wifi would work, why not
Anybody else got the same issue ? Or found solution ?
L.\
Solved!
Go to Solution.Upgraded the E6-00 yesterday. First issues arise and even after a full reset, it still does not work.
- Wifi connection using LEAP authentication
Network is found, popup to enter username and password, all is good. Except the phone keep trying to connect while I type the password and each time, it re-ask the username. In short I cannot use connect at all as I don't have time to enter both username and password before it loop.... No more wifi connection possible as it use this LEAP authentication. Any way to increase the connection retry timeout ?
Ok try to delete your apn, reset the device and resintall the OS. Don't restore any backup ans configure the WLAN apn: settings> connectivity> settings>destinations. Into the WLAN settings go to WI-fi security settings> in the fifrst field select EAP> in the second field EAP plugin settings > select EAP-LEAP.
This way the apn will work again
- IMAP folder not found
Same config as under Anna, but under Belle, it does not find any folder for IMAP account (and yes, the mail root folder is right), refreshing the folder list, just do nothing.
Please delete your mailboxes and configure them as you want. To create a IMAP access mailbox , for example Nokia Mail (outside of Messaging server) select Other. Put you credentials and choose Standard. You will see into Settings> your mailbox > sync content > Folder subscriptions> choose which folder to sync and it's done
- MAPS
Say that it's empty and need maps. Give few options:
* use OVI on the PC : OVI doesn't find MAP on the phone
* use wifi to download map : .... if wifi would work, why not
Anybody else got the same issue ? Or found solution ?
Please delete on mass memory the folder Cities and the file Qf, then open Maps and close the application. Verify that the folder Cities and the file Qf are again in E. Connect your device to Nokia Suite and redownload the cartography. -
how to use string field and its purpose...
STRING: Character string with variable length This data type can be used only in types (data elements, structures, table types) and domains. In the dictionary a length can be specified for this type (at least 256 characters). It can be used in database tables only with restrictions. For a description of them, refer to the documentation of the ABAP statement 'STRING'. In ABAP, this type is implemented as a reference to a storage area of variable size. The system proposes 132 characters as default for the output length. You cannot attach search helps to components of this type.
SSTRING: Short character string with variable length. In the Dictionary the number of characters can be specified for this type (from 1 to 1333). This data type can be used only in types (data elements, structures, table types) and domains. It can be used in database tables. To do so, refer to the documentation of the ABAP statement 'STRING'. In ABAP, this type is implemented as a reference to a storage area of variable size. String fields of this type can be used in indexes and in the WHERE condition of a SELECT statement. You cannot use them in table keys -
I was using Gregory-Leibniz series to calculate PI = 4 - 4/3 + 4/5 - 4/7 + 4/9 - 4/11 + ...
Something like:
double pi = 0.0;
int limit = 3000000;
for (int i = 0, y = 1; i <= limit; y+=2, i++)
if (y == 1)
pi = 4;
else if (i % 2 == 0)
pi += (double)4/y;
else
pi -= (double)4/y;
System.out.println(String.format("Loop %d: %.20f", i, pi)); }Then I realized PI isn't going to be totally accurate according to IEEE Standard for Binary Floating-Point Arithmetic that java math calculation uses, so I was trying to use BigDecimal class (new to me), this is what I got initally...
BigDecimal pi = new BigDecimal("0.00");
int limit = 3000000;
for (int i = 0, y = 1; i <= limit; y += 2, i++)
if (y == 1)
pi = new BigDecimal("4.0");
else if (i % 2 == 0)
pi = pi.add(new BigDecimal( Double.toString( (double) 4 / y )));
else
pi = pi.subtract(new BigDecimal( Double.toString( (double) 4 / y )));
System.out.println(String.format("Loop %d: %s", i, pi.toString()));
I realize that when I do the 4/y calculations involving both doubles... the result is probably stored according to the IEEE standards which is the thing to avoid... Is that correct? Is my PI result going to be accurate?
I noticed with this one decimals up to the 22nd place are all filled with some numbers in the calculations compared with the first one involving only double number calculations which had zero's starting around the 15th decimal.
Something like doesn't work and ends up with arithmeticexceptions...
pi = pi.subtract(new BigDecimal("4").divide(new BigDecimal(Integer.toString(y))));
So I'm actually confused about the right way of using BigDecimal class in this type of calculation to get accurate results. I do realize it's an immutable class and probably a bad idea to use it like this 3 million times in a loop.quoting from the API documentation on BigDecimal
"The BigDecimal class gives its user complete control over rounding behavior. If no rounding mode is specified and the exact result cannot be represented, an exception is thrown; otherwise, calculations can be carried out to a chosen precision and rounding mode by supplying an appropriate MathContext object to the operation."
That explains the arithmetic exceptions.
You would be advised to choose your scale first, (that would be the number of decimal places that you want to be using for your calculation. ) Then use the BigDecimal constructors that use the scale value. Construct your BigDecimal 4 outside of the loop so that you are not constructing it over and over again. And finally, read the documentation on how the scale of the result will depend upon the scale of the components going in.
A little reading and possibly re-reading of the documentation will help in the understanding of the BigDecimal class. -
Frm-40208 from running in query mode. cannot change database fields
Hi,
Could some one help me with this.
I am calling a form from another form. I am passing the parameter list to the calling form and doing a query by setting the block property. But when queries the message
FRM-40208 Form running in query mode. cannot change database fields .
I do not want the message to appear when they go the called form . Please some one could help me how could I avoid displaying the message.
Regards
BainHi,
Good day! I am working with a module that also calls another form. It uses call_form with query mode parameter set to query_only. My problem is, whenever i call the other form using the call_form, it would display the called module and then as it populates the detail block of the called form, it will display frm-40208 from running in query mode. cannot change database fields per record. What I want is for the message to be displayed only once.
I have tried capturing the error by using on-error trigger, but it doesn't go to that whenever the other form was being called. I think the message has to do with the post-query trigger, because it passes some values on a dbase block objects.
Do you have any suggested solutions or workarounds to make the message display only once whenever the other form is being invoked by the call_form?
I would greatly appreciate any suggestions/ideas.
Thanks and regards,
ASantiago -
FRM-40208: Form running in query-only mode. Cannot change database fields.
Hi,
I am using forms 6i where it is calling a form from a menu in query like call_form(,query_only). Now an error is occurring on call of that form ‘FRM-40208: Form running in query-only mode. Cannot change database fields.’ Though this is been handled to give a certain message from on_error message from a package from library.
Now the issue is that the error keeps on popping even after the ok button is pressed. There are number of records from the table. How can we handle the error. Any suggestion would be really appreciated!!!
Regards,
Rajeshthanks Gred but i have resolved the issue. it seems that each row was going into query_only mode (program written such a way). therefore the error was showing even after the OK button. handled the issue from ON_ERROR trigger. anyway thanks for your time Gred!
-
Cannot use GO_ITEM, GO_BLOCK in POST-CHANGE
It is quite difficult to control the flow if I cannot use GO_ITEM, GO_BLOCK in POST-CHANGE trigger, is there alternative way?
This really is an old chestnut. In the days of character mode many people used to put such code in key-triggers, which meant large numbers of triggers, possible loopholes, and a nightmare when it came to conversion to mouse navigation.
After using various methods in the past, I have now standardised on using a FORM-LEVEL WHEN-NEW-ITEM-INSTANCE trigger in all of my new forms. Although I originally did this because I wanted to highlight the current field, I have since found it very useful for doing other things. If I want to navigate as a result of WHEN-VALIDATE-WHATEVER I set a variable to the name of the item I want to go to (could use a global but I prefer packaged variables). The W-N-I-I trigger reads the variable and does the GO-ITEM (and of course nullifies the variable).
I also agree with Steve, POST-CHANGE is oldy-fashioned and not really the right thing to use. -
How can I use the field "Sales Order" on derivation?
Dear All.
This is about PA characteristic derivation.
I want to change the characteristic value "Sales Order (KAUFN)" by derivation.
But I cannot select the characteristic field on target field.
The field "Sales order(KAUFN)" doesn't exist there.
Why? How can I use the field "Sales Order" on derivation?
Y.C.BaeHi Bae,
in order to be able to choose fields KAUFN (for sales order) and KDPOS
(for sales order item) as target fields of derivation step 'enhancement'
you have to modify the coding of subroutine EXIT GET_ALLOWED_TARGETS
in program RKEDRCOPA like this:
NAME-IDENTIFIER = 'CO-PA'.
NAME-TABNAME = FIELDTAB_ENTRY-TABNAME.
NAME-FIELDNAME = FIELDTAB_ENTRY-FIELDNAME.
IF FIELDTAB_ENTRY-USGFL CA 'DUV'
BEGIN OF INSERTION *****
OR FIELDTAB_ENTRY-FIELDNAME = 'KAUFN'
OR FIELDTAB_ENTRY-FIELDNAME = 'KDPOS'
END OF INSERTION *****
OR FIELDTAB_ENTRY-FIELDNAME = 'KNDNR'
OR FIELDTAB_ENTRY-FIELDNAME = 'ARTNR'
Actually sales order number and sales order item shouldn't be changed
by derivation (therefore they are no valid target fields in standard)
but if you need to fill them within an enhancement this modification
will help you to define them as valid target fields. But this is just
the technical frame so far; the logic from which table you'd like to
derive the sales order number correctly depends on your implementation
of the enhancement! I just want to ask you to be rather careful with
the implementation of the exit so that the sales order number isn't
changed in cases that shouldn't be concerned.
Regards,
Abhisek -
Cannot use Is Null in record selection
I cannot use Is Null in a record selection expert. I use the same wording in excel and SQL QA with no issues.
I need all records that are not '5 - Project' including Nulls. Once I put the criteria of '5 - Project' it excludes the null records.
{@dtCompleted} = {?Completed_Date_ Range} and
{TASKS.TYPE} = "Information Technology" and
{TASKS.PRIORITY} <>'5 - Project'
This does not give me the nulls for the Priority field.
The one I use in QA or in Excel is
{@dtCompleted} = {?Completed_Date_ Range} and
{TASKS.TYPE} = "Information Technology" and
({TASKS.PRIORITY} <>'5 - Project' or {TASKS.PRIORITY} is null)
This gives me the "The ) is missing" error. Help!(isnull({TASKS.PRIORITY}) or {TASKS.PRIORITY} <>'5 - Project')
and
@dtCompleted} = {?Completed_Date_ Range} and
{TASKS.TYPE} = "Information Technology";
Make sure that under File | Report Options or under File | Options the the box next to "Convert Database Null values to default' is NOT checked.
{TASKS.PRIORITY} NOT EQUAL TO '5 - Project'. Use the Greater than and less than symbols.
Edited by: Sanjay Kodidine on Feb 27, 2009 8:49 PM -
After post accounting document user cannot change Reference Field
Hi,
I have a issue. After post accounting document user cannot change Reference field value. Please suggest .
Thanks & Regards,
Hemant MauryaHi Hemanth,
Mr. ajay's solution solve your issue.
If you activate it will applicable to entaire client (it is not comp code specific)
For Activation USe T.Code: OB32 maintain Field (BKPF-XBLNR), Account Type & Transaction Type Blank
Remove Field Can be change Check Box
Regards
Viswa -
Cannot use right mouse to show shortcut menu
Dear all,
On SBO screen, I cannot use right mouse click to show shortcut menu on every field or every area that SBO provide shortcut menu. I cannot use on one database but I can use right mouse on other database ( same client ). Does there is any problem or there is any set up for this operation.
Thanks you in advance,
AngnamDear Angnam,
If you have source code of SDK and resource to check the code, you can find why the right mouse has been blocked. Then you can find solution. Otherwise, you have to decide which one is more important. In other word, you cannot use the current problematic addon with right mouse at the same time.
Thanks,
Gordon -
Cannot use comparisons with column column references in pool and cluste
Hi Experts,
I am facing an issue in a select statement written in 4.6 version and in that the table is a transparent table but when porting it to ECC6.0, it gives the follwing error:
You cannot use comparisons with column column references in pool and cluster tables:'A~MATNR'. refe
The select statement is as below:
SELECT akschl alifnr amatnr aekorg awerks aesokz
aknumh adatbi a~datab
bmtart bmatkl
b~yybcezndr " Commented as not required(IDE)
cwerks cmmsta c~herkl
INTO CORRESPONDING FIELDS OF TABLE gt_a017
FROM a017 AS a
INNER JOIN mara AS b
ON bmatnr = amatnr
INNER JOIN marc AS c
ON cmatnr = bmatnr
AND cwerks = awerks
INNER JOIN lfa1 AS d
ON dlifnr = alifnr
WHERE a~kappl = 'M' AND
a~lifnr IN s_lifnr AND
a~matnr IN s_matnr AND
a~ekorg IN s_ekorg AND
a~kschl = v_kschl AND
a~kschl = gv_kschl .
Kindly help me out in this as A017 is a pooled table in ECC 6.0 . Thanks in advance!!!
Thanks and Best Regards,
SahilHi Sahil,
Refer below code
SELECT KSCHL LIFNR MATNR EKORG WERKS ESOKZ
KNUMH DATBI DATAB
FROM A017
INTO IT_A017 " internal Table
WHERE KAPPL = 'M' AND
LIFNR IN S_LIFNR AND
MATNR IN S_MATNR AND
EKORG IN S_EKORG AND
* kschl = v_kschl AND
KSCHL = GV_KSCHL .
IF IT_A017[] IS NOT INITIAL.
SELECT MATNR MTART MATKL
FROM MARA
INTO TABLE IT_MARA" internal Table
FOR ALL ENTRIES IN IT_A017
WHERE MATNR = IT_A017-MATNR.
SELECT MATNR WERKS MMSTA HERKL
FROM MARC
INTO TABLE IT_MARC" internal Table
FOR ALL ENTRIES IN IT_A017
WHERE MATNR = IT_A017-MATNR AND
WERKS = IT_A017-WERKS.
SELECT LIFNR
FROM LFA1
INTO IT_LFA1" internal Table
FOR ALL ENTRIES IN IT_A017
WHERE LIFNR = IT_A017-LIFNR.
ENDIF.
After this use READ statement and fill the data in final internal table..
Please search on SCN for more information about how to use FOR ALL ENTRIES..
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya
Maybe you are looking for
-
I want a 'date', on front page, to be reflected on all my headers automatically.
I have a document which has a date which is changed manually with every revision. Now I want that date to be reflected on headers automatically without manually editing header every time.
-
Controlling which display Mail opens messages into
I am a teacher. When using an alternate display, Apple software in general, and Apple Mail specifically, tends to open in the alternate display. So if i am working on my regular display screen and showing something to my class on the alternate displa
-
Promlem in Manual Condition Type
hi I am using Manual condition type for Price(in v/06 i maintained as 'Manula entry has priority' & in V/08 activated manual check button) but in sales order after selecting manula condition & entering value if i press the enter button the values a
-
how to verify apple id
-
Taking and organizing daily notes?
Is there a way on a Mac to take and organize daily notes? I am looking for a simple application that lets me quickly open a document, type meeting notes and such, and then keep them organized. I have tried using individual Word documents or the Notes