Number formatting and Flash Islands

Hi,
I created a flash application for SAP WebDynpro ABAP.
Everything worked fine, but when I imported the flash file to the integration system, all quantities (SAP type QUAN, and CURR) in the flash display  are multiplied by 1000.
Is there any setting in Flex to cure this ?
Any help appreciated.
Regards
Marcus

How are you formatting the number within Flex?  Are you using the FlashIsland helper method?
FlashIsland.formatNumber(hd.item.TTL_NET_AMOUNT)
Is your context structure on the WD side setup based on DDic structure that contains the currency code reference so that the output routine to the FlashIsland xBCML will know the correct currency?

Similar Messages

  • Stored Procedure for Batch Number Format and Block Duplicate Batch Number

    Hi Experts !
    I am new one in forum asking question.. I want Stored procedure for Batch Number Format. I want fix one Batch number format in Stored Procedure.
    Example :
    My Batch number format Like  BATCH00001 - It should be first five digit is text format and next five is Numeric.
    IF create Goods receipt PO or Goods receipt stage I create batch number like BATCH 00001 or any other number means don't add that document and also duplicated batch number also does not allowed. please give me the solutions. I am sorry for my bad english .

    Dear Nagarajan K.
                         Thanks for your replay ..
    IF @transaction_type IN ('A','U') AND (@object_type = '106' )
    BEGIN
    set @item = LEFT( @list_of_cols_val_tab_del, CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,1) - 1)
    set @batch = substring(@list_of_cols_val_tab_del, len(@item)+1, (CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,len(@item)+2)) - (len(@item)+1))
    --set @base =( select basetype from ibt1 where batchnum = ltrim(rtrim(replace(@batch,char(9),''))))
    set @count = (select count(*) from oibt quantity > 0 and where  batchnum = ltrim(rtrim(replace(@batch,char(9),''))))
    if @count > 1
    begin
    set @error = 1
    set @error_message = 'Please enter different Batch Code for batch ''' + @batch + ''' for item ' + @item 
    select @error, @error_message
    END
    END
                  I used above Stored Procedure. here we can use one batch number for different item but  i want to block one batch we should use one item and one time only after than we never use that batch number for same item and another item.
             After that I want format for Batch, we should follow unique Batch number for all items.

  • Populating the "number format" and "calculate" field properties?

    I've been making a lot of Acrobat forms with an extremely large number of form fields (as in, over a hundred or more per form).
    Each field has to have these properties:
    -Set to Number format, with 4 decimal places specified
    -Set the Calculate property with a simplified field notation (field1*field2), to perform multiplication, or, it's set wtih the "value is the (product) of the following fields" function.
    Is there a way of copying these attributes to already pre-existing fields?  It appears that for already existing fields, if you want them all to have these same attributes, you have to set them one by one-- very tedious.  If you multi-select all fields at once, it doesn't let you set them all to the same calculation setting, and it doesn't even let you set them all to number format.
    So, up till now I've simply made one (or a few) fields, set them to these properties, and then populated them by duplicating the fields, but-- I still then have then to go in and re-name every single field, so that each is a unique field-- also very tedious.
    Is there some way that I don't know about, that would allow me to set these properties to multiple pre-existing fields at the same time?

    Unfortunately, no.
    However, you can set the the field's calculation formula using a simple script.
    Let's say your fields are called field1, field2, field3, etc. You can then run this code from the console:
    maxFields = 100; // let's say you have 100 fields
    for (i=1; i<=maxFields; i++) {
         f = this.getField("field"+i);
         if (f) f.setAction("Calculate", "event.value = this.getField('x').value * this.getField('y').value;");
    Of course, you can adjust the formula to your own needs.
    Make sure you use single quotes inside of the script when you want to specify a literal string.

  • List of Number format and Date format according to the Locales

    Hallo everyone.
    I am searching for a list or document which includes the number and date formats according to the country locales. Where can I find sort of document?
    Another question: Where can I find the all parameters of swing.properties file?

    "Date - allows the user to enter a date as a parameter. Note that the data type must also be "Date" and the format must be Java date format."
    Page 4-9, Adding Parameters and Lists of Values
    Oracle® Business Intelligence Publisher
    Report Designer's Guide
    Release 10.1.3.4
    Part No. E12187-01

  • Lenovo a3000-H after format and flash starting problem

    downloaod the flash file put it into flash tool and i format the tab 1st the again download it its flashed ok but now start lenovo logo then a screen display with red boxes with chines or japanies etc language on the top : please selech the button i select any of them and click on okey but after some time its shows timeout failed ... but recovery menu and reset menu working perfectly.......what shoud i do 

    I can't turn on WiFi and Bluetooth on my lenovo A3000-h. When I touch the icon it tries to turn on but after several times it remains same with grey icon.I have tried factory reset but no luck. Any help will be appreciated. Thank you in advance.

  • Does Flex or Flash islands support ALV table scrolling ?

    Hello experts,
    if I have a webdynpro abap ALV table, no "real" scrolling in a large list is possible. The paginator buttons as well as the "scrollbars" always trigger a roundtrip, and it takes a moment or two until the next page or line is displayed.
    A "real" scrolling would be like in Excel or in other web pages where you can quickly roll through a list, by using a scrollbar or the mouse scrolling wheel.
    Does anyone know if this will be supported by Flash islands (in EhP1 maybe?) ?
    Thank you
    Johannes

    I think you're mixing things a little bit. WebDynpro ALV table is one thing...and Flash Islands is another...you can't build an ALV inside Flex, at least no so easy.
    ALV is an SAP Technology and it doesn't fit on Flex which is Adobe Technology. You can use Flash Islands to embed a Flex file into WebDynpro, but that in no way affect any WebDynpro standard components.
    Greetings,
    Blag.

  • Number Format Help

    I can't seem to figure this out. I have numbers in the
    following formats:
    5.00
    5.76
    6.894
    I would like to format the numbers like this when they are
    displayed on the page:
    5
    5.76
    6.894
    Which function do i use? I tried number format and it keeps
    rounding the decimals. I feel like an idiot but i can't seem to get
    it to work.

    try #val(n)#
    I'd have expected 5.00 to displays as 5 as a matter of
    course, so it's probably being treated as text...

  • Number formatting with either 2 decimal places or none

    Hello,
    I'm using Acrobat 8 in XP and not familiar with Javascript.
    I have some dollar amount fields where I need it to be number formatted, and limited to 2 decimal places but leave the user the ability to enter only an integer.
    ie, go to two decimal places if any of
    > .
    > .0
    > .00
    > .000(...)
    are present but leave it off if none are present.
    I assume I need a custom format script but I've not been able to learn enough to figure it out yet.
    If anyone can give me some code I can edit and paste, that would be great. Any help is appreciated.

    > Have a String as "3.0000000"
    String s = "3.0000000";
    System.out.printf("%.2f", Double.parseDouble(s)); // 3.00
    Formatting - Numbers and Currencies
    ~

  • Custom Number Format With Leading & Trailing Zeros

    Hi!
    How can I define following number format in Apple Pages (v3.5)?
    Positive numbers: +#'##0.00 (e.g. +0.30 or +5'000.00)
    Negative numbers: -#'##0.00 (e.g. -0.30 or -5'000.00)
    If I create a custom number format and enable Show Trailing Zeros, the leading zero is not shown (e.g. +.30 instead of +0.30). Number format with Thousands Separator enabled comes closest to what I need, but misses the plus sign for positive numbers (which I need to represent differences).
    Any ideas? Thanks in advance for your help!

    Hi Tuna,
    Maybe the currency format would work for you,
    The plus sign is problematic. With the above your negative numbers will be red and in brackets, positive numbers will be black. You could use conditional highlighting to change that.
    quinn

  • Global Custom Number format

    Hi, I've searched in the forum and help for this to no avail.
    It seems that you should be able to define a custom number format and have it stored so that you can use it again. But whenever I do this it only applies to that document.
    Is there a way to have custom formats stored in the Cell Format list?

    I don't know how to make it "global" but you can open the blank template, make your custom format, then save the document as a template and it will be in any new document you create with that new template.

  • Currency format and Regional Settings

    Is it possible for WebI reports to honor Regional Settings (client system or BO system or BO setup) and correctly handle the currency format without making any changes to the report?
    Neeraj Bhatia

    There might be a smarter way, but you could use alerters and the GetLocale() function.
    Create a new variable called, Currency Type with the formula
    =If GetLocale() InList("en_AU";"en_US") THEN "Dollar" ELSE "Euro"
    Or whatever. Then use an alerter where the "Filtered object or cell" is the Currency Type variable, and the Operand is "Dollar" then click Format... then at the top click Default next to Number Format and set the appropriate currency format.
    Add a sub-alerter to do the same for Euro, and whatever other currencies you must allow for.
    Hope that helps.

  • How do I change a number that was international back to UK number so it permanently recognises it as UK not international? I've tried delete, reset factory settings, change the format of the number etc and nothing seems to work. Help!

    I recently moved back to the UK and bought my iphone 4 with me. It is unlocked and works on the new contract that I have set up here in the UK. The problem I'm having is that some of the UK numbers that I had already had on the iphone in Korea as international UK numbers will now not work as they are still coming up as international numbers. This means it is costing me a lot to message or call these numbers. I have tried changing the number format various ways, deleting the numbers (although it still seems to remember them), resetting the phone, restoring the phone.
    How can I succesfully change these numbers?
    Any UK numbers I have added since changing the contract are working fine.
    Thanks!

    Do you happen to have Dial Assist on? This is in Settings>Phone. This is what helps the phone identify international numbers when dialing, based on location. See if turning that off/on makes a difference. Unless you are making a number of international calls, I believe this can be left off. See the User Guide http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf  Page 49 has info regarding Dial Assist.

  • I formatted and re-installed itunes. now it flashing massage that my ´ipod is synced with another iTunes library. An ipod can be synced with only one library at a time.´ now it is giving 2 options,  1- erase and sync, 2- transfer purchases. what to do?

    i formatted and re-installed itunes. now it flashing massage that my ´ipod is synced with another iTunes library. An ipod can be synced with only one library at a time.´ now it is giving 2 options,  1- erase and sync, 2- transfer purchases. what to do?

    Follow these instructions:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • Applying date and number format mask

    I have specified a date format for an attribute and a number format for another attribute of an entity object using Entity Object Editor - Control hints for the attributes.
    The date format is:
    Format type: Simple Date
    Format: dd.MM.yyyy
    The number format is:
    Format type: Currency
    Format: 0,000.00 km
    When using &lt;c:out value="${bindings.MyDate}"&gt;&lt;/c:out&gt; the format mask for the date is applied and it looks good, but when using
    &lt;c:forEach var="Row" items="..."&gt;
    &lt;c:out value="${Row.MyDate}"&gt;&lt;/c:out&gt;
    &lt;/c:forEach&gt;
    the format mask is not applied.
    When it comes to the number format it is not applied no matter what I use.
    I have tried setting the format for the view object attributes as well but the result is the same. How do I make this work?

    Can it have something to do with &lt;html:form&gt; ? Since it works using &lt;c:out value="${bindings.MyDate}"&gt;&lt;/c:out&gt; inside a html:form.

  • Environment needed to build and test Flash islands ?

    Hi Everyone,
    I'm a Flex developer and I know very little about SAP technologies. I'm very interested in Flash Islands and the possibilities that they bring to the table. I attended Thomas Jung's talks at TechEd and I think I know how to build an Island on my own .. actually I've already kinda built one that I think would work. The documents at Mentor Workshop google code site were very helpful http://code.google.com/p/sdn-mentor-handson-2008/downloads/list
    Now the problem I have is that I have no where to test these Islands that I build (Thomas was gracious enough to help me test my first Island in WebDynpro and I hear its working) ... I don't work for a company and do not have access to a company installation ... so I would like to setup my own basic test Netweaver instance where I could tryout my Islands. I'm hoping that someone here could walk me through the steps I need to get started ... which version should I install? from where? Once the install is done do I need to do anything else? what do I do with all the .nugg and transport files provided here... http://code.google.com/p/sdn-mentor-handson-2008/downloads/list
    etc.
    I would really appreciate your help,
    Thank you,
    Mrinal
    http://weblog.mrinalwadhwa.com

    Hi. First thing you need is a NetWeaver ABAP system. You can download the trial from here.
    https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/80fd9a0a-e306-2a10-c896-b84c77c13ed2
    Once this is installed, then you can install SAPlink, which will help you in importing the .nugg files.  If you don't have any NetWeaver ABAP experience, this may be a challenge for you.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Safari quit unexpectedly

    Hi, Every time I try to open safari on my macbook pro (mac os x version 10.7.4) a window pops up that says "Safari quit unexpectedly. Click reopen to open the application again. This report will be sent to Apple automatically." but when I hit reopen,

  • Error in BC installation

    hi guys, look at this error message, Error Message: 0VENDOR_ATTR of type InfoSource, is not, however, available in the Metadata Repository. Object 0VENDOR_ATTR of type InfoSource is ignored in further collections. The links for object of type are inc

  • Message split to 2 differenet IDOCs

    Hi, I'm configuring scenario where I split incoming XML message, each row(JDBC sender), to IDOCs. Depending on some tags, it can be IDOC1 or IDOC2. Occurencess are: In_Msg 1 IDOC1 0..unbounded IDOC2 0..unbounded I have done all mappings and configura

  • Bluetooth Remote Control Quit Working

    I have a new 8350i and downloaded the new 5.0.0.807 (?) version software. For some reason, after doing this, the ability of my Plantronics Voyager 815 headset to perform remote controls (answer, hang up, volume, etc) has quit working. Has anyone else

  • Options to bring data from Oracle

    I need to do continuous data updates from Oracle to my SQL 2008. What are my options except linked servers. Thanks for your help.