Quantity field displayomg units as ERR in Bex

Hi,
We have a quantity field it is showing Units as ERR. Source system for us is DB Connect (Oracle server)and if I right click on this I haven't seen transfer global settings option to do the settings. I have read related posts in SCN but those all are for R/3 source system.If I use NODIM in BEx I cant show the units so hHow do I fix this isuue.
Thanks,
Swathi.

Hi Swati,
Units might be maintained in the separate filed.have you mapped the unit filed to the KF?
If the filed is not mapped just map the filed(before making changes drop the data and reload the data).
once done with the changes and realod the data run the report and check.
Regards
KP

Similar Messages

  • How to truncate the decimals in the ALV report for the quantity field

    Hi All,
    I have to display a quantity field and units of measure in the ALV output. If the units of measure eq 'PC' i should not display the decimal places for quantity in the alv output, otherwise i have to display the decimals in the output. How to do this....any help would be highly rewarded. I knew that for this type of cases decimal_o will not work.

    Hi,
    Declare one more Internal table same as output table. In that intead of that quantity field, declare field_name(15) type c.
    data temp type i.
    Loop at itab.
    if field = 'PC'.
    temp = qunantity field.
    field_name =temp.
    else.
    field_name = quantity field.
    endif.
    endif.
    endloop.

  • Unit of the Quantity field is displaying in internal format in Bex report

    Hi Experts,
    I have a BEx Query, in which i have quantity keyfigure added(Examble - Sales Quantity).
    When i run the report for a selection the report displayes the unit for the quantity field in internal format.
    Examble - instead of showing 10 CS (case), the report is shwing in 10 CV (internal format of unit CS is CV).
    Also when i check the cube content, it has the unit updated into the cube as CS for that keyfigure.
    Can any one let us know, how to dispaly the report output in external format.
    Regards.
    Muruganand.K

    Hi Gopi,
         The property in question is "calculated". This is a property of a context value attribute. So select the value attribute in the context to which your field is bound and view the properties. Set "calculated=true". It will generate the accessors.
         In the setter method, add the following piece of code:
    public void set<your attribute name>(IPrivate<your component>View.IContextElement element, java.lang.String value)
      DecimalFormat df = new DecimalFormat("#.00");
      value = df.format(value).toString();
    Regards,
    Satyajit
    Message was edited by: Satyajit Chakraborty
    Message was edited by: Satyajit Chakraborty

  • Quantity field to string with units ?

    Hello All,
           i'm moving quantity field to a string .
    But I want to move with reference unit also.
          DATA: lv_del_qty TYPE string.
          CLEAR lv_del_qty.
          lv_del_qty = itab->del_quantity.
    I want the unit referece also.
    How to do this ?
    Regards,
    Deepu.K

    Hi Deepu,
    If you want to add the quantity fiels to a string then go for the concatenation of othe reference Unit and the quantity.
    <b>Syntax is</b> .
          DATA: lv_del_qty TYPE string.
          CLEAR lv_del_qty.
    Concatenate  itab-quantity itab-refence_unit into lv_del_qty.
    Write:/ lv_del_qty.
    <b>Output</b> will be  1222USD.
    loop at itab into wa_itab.
       concatenate itab-quantity itab-currency into v_string separated by space.
       modify itab from wa_itab.
    endloop.

  • Error with quantity field:Datasource Creation Using Function Module method

    Problem with DATASOURCE Creation using Function Module method :
    I have created a datasource ZSTANDARD_COST_PRICE using Function Module method . The datasource creation is successfull when I remove the quantity field from the Z table . If I dont remove the quantity field from my Z table it gives an error as "Units Field WAERS for field STPRS of datasource ZSTANDARD_COST_PRICE is hidden". I am not able to remove this error . Please someone guide.
    Let me know if my explanation is not clear enough.
    Thanks in advance,
    Neha.
    Z table definition is as below :
    MATNR MATNR CHAR 18 0 Material Number
    BWKEY BWKEY CHAR 4 0 Valuation area
    LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
    STPRS STPRS CURR 11 2 Standard Price   " Here the currency field is WAERS and table T001
    PEINH PEINH DEC 5 0 Price Unit
    VJSTP VJSTP CURR 11 2 Standard price in previous year
    VJPEI VJPEI DEC 5 0 Price unit of previous year.
    Edited by: Neha Rathi on Jan 30, 2009 3:03 PM

    Hi,
    You should add it as one of the main fields as you have added other fields and not as the currency fields...that is..it should be part of the data source and you should be able to see it in RSO2...
    Also if added as i said then it will come as new field in the data source...you can either let it be there...or hide it..
    also if you want to populate it then you will have to write the code for this fields as well.
    Thanks
    Ajeet

  • Best practice for "Quantity" field in Asset Master

    Hi
    I want to know what is the best practice for "Quantity field" in asset master. It should be made displayed only or required field in Asset Master creation.
    Initially I made this field as required entry. So user entered 1 quantity. At the time of posting F-90, he again entered quantity. So my quantity in asset master got increased. Hence i decided to make that field display only in asset master creation.
    Now i made that field as display only in asset master creation. At the time of posting F-90, that quantity field is not coming only. I check my field status group for posting key as well as GL account. Its optional field. Inspite of that user is able to make entry in F-90. Now quantity field is '0' only in asset master even though there is some value in asset.
    Please help what is the best practice wrt quantity field. Should be open in asset master or it should be display only.

    Hi:
               SAP Standard does not recommend you to update quantity field in asset master data.  Just leave the Qty Field Blank , just mention the Unit of Measure as EA. While you post acquisition through F-90 or MIGO this field will get updated in Asset master data automatically. Hope this will help you.
    Regards

  • How to validate Quantity field in TV - Inputfield ?

    Hello All,
            I'm using a table view to show the output .
    IN this table view I made 2 fields as Input fields.
    Both the fields are Quantity fields.
    Now when the user enters a value in this Quantity field I want to validate it with respect to it's units .
    How can I do that ?
    In my case if the user enters correct value it works but when he enters a wrong value my BSP is going for a dump.
    I tried to debug the<b> LIPS table</b> to verify how SAP was handling this checking for the field <b>LFIMG</b>. But there there is a statement called chain --endchain.
    SO there is no chance for debugging.
    My code is as follows :-
            LOOP AT gt_final INTO wa_final.
              CLEAR: gv_row,lv_qty,lv_string,gv_len,gv_cell_id1.
              gv_row = sy-tabix.
              gv_len = STRLEN( gv_row ).
              gv_len = gv_len - 1.
    * Modify the Third Column
              CONCATENATE 'INB01_TV_ID' '_' gv_row(gv_len) '_' '3' INTO gv_cell_id1 .
              lv_string = request->get_form_field( name = gv_cell_id1 ).
              WRITE lv_string TO lv_qty  UNIT wa_final-units.
              CLEAR :wa_final-del_quantity.
              wa_final-del_quantity = lv_qty.
              MODIFY gt_final FROM wa_final TRANSPORTING del_quantity.
            ENDLOOP.
    Can anyone tell me how to validate the entry for the Quantity filed ?
    Regards,
    Deepu.K
    I have one more Question .
    Whenever BSP goes for a dump in this case I want to handle this by a message .
    Is it possible ?
    Message was edited by:
            deepu k

    Hello Raja,
           I want to validate the entry in the QUantity field with respect to the Unit of the Quantity.
    I.e say for example I have a unit as PC (pieces) then the quantity must be only of thousands,lakks and so..on......but not in points i.e a piece quantity must be full either 200 ,2 lakhs or 2 pieces but not 2.5 pieces.
    SO now if the user enters 2.5 it's a wrong value as the quantity for the Unit PIECES can't have half-piece. (2.5 = 2 + 0.5) .SO i want to validate this .
    I hope I'm clear.
    How should I do ?
    Regards,
    Deepu.k

  • Total delivered Quantity field

    Hi,
    I am looking for a field that gives me total delivered quantities of an item of a sales order.
    Foe Example : sales order 1000 item 20 qty 30.00 ea
    two deliveries for this item
    Delivery 8000 item 10 qty 20.00 each
    delivery 8001 item 11 qty 10.00 each
    I want to know if there is a field which gives me the total delivered quantity 30.00.
    I am looking for something like the field in schedule lines tab of the sales order.
    There is a structure field (RV45A-VSMNG).This field is for Delivered quantity in sales units.
    Is this field directly available in a database table.
    Please help.

    Hi,
    I am looking for a field which gives me total delivered quantity by giving the sales order. LIKP and LIPS need delivery number as the input.
    e.g. sales order 1000 qty 30 ea.
    I need the delivered quantity for this sales order.
    If there are 2 deliveries for this sales order,
    delivery1 qty 10 ea
    delivery2 qty 15 ea
    Now the total delivered quantity is 25 for the sales order.
    I am looking for a field which gives me this field.
    With likp I only get the delivered quantity in a particular delivery which is not necessarily the total delivered qty for a sales order.
    Please let me know if there is a field for this.
    Tks a lot ..

  • Change of the quantity field to 5 decimal places in SAP

    Hi Gurus,
    The quantity field is appearing with 3 decimal places in BOM, Process Order, etc. Is it possible to make the decimal places to 5.
    All the decimal digits from SAP are 3 digits. We have an interface through which the data flows from another legacy system (Fow system) to SAP. And the Fow system setting was 5 digits. The issue is some of the raw material requirement qty was really minor and it might be below the decimal 3 digits.
    In that case, when the data flows to SAP from Fow system it will cause the material stage failure. so please help me to investigate how to let the SAP also could have the 5 digits decimal. Thanks.
    Regards
    Brijesh

    Dear ,
    Its SAP standard ,to put and use decimal places in BOM qty .You can use upto 3 decimal places in BOM qty.
    At SE11 you need to see what measure field is linked to the quantity field.Then goto tranaction CUNI and chage the decimal places of the unit of measure for the qty field unit , it will not allow you more than 3 decimal places in case of BOM qty.
    You have following choice :
    1. With the access key make changes in the standard program and take help from ABAPer
    SAPLCSDI, Table Name-RC29P, Field Name- MENGE.
    2) Change the base quantity in BOM header to 1000 aand accordingly change the component quantity.
    Hope this is clear
    Regards
    JH

  • Quantity field as input field in purchase templates

    Hi SDN,
    we are on WAS 700, SRM 5.0. SRM Server 5.5
    I am facing an urgent change request, which is a modification of standard templates and dynpros.
    The Task:
    When I create a shopping cart via "Old Purchase Orders and Templates" I want the quantity field as an input field, so that I can change quantities right here, when adding items from the public template to the shopping cart.
    The Business Case:
    We get tons of bad user feedback, as the process as it is, is really time consuming, because first you chose items from the template and in the next step you have to change the quantities.
    The html template involved is the:
    SAPLBBP_PDH_SEARCH 4001
    The corresponding dynpro is:
    4001 in function group BBP_PDH_SEARCH
    In the dynpro I see a quantity-field in the creen painter:
    -QUANTITY in Table Control TC_SUBLIST_SC
    in the html template I have:
    `if (SUBLIST-ITM_TYPE[n].value != "HIER")`
                  `SUBLIST-QUANTITY[n].value` `SUBLIST-UNIT[n].value`
    I guess I need something like:
    <input type="text" name="<SUB_WA>-QUANTITY" value="`SUBLIST-QUANTITY[n].value`">
    How do I set up the input field? Help greatly appreciated!!!
    Kind regards, Matthias Kasig
    Message was edited by:
            Matthias Kasig

    Hi,
    in perform mark_read_from_web you have something like that:
    MODIFY <sublist> FROM <lfs_sub_wa>.
    this modifies your sublist with new values.
    All you have to do is add to <lfs_sub_wa> quantity field.
    in code:
    lv_index = lv_index + 1.
          field-get 'SUBLIST-MARK' lv_index lt_mark lv_leng.
          IF sy-subrc <> 0.
            CONTINUE.
          ELSE.
            READ TABLE lt_mark INDEX 1.
            IF sy-subrc EQ 0.
              MOVE lt_mark TO <lfs_sub_mark>.
              MODIFY <sublist> FROM <lfs_sub_wa>.
              IF <lfs_itm_type> EQ c_hier AND
                 <lfs_exp> is initial And
                 lt_mark EQ gc_yes.
                MOVE <lfs_itm_guid> TO lt_sel_hier-guid.
                APPEND lt_sel_hier.
              ENDIF.
            ENDIF.
          ENDIF.
    add something like this:
    lv_index = lv_index + 1.
          field-get 'SUBLIST-MARK' lv_index lt_mark lv_leng.
          field-get 'SUBLIST-QUANTITY' lv_index lt_mark lv_leng.
          IF sy-subrc <> 0.
            CONTINUE.
          ELSE.
            READ TABLE lt_mark INDEX 1.
            IF sy-subrc EQ 0.
              MOVE lt_mark TO <lfs_sub_mark>.
              MODIFY <sublist> FROM <lfs_sub_wa>.
              IF <lfs_itm_type> EQ c_hier AND
                 <lfs_exp> is initial And
                 lt_mark EQ gc_yes.
                MOVE <lfs_itm_guid> TO lt_sel_hier-guid.
                APPEND lt_sel_hier.
              ENDIF.
            ENDIF.
          ENDIF.
    Regards,
    Marcin Gajewski

  • Quantity field in Asset Master

    Dear All,
    We have created one Asset e.g. "Drawframe" which includes the total acqusition value of 10 Drawframes i.e. if 1 drawframe is of 1000 Rs/- then we have included 10,000 Rs (1000*10) in single asset "Drawframe".
    Now my query is:
    When I sell one drawframe then how would I be able account it in Asset accounting, because I have a single asset with combined drawframe values.
    I saw quantity field in the Asset Master. Please let me know if the use of this field in my case.
    Regards

    hi
    check out this SAP explanation for that field
    Quantity
    Quantity that the system manages on the asset
    Use
    For assets in which a base unit of measure is entered, you can enter a quantity when you post acquisitions and retirements. The system then updates the asset according to this quantity when you post, based on the debit/credit flag of the transaction posted.
    In addition, you can already specify a quantity when you create a new asset master record. However, any quantity you enter in master data maintenance (such as 1) is added to any quantity that is entered in the acquisition posting.

  • Regarding Editable Quantity field in ALV Grid

    Hi Experts,
    I need your advice in this 2 scenarios.
    1.I have a scenario where quantity field in output is editable and the user wants the quantity field printed without thousand separator. If i take a char field and display the field is editable then user may mistakenly type a,bcd...z/ special characters which it should not capture. Is there any char data type data element which accepts only integers. Because after that i need to save that value in z database table quantity field.
    2. when there i raised an error message after validation of that editable field in alv output(by events), the user wants all other rows in that grid as uneditable except the row which has got error till this error is solved. Is this possible. If yes how.
    Please share your valuable suggestions.

    Hi abilash n      
    as in dictionary, all quantity fields should have a reference to the unit field which then defines the number of decimals.
    The rest is done automatically as long as you do it standard way. In field catalog you have to set the fcat-qfieldname to the name of the field that has the unit.
    If you do so, also totals will be grouped by unit.
    SAP has really done a great thing by inventing  units for quantities (and currency keys for currency amounts). Only developers do not understand and thus refuse to use it.
    Regards,
    Clemens

  • Purpose of Entry/Check Table and Currency Quantity Fields...!

    Hi......!,
    I want to know what is the purpose of this   Entry/Check Table and Currency Quantity Fields, while creating a table in DDIC .
    give me a clear explanation .....!
    best answers would be rewarded.
    thanks
    prasad

    Hi Prasad,
    All the Modules in SAP are inter related,
    So their Tables also must be related and must be valid
    and they are related to foreign key relation ships
    and also we can provide the list of input values using search helps
    to know what the search helps and check tables are assigned to the particular  field they provided the tab
    In the currency fields or quanitiy fields we only enter the amount but not the units,
    so the units are assigned if we provide the reference field and table , and so that tab is provided to check what are reference fields and tables and also to assign new fields
    hope I am clear
    Reward if helpful
    prasanth

  • Rounding quantity field

    Hi All!
    I want to round quantity field to one decimal place instead of three decimal places.How to achieve this I know there is FM to convert to 2 decimal places but how to get it for one decimal place.
    Regrads
    Praneeth

    <b>WRITE .... <f> <option>.
    U can use into another field</b>
    Formatting options for numeric fields
    Option
    Function
    NO-SIGN
    The leading sign is not displayed on the screen.
    DECIMALS <d>
    <d> defines the number of digits after the decimal point.
    EXPONENT <e>
    In type F fields, the exponent is defined in <e>.
    ROUND <r>
    Type P fields are multiplied by 10**(-r) and then rounded.
    CURRENCY <c>
    Format according to currency <c> in table TCURX.
    UNIT <u>
    The number of decimal places is fixed according to unit <u> specified in table T006 for type P fields.
    DATA pack TYPE p VALUE '123.456'
                            DECIMALS 3.
    WRITE pack DECIMALS 2.
    WRITE: / pack ROUND -2,
           / pack ROUND -1,
           / pack ROUND 1,
           / pack ROUND 2.
    output
    123,46
    12.345,600
    1.234,560
        12,346
         1,235
    regards
    vinod

  • Quantity field error

    hi,
    When  i am multiplying
      xkomv-kwert = xkomv-kbetr(11.14) * KOMP-MGAME( 1.000 this is one).
      it is giving 11140.00 what need to be done, I am aware because of the QUANTITY field, now please tell me
             1. Whether I need to pass the UNIT field? HOW?
             2. or I need do use some numerator / denominator.
    regards,
    Prabhu
    Prabhu

    hi Prabhu,
      goto the attributes of the program and check if <b>Fixed Point Arithmetic</b> checkbox is checked or not
    <b>Fixed point arithmetic</b>
        If you mark this checkbox, all caluculations in the program will use
        fixed point arithmetic.
        If you do not, packed numbers (ABAP/4 type P, Dictionary types CURR, DEC
        or QUAN) will be treated as integers when they are used in assignments,
        comparisons and calculations, irrespective of the number of decimal
        places defined. Intermediate results in arithmetic calculations will
        also be rounded to the next whole number. The number of decimal places
        defined is only taken into account when you output the answer using the
        WRITE statement.

Maybe you are looking for

  • Lookout modbus plus performanc​e

    I'm running 9 Schneider Electric PLCs Compact 265 connected to Lookout v5 PC via modbus plus. I have cyclic stalls of transport, each 50 secs or so, which last for 3 or even more seconds. I've tried all the settings there are on modbus object in Look

  • How to get the last row in a resultset or query

    Hi All Say If I have a complex query which returns a resultset say 15 rows. Now I want to limit the output showing only the last row. How can we do this

  • Time Machine deleted my old backups and crapped out midstream

    I had just gotten my failing hard drive replaced, and restored from Time Machine backup. So far so good. So a week later, I wanted to upgrade to Mountain Lion, but figured I should be responsible and run Time Machine backup again before doing the upg

  • Double 0.0 - why not?

    Hi all! This is my first Post in here so hello to you all! :-) I've got a simple question which took me about 3 hours of searching. Im currently working on a project with about 25 Klasses (and counting). I wanted to compile the code i've done so far

  • Multiple webdynpro applications for single webdynnpro component

    I am working on a object which have multiple webdynpro applications for single webdynnpro component.How to assign a different functionality to each application bcoz when we right click on webdynnpro component and select create webdynpro applications