Saving document in Exit in MIGO Trx

Hi all!
I have a question.  I'm working in an EXIT for MIGO transaction. After I entered a delivery number /transfer Posting-Others TYPE 311/315 , I should check the warranty dates and then show an ALV with a list of items which the warranty is still valid.
what are asking me to do is, To show an ALV with the list mentioned above, with a POPUP which say: Are you sure to proceed? YES/NO?
If YES, posting is performed and Document Saved.
If NO, posting won´t be carried out, and the Document will be saved.
What I want to know, is if can I handle the action to do this selection (Hold or Post) here after I select Yes or No?
The exit will work when I click on SAVE button.
Please let me know.
Thanks.
Gaby

Hi,
  You can make an implicit enhancemnt in this function module MB_POST_GOODS_MOVEMENT.Please note, put your your program at the header not at the bottom.

Similar Messages

  • User exit  for MIGO  after the material document is created?

    hi  guys ,
    I have requirement like after the   material document was creted in migo  i need to call my new transcation. can any one please let me know how  i have to solve this ?
    Moderator Message: Unfortunately, this is not a training forum and we can teach all about Exits and Badi's. I suggest you take a classroom course..... or do some R&D first
    Edited by: kishan P on Nov 30, 2010 11:57 AM

    Hi
    U need to create a FM with UPDATE MODULE attribute checked: so you fm can be run in UPDATE TASK
    This fm has to have the same interface of the method of the BAID (or user-exit) or a parte of it, if you don't need to use all parameters of the interface.
    All code to schedule the job has to be placed in this fm: you can use the fm JOB_OPEN and JOB_CLOSE in order to scheule a job programmatically.
    Call this fm in the BADI, the call has to be in UPDATE TASK, in this way your porgram can start as soon as all updating processes are over
    Max

  • User exit for MIGO - Change on Posting A/C Code Upon Saving.

    Hi,
    I have a requirement to to split the GR/IR clearing account during the posting of goods receipt in MIGO by filled in BSEG-HKONT with specify a/c code (hard coded).
    I'm not able to find any user exit to change the value in BSEG-HKONT
    while click on save.
    Is there any suggestion on it?
    Thanks.

    Hi ,
    Try with the following User Exits for MIGO.
    MB_CF001  Customer Function Exit in the Case of Updating a Mat. D
    MBCF0002  Customer function exit: Segment text in material doc. i
    MBCF0005  Material document item for goods receipt/issue slip
    MBCF0006  Customer function for WBS element
    MBCF0007  Customer function exit: Updating a reservation
    MBCF0009  Filling the storage location field
    MBCF0010  Customer exit: Create reservation BAPI_RESERVATION_CREA
    MBCF0011  Read from RESB and RKPF for print list in  MB26
    Thanks,
    SVREDDY

  • User Exit for MIGO Save

    Hi Gurus,
    I am looking for user exit for MIGO transaction.  User exit should be given after saving the material document & I need this document number for carrying out some updations.
    regards,

    Hi
    You need to use the BAdi MB_DOCUMENT_BADI.
    This BAdi has two methods
    MB_DOCUMENT_BEFORE_UPDATE
    MB_DOCUMENT_UPDATE
    The method MB_DOCUMENT_BEFORE_UPDATE is called up before the FI document is created. This means that it is called up even if the program is terminated by an error during the subsequent processing. The update of data in separate tables should always be contained in function modules that are called up with the addition 'in update task'. This ensures that all the data is updated consistently.
    The method MB_DOCUMENT_UPDATE is not carried out until update. This means that all updates are carried out immediately in their own tables and do not have to be contained in 'update task' in function modules. For performance reasons, you should not re-read the tables or carry out any time-consuming routines at this point.
    You should always call up MB_DOCUMENT_BEFORE_UPDATE before MB_DOCUMENT_UPDATE, particularly if time is a critical factor when posting the material documents. The method MB_DOCUMENT_UPDATE is processed after the FI document numbers are called. As a result, no other FI documents can be posted until this document is completely updated.
    hope this helps...
    Thanks & Regards
    Kishore

  • User Exit for MIGO (goods receipt and goods issue)

    Hi all ,
    When i create a cross company goods receipt or goods issue through MIGO,I need to add another line item to the accounting documents posted with the sales tax calculated.For this i need to use a user exit which adds another line item.
    Can someone suggest me the user exit which i need to use ?
    any input would be of great help.
    Thanks,
    nsp.

    Hi
    Available exits for MIGO are
    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    You would hav to search through these.
    Hope this helps to solve ur problem....
    <b>do reward if useful....</b>
    regards
    dinesh

  • Saving the GOITEM-SGTEXT for MIGO doc. in MSEG Table

    Hi Gurus,
    I want to save the TEXT (GOITEM-SGTEXT) item for each line item in MIGO in the Table MSEG.
    But being Material NON-VALUATED, there is no Accounting Document generated for this MIGO document. So after inserting TEXT & posting the MIGO doc, the MSEG-SGTEXT is not updated.
    Is there any possibilty of saving the text without any accounting doc generation.
    Proper response will be rewarded.
    Regards,
    Pankaj

    Hi,
    you should make PO field mandatory for Mov type 541 screen layout settings in Txn OMJJ.
    Normally, it is suppressed.
    You can create 541 with reference to a PO but Referencing functionality is only a data entry aid and it does not save PO number in MSEG table.
    regards
    Siva

  • Help on USER EXIT for MIGO

    Hi friends,
    Facing problem in USER EXIT for MIGO...
    My requirement is...
    I want to give a error message for good issue or  it should not be posted in MIGO, if the Item OK check has not been made for all the available materials corresponding to Order no while posting goods issue.
    the structure and field names are: GODYNPRO-DETAIL_TAKE
    i.e., If the user omits to do the item-check for any materials while posting Good issue(after the Production order made),one popup(error) message will come/display b4 posting the document (by way to alert him).
    If anyone have solution or worked on this previously...pls post ur example by reply or let me know which is the corresponding USER EXIT to include my coding part.
    I've tried in MB_CF001 and MBCF0005 and its not working.
    Pls do the needful at the earliest.
    Thanks & regards
    sankar.

    Hi
    I hv same req. did u found correct exit?
    thanks

  • Hello i am using ms word when i open my saved documents but cannot edit anythings and all are option is hide .....so how to edit

    hello i am using ms word when i open my saved documents but cannot edit anythings and all are option is hide .....so how to edit

    Hi,
    In regarding of the issue, I need more information:
    Which Office and operation system do you use?
    Does the other Office suits encounter the issue?
    Does the issue occur in some special documents or every documents (even a new blank Word document)?
    Do you get some error message? Please upload some images about it if you can.
    Let's try some methods, check if they are helpful:
    a) Delete the Word Data registry subkey.
    1.Exit all Office programs.
    2.In Windows 8 or Windows 8.1, swipe in from the right edge of the screen, and then tap Search. (If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.) Type regedit in the search box, tap
    or click Apps, and then tap or click Run.
    Or, in Windows 7, Windows Vista or Windows XP, click Start, click Run, type regedit, and then click OK.
    3.Locate the following registry subkey, as appropriate for the version of Word that you are running:
    Word 2013
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\Data
    Word 2010
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Data
    Word 2007
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Data
    Word 2003
    HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data
    4.Click Data, and then click Export on the File menu.
    5.Name the file Wddata.reg, and then save the file to the desktop.
    6.On the Edit menu, click Delete, and then click Yes.
    7.Exit Registry Editor.
    8.Start Word.
    b) Start Word in
    safe mode, if it works fine, the issue may be caused by the add-ins, please try to check them one by one.
    c) Repair Office.
    http://office.microsoft.com/en-us/project-help/repair-office-programs-HA010357402.aspx
    For more detail information, please refer to the following link:http://support.microsoft.com/kb/921541/en-us
    Regards,
    George Zhao
    TechNet Community Support

  • User exit for MIGO transaction

    I'm checking for user exit in Migo transaction
    what I want to do is when I enter the PO# and try to save all the details ,it must trigger a pop-up(customized transaction) thru USEREXIT.
    Thanks in advance.

    Hello Hema
    These are the "old" customer-exits on ECC 5.0:
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    Regards
      Uwe

  • User-exit for MIGO, need change GKONT for CO

    Good evening,
    Dear friends, sorry for my english.
    I have made user-exit for MIGO in GGB1 and put on it in SPRO.
    I have HKONT=V3100* and corresponding HKONT=1551*( OBYC, group WRX).
    Then i run MIGO and make Purchase Order.
    In my user exit, if HKONT of first position eq V3100, i must change corresponding HKONT from 1551 to V1551*.
    When i make Order, i am run view documents: FI and other HKONTs changed successfully! ( first possition has V3100, second - V1551).
    User-exit must work only with sy-tcode = MIGO or MIRO.
    But CO documens NOT changed: HKONT(type of cost) eq V3100, but corr GKONT = 1551*...
    I also try to use OPEN FI, but have the same picture... (in CO docs V3100* and 1551, but all another docs and FI too - V3100 and V1551*).
    I see, that GKONT has only COEP. And this table a cannot see in user-exit.
    I think, that FI doc must do CO doc,
    but why in
    View documents->RW-infodocs->documents CO = it is not change?
    Please, answer me? if you can. regards.

    Please, view Print-Screen of my problem:
    <a href="http://rodendron.blogspot.com/2007/07/user-exit-for-migo.html">http://rodendron.blogspot.com/2007/07/user-exit-for-migo.html</a>
    Anybody can help?

  • I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    The following previous discussion has a solution that worked for a variety of people with the -1712 error on a variety of applications and may help: The application Safari can't be opened -1712

  • When I open a saved document in pages, then close it right away without making any changes, why does it ask if I would like to save the page or all new info will be lost?

    I have a few saved documents and when I open them to view them quick, sometimes when I close it, I will get asked if I would like to save the document or all my new info will be lost. I didnt change anything so Im not sure why it asks me that. When I open the document again, all the info is there and nothing is different. Thanks

    Unless they were Word documents, Pages has done nothing really, but it is updating date information in the file.
    It is annoying but just ignore it and don't save.
    Peter

  • When I click on a saved document or spreadsheet, I get this message You need a newer version of Numbers to open this document.  When I go Software update, there is no update for pages or numbers.  can't purchase or update?

    when I click on a saved document or spreadsheet, I get this message 'You need a newer version of Numbers to open this document'.  When I go Software update, there is no update for pages or numbers.  can't purchase or update?
    Trying re-purchasing.  won't let me.  says to check for updates?
    any suggestions

    It sounds to me as though you are attempting to open a Pages 09 document with the Pages 08 application. If you do have Pages 09 on your computer, it may be that for some reason an existing Pages 08 application is invoked accidentally.
    Jerry

  • I can only find the first page of a 5 page saved document on my macbook pro. Also all my sent email is missing.

    I saved a 5 page document on my macpro laptop in iwork. I emailed the document. The person claimed she didn't get the email. When I went to look at my sent mail the entire sent mail folder is gone and my saved document is also gone except for the first page. What happened? How can I get it back?
    Also, how did my Notes app stuff end up in my aol emal folders?
    Message was edited by: nancyloufromny

    From the menu bar, select
     ▹ System Preferences... ▹ Network
    Click the Assist me button and select Assistant. Follow the prompts. How far do you get?

  • Error occurred while saving document in Web Analysis Studio

    We have encountered an issue when we tried to save a new report in Web Analysis. An error message box will prompt up displaying "Error occurred while saving document." (Please refer to the attached screenshots). Clicking the details button gives no response.
    Originally we encountered this whilst creating a report with an SQL spreadsheet (JDBC connection tested successfully), which failed to save. Proceeding to test this saving a blank report also gave the same error message.
    The report shows up in the Oracle view, however also produces an error when trying to open it. "Unable to perform request
    Undefined exception encountered. Recommended Action: Contact your corporate technical support." (Please refer to the attached screenshots)
    Web Analysis version 11.1.2.3.000.1175
    Please advise on how to handle this case

    Hi Soumya,
    Thanks for your reply. I am already using the admin account which is given administrator provisioning under Reporting & Analysis. I have not had issues in the past of saving documents to the server location (e.g. with FR studio). Any ideas as to what else could cause this error? Thanks!

Maybe you are looking for

  • Game doesn't fit the screen, iPod menu sideways

    I have a 4th generation iPod Nano. The problem here comes from the game Brain Challenge. This is probably a very confusing and complicated explanation of the problem, so I've provided photos of the problem at the bottom of this post. When I start Bra

  • Movie Download starting over and over

    So now I'm downloading Django Unchained for like 3-4 hours and every time it hits 2 GB it just starts downloading again. I already deleted the temporary download files and i also changed my internet security option level to extremely insecure so that

  • RMAN restoration

    Hi, Oracle 10.2.0.4.0 on AIX Im restoring the backup. I have restored the controlfile. When I give restore databse, It's throwing the error. RMAN> restore database 2> ; Starting restore at 23-SEP-10 allocated channel: ORA_DISK_1 channel ORA_DISK_1: s

  • Strange Safari Crash...

    Safari is crashing on certain pages of my website. Firefox and IE/Win do not crash...but my beloved Safari does. The site is http://pjcbsm.com and will go live pretty soon. The crashes occur when I visit my administration panel or (and you can try th

  • How to translate Function text matching to fucntion code?

    I try to translate Function text matching to Function code in GUI status? Is there any way you know how to solve it?