MIR7 how to disable item quantity field

Hello,
How can i disable item quantity in MIR7 t-code. I don't want users can change quantity.
Many thanks.

Open - OLMRLIST
Provide below Inputs in OLMRLIST
Transaction - MIR7
Screen variant - 7_6310
Program - SAPLMR1M
Screen - 6310
Click on Edit.
You can find Qty field against that select option as required.And then mark option as Invisible
Hope this will resolve your query.
My answered query on the similar kind of issue
Re: MR 7 ISSUE
Thanking You,
Sandesh Sawant

Similar Messages

  • How to disable certain form fields from a calculation with a check mark fields.

    How to disable certain form fields from a calculation with a check mark fields.
    In Canada we have to taxes
    I create a form that calculate them to a total
    I need to be able to turn off any of those to taxes to participate to the calculation and their visibile field should become 0
    I was thinking using a checkbox (when checkbox is on (Yes) the tax is calculated, Not ticked (Off) the tax is not calculated and the visible field should show 0 or nothing....
    I really need help on this one — I’m a complete newbie....
    Remark that the second tax is calculated on the sum of what the first tax add (first tax is pan-canadian tax (all provinces).
    The second tax is never use alone (Quebec only (on top of the Canadian one)
    Sometime for outside Canada sell - No tax at all is calculated....
    What should I do?

    I want to tank you to help, really appreciate —>
    This is the code and order... I just trow the checkbox in there (they have, so far, no purpose...)
    The code use is
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 7.25) / 100
    I guess -If the checkBox are check - The tax should be calculate — If “Off” the tax should be not calculated and PriceHST and /or PriceQST should show zero or be empty — The HST is always calculated in Canada, but the QST is added only in Quebec.
    I need to turn both to Zero for international sale.
    Message was edited by: Chacapamac

  • How to Disable Price/Quantity of Items in ME22 Transaction?

    Hi
        I need to make the input disabled for Quantity and
          price columns of Item level details in a PO(ME22) if
          Invoice verification is done for that particular
          PO. If Invoice Verification is not done then i
          should keep the input enabled for that PO in
          ME22 or ME22N transactions.
        Can This be achieved through User-Exits.
        What is the Exit that helps me?
    Regards,
    Abhimanyu.L

    Hi,
    <b>set_item_property</b> will disable all the checkbox in the block. I dont want to disable all the checkbox in the multirecord block.
    My requirement is to disable <b> some of the checkbox in the multirecord block</b> based on certain conditions.
    For eg:
    i have a mutirecord block with checbox 'check1' and Textitem 'a'
    based on the value in :a, I have to disable/enable the corresponding checkbox.

  • How to disable the text field in File upload element?

    Hi,
    How can we disable the text field in the "File upload" UI element so that the user won't be able to type the file path there, but he will still be able to browse the file using the Browse button?
    Regards
    Praveen

    Hi Praveen,
    This is not possible with the Web Dynpro File Upload UI element.
    Thanks,
    Samta

  • How to clear the quantity field in the items line from the transaction MIGO

    Dears.
    I need that the field GOITEM-ERFMG from the transaction MIGO comes blank, but, this field have a default value.
    I tried to clear this field in the BADI MB_MIGO_BADI, but, this 'clear' does not work.
    Somebody knows, where I can insert an enhacement in the program SAPLMIGO to clear the field GOITEM-ERFMG, ever that the user add a new line?
    Thanks and Regards.

    Check SAPNotes, there are some that have bug fixes for this issue

  • How to modify item quantity in an scheduling agreement

    Hi,
    I'm trying to modify target quantity (ekpo-ktmng) in an item of a scheduling agreement (you can see it in me33l transaction).
    When the users tries to modify, using me33l, the quantity of an item in an scheduling agreement, I need to pick this value (ktmng) and modify it according to some rules.
    To catch the value I use EXIT_SAPMM06E_016 user-exit, and when the user modifies a value in the i_ekpo register of the user exit I see the new value that the user introduced. But I need to put a new value and it isn't enough with modifying this structure (i_ekpo).
    So I think in a bapi, first of all I've tried with BAPI_PO_CHANGE but I receive the following error:
    "Not possible to process a scheduling agreement using this function"
    How can I change the target quantity of an item in a scheduling agreement?
    thanks in advance

    Thanks for your reply, I'm trying with the following piece of code:
    DATA: w_ekko TYPE ekko,
          t_ekpo TYPE STANDARD TABLE OF ekpo WITH HEADER LINE,
         t_ekpo2 TYPE STANDARD TABLE OF ekpo WITH HEADER LINE,
    START-OF-SELECTION.
      SELECT SINGLE * INTO CORRESPONDING FIELDS OF w_ekko
      FROM ekko
      WHERE ebeln = '5500000001'.
      SELECT * INTO TABLE t_ekpo
      FROM ekpo
      WHERE ebeln = '5500000001'.
      t_ekpo2[] = t_ekpo[].
      READ TABLE t_ekpo2 INDEX 1.
      t_ekpo2-ktmng = '69'.
      MODIFY t_ekpo2 INDEX 1.
      CALL FUNCTION 'ME_UPDATE_AGREEMENT_PO'
        EXPORTING
          i_ekko_new       = w_ekko
      I_EKKO_OLD       =
      I_LOGSY          =
        TABLES
      XEKBES           =
          xekpo            = t_ekpo
       YEKPO            = t_ekpo2
      XSVAB            =
    But I receive a dump from SAP.
    In t_ekpo I put all the items of the scheduling agreement, the I modify one of the (first) and store it in t_ekpo2, but I'm not very sure of this is the good way of working.
    Any help would be very appreciated.
    Thanks again

  • Disable Item Category Field in Va01using Enhancement Point

    Dear Experts,
    I have a requirement to disable the "Item Category" column in VA01 transaction for certain order types.
    I have tried using MV45AFZZ(USEREXIT_FIELD_MODIFICATION), but it does not help me much as it works only if a material is entered in the table.
    I want the field to be disabled even if no material is entered in the item level table, i.e. during the load of the Overview screen.
    I know we can do this using  Implicit Enhancement Points, but i am not able to get the exact include to implement my code.
    Can anyone please help me in finding the exact location to write my code, so that the "Item Category" column will always be disabled for that order type.
    Thanks,
    Praveen

    Go to the screen where you want to disable the column by using system--> status-(click on screen no).
    Identify the perform  statement in PBO before the table control loop.there try implicit enhancement.
    It will definitely work.
    Thank You <Reward request removed by moderator>
    Edited by: Vinod Kumar on Sep 30, 2011 3:01 PM

  • How to disable items (gray out) in DataGrid control?

    Hi,
    I need to implement a custom component to have a selectable list with a maximum selected items.
    that is, when the selected items reach the max number, all un-selected items will be gray out.
    Now I am able to use DataGrid control to display a selectable "checkbox" (through itemRenderer) at first column, to let user select the item.
    And the list name in second column.
    But I can't find a way to gray out (disable) those un-selected item when max is reached.
    Can anyone give any advise?
    Here is my code snippet:
    SelectableListView.mxml
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" visible="true">
    <mx:DataGrid id="list_datagrid" dataProvider="{this.stringList}" showHeaders="false"
    editable="false" selectable="true" verticalGridLines="false" borderStyle="none" alternatingItemColors="[#F8F8F0, #FFFFFF]"
    left="5" rowCount="16" rowHeight="20" height="83" width="100%" top="0" doubleClickEnabled="true" doubleClick="onDoubleClick(event)" >
      <mx:columns>
        <mx:DataGridColumn id="listCheckBox_col" dataField="selected" editable = "false"
                                        itemRenderer="ListRenderer" width="18" headerText="" resizable="false" draggable="false"/>
        <mx:DataGridColumn id="listName_col" dataField="name" />
      </mx:columns>
    </mx:DataGrid>
    </mx:VBox>
    ListRenderer.mxml
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="60" >
         <mx:Script>
              <![CDATA[
                   private function setInUse() : void
                        _data.selected = listInUse.selected;
              ]]>
         </mx:Script>
      <mx:CheckBox id="listInUse" width="18" height="18" click="setInUse()" selected="{_data.selected}"/>
    </mx:Canvas>

    what is listInUse insdie the itemRenderer? I am not very clear about how you use
    it. However there are 2 ways of doing it. Not sure if data.selected can be used
    to enable/disable the itemrenderer. So I will asume not. Have an extra bindable
    "enabled" property in your dataProvider model. So when you reach the maximum of
    selected items iterate through the collection and set the set the enabled
    accordingly. The renderer's enabled property is bound to the model's enabled so
    it should update accordingly. The other way is to bind the enabled of the
    renderer on the selected. But as I said I am not sure how your code works ...
    HTH,
    C

  • How to disable certain text fields in second tab based on the drop down selection from first tab?

    My first tab contains a drop down menu which has two options
    1. Personal info
    2. Office info
    The second tab contains all the information regarding Office and Personal Information. But I need to selectively disable certain fields based on the drop down in first tab.
    For example,
    The second tab consissts of all fields like
    Name,
    Age
    Job title,
    Office Location, etc.
    And i dont want office related details to be displayed if I am selecting personal info in the first tab.
    It would be really great if someone could send me the code for achieving this.
    Thanks in advance.

    Hi Vishnu
                  Can you check the List component in foundation/components ? I think "Build list using" works he same as your requirement. Check the listener they have used in dialog/items/list/items/ listFrom/listeners
    "selectionchanged"  : function(box,value){box.findParentByType('tabpanel').manageTabs(value);}
    here the ExtJs will find the tabpanel with value you are selecting fromdropdown. The title of each panel should match with the dropdown values
    Some queries
    Disable values means you have to remove it from your CRX?
    "values should become mandatory". for tab2? or tab3? - if tab2 and if it is a customized widget then u have to write it in your js only i think.
    Thanks
    Veena

  • How to know received quantity field names  in MM

    HI
    I know that purchase order quantity can be found from EKPO-MENGE. Is there a field name for PO quantity received in time and PO received late.
    Received late is when the goods is received after the planned delivery date.
    thanks

    Hi,
    I resolved it by extracting the data from PO history table (EKBE).
    In 2LIS_02_SCL extractor, I wrote a used exit that extracted PO quantity from EKBE table and compare the delivery date from table EKET.
    Do let me know if you need additional information.
    thanks

  • How to disable a input field in OVS search

    Hi friends,
    I have crated a OVS search help for matnr.
    i have two input field like matnr and mat desc.. user can enter any value and hit SEARCH..
    im getting results.
    Now i want to hardoced a value of matnr = 001.. and make this field read only..
    how can we do it..
    i just took a example of matnr and mat desc. to make u understand easily...
    kindly help.
    Niraja

    Hi Niraja,
    You can initialize the value for MATNR in the phase 1 of the eventhandler method for OVS. Try refer the code segment below. Am initializing the values for MATNR & MAKTX fields in the lines:
    ls_search_input-matnr = 'D*'.
    ls_search_input-maktx = '*'.
    *     pass the values to the OVS component
          ovs_callback_object->set_input_structure(
              input = ls_search_input ).
    Regards,
    Uday
    Below is the complete code from my eventhandler method:
    method ON_OVS .
    " declare data structures for the fields to be displayed and for the table columns of the selection list
      types:
        begin of lty_stru_input,
    "   add fields for the display of your search input here
          matnr type string,
          maktx type string,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
    "   add fields for the selection list here
          matnr type string,
          maktx type string,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_table_header  type string.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      data: lv_matnr type mara-matnr,
            lv_maktx type makt-maktx.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
    " in this phase you have the possibility to define the texts,  if you don't want to use the defaults (DDIC-texts)
          ls_text-name  = `MATNR`.  "must match a field name of search
          ls_text-value = `Material Number`. "wd_assist->get_text( `001` ).
          insert ls_text into table lt_label_texts.
          ls_text-name  = `MAKTX`.
          ls_text-value = `Material Description`.
          insert ls_text into table lt_label_texts.
          ls_text-name = `MATNR`.  "must match a field in list structure
          ls_text-value = `Col1 -> Material Number`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ls_text-name = `MAKTX`.  "must match a field in list structure
          ls_text-value = `Col2 -> Material Description`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 10 ).
        when if_wd_ovs=>co_phase_1.  "set search structure and defaults
    " In this phase you can set the structure and default values of the search structure. If this phase is omitted, " the search fields will not be displayed, but the selection table is displayed directly.
    " Read values of the original context (not necessary, but you may set these as the defaults). A reference to " the context element is available in the callback object.
          ovs_callback_object->context_element->get_static_attributes
                                               ( importing static_attributes = ls_search_input ).
    " Setting the default values to be displayed in the selection screen
        ls_search_input-matnr = 'D*'.
        ls_search_input-maktx = '*'.
    "     pass the values to the OVS component
          ovs_callback_object->set_input_structure( input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
    "  If phase 1 is implemented, use the field input for the selection of the table
    "  If phase 1 is omitted, use values from your own context.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          lv_matnr = <ls_query_params>-matnr.
          lv_maktx = <ls_query_params>-maktx.
    replace all occurences of: '*' in lv_matnr with '%',
                               '*' in lv_maktx with '%'.
    select a~matnr
           b~maktx into corresponding fields of table lt_select_list up to 10 rows
                     from mara  as a inner join
                     makt as b on a~matnr = b~matnr where
                     ( a~matnr like lv_matnr and b~maktx like lv_maktx and b~spras = 'EN' ).
    "     call business logic for a table of possible values
    "     lt_select_list = ???
          ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
    "   apply result
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `MATNR`
                                   value = <ls_selection>-MATNR ).
            concatenate 'Description from MAKT:'
                        <ls_selection>-MAKTX
                        into <ls_selection>-MAKTX separated by space.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `MAKTX`
                                   value = <ls_selection>-MAKTX ).
          endif.
      endcase.
    endmethod.

  • HOW TO DISPLAY ITEMS OF FIELD 'ARBPL'(WORK CENTRE)IN HORIZONTAL IN ALV..

    HI FRIENDS .
    PLEASE GIVE THE SOLUTION OF THIS PROBLEM.
    I AM DOING THE REPORT OF CAPACITY PLANNING USING ALV LIST.IN THIS REPORT FC REQUIRES THAT ITEMS(SUCH AS 1050T,300T) OF FIELD 'ARBPL'IN HORIZONTAL MANNER.
    BUT THIER THE PROBLEM IS THESE ITEMS ARE VARIABLE FOR DIFFERENT PLANT FIELD IN REPORT.
    SUPPOSE PLANT =  F-II
    WORK CENTRE  = 1050T,300T.
            PLANT = G228
    WORK CENTRE = PRESS 250T,PRESS 300T.
    PLEASE GIVE THE SOLUTION IMEDIATE I HAVE WASTED SO MUCH TIME ON THAT PROBLEM.
    THANKS IN ADVANCE.
    VIKRAM

    Hi,
      Please Use field symbols and this method
    Declaration:
      FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                     <dyn_wa> TYPE ANY ,
                     <dyn_field>,
                     <fs> TYPE ANY.
      DATA: dy_table TYPE REF TO data,
            dy_line  TYPE REF TO data,
            xfc TYPE lvc_s_fcat,
            ifc TYPE lvc_t_fcat.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ifc
        IMPORTING
          ep_table        = dy_table.
        ASSIGN dy_table->* TO <dyn_table>.
        CREATE DATA dy_line LIKE LINE OF <dyn_table>.
        ASSIGN dy_line->* TO <dyn_wa>.
        Note:Pls Reward this answer if USEFUL.
    Regards,
    Kumaresh

  • How to disable 'Stock type' field in MIGO depending doc. type or mvt. type

    Does anybody knows how to deactivate (just display but not modify) field 'Stock field' in MIGO transaction if we just want to do that for an specific document type (UB)? If it's not possible, does anybody know how to do that but by movement type (351/101)?
    Now stock type can be changed from unrestricted (set by default) to blocked or under quarantine when we post GI or GR related to a STO (351/101) and we want to avoid users changing this field.
    Thanks in advance,
    Raquel

    USE t Code OMJX,  and set the Stock type to DISPLAY ONLY, but that'd be for all Mov.t types. The PO document type would not matter here!! You could use a USER EXIT upon SAVE to revert to what ever you need irrespective of user changes other wise.. Thats an option!! Talk to your ABAP' er
    Edited by: Pavan Kumar on Jul 18, 2008 12:32 AM

  • How to disable a text field

    Hi experts,
    I have a req. in which I have designed a selection screen.
    Now there are 2 radio buttons namely ALV n Excel.
    Below that, there is another text box called Path.
    My req. is that only when the user selects the radio button Excel, the Path field should
    get enabled.
    How can I achieve this functionality?
    Below is the piece of code where I have declared the buttons.
    SELECTION-SCREEN: BEGIN OF BLOCK b4 WITH FRAME TITLE text-004.
    PARAMETERS: S1 RADIOBUTTON GROUP RAD2 DEFAULT 'X',
                S2 RADIOBUTTON GROUP RAD2.
    SELECTION-SCREEN: end OF BLOCK b4.
    SELECTION-SCREEN: BEGIN OF BLOCK b5 WITH FRAME TITLE text-005.
    PARAMETERS: p_path LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF BLOCK b5.
    Thanks,
    Ajay.

    hi ajay,
    SELECTION-SCREEN : BEGIN OF BLOCK B1 .
    SELECTION-SCREEN SKIP 1.
    PARAMETERS : P_RB1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND AC,
                 P_RB2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS : P_FILE TYPE RLGRAP-FILENAME MODIF ID ZFI.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN .
    *-- if radio button from excelsheet is selected
        IF P_RB2 = 'X'.
          IF SCREEN-GROUP1 = 'ZFI'.
            SCREEN-ACTIVE = '1'.
          ENDIF.
          IF SCREEN-GROUP1 = 'ZF1'.
            SCREEN-ACTIVE = '1'.
          ENDIF.
    *-- if radio button from database is selected
        ELSEIF P_RB1 = 'X'.
          IF SCREEN-GROUP1 = 'ZFI'.
            SCREEN-ACTIVE = '0'.
          ENDIF.
           IF SCREEN-GROUP1 = 'ZF1'.
            SCREEN-ACTIVE = '0'.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    regards
    Gaurav

  • How to disable the input fields and labels.

    Hi,
         I have a requirement, when i click on button all the fields and labels in the form will be disable .

    Hi,
    You code wizard, in popup select set radio button and select the attribute and click on Ok, It will generate code automatically. Else find the below code
    DATA lo_el_context TYPE REF TO if_wd_context_element.
    lo_el_context = wd_context->get_element( ).
    CALL METHOD lo_el_context->set_attribute
    EXPORTING
    name = `DISABLE`  " Here disable is the name of attribute which u created in context of type wdy_boolean
    value =  'X' .
    Hope this helps u.,
    Thanks & Regards,
    Kiran.

Maybe you are looking for

  • Connecting iphone to ipad

    How do I connect my iphone to my ipad

  • Does the iPod touch 4th gen. Have siri?!?

    I want to get the iPod touch 4th gen but I want siri to I don't if the iPod touch 4th gen has siri?!?

  • 3GS external speakers no longer work and significantly diminished recognization of carrier signal

    Recently my IPhone 3GS has, through events unknown to me, stopped emitting any sound from the external speakers (sound quality is perfectly fine from headset). Also, signal strength has become almost entirely diminished, and most often "No Carrier" i

  • ORA-29902 after restoring the database

    Hello friends, Our database crashed 2 weeks ago and we had rman backups and I restore backups and it fixed. ORACLE version:  11.2.0.3.0, OS: Win server 2008 But now when we want to run our old quires which were working without problem before get exce

  • Hyperlink in Outlook

    Hi Experts, I have created one workflow and inside it I have created one TASK. I am using the Item BO BUS2000131 to do the processing and for sending mail. It is working properly and also I am getting Links for the Order under "Objects and attachment