Integer values and decimal values in weblient UI - Display mode

Hello,
i have developed an custom assignmentblock with some custom fields.
Some of this fields are integer values and text values.
Some other fields are decimal values.
I face the issue that this decimal values are in display mode  right-aligned all other fields are left-aligned.
In edit mode all values are right-alligned.
How can i change this behaviour? All values left-alligned in display mode!
Otherwise this looks strange.
Thank you
Kind regards
Manfred

Hi,
Decimal values will be displayed right-aligned. To change that you need to modify the GET_M method.
In get_m method, you have to change the attr datatype to string.
Data: attr type string.
Data: dref type ref to data.
Get reference of attr into dref.
Regards,
Arun
Edited by: Arun Kumar on May 14, 2010 3:03 PM

Similar Messages

  • How to display integer values and decimal values in same column in a table

    hi 
    in my report amount column is there in that column integer values (2234) and decimal values (3562.34) 
    i want to print this values as 1000 separate as like 2,234 as integer and 3,562.34 as decimal
    but this values print like 2,234.00 as integer and 3,562.34 as decimal

    Hi akilreddy,
    Per my understanding you have an field which data type may be "float" in the DB, so it have value which format like "2234" and "3562.34" in the same column, now you want to format them differently in the report, right?
    I have tested on my local environement and you can use the expression in the custom format in the Textbox properties to do this:
    Right click the field which you want to add the format and select the "Text Box Properties"
    Select the "Number" on the left pane and using expression below in the Custom format:
    =IIF(Split(Fields!yourfieldname.Value,".").Length=2,"#,###.##",Nothing)
    Or you can just use "#,###.##" in the format.
    Preview you will go the result like below:
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Wat should be data type for  negative and decimal values (eg: -1.2222)

    What should be data type for  negative and decimal values (eg: -1.2222)

    Hi
    U can use the data type DEC while creating the DOMAIN and in the domain u  have sign check box at the left corner of the screen, click that check box , u can assign negative values for the field which refers this domain.
    REWARD IF HELPFULL
    Anees.

  • Can anybody tell me how to extract sales value and cost value for an materi

    dear all,
    Can anybody tell me how to extract sales value and cost value for an material sold .
    All the values of cost value and sale values are getting  stored in bseg-wrbtr field .
    How to identify them uniquely.
    Or there is another way to find the sale and cost values.
    Regards
    Mave

    Hi Mave!
    Normally there is no condition change, when something is sold.
    But sales price depends on sales conditions (not only price, but also surcharges, discounts, taxes - if customized).
    Nevertheless, after selling you have a invoice document, where correct values <i>should</i> be stored (see VBRP fields mentioned above). If here is a problem, then customizing of price determination is in question, not a programming of user-exits with MARD selection for costs (or some other tries to get a price).
    When you specify your requirements more in detail, you might get better answers - but currently only general hints are possible ('see in invioce / G/L accounts').
    Regards,
    Christian

  • APC Value and Plan Value for an Asset.

    HI Gurus,
                      I am developing a report where I have to display the APC value and Plan value of an Asset.Can anyone pls give an insight how to find this for the Asset.

    Hi,
    why don´t you use the logical database ADA which most of the FI-AA standard reports do? The logical database is a service to get this information without developing all the READ information and translation by yourself, especially when talking about mid-year-reporting, consistence checks, etc..
    If you decide to use ADA, then the events GET ANLA0, GET ANLAV and GET ANLCV are from interest for you for information about APC and planned/posted depreciation value.
    Regards,
    Markus

  • Excise Value and Freight value should be add to material cost in the depot

    Hi,
    Can any one help me on my scenario?
    We have depot concept my client requirement is excise Value and Freight value should be add to material cost (inventories at depot) in the depot
    Thanks & Regards
    KMR

    Hi All,
       In Depot Sale. This are the Excise Duty Passed on to the Customer BED, AED ECS, SHECS, Other then that its added to the material cost. Define a Pricing procedure for value added to the material cost in both Procurement & Sales base your problem will be solved.
    Regards,
    Pherasath

  • ABAP program to neutralize  0Unit value and 0quantity value

    Hi all,
    I'm not expert in ABAP, and i would like implement a small abap program (routine)in my cube.
    I would like neutralize the 0UNIT value and 0QUANTITY value only when 0VTYPE = 1 or 2 :
    <b>in other words, if 0vtype = 1 or 4 then 0unit = space and 0quantity = 0
    b]
    Can you tell me please <b>how and where</b> write the ABAP program please ?
    Message was edited by:
            Pontoise Pontoise
    Message was edited by:
            Pontoise Pontoise

    Hi,
    I amnt able to understand your requirement. But the code for which you asked is simple.
    If 0vtype = 1 or 0vtype = ' '.
    0unit = space.
    0quantity = 0.
    endif.
    Regards
    Aneesh.

  • Report on OA target value and net value

    Hi all,
    Is there any standard report that can list out the target value and net value of a number of OA?  The values are similar to ME33K -> Header -> Statistics -> General.  Thanks.

    Thanks all. I had found the answer.  It should be transaction ME3L, change layout to select "Released value" and mark the column to show total value.

  • Net value and assesable value

    Dear Experts,
    In Import pricing procedure we different pricing condition like
    1.PACKING AND FORWARDING
    2. SUPPLIER INSURANCE
    3. OCCAN/ AIR FRIGHT  CHARGES
    4.IMPORT INSURANCE
    5. LANDING CHARGES
    to obtain  NET VALUE  which are pricing condiion value has to added
    Please tell me what is difference between  Net VALUE and  ASSESABLE VALUE,
    THIS

    Hi,
    Net value is basic material price with includes all delivery cost & fright.
    Asseable value is
    Basic price (% of material value)  depent on product & chapter ID. (Custom will provide abetment for product)
    Fright (Import)
    Insurence cost
    Landing cost 1%
    SAM
    Edited by: Saminathan Gopalan on Jun 9, 2010 4:19 PM

  • Urgent! Display lookup value and return value at the same time.

    We are using pop up lov.
    How can we display lookup value and return value at the same time. let me claer..
    Our lov query is like fallowing
    select dname, deptno from dept
    we want to return deptno column into a database bind text item and dname column into a display item (look up)
    can we do it (we need to do)
    thanks for your help.

    We did it .
    But pop up key lov (display description return value ) property doesn't appear for tabular forms item.
    (Report Attributes pages Tabular Form Element section display As property list)
    can we set or not.
    Thank you.

  • Posted values and unposted values

    Hi,
    Could anybody please tell me whats posted values and unposted values?
    Thanks.

    Hi Komalapriya,
    I can imaging two scenarios where the word "posted/unposted value" makes sense.
    1. If you have a master data value which is not being used in your transaction data, then this master data value in an unposted value.
    2. If you have transaction data with empty characteristic values (which are shown as "#" in your reports), then these values could be named unposted values as well.
    Kind regards,
    Stefan

  • Standard report which can show the  details of Invoice value and PO value

    Hi all,
    Is there any  standard report which can show the  details of Invoice value  is more than 5% of PO value. MIRO value and PO value.
    If any report which caters the maximum requirement is also fine
    Regards
    Sanjith
    Edited by: Sanjith Sethu Lekha on Dec 6, 2011 2:42 PM

    Hi
    Please refer the below mentioned link
    /thread/1789934 [original link is broken]
    Regards
    Praveen P C

  • Writeback with 'NA'  and decimal values

    Hi All!!!
    We are making some tests on the writeback with the BIBeans; we migrated a db from express to 10gR2 and converted it in
    standard form and we try the writeback on this aw.
    We found some problems when in the worksheet there are one or more 'NA' values to writeback.
    In particular when we call the submitChanges method on the crosstab object (like in the BI sample) if there are one or more
    'NA' values the submitChanges fails and return false.
    We solve this problem implementing the cellSubmitting method and catching the cellSubmittingEvent; in this method we
    substitute the values 'null' for the QDR with an "NA" string.
    We also found that the decimal values (like 180.4) make the writeback to fail; we think it is due to the fact that the
    writeback engine add a '.0' to all the values that we try to writeback so for decimal values we have two character '.'; we
    solve this problem with a support's variable for converting the value to a string and pass it to the set data to the QDR to
    writeback.
    Is this the rigth way?
    Is this a bug?
    Following We report the code we implementing for this method
    public void cellsSubmitting(CellsSubmittingEvent e)
    String app;
    ArrayList qdrCollection = (ArrayList)e.getQDROverrides();
    if (qdrCollection != null)
    int iSize = qdrCollection.size();
    for (int i =0; i < iSize; i++)
    QDRoverride qdrOverride = (QDRoverride)qdrCollection.get(i);
    if(qdrOverride.getData()==null)
    qdrOverride.setData("NA"); //for the problem with 'NA' values
    else
    app=qdrOverride.getData().toString(); //for the problem with decimal values
    qdrOverride.setData(app);
    Hi!
    Daniele De Faveri

    Thanks for your post, it is great solution and it's work for me. I'm supprised that those oversights are still in bibeans and nobody from Oracle havent answered your question.
    Message was edited by:
    Moks

  • Convert Voltage values to Decimal values.

    I need to convert voltage values/range to decimal values/range.
    Example: I read voltage (range 0 to 1.0volts) form DAC and covert it corresponding decimal value (decimal value range is 0 to 16000).
    0 decimal = 0 volts
    16000 decimal = 1.0volts.
    Thanks for the help.

    I'm not sure how you'd get a value of 16000 out of the 2620 as that is only a 12-bit DAC that will produce values from 0 to 4095. Here's the transfer function directly copied from page 12 of Linear's datasheet.
    Charles Chickering
    Architecture is art with rules.
    ...and the rules are more like guidelines
    Attachments:
    TransferFunction.JPG ‏17 KB

  • Time format hours ("hh24") delim (.or,) (1/4) hour values as decimal value

    Dear all,
    What I need is a client (browser) site validation of values for a time recording system. The format should be as
    <hh24><Delimiter>(.(or),) 1/4 hours as decimal value (e.g. 15 minutes = 0.25). So as a result valid entrys should be. 00.00 as min., 24.00 as max.
    The "minutes"-part should only except full 1/4 hour values: 00, 25, 50, 75 or blank.
    More valid variation could be:
    .75 (45 minutes) should be considered as 00.75.
    1.25 , 9 ( = 9 hours)
    A colleague helped me and created the regexp pattern.
    (?<=\A)(([01]?[0-9]|2[0-4])[\.,]?)?([\.,](0{1,2}|25|50|75))?(?=(\z))
    It works perfect in "The Regex Coach", but sadly it does not work in a java script.
    My hope is, that someon already has a solution for this or a similar task.
    If so, please let me know and give me a hint.
    Thank you very much in advance.
    and best regards.
    Andre

    Hi Ben,
    thank you for your response.
    since I not only want to ask for help, I will let you konw our solution. It has been a little mind twisting
    However, Just in case someone is interestet in...
    function xaChk_TimeDecimalFormat(pItem)
       var check = $v(pItem);
       var regexpval = "^((([01]?[0-9])|(2[0-4]))?([,\.](00?))?|(([01]?[0-9])|(2[0-3]))?([,\.](00|25|50|5|75))?)$";
       if (check.search(regexpval,"g") < 0)
       {alert ('Ungültiges Zeiterfassungs-Format. \n gültig Werte sind: \n max. 24h und nur volle 1/4 Stunden als Decimalwert z.B. 0.25 für 15 Min.') };
    function xaChk_TimeClockFormat(pItem)
       var check = $v(pItem);
       var regexpval = "^((([01]?[0-9])|(2[0-4]))?([,\.](00))?|(([01]?[0-9])|(2[0-3]))?([,\.](00|15|30|45))?)$";
       if (check.search(regexpval,"g") < 0)
       {alert ('Ungültiges Zeiterfassungs-Format. \n gültig Werte sind: \n max. 24h und nur volle 1/4 Stunden als Minuten z.B. 0.15.') };
    ;Thanks again to all how wasted any thought on this. :-)
    Best Regards
    Andre

Maybe you are looking for