MB01 add lines throw Exit/Badi/Enhancement

    Hi Experts, i need to find a badi, exit, enhancement to add new item lines in the transaction MB01 at save in background. Somebody know if this is possible? Thanks in advance.

Badi MB_MIGO_BADI is only active in transaction MIGO, it will not be called from MB01, you can find it in the standard documentation:
Requirements
If you use the BAdI MB_MIGO_BADI in MIGO to update customer-own data, in addition to the material document, to the database, you should note the following:
The BAdI MB_MIGO_BADI is only active in transaction MIGO.
If you post goods movements with other transactions (for example, with MB01, MB1C, VL02N), you must ensure that customer data is also updated, if necessary.
You can do this by using the BAdI MB_DOCUMENT_BADI (Creating a material document) to post the goods movements with the transactions mentioned above.
Note that otherwise, posting the goods movements will lead to inconsistencies between SAP system data (for example, in stocks, material documents, FI documents) and customer data.
To avoid these inconsistencies, we recommend posting all goods movements with transaction MIGO
.Regards,
Felipe

Similar Messages

  • Exit/BADI/Enhancement for Payroll driver

    Dear Friends,
    When we run transaction pc00_m10_calc for US payroll driver for an employee for a period,we can see the renumeration statement in the output screen.
    I need to modify the internal table xrt to add the similar wage types in one period before it passes to form , which exit / BADI enhancement should for this purpose.
    Pls. advice.
    Thanks..
    Regards,Prashant

    Hi,
        Please check the below.
    Enhancement
    HRUSRCU0                                Enhancement for Customer Exit for RPCTRCU0.
    Business Add-in
    PC10_PAY0001                            User exit for base_wages in a gross up calculation
    PC10_PAY0002                            Exit to determine if negative taxables should be allowed
    PC10_PAY0003                            Exit to determine if distribution calc should be allowed
    PC10_PAY0004                            Work Tax Area Override Add-In: Activation
    PC10_PAY0005                            Work Tax Area Override Add-In: Default proration of wages
    PC10_PAY0006                            User exit for additional ESS W4 (PZ10) fields; before output
    PC10_PAY0007                            User exit for PZ10 and IT0210 fields; after input
    PC10_PAY0008                            More than 99 exemptions for US payroll withholding tax calc
    Regards,
    Srini.

  • Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)

    Hi all,
    i am facing problem finding enhancement when creation of sales order of Valuation price with user exit/BADI/Enhancement Spot  (In valuation variant)
    For refferenece:
    When going to t.code VA03, select one item and go to extras in the menu bar and select costing then you find some amounts calculation i.e valuation price automatically.
    So when creation of sales order i am giving material and that material price automatically takes from material master and creating sales order.
    My customer requirement is to get the valuation price of the input material from Z-table during the sales order cost estimate.
    This Z-table contains the material code, plant , grade  of the material.
    Ex:
    Material         Plant   Grade Price
    A                1000    XYZ     25000
    A                1000    PQR     35000
    A                1000    BCD     45000
    Suppose it depends on sales document type and which grade price i have to take.
    So first of all i am unable to find enhancement where to change this code to get change the valuation price.
    Does anybody have any idea , is there any user exit/BADI/enhancement for this.
    So please help me in this issue.
    Thanks & Regards,
    lokeshgoud

    pls allow me to post the questions

  • User Exit/BADI/Enhancement Point  in VF01 before new document no assignment

    Hi Expert,
       I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 before the new document no (Billing document no assign).
    I need to cross check few things in Billing via VF01 at billing document save and give error message accordingly. The problem is if new number assign and there is error due to my code then when user save the document next he get a new no. its mean a no skip.
    Example: The invoice no is 1000. User start creating a billing document with Vf01 and he get an error message due to my code at exit , at this point of time the next number assign to billing which is 1001 but document not save due to my error message. Now after applying correction user save data and billing document created with no 1002. So there is no skip.
    I tried BADI BADI_SD_ACCOUNTING but this will trigger after no assignment.  Can someone provide me a user exit/BADI/Enhancement point in VF01 which trigger before no range assignment and contain at least Billing header data to use in my code?
    Regards
    Swati
    Edited by: Swati Namdev on Nov 16, 2010 9:55 PM

    HI Brad and team,
       BRED is right. I check few user exit normally all of us have that list or easily available on net.
    BRED: my question is: I need to check the billing date VBRK-FKDAT of document should not be less than the sales order plan billing date VBAP-Oldate.
    If this check fail then won't allow the user to create billing document. The problem is I used one user exit SDVFX001 already define previously that's work fine but issue is that user exit trigger after the billing no assignment. That's why when user get that error message he correct the document and create billing this time he get a new number which is skip of one no.
    That why I need a User Exit/BADI/Enhancement Point  which trigger at save but before document no assignment.
    Please update more about your comment "Why not use a header level copy requirement routine to perform the checks and log the messages? This is the standard process."  .
    Suggest user exit USEREXIT_FILL_VBRK_VBRP  trigger before save. I need at save the reason is VBRK-FKDAT  this can be change.
    Feel free to contact me back if you need more clarification.
    Regards
    Swati
    Edited by: Swati Namdev on Nov 17, 2010 6:22 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:25 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:32 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:47 PM

  • Exit/BADI/Enhancement to change GL account in SAP

    Hello Gurus ,
    I have requirement to change GL account based on certain valuation class during delivery after PGI is done .
    Can anyone please help me exit/badi/enhancement .
    Thanks
    Tisha

    check this exits
    SAPLKAL1              Allocations: Authorization Check in Cycle Maintenance
    SAPMKAL1             Allocations: Authorization Check in Cycle Maintenance
    SAPMKGA2            Allocation: Execute Authorization Check for Cycle

  • User Exit/BADI/Enhancement Point in VF01 after generating new billingdocno.

    Hi Experts,
    I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 after generating  the new document no (Billing document no assign).  The Billing document no is generating in the FM  RV_INVOICE_DOCUMENT_ADD ( NUMBER_GET_NEXT).
    Now the Billing document no is generating like '0000152', i want to concatenate 'ECR' to the generated Billing document no and it should be updated like ECR0000152 in Billing tables (VBRK, VBRP).
    Kindly let me know is there any EXIT/BADI to achieve this functionality.
    Regards,
    Venu

    Hi Venu,,
        These are the enhancements and badis for vf01, please check which will be helpful to you,,
    <exit farm removed by moderator>
    <points begging removed by moderator>
           Warm Regards
            Zulfikhar Ali
    Edited by: Thomas Zloch on Oct 1, 2011 3:57 PM

  • EXIT/ BADI/ Enhancement point for User Status change in Order

    Hi all,
    I am looking for an EXIT or a BADI or an enhancement point specifically for user status change in an order thru IW31/IW32.
    I have the exit names for Order PBO, PAI, 'SAVE' event etc. so m not looking for generic answers.
    I have to put some validations for the Order on USER STATUS CHANGE. Let me know if any of u have any pointers on that.
    Thanks and Regards,
    Sonal

    Hi,
    Use this Enhancement IWO10009 and call these function module to change the User Status
    STATUS_TEXT_EDIT --> To Read the existing status.
    STATUS_CHANGE_INTERN_VB --> to change the status.
    Regards,
    Satish

  • Purchase order user exit / BADI / Enhancement points

    Hello  experts,
    Please Help me to get the user exit or any way to enhance the PO functionality. I am trying to set the PO line item status to "Blocked" or "Unblocked" whenever a change is triggered in PO line item for transactions Me21N / Me22N. The blocked status will be triggered by the custom enhancement, this is the requirement.
    Thanks in advance for your help.
    I tried the user exit MM06E005, but not working.
    - Nagarajan

    Hello  Nagarajan Ramudu,
    inside of MM06E005 you should try the function module EXIT_SAPMM06E_012,
    i'm using this user-exit from all things in my company.
    Regards,
    Welinton Rocha

  • Any Exit/BADI/Enh point to modify COOI table contents before PR/PO save

    Hi Experts,
    whenever we create/change Purchase requisition/Purchase Order,
    table COOI(Commitment line items) gets updated with the Purchase requisition/purchase order
    item details and table COSP gets updated with the sum values of COOI entries order by primary keys
    of the table.For better explanation i am taking fields from tables
    COOI (taken few fields for example)
    REFBT     REFBN     RFKNT      LIFNR     HRKFT      OBJNR     WTGBTR(Total value in transaction cuu)
    1234     0010     00512     (empty)     (empty)     PR00148     10
    1234     0020     00512     (empty)     (empty)     PR00148     10
    1234     0030     00512     (empty)     (empty)     PR00149     20
    table updated COSP with sum value of COOI order by it's primary keys
    COSP (taken few fields for example)
    OBJNR     KSTAR     HRKFT     WTG010
    PR00148     00512     (empty)     20
    PR00149     00512     (empty)     20
    I want to pass  the value HRKFT(CO key subnumber/Origin grp) to table COOI
    to update each commitment line item,so that sum will update table COSP order by it's primary keys
    The same example revised with origin group.
    COOI
    REFBT     REFBN     RFKNT      LIFNR     HRKFT      OBJNR     WTGBTR(Total value in transaction cuu)
    1234     0010     00512     (empty)     3100     PR00148     10
    1234     0020     00512     (empty)     3200     PR00148     10
    1234     0030     00512     (empty)     3300     PR00149     20
    table COSP get update with sum value of COOI order by it's primary keys
    of COSP considering HRKFT values now(taken few fields for example)
    OBJNR     KSTAR     HRKFT     WTG010
    PR00148     00512     3100     10
    PR00148     00512     3200     10
    PR00149     00512     3200     20
    and this table is used in report painter to show the commitment
    COSTS's segregated by Origin Group.
    I need to show the report in report painter HRKFT(origin grp) wise cost's for commitments.
    which is using the COSP table to display.
    Now my requirement is any exit/BADI/Enhancement where i can modify table COOI contents
    with HRKFT value for each line item before sum calucalation for COSP table in detail while creating
    Purhcase requisition/Purchase order.
    We are using SAP GUI version 6.0 
    Helpfull answeres will be rewarded
    << Moderator message - Please do not promise points >>
    Edited by: Rob Burbank on May 15, 2011 4:28 PM

    Moderator message -
    When closing old threads, there is no need to add a comment. Adding a pasted answer like "answered" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved.

  • EXIT to change / add line items during STO PO creation in T.Code ME21N

    Hi
    Can somebody suggest me a EXIT or a BADI  to change / add line items during STO PO creation in T.Code ME21N.
    The requirement is as below.
    When the user enters a material no ( which has a BOM created in CS01), and presses enter or saves the PO, i need to get the sub components of the BOM and populate them as the next line items.
    This is because the user needs to create the delivery with reference to the PO. In the delivery, the BOM material needs to be populated with all the sub components of the BOM.
    I tried to do it using EXIT_SAPMM06E_013 in which i am able to change / add the line items in the XEKPO and YEKPO internal tables. The entries are available in the internal table when the EXIT is executed.
    But when the PO is posted internally, the item is not changed/added.
    Thanks in advance.
    Guna.

    Hi,
    Try BADI "ME_PROCESS_PO_CUST".
    cheers,

  • User exit / BADI to add the condition type in PO

    Hi Friends,
    The scenario is like user will be creating the Sales order & after that user will create the PR & immidiately after that PO will be created from PR no.
    I will be checking for some Z* condition type in sales order & if its present in sales order I have to add that condition type in PO.
    So for this I am searching for user exit or BADI.
    Please help me out with this.
    I have already tried following user exits & bADIs
    1. RV61AFZA - cant use because i dont get the PR no or SO no in this exit.
    2. RV61AFZB - cant use because i dont get the PR no or SO no in this exit.
    3. also tried the enhancement MM06E004 - if I add new condition type in XKOMV table condition type is not getting updated in PO.
    4. MM06E005 - if I add new condition type in XKOMV table condition type is not getting updated in PO.
    5. ME_PURCHDOC_POSTED - this BADI dont allow us to add the new condition type to std internal table.
    If you know anything apart from this then please do let me know.
    Full points will be awarded for the correct answer!!
    Best Regards,
    Aditya
    Edited by: aditya aghor on May 26, 2008 8:59 AM
    Edited by: aditya aghor on May 26, 2008 10:33 AM

    Transaction Code - MIRO                     Enter Invoice                                                                               
    Exit Name           Description                                                                               
    LMR1M001            User exits in Logistics Invoice Verification                   
    LMR1M002            Account grouping for GR/IR account maintenance                 
    LMR1M003            Number assignment in Logistics Invoice Verification            
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs   
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting   
    LMR1M006            Logistics Invoice Verification: Process XML Invoice            
    MRMH0001            Logistics Invoice Verification: ERS procedure                  
    MRMH0002            Logistics Invoice Verification: EDI inbound                    
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP                
    MRMN0001            Message output and creation: Logistics Invoice Verification    
    kevin

  • FB60  Line item User exit/BADI/BTE

    Hi Guys,
       I need a user exit/ BADI/BTE to change the  Line item in FB60 transaction.  Please let me know ifyou know  any enhancment on this. Thanks
    Regards,
    Ganesh

    Hi Dude,
    Following are the list of BADIS  for FB60 tcode
    BADI_FDCB_SUBBAS01
    BADI_LAYER
    BADI_FDCB_SUBBAS02
    PPA_CUST_BADI
    BADI_FDCB_SUBBAS03
    WRF_PREPAY_INVOICE
    BADI_FDCB_SUBBAS04
    BADI_FDCB_SUBBAS05
    ADDR_LANGU_TO_VERS
    ADDR_PRINTFORM_SHORT
    BADI_MATN1
    For your requirement the releavant badi is PPA_CUST_BADI
    Thanks & Regards
    Ramakrishna Pathi

  • User exit / Badi on save of trip/receipt line

    Hi All,
    I am trying to find a user exit / BADI that is called when the user either accepts a line of a receipt within a trip or simply saves the trip in total (preferably the latter) and I have been unable to find it.
    Any ideas would be great,
    Thanks,
    Brenton.

    Hello
    In program SAPMWAKA (tcode WAK2) you will find routine MWAKAF03_CALL_PROMOTION_U in which fm PROMOTION_UPDATE is called.
    Within this fm you find at the end the coding:
    * BADI Aufruf
      PERFORM CALL_BADI_INTERF_PROM_UPD USING FXWAKHD.
    ENDFUNCTION.
    This routine check for implementation of BAdI WAKT_BADI_001. The BAdI method INTERFACE_PROMOTION_DATA is used to "Make Update Data Available to External Applications".
    In addition, you should look through the manyfold BAdIs and enhancement spots within package WAKT.
    Regards
      Uwe

  • User Exit / BADI for  F-02 during SAVE to update BSEG Line Items.

    Hi Experts,
    I need a User Exit / BADI for Transaction code F-02 which triggers during save to update  BSEG-SGTXT with Vendor / Customer 
    name in the Tax Line Item.This is to update table BSEG .
    Thanks in Advance,
    Nithy

    Hi,
    Do it with the BTE 00001120 (tcode FIBF).
    I hope this helps you
    Regards,
    Eduardo
    PD: I forgot, check this link. It will tell you how to do it
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Edited by: Eduardo Hinojosa on Jul 15, 2009 6:38 PM

  • MB1B / Change profit center in Exit, Badi or Enhancement

    Hi guys,
    we're doing transfer postings in MB1B with reference to existing returns. In the return item a profit center different from the material master is entered. MB1B is creating the material document with the profit center from the materal master.
    The requirement is to get the profit center from the return into the material document.
    I have tried various ways to meet the requirement:
    - Badi MB_DOCUMENT_BADI
    - Badi MB_MIGO_ITEM_BADI
    - Exit EXIT_SAPLIE01_007
    - Enhancement ENHANCEMENT-POINT SEGMENTDATEN_MAT_SETZEN_03
    - Enhancement ENHANCEMENT-POINT MM07MFM0_M_SEGMENTE_GENERIE_04
    In MB_DOCUMENT_BADI and EXIT_SAPLIE01_007 the profit center can't be changed, MB_MIGO_ITEM is not run through.
    In the 2 enhancements the value can be changed, but the profit center in the material document and the follow up documents is still taken from the material master.
    Does anybody know where I can change the profit center in this case? (Badi / Exit / Enhancement).
    It's a requirement that MB1B has to be used, so using MIGO for this is not a solution.
    Thank you very much!
    Best regards, Andreas

    Hi,
    Enhancement - MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.  is called in the update task.
    This could be useful.
    Thanks
    Sujay

