Disabling Input for GOITEM-ERFMG in MIGO

Hi SAP Experts/Guru's,
I have a requirement wherein i have to disable the goitem-erfmg (QTY in UnE) field from MIGO.
I have tried the following solutions:
1. First reolution we did was to find the user exit wherein we could change the ERFMG field but this user-exit doesnt exist for MIGO.  We were only able to use Enhancement MBCF0002 which contains the Function Module Exit EXIT_SAPMM07M_001
with INCLUDE ZXMBCU02.  Unfortunately this exit only works upon saving in MIGO.
2. We used the BADI MB_MIGO_BADI and made an implementation and used every methods to loop at every screen and test
   what screens will we disable but unfortunately we were not able to disable the goitem-erfmg screen at all.  This screen is contained in method LINE_MODIFY.
We also used the following methods:
PBO_DETAIL
PAI_DETAIL
PBO_HEADER
PAI_HEADER
Unfortunately this methods doesnt contain the ERFMG screen we needed to disable and it is only contained in LINE_MODIFY. we also used the other methods for MB_MIGO_BADI and only this five methods may prove to be useful.   Kindly help on how we can implement this certain requirement.

>
Neji03 wrote:
> This is my scenario,
>
>  upon entry of a PO number in MIGO, there are cases wherein we have to press the expand icon contained in GOITEM-expand in order for us to see the other material numbers associated with the already displayed material with the unedittable quantity. upon expansion we could see that the ERFMG for the sub materials are edittable and this is what we are trying to disable and what we want to happen here is that the first material displayed which contains the unedittable ERFMG field be enabled and become edittable in replacement of the disabled submaterials. i have disabled this in SHDO but unfortunately the main material which is the basis of the unit of quantity of the submaterial is also being disabled as well.
this sounds like a subcontract scenario.
In any case I do not know if you could disable this field with a exit or a BADI.
You can use user exit EXIT_SAPMM07M_001 to compare the entered quantity with the calculated quantity and then issue a message to not allow posting.
However, if a user enters a different quantity in MIGO  than the quantity that is automatically proposed, then this is certainly not because he has fun to screw up your system (as this would be a reason to be fired). I believe he does it because he has specific information. It can be that the calculated quantity is just wrong because of a wrong BOM. It can be that physically a different quantity was issued as the proposed quantity. Better ask the user why he changes the quantity instead of overacting with ABAP methods.
Even if you close the maintenance in MIGO, he is still  able to adjust the quantity in MIGO_GS and  MB04.

