User exit or any other enhancements during good receipt

Hi
i am lookin for user exit or other enhancements during MIGO / goods receipt
actually i want to generate internal serial no. with my own logic
the system should take serial number with my own logic at the time of goods receipt .

Hi,
Plz find the below exits,
Enhancement
MBCFC004                                Maintenance of batch specifications for goods movements
MBCFC003                                Maintenance of batch master data for goods movements
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
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
Business Add-in
MB_DOCUMENT_UPDATE                      BADI when updating material document: MSEG and MKPF
MB_DOCUMENT_BADI                        BADIs when creating a material document
MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR
MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7
MB_CIN_LMBMBU04                         posting of gr
Regards
Ravi Ganji

Similar Messages

  • Badi or User exit to modify MSEG data during Goods issue

    Hello,
    I have a requirement to modify the field plant MSEG-WERKS while doing goods issue of outbound delivery via transactiona VL02N.
    Can anybody suggest me which BADI or user exit should i use.I have searched the SDN and all the previous threads on this haven't yeild any solution for this.
    I have tried with below listed Badis and enhancements which wont work.
    Badi
    ===================
    MB_DOCUMENT_BADI
    MB_MIGO_BADI
    LE_SHP_GOODSMOVEMENT
    DELIVERY_PUBLISH
    Enhancements
    ===============
    MB_CF001
    MBCF0005
    Thanks and Regards,
    Koustubh

    Hi,
    I am facing a similar issue of updating the MSEG-DMBTR field when Post Goods reciept is done in VL02n.
    I hav tried to update the value in LE_SHP_GOODSMOVEMENT BADI and tried to modify the structure .
    eg in this way
    method IF_EX_LE_SHP_GOODSMOVEMENT~CHANGE_INPUT_HEADER_AND_ITEMS.
    data: wa1 type LINE OF shp_imsegvb_t. "IMSEGVB.
    DATA: flag TYPE c.
    LOOP at CT_XIMSEG INTO wa1.
      wa1-dmbtr = '12345'.
    MODIFY CT_XIMSEG FROM wa1.
    " TRANSPORTING dmbtr.
    flag = 'x'.
    ENDLOOP.
    endif.
    endmethod.
    The value gets updated in the structure but when the material document gets created then the table MSEG has the amount DMBTR field not changed.
    Also, I tried doing the updation in the Function eXit : EXIT_SAPMM07M_001 by the method mentioned in different threads:
    betweeb statemnet if  sy-tcode = 'VL02n'
    FIELD-SYMBOLS: <DMBTR> TYPE any,
    <DMBTR1> TYPE any.
    ASSIGN '(SAPMM07M)MSEG-DMBTR' TO <DMBTR>.
    assign (<DMBTR>) to <DMBTR1>.
    But still on save of the material document in MSEG I cannot find the new DMBTR field value.
    Kindly help me on this, urgently required. I have already gone through the number of threads in the forum, but no solution.

  • User exit/badi/any other solution

    Hi All,
    when u execute MIGO tr a screen is opened. on the right most corner of a table control, there is button with color yello white and blue when u click on this button u can set re-arrange fields as per ur needs. Now i need to add one more field BEDNR i.e Tracking number here. if anybody has done this sort of work please suggest me something to solve it.
    Thanks..
    Lokesh

    Hi,
    I am not sure if you can add an additional field. Try transaction OMJX.
    Cheers !

  • What are the different methods to find the user-exit for any requirement?

    Hi Everybody,
    What are the different methods to follow to find the user-exit for any requirement?
    Thanks & Regards,
    Nagaraju Maddi

    The following program search all the user exits involved with a T-code:
    Selection Text: P_TCODE: Transaction Code to Search
    Text Symbols: 001 - Enter the Transaction Code that you want to search through for a User Exit
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP® User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    * Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    * Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
      * Find SAP® Modifications
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    * Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • Are there any other enhancements in noise reduction tools in CS6

    Are there any other enhancements in the noise reduction tools besides the improvement mentioned of the spot healing brush. Are there improvements on the click and pop removal tool and the noise reduction in the spectral editing view. Quite anxious to know...

    Paul:
    Welcome to the Apple Discussions. There is a hidden feature for changing the Redeye and Retouch tool size:
    How to Change the Size of the Retouch and Red-Eye Removal Tool
    Type Caps lockControl9
    Undo caps lock
    Click on the Retouch or Red-Eye Removal tool
    The tab key will toggle between cursor types, a cross or a circle
    The "[" and "]" keys decrease or increase the size accordingly.
    NOTE: Using the "{" "}" keys will will change the value next to the circle and that represents the degree of change or intensity that the tool imparts on each pass.
    Also check out the tip at the end of my signature for backing up the library database file on a frequent basis.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application, iPhoto dB file backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • What is User Exits ? what are Enhancements

    What is User Exits ? what are Enhancements ?

    You can find information in the SAP help, e.g. under http://help.sap.com/saphelp_nw04/helpdata/en/c8/1978b543b111d1896f0000e8322d00/frameset.htm.
    User exits can be realized through BADI's or customer exits.
    In SAP Standard Transactions, if you need to do some customization via programming then SAP has identified the milestones in the behavior of the transactions where these customized effects may be needed.
    This customization to standard transactions is done by some special function modules wherein one can write the customized code with the given SAP import/export parameters. These function modules relate to user exits. Transaction for user exit & its usage in any project are CMOD/SMOD.
    Create a project in CMOD and implement  that project in SMOD
    PS If the answer solves your query, plz do reward points to everyone responding.

  • Prevent quantity updating during Goods Receipt

    Hi,
    We have a particular requirement for a type of subcontracting process (not the standard SAP subcontracting) as mentioned below.
    We create a Purchase Order for a material (without a standard cost) and giving an account assignment category in the PO. The Net price mentioned in the PO is the processing charges for the vendor (service charges). It does not indicate price for the material.
    When we receive the finished material from the vendor, we perform a Goods receipt. The stock gets updated and accounting documents are created.
    Our requirement is to stop this quantity updating during Goods Receipt. But, at the same time, we would like the accounting documents to be created as we need to pay the vendor.
    Is there any way of achieving this?
    Pl let me know. Any inputs would be appreciated.

    Hi,
    Thanks for the response!
    I understand that in the standard process, the parent item inforecord takes care of the processing charges. But this is process that has been customized differently as the client has SAP as well as legacy systems talking to each other.
    Turning off the qty updating at the material type level will turn it off for all purchase orders created for the material at that particular plant which is something we would like to avoid.
    We would basically like to turn it off for particular purchase order type. The reason for turning it off is that after the GR is done, there is a separate process that comes from the legacy system and updates the same quantity of finished product and also posts the consumption of components.
    So, our basic requirement is , is it possible to turn off qty updating for the GR of a particular purchase order document type and yet create accounting document. Material is not a valuated material and has a standard cost zero.
    Any inputs in this regard will be helpful.
    Regards

  • Automatic Creation of Purchase order during Goods Receipt

    Hai Guys,
           Can you please tell me is there any ways to get a Automatic PO during Goods Receipt???
        Regards
        Jino.

    Config
    1.Automatic PO generation must be activated for the movment type in IMG>Inv Mgmt & Phy Inv> GR>Create PO automatically. ( Note that automatic PO is only possible for mvmt 101 & 161)
    2. The plant you are working with must be assigned to a standard purchase organisation.
    3. A default PO document type must be specified for the GR in IMG> MM>purchasing>specify default vaues for document types.
    Master Data
    1.In mateial master Auto PO is to be set.
    2.in Vendor Master Auto PO generation or agreed with him an indicator is to be set.
    3.Info-Record should exist with the combination of material,vendor and the auto PO flagged in info record.

  • QA495 Error message during Good Receipt

    Dear Gurus,
    we would like to perform a good receipt with a custom movement (ZD1 as copy of 101) in order to do not activate QM inspection in certain cases. In OMJJ we flagged ZD1 as u201CQM not activeu201D but, since in the material master an Inspection type (with Lot Origin 01) is set, the following error during good receipt (MIGO) occur:
    "Change the inspection stock of material RAP4829AA_AG in QM only
    Error message QA495"
    The problem can be that, in the material document that we are trying to save, the stock type is automatically set to u201C2 - Quality Inspectionu201D. If we change it manually, leaving it blank (unrestricted use), the good receipt is correctly performed, otherwise the QA495 error message appear.
    The questions are:
    Is not enough deactivate u201CQM activeu201D flag in OMJJ for a specific movement type?
    Otherwise, how can we drive stock type (in MIGO) by the movement type?
    Thanks a lot,
    Regards
    Ale

    Hi Anand,
    as you told:
    "As I understand your requirement, you want to carry out goods receipt with ZD1 movement type (which is a copy of 101) and for which you donu2019t want to generate any inspection lot."
    Correct, but this is done simply deactivating QM at mov type level in OMJJ (flag "QM not active")
    My requirement is also to perform good receipt putting stock automatically in unrestricted use, and not in QI
    The inspection lot is not generated (if I perform GR changing manually stock type to unrestricted), but I would like that it will be automatically done, and we cannot understand what drives this field (stock type), despite of I removed lot origin (and all other reference to 101 mov type) from ZD1 custom movement.
    I suppose is automatically inherits from PO, so the question is:
    How can I drive/set "stock type" to make it Blank (unrestricted use) in good receipt or in purchase order??
    Thanks for help
    Ale

  • Tax during goods receipt

    Is there any way to record Tax entry during Goods Receipt itslef.

    Hi Nishiraj......
    Tax never gets calculated on Delivery or its Goods Return.
    It always calculates on its Invoice level........
    So you need to raise its Credit Memo based on Goods return......
    Regards,
    Rahul

  • Document type during Goods Receipt in Intercompany Transfer flow

    Hi,
    We create a PO, Delivery and GI in company A
    We do a Goods Receipt in company B.
    Can we customize that FI document type  ZZ is used during Goods Receipt in company B?
    Document type ZZ may only be used in the Intercompany flow.
    Where can I customize this setting?
    Thank you in advance,
    Best regards,
    Eric van Zundert.

    Hi,
      The following are the standard steps to create an accounting document type and assign it to a transaction.
    1) In T-code OBF4, click on "Financial accounting document types" and create a new document type.
    2)On the same T-code, Click on "Goods receipt document type" and assign the document type to the transaction.
    3)On the same T-code, Click on "Financial accounting No range" and assign the number range for each document type based on company code and fiscal year.
    Thanks and Regards,
    Maheshwari

  • Quantity related Scale pricing not considered during Goods receipt

    Hello Group,
    First thanks for looking into my issue.  I tried to follow the solution in SAP Note 401941 on assessing the right unit price as it relates to the quantity received during Goods receipt, but my ABAP developers are very green at this time and they cannot figure out where to place this code fix and how it would work.
    Background on issue.
    From quantity of 1 to 99, I want the price to be 4.00 each
    From quantity of 100 and above, I want the price to be 3.00 each.
    When doing goods receipts for quantities that have not reached 100 yet, it is still assessing 3.00 each.  I found the OSS note above that is really not helpful and was wondering if anyone else is using scale pricing and how their GRs are calculated for correct unit price.
    Thanks all for your assistance.
    Samantha

    The scale pricing cannot be used to influence price during goods receipt. Goods Receipt will pick up the price from the purchasing document.
    Suppose you want to have that the price be determined based on the quantity received over a period of time, you need to use rebate agreement.
    The OSS note mentioned in your question says that you can determine the price based on the schedule line quantity during GR (not quantity at the time of GR). It will not solve your requirement.
    Lakshman

  • Earmarked funds during goods receipt (GR) is not inherited from PO.

    Hi, Everybody u2026
    We are using Earmarked Funds relevant for FM updating, but, during goods receipt (GR) and invoice receipt (IR) it is not inherited from purchase order (PO).
    In ME21N the account assignment is F and the system ask us to enter the GL Account, Order and additional the Earmarked Funds. The system is deriving correctly the fund, the funds center and the commitment item from those entered in the Earmarked Funds.
    However, during goods receipt and invoice receipt, the Earmarked Funds is not inherited from purchase order (PO) besides the others account assignments (order, fund, funds center and commitment item ) in the coding block.
    Best regards,
    Thanks

    Hello,
    I will provide some hints:
    - If it is a service PO, please check the Note 972276 (Service Purchase orders only).
    - If the posting is related to Asset, please kindly check:
        a. Note 684659
        b. Check if you have a derivation rule in FMDERIVE with the function module FMDT_READ_MD_ASSET.
        c. Check in your FI-AA customizing if you have activated the account
          assignment element but you have not specified an account assignment type for
          account assignment object for APC balance sheet postings (see note 684659 for
          details).
    I hope it helps
    Best Regards,
    Vanessa Barth.

  • PIR reduction during goods receipt for strategy 10

    Hi Experts,
    I am using the net requirement planning strategy. i.e strategy 10. My requirement is I wanted the PIRs to be reduced when do goods receipt for the production orders.
    I know this is possible in strategy 11. But how how do it in strategy 10.
    Regards
    Prathib

    Hi Ayethebing,
    What you mentioned in correct. System may do the wrong net requirement calculation. Let me explain what is my requirement.
    I have planning plant, where I get the sales orders and the PIR from Depots. And the production for all these quantities should be done in production plant. I need to do the goods receipt in the production plant itself first and do a plant to plant material transfer to planning plant.
    But all the control of production should be with production plant. So I cant use the production in alternative plant because in this case i need to convert planned order in planning plant and while doing goods receipt the stock directly updates in planning plant.
    So I was thinking of loading the PIRs in the production plant directly and use strategy 10. But since the sales orders wont come to production plant, the PIRs wont recduce at all. So thought of thinking about reducing PIR during goods receipt.
    But I realized from what you explained, it would lead to wrong PIR calculation. Full mark to you.
    Now Iam thinking the solution in a different way. Please give me your inputs
    Iam creating a recusrive BOM in planning plant and I will assign special procurement key 70. i.e withdrawal from alternative plant. I will assign alternative plant as production plant.
    So when I run MRP in planning plant for the main product, I will get dependant requirement created in the production plant for the main material as I created the recursive BOM in planning plant.
    But Iam having only one issue to be resolved here as I understand. The planned order created in the planning plant during MRP is convertible.  Can I make it non convertible some how even if Iam having bill of material?
    Thanks in advance for your valuable inputs
    Regards
    Prathib

  • Wrong shipment costs posting during good receipt

    We are having a problem when we post a good receipt for an inbound delivery in the transaction MIGO. We have created some account keys in order to classify and post shipment costs -specified in a shipment cost document- on specific balance accounts. The balance accounts determined by the OBYC transaction are right but posted values during good receipt do not match to registered values in the shipment cost document.
    The documents flow for this process is as follow:
    1. It is created a purchase order (ME21N).
    2. It is created an inbound delivery based on the purchase order (VL31N).
    3. It is created a shipment document based on the inbound delivery (VT01N).
    4. It is created a shipment costs document (VI01) for the shipment document where shipment costs are specified in its calculation schema
    5. It is created a good receipt for the inbound delivery of the step 2. The balance accounts are determined correctly but values do not match to registered values in the shipment cost document.
    Best Regards
    Guillermo

    Hi,
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/93/74413b546011d1a7020000e829fd11/frameset.htm
    Kapil

Maybe you are looking for