Exits in MB1b

While saving material document in Tcode : MB1B, the material document and its details should be appended to Z database table.
What the exits trigerred after saving the document.

Hi Amruta,
Please check if implementations of BADI  "MB_DOCUMENT_BADI"  method MB_DOCUMENT_UPDATE
is a possible solution...
Since it is in an update task..data will get updated only on SAP commit work..we need not worry about data corruption and also Table MKPF\Table MSEG\Table with Structure VM07M  are available in the method.
Hope it helps
Pls check and revert
Regards
Byju

Similar Messages

  • User exit for mb1b

    dear all:
      who can list all user exit for t-code 'mb1b'?
       thank you !

    <b>Customer Exits</b>
    EXIT_SAPMM07M_001              Customer Function Exit: Set Segment Text in Material Document Item   
    EXIT_SAPMM07M_003              Customer Function Call: Dynamic Master Data Maintenance for New Batche
    EXIT_SAPMM07M_004              Customer Function Call: Dynamic Characteristic Value Assgmt for Batche
    EXIT_SAPMM07M_005              Customer Function Call: WBS Element for Offsetting Entry             
    EXIT_SAPMM07M_009              Customer Function Call: Set Storage Location                         
    EXIT_SAPMM07M_010              Propose Batch / Transfer Batch        
    <b>BADI</b>
    MB_CIN_LMBMBU04     posting of gr
    MB_CIN_MM07MFB7     BAdI for India Version exit in include MM07MFB7
    MB_CIN_MM07MFB7_QTY     Proposal of quantity from Excise invoice in GR
    MB_CIN_MM07MFB7_QTY     BADIs when creating a material document
    MB_DOCUMENT_UPDATE     BADI when updating material document: MSEG and MKPF
    Regards

  • Help me to find user exit  for  MB1B

    IN MB1B TRANSACTION I WANT ONE FIELD LIKE <b>REASON FOR TRANSFER</b> APPEAR IN THE FIRST SCREEN  ONLY WHEN I AM ENTERING PARTICULAR MOVEMENT TYPE,PLANT AND STORAGE LOCATION.HELP ME TO FIND USER EXIT FOR THIS
    Message was edited by:
            neela renganathan

    THIS FIELD ALREADY AVAILABLE IN THE NEXT SCREEN ,BUT WHILE AM ENTERING PARTICULAR  MVEMNT TYPE ,PLANT,STORAGE LOCTN IT WILL APPEAR IN INITIAL SCREEN AND IT WONT ALLOW TO GO NEXT SCREEN WITHOUT GIVING THE REASON
    Message was edited by:
            neela renganathan
    Message was edited by:
            neela renganathan

  • To find perticular user exit for mb1b

    Hi all,
    Actually my requirement is
    The purpose of this enhancement is to detach the stock from source sales order item and attach the same stock to the target sales order item and simultaneously short closing the Sales Order item to the tune of transfer posting quantity.
    Means after attaching source saled order item qty then one bdc has to run.That bdc is to remove attached qty from source sales order.
    suppose source SO 1000234 item 10 qty 50
    target SO 1000987 item 10 qty 15
    Adding qty of 30 from source SO of perticular item.
    After completion of this.
    Then to run bdc to remove qty 30 from source SO.
    Then in source it should become balance as 20. like that.
    If any knows perticular User exit then please guide me.
    Regards,
    Lokesh.

    Hi ,
          For Userexit MB1B
    THE following are the userexits .
    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.
    Please reward if useful.

  • BADI or Exit for MB1B at Line Item Checking

    Hi Friends,
    In MB1B tcode , in second screen after giving the line item details , it is checking for the batch , storage location and all.
    Requirement is to validate the storage location line item wise, if it is not so , an error message should come stating 'Wrong Storage Location'. This should be done line item wise and before saving (i.e. on pressing enter ).
    I checked with BADI's and User Exits but not able to do the same. I also searched in forum also, but not getting the exact Exit or BADI to use.
    Plz. do reply with any suitable result.
    Thanks in advance.
    Points will definately be rewarded.
    Regards.

    hi,
    use MBCF0009 user exit.....EXIT_SAPMM07M_009
    inthis ...get the i_mseg-lgort and check ...and pop-up...error meaasge.

  • User Exit during MB1B transaction

    Our scenario is during MIGO GR we are creating batches with a custom number range based on the unit of entry on the PO.  For example if we are procuring and receiving material A as Pallets with the unit of entry PAL then the batch number to be generated will be PAL0000123.  If for the same material A we are receiving as Drums then the batch number is DR00000123.  Each batch is required as all have a specific characteristic value that must be maintained.
    The next step in our process is to transfer these materials from one storage location to another using batch determination based on FIFO from MB1B.  The batch determination is only at the material level and not the Unit of Entry such as PAL or DR and so the system will transfer whatever material was received first irregardless of the unit of entry in MB1B.
    What we're looking for is a user exit during the MB1B transaction prior to the batch determination that will only select batches according to the value in the Unit of Entry field in MB1B.  This will allow us to apply the FIFO strategy to only PAL or DR batches separately based on the batch number assigned during GR.
    Thank you,
    Jeff Diluzio

    Hello,
    I have checked in my system and I see we do not have the order unit field available to create condition table with it but then we have a option to enahance the field catalog and there if we mention the field . However even in feild catalog I cant locate this filed but I see we have filed dummy.
    Conclusion: First step will be to do enhance field catalog with order unit field. If that is not possible then we need to use dummy field in field catalog to create condition table and then we need to pass order unit from MB1B screen to batch search/selection procedure.
    I know you have already tried for exit and all but I do not see any way possible to pass order unit to your selection /search procedure.

  • Exit in mb1b

    hi all,
    after hit enter from first screen (400) and enter into second screen of mb1b, where screen number is 421, what is the exit when user hit enter or click save button in this screen (421). can let me know both exit and how to get the exit?
    i tried to search using a type1 program provided by the forum and the parameter to seach is the t-code but i cannot get the correct one.
    thanks

    Hi
    The following is the list of enhancements availabe in the txn <b>MB1B</b>, check each of them in the txn <b>SMOD</b>
    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.

  • User exit/BADI for updating custom table in MB1B transaction-

    Dear All,
    When performing a material to material conversion in MB1B transaction for  batch managed materials,system is creating a new batch by copying the characteristics of issuing material/batch.The details of the new batch created are updated in standard batch tables(MCH1,MCHA,MCHA).
    The requirement is when the new batch is created,the batch details and characteristics has to be stamped in a custom table.
    Kindly suggest a user exit/BAIi available for updating the same in the custom table.
    Regards,
    Deepak

    Deepak, Exits for MB1B are
    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.

  • User exit / BADI for updating STO when change in subcontracting PO

    Hi
    The requirement is to update the STO (stock transfer order ) when their any change in subcontracting PO at item level. Is there any exit or BADI available where STO quantity and delivery date will be updated after any change in PO at item level ?
    Thanks
    Manas

    Deepak, Exits for MB1B are
    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.

  • Set Material Slip field of MB1B as mandatory

    The user want that the field "Material Slip" of the Tx MB1B be mandatory, but only for the movement types 411 and 412. Is this posible?
    I could set this field as mandatory in the Tx OMJN but I don´t find the option of doing this only for some movement types.
    Do you know if this is possible?
    thanks in advance!

    Hi,
    We can not get the funtionallity through IMG for specific Movement type.
    Need to use User Exit.
    Here is the list of user exits in MB1B:
    MB_CF001                                Customer Function Exit in the Case of Updating a Mat. Doc.
    MBCF0011                                Read from RESB and RKPF for print list in  MB26
    MBCF0010                                Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0009                                Filling the storage location field
    MBCF0007                                Customer function exit: Updating a reservation
    MBCF0006                                Customer function for WBS element
    MBCF0005                                Material document item for goods receipt/issue slip
    MBCF0002                                Customer function exit: Segment text in material doc. item
    The User Exits - "MBCF0005                                Material document item for goods receipt/issue slip" will to meet this requirement.
    Thanks,
    Kumar Arcot

  • Modify consignment stock price determination

    Hello,
    We have a vendor consignment stock that must be evaluated with the current price at the reception of the goods in the system, not the price at the date of transfer to own stock or consumption. 
    Weu2019ve been advised that in standard SAP system this is not possible.
    The requirement is to change the price determination at TCode MB1B when the liability is created.
    Iu2019ve tried a user exit from MB1B, but I was only able to modify the value at the material document generated and not the accounting documents.
    Is there a user exit or any other suggestion to achieve this?
    Thank you,
    Edited by: tania_ztrn on Jun 15, 2011 3:08 PM

    Hi,
    It's not clear to me why you are talking about special procurement key and stock determination togehter.
    In SPRO > MM > IM > Stock Determination > Define Startegies for stockDetermiantion
    Here you have to maintain a stock determiantion group, rule and plant / group / rule combination as well as a stock determiantion table.
    In SPRO > MM > IM > Stock Determination > Assign SDR in the Applications
    - IM > assign the rule to mvt 261
    - Production order > assign it to the proper plant/order type combination
    In MM02 > Plant data view 2 > assign the stock determiantion group to the amterial master under proper plant/sloc comination.
    After these settings it should work.
    Regards,
    Csaba

  • Ale idoc extenssion

    hi
      abap girus this is phaneendra i had a confussion that
    is iam not understanding
               in idoc extenssion ie in finding the exits for idoc extenssion we r going to smod and searching the exits(required or correct one)
      there we can see three or four exits
    what my question is how do we find correct exit
    ie is there any method of finding the correct ones
    can any body plz send answer for this
    best regards
    phaneendra
    <removed_by_moderator>
    Edited by: Julius Bussche on Jul 28, 2008 12:38 PM

    Hi Phaneendra.
    I would like to suggest a few references,
    [SDN - Reference for Correct user exit|Correct User exit for MB1b;
    [SDN - Reference for purchase requisition user exit|User exit for Requisition;
    [SDN - Reference for specific User exit|how to find my specific user exit;
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • COPCP002

    Hi ABAPers,
    Enhancement: COPCP002
    function module exit: EXIT_SAPLCK36_001
    include in function module exit: zxckau04
    include exit is implemented: LCK36FAZ
    Main Program: SAPLCK36
    Please help me how to find out any transaction for this function module exit. Is there any relationship between this user exit and MB1B transaction.
    When I execute the TCode MB1B, I noticed that this exit is not getting trigerred although it is activateded. It is also not triggered when we are doing MIGO to Sales Order stock with 501 E.
    In our system we use MB1B transaction for transfer posting from one sales order  to another sales order stock with Movement Type 413 E.
    If there is some other movement type or transaction which is triggering this exit please inform us. We want to use it for externally procured components when we put it on Sales Order stock.
    At [Standard Price with Valuated Sales Order Stocks |http://help.sap.com/erp2005_ehp_03/helpdata/EN/90/ba6cc7446711d189420000e829fbbd/frameset.htm] we found information about Enhancement COPCP002.
    Thanks & Regards,
    Mira.

    Hi,
    Whatever the price derived during the initial partial delivery using the user exit, the system considers the same for remaining partial deliveries.
    It doesn't once again use the use-exit.
    Please let me know if the system behaves otherwise
    Best Regards
    Surya

  • 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

  • User Exit / BADI Update new line item in BSEG in MIGO/MB1B Transaction

    Hi All,
    I Require a BADI or user exit in MIGO transaction from which i can add or change the BSEG line item before Posting the FI document.
    Regards,
    Madhukar Shetty

    Hi Asik,
    Thanks for the the reply, but can tell any other badi or exit from where i can add/append a new line item in the accounting document getting posted from MIGO or MB1B.
    Regards,
    Madhukar Shetty

Maybe you are looking for