BADI/USER EXIT for MIGO while generating FI Documents.

Hi Friends,
In MIGO T.Code when posting the GR, we'll get the Material Documnent right, at the same time it will
generate an Accounting Document in background and the same will update in  BKPF/BSEG Tables.
Mine requirement is when ever the entries are updating into thr Finance tables, i need to manipulate the line items and the updated line items needs to be upadted to BSEG table.ERO.
Is there any EXIT or BADI or Enhancement or any Enhancement Point while posting the entries to FI with transaction MIGO.
Regards:
Swamy Dikonda.

Dear Saravaran,
Thanks for the reply.
This will not suits to us. The provided BADI will works upto Posting the material document in transaction MIGO and it will not considered for the FI level entries.
Hope you could have understand mine requirement.
The requirement of mine is:
While doing the GR with ref to PO the material documnet will be posted and subsequently FI documnet  will be  generated in Background. While generating the FI document i need to manipulate the values for the G/L. So that the manipulated values will be flow into BKPF and BSEG tables.
Thanks.
Regards
Swamy

Similar Messages

  • BADI / user-exit for MD02 while creating Schedule Lines

    Hi experts,
    I have a problem with implementation that I'm designing.
    Current situation:
    While MRP run (MD02 or background) new Schedule Lines are being created in reference to MM Scheduling Agreement.
    Example:
    04.08.2014
    SchLne
    5500000415/00010
    200
    04.08.2014
    IndReq
    VSFB
    200-
    05.08.2014
    SchLne
    5500000415/00010
    300
    05.08.2014
    IndReq
    VSFB
    300-
    2 Schedule Lines where created - for wuantity 200 and 300.
    Target:
    There is a need to create more than one Schedule Line per day during MRP run. According to example there should be for example 2 Schedule Lines in 04/08 and 3 Schedule Lines in 05/08 all for quantity = 100. There is possibility to change Schedule Lines in ME38, but there is a need to make a change during creatin while MRP run.
    04.08.2014
    IndReq
    VSFB
    200-
    04.08.2014
    SchLne
    5500000415/00010 *
    100
    04.08.2014
    SchLne
    5500000415/00010 *
    100
    05.08.2014
    IndReq
    VSFB
    300-
    06.08.2014
    SchLne
    5500000415/00010 *
    100
    06.08.2014
    SchLne
    5500000415/00010 *
    100
    06.08.2014
    SchLne
    5500000415/00010 *
    100
    So instead of creating only 2 Schedule Lines, MRP should create 5.
    I'm looking for a BADI/user-exit to edit Schedule Lines which are to be created by MRP and change it tn reference to the needs.
    I found only one BADI:
    BADI:    MD_CHANGE_MRP_DATA
    method: CHANGE_MDPSX_MDBS
    The priblem is that this method is only being executed when there are Schedule Lines which already exist.
    Maybe some of you have done some extension similar to mine? Please give me advice where I should put extension.
    Thanks in advance!

    Dear Saravaran,
    Thanks for the reply.
    This will not suits to us. The provided BADI will works upto Posting the material document in transaction MIGO and it will not considered for the FI level entries.
    Hope you could have understand mine requirement.
    The requirement of mine is:
    While doing the GR with ref to PO the material documnet will be posted and subsequently FI documnet  will be  generated in Background. While generating the FI document i need to manipulate the values for the G/L. So that the manipulated values will be flow into BKPF and BSEG tables.
    Thanks.
    Regards
    Swamy

  • BADI/User exit for MIGO fi postings

    Hello Experts,
    I have one requirement regarding at the time of MIGO accounting entry is generating based on the OBYC settings,now the client want along with this entry, want to create one more FI document through background,In the background we will give the debit g/l and credit g/l.That means at the time of MIGO two FI documents has to generate one is with OBYC setting gl's and second FI entry is from programe hard coded gl's.
    For this requirement has any BADI/USER Exit.I appriciate your valuable inputs.
    Regards,
    Nivas.

    Hi,
      May I know why you need two accounting documents?
      You may refer the similar thread: BADI / Exit required for MIGO for posting FI document
      And about the number ranges - I would suggest a custom number range object and a different number range for these additional documents.
      Also refer the doc: Methods to find Customer/User Exit's & BADi's for a Transaction Code!
    Regards,
    AKPT

  • BADI/User Exit for MIGO Batch Split

    Hello,
    Im trying to find BADI or user exit, so i can set batches/or split amount to batches via program.
    As far i found user exits: MBCFC010 - EXIT_SAPMM07M_010 and MBCFC003 - EXIT_SAPMM07M_003.
    But they only raise when i press "Check" button.
    Is it any where i can set batches when i press Batches button or Split button?
    Regards,
    Temo Chutlashvili

    Hi,
    first - this is propoably a totally wrong thread to post this question.
    But may be the following helps you anyway ;-).
    There are only 2 ways to load a badi.
    Method CL_EXITHANDLER=>GET_INSTANCE - for old BADIs
    or
    Statement "Get Badi" - for new BADIs.
    The unfair detail about this is that many old-fahsioned programmers already
    instantiate their BADI objects on load of program.
    So what often helps is, before entering the transaction you want to search
    for BADIs, activate the debugger (/h) and create breakpoints
    for the method and the statement. - Then it will stop each time BADI is used.
    Now start your transaction and check the BADI names passing through.
    Regards, Marcel

  • 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

  • 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

  • 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

  • How to create user exit for MIGO check  "item OK" Field select/unselect?

    Hi All,
       I want to know User Exit for MIGO Screen. when I click check button it will be show "Item OK " Field select or not.
    MIGO Screen post if Item ok field select both parent id and line id . otherwise it will be show error message?.
    Can Please  every one tell me how to do user exit for MIGO?
    mail id: [email protected]
    thanks,
    S.Muthu,

    Hi,
    check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
    COMD enhancment <b>MBCF0005</b>
    Regards

  • 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

  • BADI / user exit for Tcode IW32?

    Hi
    Are there any BADIs  / user exits for changing component data in Transaction IW32 for a maintainance order?
    regards
    cs

    Enhancement                                                                               
    IWO10012                                Maintenance order: Priority handling on central header                                                                               
    Business Add-in                                                                               
    IWO_UI_USEFLEX                          BAdI for Calling Up an Alternative UI                  
    I hope it helps.
    Best Regards,
    Vibha
    Please mark all the helpful answers

  • BADI/User Exit for KO02

    Dear Experts,
    When I'm setting the BUDGETED status manually to Internal Order (With out distributing the Budget to Order in IM52) and after if I m setting RELEASE status the system is accepting. So, I want to stop this without giving the budget in IO, it should not accept to release IO.
    This is not possible with User Status, coz' User may go and set manually "REL" Status.
    can anyone suggest me the BAdi/User Exit for KO02(Internal Order Change) tcode.
    Thanks,
    Sanju.

    When you set a User status , you can assign an Authorization Object on who can change the status .
    Follow the path in SPRO--> Controlling --> Internal orders --> Order Master Data > Status Management> Define authorization Keys for Status Management
    Define Authorization Keys for Status Management
    In this step you define authorization keys which you can use to set up authorization checks when you manually set or delete a user status. When the system sets a user status as a reaction to business transaction, it does not perform an authorization check.
    When you set or delete a user status, the system checks whether the user is authorized for this action. In addition to the status profile and the object type, the system also checks the authorization key assigned to the user status in question.
    Example
    You want to define that certain user statuses can be changed only by a specified employee group.
    To do this, create an authorization key and assign it to the relevant user statuses.
    In the general authorization maintenance you can then assign authorizations for this key via the authorization object B_USERSTAT.
    Activities
    1. Check whether you want to define authorizations for your user statuses.
    2. If necessary, create authorization keys as follows:
    a) Choose "New entries".
    b) Enter a key and an explanatory text in the appropriate fields and choose "Save".
    You have now created the authorization key.
    3. Assign the authorization key to one or more user statuses in your status profile.
    4. Define corresponding authorizations and include them in the relevant authorization profiles.

  • BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE initial screen

    Hi All,
    I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.
    please provide your suggestions.

    Hi,
    here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
      DATA: faelligkeit TYPE d,
            faelligkeit_text type c length 10,
            meldungstext TYPE c LENGTH 100.
      FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
      IF sy-uname = 'XYZ'.
    *    BREAK-POINT.
        READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
          ASSIGNING <it_source>.
        faelligkeit = <it_source>-dfaell.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
             DATE_INTERNAL                  = faelligkeit
           IMPORTING
             DATE_EXTERNAL                  = faelligkeit_text
           EXCEPTIONS
             DATE_INTERNAL_IS_INVALID       = 1
             OTHERS                         = 2
        IF sy-subrc <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        IF faelligkeit <> sy-datum.
          CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
          CALL METHOD pi_proxy_messages->set_message
            EXPORTING
              pi_message_id       = 'T0'
              pi_message_number   = '101'
              pi_message_severity = 'E'
              pi_message_var1     = meldungstext
            EXCEPTIONS
              OTHERS              = 4.
        ENDIF.
      ENDIF.
    It is not a really nice coding but it shows in a simple way how to use the BAdI.
    Regards
    Robert

  • BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE

    Hi All,
    I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.

    Hi,
    here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
      DATA: faelligkeit TYPE d,
            faelligkeit_text type c length 10,
            meldungstext TYPE c LENGTH 100.
      FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
      IF sy-uname = 'XYZ'.
    *    BREAK-POINT.
        READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
          ASSIGNING <it_source>.
        faelligkeit = <it_source>-dfaell.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
             DATE_INTERNAL                  = faelligkeit
           IMPORTING
             DATE_EXTERNAL                  = faelligkeit_text
           EXCEPTIONS
             DATE_INTERNAL_IS_INVALID       = 1
             OTHERS                         = 2
        IF sy-subrc <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        IF faelligkeit <> sy-datum.
          CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
          CALL METHOD pi_proxy_messages->set_message
            EXPORTING
              pi_message_id       = 'T0'
              pi_message_number   = '101'
              pi_message_severity = 'E'
              pi_message_var1     = meldungstext
            EXCEPTIONS
              OTHERS              = 4.
        ENDIF.
      ENDIF.
    It is not a really nice coding but it shows in a simple way how to use the BAdI.
    Regards
    Robert

  • BADI/User Exit for custom table update from Delivery

    Hi
    Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
    Thanks in Advance for your immediate help .

    Hi Joseph,
    See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
    I hope this helps you
    Regards
    Eduardo

  • BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N

    Hi,
    I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
    Please could anyone help me with this .
    Regards,
    Sushanth H.S.

    Hi!
    User Exits in Transportation
    In Transportation, there are enhancements that you can use with transaction CMOD.
    For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
    You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
    Business Add-Ins in the transports
    Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
    Customer-specific functions can be executed before the save time and after the database update.
    The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
    AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
    BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
    IN_UPDATE: BADI is called up after the database update.
    Standard Settings
    Creating a BADI method:
    Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
    On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
    Afterwards, go to the heading and activate the interface.
    Regards
    Tamá

Maybe you are looking for

  • Additional appearance option for cross-references

    There should be a way to leave off the "preamble" part ("Figure", "Table", etc) of a paragraph number in a cross-reference. So instead of writing things like "As shown in Figure 5 through Figure 9...." we could write "As shown in Figures 5 through 9.

  • So is it official, the new iPhone4 will be AT&T carrier only?

    So are the new iPhone4's going to be AT&T only? or are they finnally going to allow other carriers to use thier phones?

  • Porgram fails with "no such interface supported" message

    The program for my current project in Measurement Studio fails at startup after producing an error message as follows: "No  

  • ICal unable to sync

    When I upgraded to Leopard iCal worked fine for about 1 week. But since then I am unable to sync my calenders between my different Macs via my .Mac account, while there is no problem syncing the other applications (Contacts, Mail accounts...). Strang

  • APEXExport with flashback?

    Can anyone think of a way to get APEXExport to take the export from a certain point in time in the past? I can see no option to do it. Can anyone suggest some magic tricks to try?