Similar Messages

  • Update GOITEM-ERFMG in MIGO using user exit in SAP ECC 6.0

    Dear Gurus,
    Kindly help me to solve the issue. We have requrement to update GOITEM-ERFMG field at the time of MIGO based on text input in GOHEAD-BKTXT as selection criteria in selection query in Z table. We try to acheive this using different enhancement / exits but GOITEM-ERFMG is not modifiable. Kindly guide us.
    Regards
    Soumen Das

    hi,
      you can try exit EXIT_SAPLMBMB_001, tables parameter MSEG has the field ERFMG.
    Regards,
    Himanshu

  • Disabling the Qty field for Input for Sub items in Sales Order and Delivery

    Hi..
    I have a requirement, where by we need to disable the qty field vbap-kwmeng for input for sub items of the BOM.
    I am planning to use the user exit USEREXIT_FIELD_MODIFICATION...in the include MV45AFZZ for sales orders.
    But i need to disable the input only after the BOM Explosion and item category determination in the sales order.
    Can i Use the same exit ?? what additional conditions i need to take into account.
    also we need to disable the delivery quantity field also for the sub items of this sales bom.
    I see that this User exit is not available in delivery procesing.  How to acheive the required functionality in the delivery processing...
    your advice is much appreciated in this matter.
    Regards
    Srini

    hi,
    Route is determined
    1.Country of Departure & Departure Zone taken from Shipping Point
    2.Country of Destination & receiving Zone from Ship to party
    3.Shipping condition from CMR
    4.Transportation Group from MMR
    5.Weight Group which is optional.
    Check the above.
    Route is determined in delivery.
    ASHA

  • Me21n disable input at item level for a/c assn

    HI expoerts,
    I want to disable screen input for field account assignment at item level.
    anyone know about any exit or badi.
    thanks

    Hi,
    SPRO->Materials Management->Purchasing->Purchase Order->Define Screen Layout at Document Level.
    Then chosse me21n and click details.
    select Basic Data, Item then click choose (tick) button. there you can set the desired screen layout for me21n

  • Disabling input

    Hi,
    How to use "at selection-screen output" event for disabling input of certain fields.
    Please explain with easy example.
    Thanks,
    Mahathi

    Hi,
    Hope this will help you:
    Hi,
    AT SELECTION-SCREEN OUTPUT
    event is triggered. This event block allows you to modify the selection screen directly before it is
    displayed.
    PARAMETERS: TEST1(10) MODIF ID SC1,
    TEST2(10) MODIF ID SC2,
    TEST3(10) MODIF ID SC1,
    TEST4(10) MODIF ID SC2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'SC1'.
    SCREEN-INTENSIFIED = '1'.
    MODIFY SCREEN.
    CONTINUE.
    ENDIF.
    IF SCREEN-GROUP1 = 'SC2'.
    SCREEN-INTENSIFIED = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    2.AT SELECTION-SCREEN ON <field>
    is triggered when the contents of each individual input field are passed from the selection screen
    to the ABAP program. The input field <field> can be checked in the corresponding event block.
    If an error message occurs within this event block, the corresponding field is made ready for input
    again on the selection screen.
    SELECTION-SCREEN BEGIN OF BLOCK PART1 WITH FRAME.
    PARAMETERS: NUMBER1 TYPE I,
    NUMBER2 TYPE I,
    NUMBER3 TYPE I.
    SELECTION-SCREEN END OF BLOCK PART1.
    SELECTION-SCREEN BEGIN OF BLOCK PART2 WITH FRAME.
    PARAMETERS: NUMBER4 TYPE I,
    NUMBER5 TYPE I,
    NUMBER6 TYPE I.
    SELECTION-SCREEN END OF BLOCK PART2.
    AT SELECTION-SCREEN ON BLOCK PART1.
    IF NUMBER3 LT NUMBER2 OR
    NUMBER3 LT NUMBER1 OR
    NUMBER2 LT NUMBER1.
    MESSAGE E020(HB).
    ENDIF.
    AT SELECTION-SCREEN ON BLOCK PART2.
    IF NUMBER6 LT NUMBER5 OR
    NUMBER6 LT NUMBER4 OR
    NUMBER5 LT NUMBER4.
    MESSAGE E030(HB).
    ENDIF.
    Reward points if found helpful....
    Cheers,
    Chandra Sekhar.

  • Error while running a query-Input for variable 'Posting Period is invalid

    Hi All,
    NOTE: This error is only cropping up when I input 12 in the posting period variable selection. If I put in any other value from 1-11 I am not getting any errors. Any ideas why this might be happening?
    I am getting the following error when I try and run a query - "Input for variable 'Posting Period (Single entry, mandatory)' is invalid" - On further clicking on this error the message displayed is as follows -
    Diagnosis
    Variable Posting Period (Single Value Entry, Mandatory) is used as a lower limit (X) and an upper limit () in an interval selection. This limit has the value #.
    System Response
    Procedure
    Enter a different value for variable Posting Period (Single Value Entry, Mandatory). If the value of the other limit is determined by another variable, you can change its value also.
    Procedure for System Administration

    OK.
    Well, if the variable is not used in any interval selection, then I would say "something happened to it".
    I would make a copy of the query and run it to check if I get the same problem with period 12.
       -> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
    If so, then try removing the variable completely from the query and hardcode restriction to 12.
       -> If problem still persists, I would have to do some thinking.
    If problem is gone, then add the variable again. Check.
       -> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
    If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
    Good luck!
    Jacob
    P.S: what fisc year variant are you using?
    Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM

  • Can not select external input for sound

    can not select external input for sound

    Hey there RoosterMonkey,
    It sounds like you have Soundtrack Pro installed but you cannot select your external audio device as an input. I recommend the troubleshooting steps from the article named:
    Soundtrack Pro 3: Troubleshooting Basics
    http://support.apple.com/kb/ht3659
    Update to the latest software versions
    From the Apple () menu, choose Software Update and make sure that you have the most recent updates for your versions of Soundtrack Pro 3, QuickTime, Compressor, Pro Application Support, and other important system files. Installing the latest updates ensures that your software has the latest improvements and enhancements.
    Note: Be sure the application is in the Applications folder and is named Soundtrack Pro before running Software Update.
    Check compatibility and driver versions for third-party devices
    If you're using a third-party sound card, MIDI interface, storage system, control surface, or plug-in, check the support area on the manufacturer's website to be sure that you're using the latest version of the relevant driver or other software for your product. For information on troubleshooting possible issues with Audio Unit plug-ins, go to Soundtrack Pro 3: Troubleshooting Audio Unit plug-in issues.
    Try a different Multitrack Project or Audio File Project
    Sometimes project files can become damaged, causing unexpected behavior in Soundtrack Pro. To create a fresh project, choose File, then New and select Multitrack Project or Audio File. Test to see if the issue is resolved in the new project.
    Delete the User Preferences
    You can resolve many issues by restoring Soundtrack Pro to its original settings. This will not impact your project files. To reset your Soundtrack Pro user preference settings to their original state:
    Quit Soundtrack Pro if it is open.
    In the Finder, choose Go > Go to Folder from the menu bar.
    Type ~/Library/Preferences  in the "Go to the folder" field.
    Remove the "com.apple.soundtrackpro.plist" file from the Preferences folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Application Support/Soundtrack Pro  in the "Go to the folder" field.
    Remove the "EffectsCache.plist" file from the Soundtrack Pro folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Application Support/Soundtrack Pro/Layouts  in the "Go to folder" field.
    Remove the "Soundtrack Pro.saved.moduleLayout" file from the Layouts folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Caches in the "Go to folder" field.
    Remove the "com.apple.audiounits.cache" from the Caches folder.
    Remove receipts and reinstall Soundtrack Pro 3 and Compressor
    Another approach you might consider is reinstalling Soundtrack Pro and Compressor. To do this effectively, you need to remove the applications and their receipts, then install Soundtrack Pro and use Software Update to install additional updates. Compressor gets installed automatically when you install Soundtrack Pro. You don't have to remove everything that was installed with Soundtrack Pro, so follow the steps below to completely reinstall a fresh copy of Soundtrack Pro. Note: Make sure that you have your installation discs handy before beginning.
    In Mac OS X v10.6 Snow Leopard or OS X Lion
    Open the Terminal application and enter the following commands one at a time and an administrator password when prompted. Note: The commands are case sensitive.
    sudo pkgutil --forget com.apple.pkg.Compressor
    sudo pkgutil --forget com.apple.pkg.Qmaster
    sudo pkgutil --forget com.apple.pkg.VideoOutSupport
    sudo pkgutil --forget com.apple.pkg.PSTSharedA
    sudo pkgutil --forget com.apple.pkg.AppleHDVCodec
    sudo pkgutil --forget com.apple.pkg.AppleIntermediateCodec
    sudo pkgutil --forget com.apple.pkg.DSPPublishing
    sudo pkgutil --forget com.apple.pkg.SoundtrackPro
    sudo pkgutil --forget com.apple.pkg.Uncompressed422
    Then, reinstall Soundtrack Pro and Compressor using the following steps:
    Open the Applications folder. Drag the Soundtrack Pro and Compressor applications to the Trash.
    Insert your Logic Studio or Final Cut Studio installation disc and install Soundtrack Pro.
    When finished installing, choose the Apple () menu, then Software Update to update your software to the latest version.
    Open Soundtrack Pro to verify that the issue has been resolved.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • How can I keep lion from generating .DS_Store files on windows network partitions, but not disable it for all network partitions?

    How can I keep lion from generating .DS_Store files on windows network partitions, but not disable it for all network partitions?  I am fimilar with changing the setting for all network partitions(defaults write com.apple.desktopservices DSDontWriteNetworkStores true), but that is undesirable when I connect my laptop to my home network. A preferable solution would be where I could control the writing of these files based on disk format (NTFS vs HFS+).

    Go to MacUpdate or CNET Downloads and search for ds_store. There are numerous utilities for preventing them from being transferred to Windows systems.

  • How can I just disable "navigation toolbar" completely for the App Tabs? I don't want to disable this for other normal tabs.

    How can I just disable "navigation toolbar" completely for the App Tabs? I don't want to disable this for other normal tabs. This is important as otherwise while I am in the app tab, i mistakenly start browsing from that tab and meaning of the app tab is completely lost...

    How can I view my full billing history for the app and music stores without iTunes installed?
    No.
    If my account has been compromised
    If you even think this may have happened, immediately change your password.
    See this -> Apple ID: Changing your password

  • Get input for 100 dynamic fields in a single screen

    Hi all
    I got one requirement wherein i need to accept input for around 100 dynamic fields in a single screen. screen can scroll down if possible.
    Can anyone tell me whether it is possible. if yes please let me have the sample code.
    Thanks
    Ravindra Suvarna

    Ravi,
    Probably a TAB STRIP might help you.
    Seggregate your 100 fields logically, say 5 groups.
    Have a TAB STRIP CONTROL, with 5 tab strips and place 20 fields in each of the tabs. Each tab strip will have a sub screen.
    Regards,
    Ravi
    Note : Please mark the helpful answers.

  • Batch input for IQ02 not accepting "yes" for 'POPUP_TO_CONFIRM'

    Hello,
    I wrote a batch input for a transaction (IQ02) and all works fine except one thing:
    -when all data  is entered and SAVE button is pressed, there is an additional pop-up, from an user exit which needs an YES/NO answer.
    The function module used to display the popup is: 'POPUP_TO_CONFIRM'
    I do not manage to press the YES button. This is the data I receive when pressing F1 on YES button:
    Program         SAPLSPO1
    Function          OPT1
    Normally, in batch input, this is the way I pass user-commands:
    PERFORM bdc_dynpro USING 'SAPMIEQ0' '0101'.
    PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
    But it's not working for this particular situation.
    Any ideas?
    Thank you.
    Edited by: Julius Bussche on Jan 5, 2009 2:07 PM
    Quality of subject title improved.

    Hi
    Find out under which condition popups appears.
    for that condition you have to put the following code
    PERFORM bdc_dynpro USING 'SAPLSPO1' ''<SCREEN_NUMBER>'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=OPT1' .
    Hope this helps,
    Rajat

  • Thank youbfor optimizing the touch input for scrolling on my HP Slate 500, why wont the others do the horizontal scrolling feature enables?

    After testing all other available browsers the past month I have arrived at the conclusion that the Firefox browser is the only one that enables touch input for scrolling. Trying to navigate pages without this function using IE, Opera, Safari & Chrome is just tedious. I'm using the Slate as it was intended, business functions especially day to day charting for my patients in an online system.
    The larger tabs for opening new searches & sites. If Microsoft plans on making W8 truly touch enabled they need to take note of what FF has done here. The touch input is limited on W7 but you've succeeded where others have failed.
    3 cheers for FF! I couldn't do my job and document patient progress w/o your intuitive design. Brendan S. - Latham, NY
    I guess the question is why are the others not developing these key features for Windows based slates...are they ignorant or is FF that much further ahead.

    After testing all other available browsers the past month I have arrived at the conclusion that the Firefox browser is the only one that enables touch input for scrolling. Trying to navigate pages without this function using IE, Opera, Safari & Chrome is just tedious. I'm using the Slate as it was intended, business functions especially day to day charting for my patients in an online system.
    The larger tabs for opening new searches & sites. If Microsoft plans on making W8 truly touch enabled they need to take note of what FF has done here. The touch input is limited on W7 but you've succeeded where others have failed.
    3 cheers for FF! I couldn't do my job and document patient progress w/o your intuitive design. Brendan S. - Latham, NY
    I guess the question is why are the others not developing these key features for Windows based slates...are they ignorant or is FF that much further ahead.

  • Goods Receipt for Inbound Delivery through MIGO

    Hi All,
    Can anyone pl. explain me in steps the process of GR for Inbound Delivery from MIGO transaction.
    Also I need the process of reversing this goods receipt done.
    For certain inbound deliveries a dump occurs in the program SAPLIE01 in 'EQUIPMENT_ADAPT_BUSVIEWS' fn module.
    I need to analyse the reason for the dump. Here is the extract from the dump
    <b>IF WA_EQUI IS INITIAL
      keine Equidaten vorhanden => EXCEPTION
    --->       RAISE ERR_ADAPT_BUSVIEWS . ENDIF.                     </b>                                          
    Advance Thanks

    Hi Sanjay and Srikanth,
    Thank you for the correction. I was just wondering over this number.
    Sanjay, regd the release level, it is 0017 for SAP_APPL.
    In brief, when GR is done for an inbound delivery, a fn moudle equipment_adapt_busviews is called, in which if the equipment data of the material (wa_equi) is initial, it gives dump.
    1. This fn module is called 3 or 4 times while the posting is done through MIGO
    2. In the 4th call, the parameter wa_equi is initial - which gives the dump.
    3. While debugging, when I reach this point,if I restart the debugging, I find that the posting is completed !!!! (so something happening after posting of GR gives the dump)
    4. I have to reverse this GR for replicating the same again.
    Any further clues !!
    Regards
    Aadarsh

  • Finding Program for triggering Print Program (MIGO - Goods Receipt)

    Hi all,
    Currently, I have developed customized print program and SMARTFORMS for Goods Receipt via MIGO, with output type ZZGR.
    Typically, this is a inter-plant transfer, where Plant A will issue a Delivery Order to Plant B, and Plant B will post goods receipt via MIGO (Movement Type 101), using Delivery Order number. As soon as the Material Document is posted, the SMARTFORMS shall be triggered by customized print program, in order to print out the goods receipt document upon material doc posted.
    The config for output determination (via TCODE NACE) for goods receipt is configured. I have tested post a goods receipt using Delivery Order, and Material Document is posted successfully. However, I got a message from SAP Inbox (Businees Area), saying that my Material Document having an update error, and the root cause is specifically from calling Function Module to trigger Smartforms in the print program. From tcode ST22, I realized that the error is due to empty parameter being passed to the function module (where the parameter is required field for further processing in Smartform).
    In order to rectify why empty parameter is bieng passed, I will have to debug the print program, after GR posted from MIGO. Therefore, can someone shed some lights on how to perform a debugging process, or any standard sap program involved, as I understand that the print program is triggered (in background) after GR posted?
    Also, can I know why the Material Document will not be committed to MKPF table after GR posted, is it due to the update error from the above mentioned?
    Many thanks.
    Best regards,
    Patrick
    P/S: I'm using SAP ECC6.

    Actually, this print program is being triggered in the update processing.
    Put a breakpoint in your driver program.
    In MIGO, before pressing the SAVE button start debugging.
    Press the SAVE button.
    Start the update debugging by Settings > Update Debugging.
    As soon as you continue in debugging, it would open another debugging session for the Update debugging. You can press continue and it would stop at your breakpoint.
    Regards,
    Naimesh Patel

  • Help needed in mapping BI query output to use as input for BAPI

    Hi,
    After wrestling with it for quite some time I choose to ask yet another question here. I want to use the output of a BI query I use as input for a BAPI. I just can not get the mapping correctly:
    The query delivers: 104908BA092F7501F5E1008000829000AC
    I need: 104908BA092F7501F5E1008000829000AC
    How can I lose the two first digits? Thanks in advance!
    Best regards,
    Jan

    Nevermind. I found out myself. I am now using the statement MID(@GUID,2,32) in the connection.

Maybe you are looking for

  • Getting ipod songs to itunes library please help

    ok i did a system revovery on my computer and i was woundering how i get my songs from my ipod to my library gateway   Windows XP   ipod 30gb vid

  • How do I add image upload to web app edit template?

    How do I add image upload to web app edit template. When creating fields I am selecting image from the field type. But the only way to upload and image is when I create the web app item within the admin. The option to upload an image is not available

  • Document Splitting on Clearing Open Items of Customer

    Hi, Computation of our Creditable Withholding Tax is upon payment of the customer. In case of accomodated for multiple profit centers, CEWT is splitted to all profit centers included in the clearing. Please see my illustration Accomodated payment- En

  • Javascript Date() function not working

    Hi, I'm experiencing some problems with the Date() function in javascript. The problem is that the function doesn't seem to work. For example when I do "var date = new Date(); xfa.host.messageBox(date);" in the enter event of a date field, I get "Dat

  • Load balancing without a cluster...!!!!????

    Hi boys!           I have a question for you: my NES proxy server can realize a load           balancing between 2 weblogic 6.0 servers that are NOT IN A CLUSTER?           I've done some tests configuring the obj.conf like the 2 weblogic           s