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

Similar Messages

  • Disable Serial Number Field in MIGO Screen

    Hi all,
      I want Disable Serial Number  field in MIGO Screen how do i disable ?
    is there any user exit or enhancement ?
    Anybody please tell me.
    Thanks
    Regards,
    S.Muthu.

    S. Muthu
    Apply Transaction Variant and Screen Variant through transaction SHD0 for MIGO. Hope it will solve your problem.
    Otherwise, discuss this requirement with MM Functional Consultant. In SPRO, it may have some setting to make it display...
    Thanks & regards
    Amol Lohade

  • How to populate the TEXT field in MIGO

    Hi folks,
    While creating material document in MIGO or MB01, i am inserting some data in TEXT ( Field in line item level ). This text data is disappearing , once mat doc is created.
    how to populate the TEXT field in MIGO?Is there any cusomisation?it's urgent .
    Regards
    pabi

    Hello Pabitra,
    I had a similar issue in my Project.
    Please verify if the SMOD enhancement MBCF0002 (EXIT_SAPMM07M_001) is active in your system.
    If this is the case, verify from two angles:
    a) Whether the Enhancement was accidentally activated - If yes, then De-activate the same
    b) If there is some logic coded in the User Exit, but, the Text is somehow not determined...even the existing content in the text field (input to EXIT_SAPMM07M_001) will get vanished.
    Hope that your problem will be resolved by this.  Pls reward points.
    With Regards
    Vijay Gajavalli

  • 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 restrict movement type field in MIGO Tcode

    Hello there,
    I want to restrict the users for 103 movement type through MIGO tcode.
    I have searched for the objects and assigned the value 103 in the movement type field, but it is not solving my problem.
    Is there any other way?
    Thanks in advance.
    Regards,
    Priya.

    If all your users are need to be blocked from using 103 movement type then go to OMJJ@Movement type 103@Allowed transaction@here remove  the assignment of 103 with MIGO
    If you want to do it through authorization then try out with your BASIS person M_BEFU_ALL for all authorizations in Inventory Management
    Regards,
    Indranil

  • How to add a new Field in MIGO

    Dear Sir,
    We have a requirement of adding a new FIELD in MIGO under the "Detail Data" . The purpose is that at the Item level , we should be able to mention some additional information . For the new Field , an additional Tab has to be created . The Field must except long Text type data and during MIGO Save , the Custom Field data must be saved in Z table .
    We request , SAP experts to kindly guide us as how can we do this . A step wise guidence would be highly helpful .
    We assure full points for the suggested solution please .
    Regards
    B Mittal

    Hi,
    1.Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton ‘Information system’.
    2.Then mention the particular package name of the transaction you need to enhance. Then you will be shown the list of Enhancement components for that particular package.
    3.Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development
    4.Go to transaction CMOD and create a project
    5.Then, click on the pushbutton ‘Enhancement Assignments’ in the Application Toolbar
    6.Click on the components in Application Toolbar.
    7.Here you will be shown the function module exits, screen exits and Include tables.
    8.Click on the custom screen in which it suits the requirement of adding the custom field to the layout.
    9.Click on layout and go to get from dictionary and select the field you need to add and click ok.
    10.Place the field in the layout and activate it.
    11.After that you come back and check the respective function module in which you need to implement the code.Therfore we have chosen the Exit_sap_XXX
    12.Now, code has to be written in the function modules EXIT_SAPMMXX_00X so that data flows to and fro between the main SAP program and custom sub screen program. Double clicking on the exit we get the following screen
    Double click on the include and write the required code inside it. Then activate it.
    Now come back and activate the entire project.

  • 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

  • Stock type field editable in Cancellation document in 106 mvt

    Dear Experts,
    We are doing MIGO by 103, 105 movement. User requirement is After completing 105movement, when user cancels the 105 document by using 106 movement, user requirement is stock type field should be editable. User will select field from unrestricted, quality field or blocked stock. Because when we do 103 movement stock goes to GR blocked stock, then 105 against GR blocked stock goes to quality. Quality clears this material & material comes to Unrestricted. Now when we try to reverse 105 document system automatically takes stock type as quality inspection & goods are at unrestricted.
    Could any body guide?
    Thanks
    Trupti

    Hi,
    MIGO - Goods Receipt - PO - Mov type 106.
    Here select the 105 document you want to reverse and choose "Stock Type" as you want (unrestricted / Quality / etc) system will allow you to choose stck type.
    But in cancellation MIGO doc system will not allow you to change Stock ype.
    Regards,
    Rakesh

  • How to add a new field in migo transaction (header level)

    hi guru's
    can you please tell me how to add a field in migo transaction?
    i want to add a field in header data and that too under "general" tab. i dont have data regarding that field.
    and when we enter a value for that field in migo, it has to take .
    thank you.

    Hi, My problem is allmost like the one you are discussing here....
    I have appended MKPF for my Z-fields and created a sub-screen (Design the screen). I am calling this screen in PBO_HEADER. Now i can see my newly created tab along with fields.
    Now the problem is:-
    1. How I can transfer that data entered in screen fields back to my BADI.
    2. How to update my z-fields in MKPF table along with standard fields. I have tried using FM - 'J_1IEXGM_BADI_POST_DOCUMENT' in Method - POST_DOCUMENT, but its not updating table record in MKPF for Z-Fields.
    Please advice.....
    Thanks

  • Config to hide "Mvt type " field in MIGO

    Hi ,
          Can anyone suggest me the necessary config to be maintained to hide the "mvt type " field in the upper right hand corner which appears by default when we get into transaction MIGO .
    Thanks in advance

    Why do u want to hide Movement Type Field?
    Anyways you can hide it by going SPRO>MM>IM>Settings for Enjoy transactions>Feild selections for MIGO

  • Disabling of Batch field in MIGO

    hi all,
                     I added one tab in MIGO at item details. i created one program and designed one screen. here i am calculating batch code based upon screen fields and i updated batch field that is in different tab. Here i need to disable batch field that is in different tab(Btach tab) . How can i disable the field dynamically.
    Please suggest.
    Regards,
    Rami Reddy

    hi ,
        Use this include LMIGOKS4 and method    Method Screen_modify_line..........  Endmethod.
       It will be useful to you.
    Regards,
    Rami Reddy

  • 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 activate  NCM code Field on STO PO(doc type:UB) for Brazil

    Dear Gurus,
    I,m working on STO PO-Doc type UB for Brazil.On PO item level on the Tab Page Brazil one field should be there with name NCM CODE.That field is disppeared for this doc type UB.For all the other doc types that field is visible.
    I have checked the settings related to UB and the field NCM codeScreen field:MEPO1326-J_1BNBM
    is mandatory.
    Can u kindly inform me how to make the field visible?
    Regards
    Kumar

    .

  • Display material type field in MIGO ??

    Dear All,
    i would like to show the material types for materials when i made a goods reciept from po in MIGO, is there any way to add column for material type in material list screen in MIGO layout???

    Hi dear,
    First you have to add new tab for MIGO item level and then ask ABAP er to bring the material type from the material master into this tab at line level.
    For creating the additional tab for MIGO at itemlevel you have to use BADI MB_MIGO_BADI
    With the Business Add-In (BAdI) MB_MIGO_BADI, you can extend the interface of the goods movements transaction ( MIGO) with additional tabstrip controls for the detailed information (detail tabstrips) and header information (header tabstrips). It is possible for an external application
    to display an additional detail tabstrip with own subscreen (max. 10 lines) in MIGO
    to display an additional header tabstrip with own subscreen (max. 3 lines) in MIGO
    The program name, screen number and tab page text can be determined dynamically. Different screens can therefore be controlled according to the mode (for example, change mode, display mode, goods receipt, goods issue).
    To read the complete documentation --go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display
    inside click on "DOCUMENTATION" button and there is a complete documentation step by step
    in addition to it ...--go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display ->
    on the top menu -> "GOTO" -> sample code -> "Display"
    in will get the "methods" tab..see the description
    Initialization and Registration of Ext. Detail Screens
    PBO of Detail Screen
    PAI of Detail Screen
    Add / Change a Line (GOITEM)
    Delete a Line (GOITEM)
    MIGO Reset (Delete All Internal Data)
    Post Goods Movement
    Check Item Data of Goods Movement
    Mode of Transaction MIGO (Action / Reference Document)
    Status Information and Header Data
    Save Held Data
    Load Held Data
    Delete Held Data
    PBO of Header Screen
    PAI of Header Screen
    Check Header Data of Goods Movement
    Publish Item Data After Processing
    sample code is given in these methods..so when we create a custom badi implementation of our own go to the sample code and copy the required code in the corresponding methods as required
    double click on the method..for eg:IF_EX_MB_MIGO_BADI~PBO_HEADER in the sample code to see code....in this particular method we can see how method calls an external program and screen to create a new tab in MIGO...use code from mainly the following to get a new header/item tab
    PBO of Header Screen
    PAI of Header Screen
    PBO of Detail Screen
    PAI of Detail Screen

  • 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

