Amount and Quantity field during MIR7

Hello Experts,
My client wants to keep Amount and Quantity field in display mode for particular user during parking of Invoice(MIR7)
Is there any way to achieve this.
Thanks and Regards
Gyanesh

go for varients
in SHD0 transaction
here you can try to make fields display mode

Similar Messages

  • Runtime error in Dynamic internal table with AMOUNT and Quantity Fields..

    Dear friends,
    I am attempting write a dymanic Select Statement (with joins).
    And the sleect query looks like this..
      SELECT (LT_SEL_LIST)
      INTO CORRESPONDING FIELDS OF
      TABLE <DYN_TABLE>
      FROM (LT_FROM_LIST)
      WHERE (LT_WHERE3).
    Here the into table is a dynamically created internal table..
    which is created by ...this
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = IT_OUTPUT2[]
        IMPORTING
          EP_TABLE        = DY_TABLE.
    the it_output2 contains the the fieldcatlog information of dynamically given fields :-
    like:-
           TABNAME
           FIELDNAME
           DATATYPE
           LENG
           INTTYPE
           ROLLNAME
           DECIMALS
           REFTABLE
           REFFIELD
    i mean the internal table is constructed with reference to all the bove metadata.
    Problem:- This query run fine with all the fields Except AMOUNT AND QUANTITY fields....
    When the selection list contain VBAK-NETWR or MSEG-MENGE..It throws a runtime error.
    "The data read during a SLECT access couldnt be inserted into the target field,either conversion is not supported for
    the target field's type or the target field is too short."
    after this I even tried to construct the dynamic table with CFILEDNAME and QFIELDNAME in the Fieldcatalog.
    so now my fieldcatlog looks like this:---
    LOOP AT IT_DD03L..
      IF IT_DD03L-DATATYPE = 'CURR'.
           TABLEFIELD-CFIELDNAME = IT_DD03L-FIELDNAME .
           ENDIF.
       IF IT_FIELDCAT3-DATATYPE = 'QUAN'.
           TABLEFIELD-QFIELDNAME = IT_DD03L-FIELDNAME .
      ENDIF.
           TABLEFIELD-TABNAME     = IT_DD03L-TABNAME.
           TABLEFIELD-FIELDNAME   = IT_DD03L-FIELDNAME.
           TABLEFIELD-DATATYPE    = IT_DD03L-DATATYPE.
           TABLEFIELD-INTLEN      = IT_DD03L-LENG.
           TABLEFIELD-INTTYPE     = IT_DD03L-INTTYPE .
           TABLEFIELD-ROLLNAME    = IT_DD03L-ROLLNAME.
           TABLEFIELD-DECIMALS    = IT_DD03L-DECIMALS.
           TABLEFIELD-REF_TABLE   = IT_DD03L-REFTABLE.
           TABLEFIELD-REF_FIELD   = IT_DD03L-REFFIELD.
    APPEND TABLEFIELD.
    CLEAR TABLEFIELD.
    ENDLOOP.
    Note:- this is a test code so ignore performance issues...
    Please help me with some code ...to avoid the Runtime erorr.
    Thanks,
    jeevan.

    Hi Jeevan,
    Why are moving only few fields from DD03L table to your field catalog? Why don't you use move-corresponding? The following code works for me in ECC6.0.
    data: it_dd03l type table of dd03l initial size 0,
          ls_dd03l type dd03l,
          lt_fldcat TYPE lvc_t_fcat,
          ls_fldcat TYPE lvc_s_fcat,
          ls_where(72) TYPE c,
          lt_where LIKE TABLE OF ls_where,
          lt_fld LIKE TABLE OF ls_where,
          lt_data_dy TYPE REF TO data.
    field-symbols: <ft_data> TYPE STANDARD TABLE.
    select * into table it_dd03l from dd03l
        where tabname = 'VBAK'
          and ( fieldname = 'VBELN' or fieldname = 'NETWR' ).
    check sy-subrc eq 0.
    loop at it_dd03l into ls_dd03l.
      move-corresponding ls_dd03l to ls_fldcat.
      append ls_fldcat to lt_fldcat.
      move ls_dd03l-fieldname to ls_where.
      append ls_where to lt_fld.
      if ls_dd03l-fieldname = 'VBELN'.
        clear ls_where.
        concatenate ls_dd03l-fieldname ' <> ''''' into ls_where.
        append ls_where to lt_where.
      endif.
    endloop.
    check not lt_fldcat is initial.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fldcat
          IMPORTING
            ep_table                  = lt_data_dy
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
        IF sy-subrc <> 0.
          RAISE no_configuration_data.
        ENDIF.
        ASSIGN lt_data_dy->*  TO <ft_data>.
    check sy-subrc eq 0.
    select (lt_fld) from VBAK into corresponding fields of table
        <ft_data>
        where (lt_where).
    Thanks
    Bala

  • MIRO issue (urgent!), amount and quantity fields are not captured from PO

    Hi,
    When we try to post thought MIRO using PO as reference, quantity and amount fields are not captured. We do MIGO first and then MIRO.
    GR based invoice verification in the vendor master is selected and the check mark GR-based in the PO is selected too.
    We're getting this MIRO issue for "all" PO and Service Entry Sheet.
    We'll appreciate your recommendation in order to fix this critical issue as soon as possible.
    Thanks in advance.

    I was looking for copy controls and other functions. Glad this is now resolved. You need to award yourself points!
    Cheers.

  • Amount and quantity of the item in MIRO

    Dear Experts,
    i had a case when i want to make invoice (MIRO) based on PO that had not been received; the amount and quantity are blanked when i already referenced the PO number - for this case i already put the tick box blank for GR-Bsd IV in the related PO. Please help me why the amount and quantity field are blank while sometimes some PO that had a case like this (non GR-Bsd IV) the amount and quantity is automatically filled out in MIRO.
    Regards,
    Aditya Utama

    its as sap std process
    qty and amount will only appere is u have done GR
    if u have not done GR than this amount will not come
    logic is that
    when u have done GR system know that what is the qty or amount must be the invoice of
    in case where GR is not done system dont know how much the invoice would have come.
    hope this is clear

  • Amount and quantity to be proposed from PO in case of IR of PO before GR

    i have a case when i want to make invoice (MIRO) based on PO before doing GR, the amount and quantity are blank when i reference the PO number in MIRO- GR based IV is unchecked in PO.
    Please help me why the amount and quantity field are blank and is it possible through some setting that in case of IR of PO without GR the amount and quantity should be proposed from PO
    Regards,
    Garima

    I don't think in standard process it is possible...one way is to do the GR before custom miro but logically & technically it willbe a wrong process
    Regards,
    Indranil

  • Can u pls tell what r the currency and quantity fields in detail.

    hi to all can u pls teell
    can u pls tell what r the currency and quantity fields in detail.
    what is reference table .and reference fields .why we r giving theese reference table names while creating the currency fields .

    Hi,
    Currency amount fields and quantity fields are numeric fields which each have a currency or unit field assigned to them. The correct interpretation of the values in these fields depends on its currency or unit of measure. Therefore, you can decide whether you want their corresponding currency/unit of measure to be displayed before or after the field, or not at all. Proceed as follows:
    1. Select the field.
    2. Choose one of the options from the window on the lower left (before, No currency field/unit, or after).
    3. Choose Apply.
    For more information check the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/5da4e42cf511d5b692006094192fe3/frameset.htm
    Following are system variables of currency:
    SY-CCURS
    R/2 - exchange rate and result field for CURRENCY CONVERSION. Not filled in R/3.
    SY-CCURT
    R/2 - table exchange rate for CURRENCY CONVERSION. Not filled in R/3.
    SY-CDATE
    R/2 - exchange rate date for CURRENCY CONVERSION. Not filled in R/3.
    SY-CTABL
    R/2 - exchange rate table for CURRENCY CONVERSION. Not filled in R/3.
    SY-CTYPE
    R/2 - exchange rate type for CURRENCY CONVERSION. Not filled in R/3.
    SY-DCSYS
    Dialog system of the R/2 System. Not filled in R/3.
    SY-WAERS
    Formerly the company code currency after reading a posting segment. Not filled in R/3.
    Regards,
    Bhaskar

  • Currency and quantity field allignment in smartforms

    hi experts
       i am facing problem in smartforms allignment for currency and quantity fields. these fields are not coming exactly on the same line of the other fields with char types. please help me resolving it.
    Moved to Crrect Forum
    Edited by: Vijay Babu Dudla on Apr 6, 2009 4:38 AM

    &wa_vbap-kwmeng(C)&
    adjust with left and right alignment.
    it will definately work.
    what happend? isn't ur problem solved?
    Edited by: MONIKA DHUMAL on Apr 6, 2009 4:38 PM

  • OSS notes for MB1B in checking Amount and Quantity depending on the mat. #

    Dear All:
    Where can i download OSS notes in MB1B for  checking the amount and quantity depending on the material number?
    Thanks,
    CHOCO

    Hi ,
    We are not getting what you mean to say.
    But as far my understanding of your query I am giving the reply.
    OSS notes can be download at the tcode SNOTE.
    Pls go to the tcode SNOTE-> GOTO ->DOWNLOAD SAP NOTE.
    here you need to give the sap note number.
    To get this number you first need to search in service.sap.com and find the relevant note that is useful for ur scenario.
    And after finding that note and we need to give this number in SNOTE tcode and we need to download.
    Pls tell me your requirement clearly so that i will try to find a oss note for you.
    Pls get back to us for further assistance . Happy to help you.
    Regards,
    Viveks

  • Problem with currency and quantity field

    Hi,
    I have done a couple of BDC and watched that if some currency or quantity field is there and i want to run the BDC the particular currency/quantity field will not populate the value inspite of i have declared the same table field that it refers to in the screen in the internal table.
        But, if i declare a character string in the internal field having same length as the screen field it will populate at run time. Why so?
    Regards
    Sandeep

    Hi,
    Even i have experienced the same problem many a times and use a character string as a work around to solve it.
    I guess one reason for it is for the currency and quantity fields, the actual defined length and the output length are different with output length being 3 or 4 bytes greater than that of actual lenght and also the fact that these fields are always right justified. hence some bytes of the field is getting truncated which the system does not allow and discards the whole value.
    regards,
    Mahesh

  • Currency and Quantity fields in Nested Table

    Hallo Experts,
    I have created a Interface  with import Sturcture SLS_PRT_COM. This Sturcture have many nested Sturctures. Now I created a Table type ZEBFO with line type VBDPA. VBDPA has many currency and quantity fields such like GEWEI.
    Now I have created internal Table of ZEBFO.
    Declare the nested Quantity field in the Currency/Quantity Fields section, using the autofiller (the buttons to the right of the field).
    Create an adobe form for it and a program and execute it.
    Dump
    The following syntax error occurred in program "/1BCDWB/SAPLSM00000034 " in
      include "/1BCDWB/LSM00000034F01 " in
    line 1769:
    "Field "VBDPA-GEWEI" unknown. "."
    can somebody help me what shall I do.
    Thanks
    Best regards
    Waseem Rana
    Edited by: ranawaseem165 on Feb 17, 2012 9:14 AM

    Hi,
    When Creating a Structure ,include currency and quantity Fields in the same structure and Refere those as currency and
    Quantity Fields.
    In the Form when click on Currency/Quantity Fields,they automatically visible and you can add them .
    Thanks.
    uma

  • About Currency and Quantity Fields

    How does the Currency and Quantity fields are set to a field in a Table, created in SE11
    can you please send examples of each
    Thankyou

    hi,
    its same like any other field.
    but one difference :- <i>the reference field is requires.</i>
    <i>why reference field?</i>
    The reference field is used for the output, the output/input format of a currency field depends on the value of its reference field.
    For example if you create a screen using the field KONV-KBETR :
    the reference field is RV61A-AWEI1:
    if you set RV61A-AWEI1 = 3
    the value in KONV-KBETR is beeing shown with 3 decimals
    So you could see 3,000 but this value is automatically stored as 30.00
    if you set RV61A-AWEI1 = 2
    the value in KONV-KBETR is beeing shown with 2 decimals
    All this convertions are automatically made in according to the value setted in reference field.
    You can see this using the statament WRITE with options CURRENCY, try this:
    PARAMETERS P_KBETR LIKE KONV-KBETR.
    WRITE: P_KBETR CURRENCY '3'.
    WRITE: / P_KBETR CURRENCY '2'.
    WRITE: / P_KBETR CURRENCY '1'.
    Hope u gor the idea
    Rgds
    Anver

  • Currency and quantity fields in Smartforms

    Hi Experts,
    How to refer currency and quantity fields , in my form i am using FAKING and NETWR fields,
    in global definitions one tab is there currency and quantity fields  in that  in filed name column what i have to give and reference filed , PLease can u you give some examples, so that i can understand easily...
    Useful answers are awarded.
    Thanks

    The 'Currency/Quant. Fields' tab in the Global definitions allows you to link the field containing a value to the field containing its unit of measure.
    For example, my purchase order has two line items, one is for 6 eggs (which have unit of measure PC) and 2.5 kilogramms of flour (UOM is KG).  When these are written on the output the eggs have no decimal places, the flour has 2 (this is defined in configuration). So;
    Eggs  6    PC
    Flour 2.50 KG
    This happens only if I specify in the 'Currency/Quant. Fields' tab the field that holds my quantity and the reference field that hold the UOM, and specify data type QUAN.  Same concept applies for currency where they have different numbers of decimal places (for example Japanese Yen is always expressed as a whole number with no decimals).
    Regards,
    Nick

  • Currency and Quantity fields problem in FM

    Hi ALL
    <b>Can anyone help me on this. Very Urgent</b>
    I created a FM, in that i used NETPR,MENGE,WEMNG.(CURRENCY , QUANTITY )  fields.
    When i am trying to activate, it is asking for reference fields.
    I don't know how to resolve it...
    Regards
    Prabhakar

    hi,
    pls refer to this thread for use...
    how can create a function module for currency and quantity fields
    Message was edited by: Ganesh Sundarakrishnan

  • Handling currency and quantity fields in smartforms

    Hi,
    can i know how to handle currency and quantity fields in smartforms.
    i have to display ZMENG field of VBAP table but it is not getting displayed.
    i have given the details in CURRENCY AND QUANTITY tab in the GLOBAL DEFINITIONS.
    Thanks,
    BJR.

    Hi
    Did u pass that value in the INPUT and OUTPUT parameters where u r calling that field...
    if u have not included that in The Currency/Quant Tab will get an Error Message.....
    and &VBAP-ZMENG& ..in the text
    surya

  • Help for search help and currency and quantity fields

    hi,
    please help me for creating search help and when the currency and quantity fields are used please expalin this with steps as i am a learner..
    regards
    raj.

    Hi Rachu,
    Welcome To SDN
    Help On Search Help
    Go to se11
    Select radio button Search help
    click on create
    and select elementary seacrh help
    selection method---->tablename or viewname
    press f1 in search help exit we will get a FM named as
    F4IF_SHLP_EXIT_EXAMPLE.copy that FM from se37 in to Zprogram.we have a record_tab for copying the view by using this tab we can restrict the values from the view or table.this values are populate into another table .Then ,
    come to se11
    and in our seacrh help we will pass components of the search help
    Source: https://forums.sdn.sap.com/click.jspa?searchID=14985345&messageID=5618016
    Help On Currency and Quantity Fields:
    Whenever you have to maintain fields for currencies and quantites u need to refer them to currency key and quantity key which also have to be present in the table.
    If suppose you are creating a table for Employee. And suppose that fields would be like :
    EMPID -
    employee id
    EMPNAME
    employee name
    DEPARTMENT --- department
    SALARY -- salary ( Data Type u2013 CURR )
    WEIGHT -
    weight of the employee ( Data Type -- QUAN )
    Now the fields SALARY AND WEIGHT fields should refer to currency and quantity keys. So you need to have two more fields like
    CURRKEY --- Data Type ( Cuky )
    Quantity --- Data Type ( Unit )
    Now we have to attach the field Currkey to the field Salary
    And the field Quantity to the field Weight
    So when u create a table you can see a tab Currency / Quantity fields.
    Here You can give the reference table and the reference field against the salary and weight fields.
    Source: https://forums.sdn.sap.com/click.jspa?searchID=14985456&messageID=5692074

Maybe you are looking for

  • Safari bounces once then stops ...

    I have looked through the forum and found nothing, so I am hoping that someone can help me out. I have a user with a Dual 2.5 GHz PowerPC G5 who started having Safari, Software Update and the Dashboard constantly crashing. When you select either Safa

  • Font Size in Script

    Hi All, I want to change the font size in script. ( for eg :when i change the size to 8 or 10 it accepts but if i give 9 it does not. it gives the message "not SAP font size".) wat do i do to get the required size. pls reply. thanks. kavitha

  • I'm having difficulty with video txt msgs.

    Video txt msgs that I send to my son for some reason are loosing the audio once he gets them.  I test them prior to sending them and the audio is fine on my end, but when he gets them he says he can't hear a word. I haven't tried sending any  to anyo

  • Undo link between service ticket

    Dear experts, By using CRM 5.0 and IC WebClient, one of our user managed to create a link between 2 service tickets in the production system. What is the procedure to delete this link? Thanks in advance Stephanie

  • Export xml from ProductCatalog

    Hi, When i run the following command: startSQLRepository -m Store -export products.xml -repository /atg/commerce/catalog/ProductCatalog Error return: Unable to find GSARepository component how to proceed? tanks