Maybe you are looking for

  • How to hide video controls

    All- I have a video that i want to play automatically when a button is clicked.  I have it all figured out but the controls for the embedded video show up.  How do i hide the controls?  Here's my code on a triggered get element event var vid = sym.$(

  • Cisco ACS database tuning

    Hi I would like to know best ways for tuning Cisco ACS database.  Now the database size has grown up and causing performance problems.  We are running Cisco ACS 4.2 on Windows server 2003 R3. SP2 What is the best possible way to tune Cisco ACS perfor

  • Audio test service , bandwidth policy servier (authentication) , Bandwidth policy server (core) Failed to start

    Event ID 32014, source:LS Application Server The application threw an exception while starting. The application urn:application:testbot threw the following exception when starting: Exception: Microsoft.Rtc.Collaboration.ProvisioningFailureException >

  • Bit-mapped Index

    Hi, I run this CREATE BITMAP INDEX bx_time_period ON time_period (time_period_cd) and i got this error: ORA-00439: feature not enabled: Bit-mapped I am using a Oracle 9i SE. How can i do to fix this error ? Do i need to install any patch Thanks. Leo

  • Purge cache by query SAPurgeCacheByQuery

    Dear All, I was trying to clear the cache for specific query entries using the nqcmd "SAPurgeCacheByQuery". This command does not clear the cache for queries. Below is the extract from the bat the launch the nqcmd (Clear_Cache_User.bat) d:\Applicatio