Maybe you are looking for

  • How do i update to a new icloud email address in my iphone

    I have had an old iCloud account with an old email that i dont use anymore. So i lost my password and it won't let me in to that account to delete it. So now my iphone and icloud is still useing the old email address and i cant change it or delete it

  • Inserting variables into oracle

    how do you creat insert statements in oracle using variables? it won't accept this statement stmt.executeUpdate("INSERT into T_LINKMANAGER(LMID,LMNAME,LMURL,LMFLAG,LMHITS,LMCATEG) VALUES(ct,aname,aurl,'false',0,acat)"); giving a column not allowed he

  • Checking the node counts inside ccBPM

    All, We have a requirement where we need to check the number of nodes on the input message with the number of "successful" output messages. If there is a mismatch we need to raise an error. (in the following sample xml - we need to check the count of

  • FILTERiT plug-ins?

    On my old Mac (Illy9) I have got some useful plug-ins called FILTERiT4. No idea where they came from. All kinds of lens tools - Fisheye Lens, tone Lens etc. and some other stuff besides. Does anyone know if there's anything like it available now that

  • How to use /dev/sdb (3TB) hardrive partion to create vm ( VM 2.2)

    Hi at time of installation i created partion on both /dev/sda and /dev/sdb now /dev/sdb has 3TB partion with GPT here is the fdisk output fdisk -l Disk /dev/sda: 145.9 GB, 145999527936 bytes 255 heads, 63 sectors/track, 17750 cylinders Units = cylind