Reference table / reference field for currency/quantity field in tables.

Hello Sap Experts ,
Am a newbie and not able to make head or tail of what reference table and reference fields are when related to currency / quantity fields.Someone if could explain to me with a small example it would be great.

Hi,
The currency and quantity field always require a reference table and field so that they can be entered in correct format.
Whenever you use currency and quantity field while creating the table you need to provide their respective reference field and table.
whenever you use currency and quantity in scripts or smart forms you again have to receive their value using variables referring to their reference table and reference field.
hope it must have cleared some of your doubts.
Thanks,
Abhi

Similar Messages

  • 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

  • Table and table field for PICKING QUANTITY.

    Hi friends,
           I need to use PICKING QTY in script. but it is in structure LIPSD-PIKMG.
    Please say Table and Field for Picking quantity.
    I need a table and field.
    THANKS in advance.
    balaji.

    Hi Tarani, Rasmi,
    Thank you for quick response.
          LIPS-LFIMG is Delivery Qty . It is not Picking Qty.
    please let me know for PICKING QTY to display in my Script.
    Thank you.

  • Database Field for Picked Quantity in Delivery

    Hi All,
    We want to know the Database Field for Picked quantity in a delivery. We checked the help for the field and it points to the LIPSD structure and the field PIKMG. However I could not find it in LIPS table or any other table. Could somebody please help me locate this field in the database ?
    Thanks,
    Amit

    Hi, This is late response i know, but maybe someone else is looking for same and needs code for same. Please keep in mind that you also need to check if users have done LT0G return from GI are back to picking bin. In this case you need minus the TO from total picking qty.
    ABAP routine:
    form LIPS_PICKED using LS_LIPS type LIPS.
       data: LT_VBFA type table of VBFA,
             LS_VBFA type VBFA,
             LS_LTAP type LTAP.
       select * from VBFA into table LT_VBFA  "Fetch to data from doc flow and count picked
         where VBELV = LS_LIPS-VBELN
         and   POSNV = LS_LIPS-POSNR
         and   VBTYP_N = 'Q'.
       clear LS_LIPS-LFIMG.
       loop at LT_VBFA into LS_VBFA.
         select single * from LTAP into LS_LTAP
           where LGNUM = GS_SCREEN_100-LGNUM
           and   TANUM = LS_VBFA-VBELN
           and   TAPOS = LS_VBFA-POSNN
           and PQUIT   = 'X'. "Picked!
         if SY-SUBRC = 0.
           if ls_ltap-vltyp = '916'. "Source is GI area => LT0g done, it is minus!
            LS_LIPS-LFIMG = LS_LIPS-LFIMG - LS_LTAP-VISTA.
           ELSE.
           LS_LIPS-LFIMG = LS_LIPS-LFIMG + LS_LTAP-VISTA.
           endif.
         endif.
       endloop.
    endform.                    "lips_picked

  • Table Name For 'Picked Quantity' Field in VL03 Transaction

    Dear All,
                 I am not able to find out 'Picked Quantity' Field in VL03 Transaction.Can anybody provide me Table name and field name for the same.
    Regards,
    Mayank

    Hi Mayank / Masha.
    Your requirement is to find out the picked quantity for the delivery document.
    Please note that this value can never be found from any table & what you will find are only structures.
    For this you need to use / run a function module to fetch the Picked Quantity
    Functional Module: WB2_GET_PICK_QUANTITY
    Goto Tcode SE37 & enter the function module.
    Further enter the delivery details in the screen
    I_VBELN   - Delivery Number
    I_POSNR  - Item Number
    And Execute.
    E_PIKMG - the picked quantity.
    If you require to find picked quantity for any report you can very well ask your ABAPer to include this function module in your program
    Hope this solves your requirement
    Regards,
    Dhananjay

  • F4 help values for currency key field in table

    Hi all,
    I have added currency and currency key fields in my Z table. For the curreny key field, i have assigned the standard data element WAERS. I have implemented Table Maintenance Generator for my table. But the F4 help values for the currency key field is not appearing when i tried to maintain table entry.
    Should i need to check the Foreign key check box for the field attribute? But this check box is in disable field in screen layout.
    Could someone tell me how to solve this issue?

    Hi,
    Make the check table of the currency field of your Ztable as TCURC,which is the master table of Currency.Inside the domain of the field you write the TCURC as a value table.and make foriegn key relationship with the TCURC table.
    Regards,
    Suvajit.

  • 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.

  • When i am dividing currency / quantity field i am getting error.

    Hi Abappers,
    when i am dividing the currency field with quantity field and passing in currency field its going dump ,How to solve this problem plz help me.
    for ex: it_final-r_net = it_final-netwr / it_final-fkimg.
    Regards,
    vani.

    it_final-r_net = it_final-netwr / it_final-fkimg
    "caution it_final-fkimg it should not be zero.
    by the way what error indicating in dump?
    AMit.

  • SLIN - Extended Prog. check - Erorrs for VALUE, QUANTITY fields??

    Hi Experts,
    I need to get 0 in ERRORS column for the execution of SLIN to z_prog.
    So, in this prog. am displaying some VALUES, QUANTITIES in ALV report.
    So. When I run the SLIN for this z_prog. am getting the following ERROR texts
    Use addition CURRENCY when outputting WA_ALV-VALUE
    Use auxiliary field when outputting with MESSAGE
    (You can hide the message using "#EC UOM_IN_MES)
    Use addition UNIT when outputting WA_ALV-QUNTY
    Use auxiliary field when outputting with MESSAGE
    (You can hide the message using "#EC UOM_IN_MES)
    pls. note that, I shild not hide them, as suggested ´by SLIN.
    So,
    1) pls. let me know that How to fix them?
    2) Wht does it mean?
    thanq
    Edited by: Srinivas on Jun 11, 2008 12:58 AM

    Hi Aii,
    To avoid the error in EPC for Currency and Quantity u can use
    addition of CURRENCY with single quot system will take the default currency
    And for Quantity u can use NUIT with single quot
    EXAMPLE
    write:  wa_record-v_exbas currency '  '.
    write:  wa_record-lgmng unit '  '.
    We can use the decimal places also
    write:  wa_record-v_exbas currency '  ' decimals 2
    Regard
    Anees Ahmed

  • Transfering 4 decimals for a Quantity field

    I am working in a CRM system where we have a few custom fields that have 4 decimal places. How do I bring in all 4 decimal places into BW (Transfer Rules)? Is my only option to make the Infoobject set to "Float"? I prefer to show the values in my reports as 2.003.

    Hi Lakshman,
    The FORMAT is already set to QUAN and has all the properties which the datatype KWMENG has.
    Even the reference field also is set.
    Is there any conversion routine for this particular field?
    Regards
    Pradeep.
    Edited by: Pradeep Kumar on Apr 1, 2009 8:39 AM

  • JSF Table StyleClass issue for a specific Field inside the Table

    Hi There,
    Am having an issue of dynamically setting the styleClass for a specific field inside a DataTable. Here is how the JSF code is ..
    <h:column>
    <h:panelGrid id="column4" columns="1" cellpadding="0" cellspacing="0">
    <h:inputText id="numberOfApps" value="#{row.submitNumber}" styleClass="#{row.customStyleClass}" maxlength="6" converter="MyNumberConverter" />
    </h:panelGrid>
    </h:column>
    This Table has a specific column which has a input Text Box where user enter's data. This data will be validated in the bean where in after the validation if its exceeding a limit we should throw an error message and also highlight the field with a specific styleClass.
    I am setting the StyleClass dynamically based on the User Input, so that I can display a highlited Error Field on the screen. Strangely enough, styleclass is getting set as expected for the first submit but doesnt show any styles for further submits. Even the existing style is getting removed from the second submit onwards. I am setting this "customStleClass" dynamic parameter as a Bean Property. Am sure these values are properly set coz to make sure I have put an h:output tag inside that table to display the customStyleClass values and they are getting set as expected but I see blank value for the class="" in the source of the Page.
    Any help would be appreciated.
    Thanks
    Edited by: Lalith on Jan 14, 2008 10:23 AM

    One option is you find the data element of that field GUID.
    Now go to SE11 transaction and in data type put that data element and press where used list. In that select tables.
    This will give you a list of tables where that field is used.
    But again if there are lots of them it will be difficult to find.
    The only option in that case is debug the extractor and find out.

  • Removing leading zeros for the quantity field

    Hi all,
    In my script form there is a quantity field, of 13 and 3 decimals , on the out put its taking that much space un neccesarily,and messing up.
    how to make this adjustable in the provided space.
    It always 3 digits and 2 decimal points in our case.
    Please help me out,
    Thanks,
    Praveen

    Hi,
    For removing leading zeros
    &V_VARIABLE(Z)&
    Thanks,
    Naren

  • Field for 'Delivered Quantity'

    Hi experts,
    I need to create a report with Quantities for Requested Delivery Qty, Goods Issued Qty and Delivered Qty. I am looking for the appropriate datasource, please advice. The report also needs to mention Sales doc # (and Purchase Order # if possible). Need advice if 2LIS_12_VCSCL is the right one?
    My second question is how to calculate GI Date? I was wondering if I take the key fig 0GIDATE and choose aggregation as 'Maximum' and 'First Value'. I mean in ECC, when purchase order is received, the system calculates a goods issue date based on the requested delivery date and route(and transition time). My point is  if the 'First value' of the kf 0GIDATE is equal to the first date from system generated '0GIDATE'? If this is right, then I don't have to create additional field and user exit to populate the gidate based on the requested delivery date. Please help.

    Viren,
    Seems you have good experience with this. Thanks for your quick turn around. Please see my requirement and also I have listed my current model, I need your input.
    I need in the report:
    Order Qty
    Qty of Goods issued
    Goods issue data as per the order
    Actual goods issued date
    I could not find a field for 'goods issue date as per the order' as it has to be calculated from 'Requested Del Date' minus 'Transit time'. This transit time comes from 'Route'.
    But from your input, is '0GI_DATE_GH' from the order or physical issue date? Btw, I took the following fields and objects and realized they are not perfect:
    KWMNG       Order qty(for qty  from the Sales Order)        0CML_OR_QTY
    VSMNG_L     Dely qty                                                    0DLV_QTY
    WADAT        Goods issue date                                        0GI_DATE( KF-I took Maximum and                                                                               
    first value in aggregation of key figure)
    WADAT_IST  Actual GI Date                                            0ACT_GI_DTK(actual goods issue date)

  • Problem on menge field i.e. quantity field

    hi folks,
    In CS01 i.e BOM creation if you put the quantity field at item level it gets stored with commas i.e. if you put 1000 then it gets save as 1,000 .
    When i am fetching these from database in program and doing some calculation the program is giving me dump on that value .
    Can any body suggest me what i should do .

    Hi Sandipan
    1st answer - replace ',' commas with space.
    2nd answer - Go to System -> userprofile -> own data then go to defaults over there and change the settings .
    Reward points pls.
    Regards
    Deepanker

  • Table field for ATP *** Quantity

    Hi Experts,
    we need a function module that can take as input a table of (MATNR u2013 PLANT u2013 CHECKING RULE) and output a table of (MATNR u2013 PLANT u2013 STLOC u2013 BATCH u2013 ***. ATP QTY for BATCH).
    Please suggest.
    Thanks,
    Gaurav Mittal

    hi
    check it these function modules
    ITOB_CHECK_MATERIAL       
    ITOB_CHECK_MATERIAL_BATCH 
    ITOB_CHECK_MATERIAL_MARA  
    ITOB_CHECK_MATERIAL_MARC  
    ITOB_CHECK_MATERIAL_MBEW  
    ITOB_CHECK_MATERIAL_MCHAR 
    regards
    anand kumar

Maybe you are looking for

  • Sales transaction details in OIC

    Hi All, Im new to OIC. I want to get the sales transactions details for the employee in OIC. I want to know the table name which stores the sales transactions details in OIC. I explores in cn_commission_headers_all. But couldn't find anything Please

  • I am not receiving all of my emails in thundebird for multiple email accounts.

    I have been using Thunderbird fo rover a year with no issues. All of the sudden, I am unable to receive all of my emails. I can see the missing emails on my phone or ipad, but not on my computer on the Thunderbird account. it appears to be displaying

  • Use Open Directory for intranet web acces

    Is it possible to tap in to Open Directory user information from other services than those build into the server? And that way use the Open Directory authentication for our own home-made service? We plan to setup an intranet on our OS X 10.6 server.

  • How do i deauthorise a dead computer?

    How do i deauthorise old computers if they have died. i'm up to computer number 4.

  • Problems with JGSS tutorial - AccessControlException

    Hi all, unfortunately I've got a big problem with the ClientServer JGSS tutorial. After doing everything like the HTML file said, I firt started the server and then the client. The client then produces this exception: Kerberos username [stnt1]: myNam