Skip to Content
author's profile photo Former Member
Former Member

Regarding User Exit for MIGO

Hi Friends:

I've got the following urgent requirement.When we execute the transaction code for GR i.e. 'MIGO', there should a BDC triggered automatically in the background.This BDC should update the transaction code 'F.13' for automatic clearing.

I just wanted to ask if there is any kind of user/customer exit or BADI available so that a BDC can be linked to MIGO.I want this BDC to be triggered as soon as the MIGO gets saved.The data in F.13 should be updated is 'company code, fiscal year, assignment no(concatenate ebeln & ebelp), check G/L acct, put G/l acct. no, uncheck 'Test run').This BDC should run on a runtime basis i.e. we have to pick data one by one from MIGO.

I hope I've made my requirement clear.Is there anyone who have done this earlier & can give me a readymade guideline/example/code so that I can handle this urgent requirement.Is there any kind of confusion, please advise.I really need help on this.Please advise.Reward points will be there.If anyone want to send any material on this, please send on 'gp_happy@rediffmail.com'.

Friends, I'll really be thankful for this help.

Thanks:

Gaurav

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2007 at 05:25 PM

    Dear Gaurav,

    I think thisis possible. Use Enhancemtn "MBCF0002 Customer function exit: Segment text in material doc. item". Use following function exit

    FUNCTION EXIT_SAPMM07M_001.

    *"----


    ""Lokale Schnittstelle:

    *" IMPORTING

    *" VALUE(I_MSEG) LIKE MSEG STRUCTURE MSEG

    *" VALUE(I_VM07M) LIKE VM07M STRUCTURE VM07M

    *" VALUE(I_DM07M) LIKE DM07M STRUCTURE DM07M

    *" VALUE(I_MKPF) LIKE MKPF STRUCTURE MKPF

    *" EXPORTING

    *" VALUE(E_SGTXT) LIKE MSEG-SGTXT

    *"----


    INCLUDE ZXMBCU02.

    ENDFUNCTION.

    I have been using this for doing some validation before MIGO is saved, You can attach ur progrm in include ZMXMBCU02.

    in case any issue , please contact me sunil_ghariya@rediffmail.com

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,

      Is it possible to update the field: I_MSEG-EXBWR on this enhancement (MBCF0002)?

      After GR posting, MSEG-EXBWR of the material doc is not equal to 100. Thanks!

      *For testing purpose:

      &----


      *& Include ZXMBCU02

      &----


      I_MSEG-EXBWR = 100.

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2007 at 12:26 PM

    hi

    use <b>MB_MIGO_BADI</b> .. this badi is triggered on saving the migo .. u can write bdc code in the badi as per ur requirement

    regards

    aswin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2007 at 12:26 PM

    Also advise if exit "MB_CF001" can be used.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2007 at 02:26 PM

    Hi Gaurav,

    Following exits are available for MIGO:

    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.

    Following exits are available for F.13:

    F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not s

    F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI docume

    F050S006 FI Outgoing IDoc: Reset Clearing in FI Document

    F050S007 FIDCCH Outbound: Influence on IDoc for Document Chang

    F180A001 Balance Sheet Adjustment

    FARC0002 Additional Checks for Archiving MM Vendor Master Data

    FEDI0001 Function Exits for EDI in FI

    RFAVIS01 Customer Exit for Changing Payment Advice Segment Tex

    RFEPOS00 Line item display: Checking of selection conditions

    RFKORIEX Automatic correspondence

    SAPLF051 Workflow for FI (pre-capture, release for payment)

    F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segmen

    F050S002 FIDCC1: Change IDoc/do not send

    F050S003 FIDCC2: Change IDoc/do not send

    Ashven

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.