User exit at the time of saving purchase order

Hi experts
There are some plants for which we need to auto GR. Is there any user exit available which will check these plants in PO at the time of saving PO document and do auto GR.
Regards

Enhancement                                                                               
MEVME001                                WE default quantity calc. and over/ underdelivery tolerance    
MM06E001                                User exits for EDI inbound and outbound purchasing documents   
MM06E003                                Number range and document number                               
MM06E004                                Control import data screens in purchase order                  
MM06E005                                Customer fields in purchasing document                         
MM06E007                                Change document for requisitions upon conversion into PO       
MM06E008                                Monitoring of contr. target value in case of release orders    
MM06E009                                Relevant texts for "Texts exist" indicator                     
MM06E010                                Field selection for vendor address                             
MM06E011                                Activate PReq Block                                            
MMAL0001                                ALE source list distribution: Outbound processing              
MMAL0002                                ALE source list distribution: Inbound processing               
MMAL0003                                ALE purcasing info record distribution: Outbound processing    
MMAL0004                                ALE purchasing info record distribution: Inbound processing    
MMDA0001                                Default delivery addresses                                     
MMFAB001                                User exit for generation of release order                      
MRFLB001                                Control Items for Contract Release Order                       
AMPL0001                                User subscreen for additional data on AMPL                     
LMEDR001                                Enhancements to print program                                  
LMELA002                                Adopt batch no. from shipping notification when posting a GR   
LMELA010                                Inbound shipping notification: Transfer item data from IDOC    
LMEQR001                                User exit for source determination                             
LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt     
LWSUS001                                Customer-Specific Source Determination in Retail               
M06B0001                                Role determination for purchase requisition release            
M06B0002                                Changes to comm. structure for purchase requisition release    
M06B0003                                Number range and document number                               
MEQUERY1                                Enhancement to Document Overview ME21N/ME51N                   
MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.  
MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)    
MEETA001                                Define schedule line type (backlog, immed. req., preview)    
ME590001                                Grouping of requsitions for PO split in ME59                 
M06E0005                                Role determination for release of purchasing documents       
M06E0004                                Changes to communication structure for release purch. doc.   
M06B0005                                Changes to comm. structure for overall release of requisn.   
M06B0004                                Number range and document number                             
User exit for me21n

Similar Messages

  • User Exit at the time of saving Prod Order.

    Hi All,
              I need to know whether there is any exit which gets called when I save the Production Order.
    In our project Serial No as well as Production Order gets created when we save the Production Order.
    I have to pass "Basic Start Date" to a FM which generates Serial No.I can hit some DB table if i know
    Planned Order no at the time of saving of Production Order.So i want the user exit at the time of saving Prod Order
    I have also tried one program which gives all the User exits for a certain Transaction.But the user exit mentioned in that is not getting called.
    Thanks in Advance,
    Saket.

    hi,
    check this exit for production order by placing a break point in it.it will work .
    PPCO0007                         Exit when saving production order
    exit name : EXIT_SAPLCOZV_001

  • User Exit at the time of saving Invoice.

    Dear All,
    We have a requirement in which we have to validate the Functional location type of an FL at the time of saving the invoice.
    We require an user exit for Tcode FV60, FB60, ME21 and MIRO that gets triggered at the rime of saving the invoice.
    Request all of you to kindly help as this is an urgent requirement.
    Regards
    Ajay.

    Hi,
    Go to SE93. give the transaction code for which you want the user exit and click display.
    click on the object browser.
    Open the node 'Function Groups'.
    search for function groups starting  with 'X'.
    These are the user exits.
    Try each andd find which suits your requirement.
    Regards,
    Shashank

  • BADI OR USER EXIT AT THE TIME OF SAVING THE TCODE MIGO TO UPDAT FIELD LSMNG

    Hello Guru,
    I am using BAPI  BAPI_GOODSMVT_CREATE for GRN creation it is working fine. But i want to update DELIVERY NOTE QUANTITY (LSMNG) at the time of GRN Creation . This field is not provided in the BAPI .
    What i had done i had applied BADI MB_MIGO_BADI to update this field but this badi does not call at the time of saving ( THIS BADI ONLY CALL WHEN WE ARE USING MIGO TCODE AND ON THE SCREEN WE ARE PRESSING ENTER) . so i am not able to update the field (LSMNG).
    So i need a badi of user exit which can updates this field at the time of saving.
    there are exit which are updating other fields at the time of saving but not this one .
    Why i need the badi or userexit which will update the field at the time of saving because when we are using bapi only those badi or user exit are called which are
    used at the time of Saving.
    Kindly suggest any solution.
    Thankyou
    With Regards
    Shantanu Modi

    Hi
    <b>Here is the sample code...</b>
    method if_ex_mb_migo_badi~post_document .
      data: ls_migo_badi_example type migo_badi_exampl,
            lt_migo_badi_example type table of migo_badi_exampl,
            ls_extdata type migo_badi_example_screen_field,
            ls_xmseg   type mseg.
      field-symbols: <gt_extdata> type migo_badi_example_screen_field.
    * Transaction MIGO will now post a material document.
    * Any errors here MUST be issued as A-message (better: X-message)
    * Copy data from material document into internal table
      loop at gt_extdata into ls_extdata.
        if g_cancel is initial.
          read table it_mseg into ls_xmseg
             with key line_id = ls_extdata-line_id.
        else.
          read table it_mseg into ls_xmseg
             with key smbln = ls_extdata-mblnr
                      smblp = ls_extdata-zeile
                      sjahr = ls_extdata-mjahr.
        endif.
        if sy-subrc is initial.
          move-corresponding ls_extdata to ls_migo_badi_example.
          move-corresponding ls_xmseg   to ls_migo_badi_example.
          append ls_migo_badi_example to lt_migo_badi_example.
        endif.
      endloop.
    * The data from external detail screen can be saved now:
      check gt_extdata is not initial.
      call function 'MIGO_BADI_EXAMPLE_UPATE_DATA' in update task
        tables
          it_migo_badi_example = lt_migo_badi_example.
    * The data from external header screen can be saved now:
      move-corresponding is_mkpf to gs_exdata_header.
      call function 'MIGO_BADI_EXAMPLE_UPDATE_HEAD' in update task
        exporting
          is_migo_badi_header_fields = gs_exdata_header.
    endmethod.                    "IF_EX_MB_MIGO_BADI~POST_DOCUMENT
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • User Exit at the time of Saving in Vendor Master

    Hi,
    I am trying to put a check through Enhancement "SAPMF02K" in Vendor Master to make Tax No fields as Mandatory for to some particular Company Code and Account Group.
    But the problem is enhancement triggers at the time of saving, so what ever error message check i have implement will trigger at the time of saving the data. Now my requirement is it should trigger to the screen where i need to maintain the fields, instead of the error showing in the last screen ( As user need to check in which screen he/she need to maintain these fileds in the list of screens by going back).
    Please reply with the appropriate solution.
    Regards,
    NSK

    Hi Shashi,
    Did you check with your functional side. It is possible with configuration.
    Regards,
    Madhu.

  • Update ZPURCHASE THROUGH BADI .. at the time of saving Purchase Order

    Dear All Gurus,
    I have a situation wherein i have to save the Purchase Order Details in My DB table (ZPURCHASE ) at the time of Purchase Order Creation through BADI...
    Fields of ZPURCHASE are (Mandt,EBELN,BUKRS)
    Can some one guide me how can i achieve this..
    I tried doing it through User Exits.. i have written a piece of code when saving the purchase order but my problem is .. The purchase order numbers are generated only after SAVE is complete..
    The other alternative i want to try is through BADI.
    Looking forward for your reply.
    Thanks !!

    > I have a situation wherein i have to save the Purchase Order Details in My DB table (ZPURCHASE ) at the time of Purchase Order Creation through BADI...
    > Fields of ZPURCHASE are (Mandt,EBELN,BUKRS)
    I have no solution for your actual problem (wrong forum, you should try the MM forum) but I wonder why you just don't use the data that is already there in EKKO and EKPO?
    Markus

  • User Exit at the time of activity saving

    Dear all,
    I want to update activity constarints & date based on some logic & want to ensure that at the time of activity saving logic should triggered. I want to use user exit for this.Validation/ substitution is also one option but does not seem feasible. if you know any user exit at the time of activity saving, please share with me.
    Regards,
    Ashok Sangal

    You requirement is to check the constrain based on scheduling . THere  is not user exist I believe that may exaclty address your requirement.  THan also check below two user exit.
    CNEX0028  Check activity release
    CNEX0029  Check network release
    Ideally yhou should chekc for hte some BAPI for hte network save will help you .
    Regards
    Nitin P.

  • What is the BADI  while SAVING purchase order using me22n?

    what is the BADI  while SAVING purchase order using me22n?
    while i will save purchase order through me22n, badi should be fire what is badi for that?
    regards,
    dushyant.

    Dushyant,
    Hopefully you know how to implement the BADI ME_PROCESS_PO_CUST now.
    The following are the codes that you can put in the method "Post".
      DATA: LW_HEADER        TYPE MEPOHEADER,
            LW_POSTED_HEADER TYPE MEPOHEADER,
            LW_VALID         TYPE MMPUR_BOOL,
            ITAB_ITEM        TYPE PURCHASE_ORDER_ITEMS,
            LW_ITEM          TYPE MEPOITEM,
            ITEM_INTERFACE   TYPE PURCHASE_ORDER_ITEM,
            ITAB_ACCT        TYPE PURCHASE_ORDER_ACCOUNTINGS,
            ACCT_INTERFACE   TYPE PURCHASE_ORDER_ACCOUNTING,
            LW_ACCT          TYPE MEPOACCOUNTING,
            LW_POSTED_ACCT   TYPE MEPOACCOUNTING,
            W_ACCT_CHANGED  TYPE C,
            W_GRANT_AMT      TYPE EKPO-NETWR,
            W_FINANCE_AMT    TYPE EKPO-NETWR,
            W_FLAG           TYPE C.
    Check if PO header data is valid
      CLEAR LW_VALID.
      CALL METHOD IM_HEADER->IS_VALID
        RECEIVING
          RE_VALID = LW_VALID.
      CHECK LW_VALID = 'X'.
    PO header data is valid
    Get the newly updated PO header data
      CLEAR LW_HEADER.
      CALL METHOD IM_HEADER->GET_DATA
        RECEIVING
          RE_DATA = LW_HEADER.
    Get the posted PO header data
      CLEAR LW_POSTED_HEADER.
      CALL METHOD IM_HEADER->GET_PERSISTENT_DATA
        IMPORTING
          EX_DATA = LW_POSTED_HEADER
        EXCEPTIONS
          NO_DATA = 1.
      IF SY-SUBRC <> 0.
        CLEAR LW_POSTED_HEADER.
      ENDIF.
    Get PO line items
      REFRESH ITAB_ITEM.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = ITAB_ITEM.
      LOOP AT ITAB_ITEM INTO ITEM_INTERFACE.
    Check if PO line item is valid
        CLEAR LW_VALID.
        CALL METHOD ITEM_INTERFACE-ITEM->IS_VALID
          RECEIVING
            RE_VALID = LW_VALID.
        IF LW_VALID <> 'X'.
    This PO line item is not valid
          CLEAR W_ACCT_CHANGED.
          EXIT.
        ENDIF.
        CLEAR LW_ITEM.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_DATA
          RECEIVING
            RE_DATA = LW_ITEM.
    Get the account interface
        REFRESH ITAB_ACCT.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_ACCOUNTINGS
          RECEIVING
            RE_ACCOUNTINGS = ITAB_ACCT.
        LOOP AT ITAB_ACCT INTO ACCT_INTERFACE.
          CLEAR LW_ACCT.
    Get the newly updated PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_DATA
            RECEIVING
              RE_DATA = LW_ACCT.
          CLEAR LW_POSTED_ACCT.
    Get the posted PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_PERSISTENT_DATA
            IMPORTING
              EX_DATA = LW_POSTED_ACCT
            EXCEPTIONS
              NO_DATA = 1.
          IF SY-SUBRC > 0.
            CLEAR LW_POSTED_ACCT.
          ENDIF.
          IF LW_ACCT-LOEKZ <> LW_POSTED_ACCT-LOEKZ OR
             LW_ACCT-KOSTL <> LW_POSTED_ACCT-KOSTL OR
             LW_ACCT-PRCTR <> LW_POSTED_ACCT-PRCTR OR
             LW_ACCT-PS_PSP_PNR <> LW_POSTED_ACCT-PS_PSP_PNR.
    Account assignment was changed
    We will force this PO to go through workflow
            W_ACCT_CHANGED = 'Y'.
          ENDIF.
        ENDLOOP.
      ENDLOOP.

  • NEED VL02N VL09 USER-EXIT FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER

    I NEED VL02N VL09 USER-EXITS FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER POSITIONS.
    F.X: IF POST QUANTITY 10, BUT PURCHASE ORDER POSITION QUANTITY 30, I NEED AT ANY CASE TO SET DELIVERY COMPLETE INDICATOR FOR RELEVANT OUTBOUND DELIVERY AN P. ORDER POSITIONS.
    THANKS/

    Hi Malka,
    It's possible set the system to mark automatically the delivery completed indicator.
    First you need to set the under delivery and over delivery tolerances.You do this in customizing:
    Materials Management under Purchasing -> Material Master -> Define Purchasing Value Keys.
    Once you set this, you can insert this value keys on Material Master Record for the materials.
    When you create the PO with a material with this value keys set the system will check the under delivery and over delivery set on customizing.
    In customizing you also have the option to let the system mark automatically the delivery indicator based on delivery tolerances set.
    In Customizing for Inventory Management and Physical Inventory under Goods Receipt -> Set Delivery Completed Indicator, you can determine for each plant whether the system automatically sets the delivery completed indicator for delivery quantities within the underdelivery and overdelivery tolerances.
    You can test setting the under delivery for 0 (with a warning message) and see if the system will only mark delivery complete only for over delivery.
    You can also work with the following Badi: MB_GOODSMOVEMENT_DCI. This Badi also allows custom logic for setting the delivery completed indicator in a PO item.
    Message: M7 433 (The "delivery completed" indicator is set for the purchase order item)
    Regards,
    Rodrigo

  • User Exit at the time of MB1A mvt type 262

    Hi
    I want to introduce exit at the time Process Order reversal through MB1A with mvt. type 262.
    At this I require check reversal is not more than consumption qunatity.
    Please suggest any one.
    Regards
    ARK

    Dear ,
    Tell your ABAPer to implement user exit 'CONFPI02'.Table used is 'RESB' .Or Goto SMOD  and Enter MBCF* and execute , which will display you all the User exit .Search the User eixt which will be applicable in your case .
    Refer this : Enhancement in MIGO for Goods Movement
    Regards
    JH

  • User Exit to add line item in Purchase Order

    Hi SAP Gurus,
    Can any body tell me which user exit is used to add the line items in Purchase Order. I want to link the Packaging material (material type - VERP) to the header material (Material type - FERT) in PO for order type NB or UB. Because our requirement is what, when we enter the finished material in PO then packaging material linked with that finished material should automatically comes into PO as a line item.
    Please help me for the same.
    Thanks in Advance.
    Regards,
    Sujay

    Hi,
    You can use Function Module for this requirement.
    BAPI_PO_GETDETAIL1
    Bye,
    Muralidhara

  • Error at the time of saving sales order

    Hi Sapfans,
    at the time of saving the order i am getting the following error
    please help me how to solve it
    please help me fast
    thanks and regards
    srinivas
    Runtime Errors MESSAGE_TYPE_X
    Date and Time 19.11.2007 15:19:18
    Short dump has not been completely stored (too big)
    Short text
    The current application triggered a termination with a short dump.
    What happened?
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).
    Error analysis
    Short text of error message:
    Maintain the current CRM release (table CRMPAROLTP)
    Long text of error message:
    Diagnosis
    Various transfer errors occur when transferring SAP sales orders to
    CRM or there is no status update or the status update has errors
    when transferring from CRM to the SAP system. This is caused by an
    incorrect entry for the CRM release in the SAP table CRMPAROLTP, or
    no entry is maintained at all.
    System Response
    To avoid data inconsistencies, this message causes a short dump.
    Procedure
    Maintain table CRMPAROLTP in your SAP system as is described in SAP
    Note 691710 and then repeat the process again.
    Procedure for System Administration
    Technical information about the message:
    Message class....... "V3"
    Number.............. 302
    Variable 1.......... " "
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Trigger Location of Runtime Error
    Program SAPMV45A
    Include MV45AF0B_BAPIDATEN_ERMITTELN
    Row 338
    Module type (FORM)
    Module Name BAPIDATEN_ERMITTELN
    Source Code Extract
    Line SourceCde
    308 else.
    309 *-----Nicht unterstützt, Abbruch
    310 message a301(v3).
    311 endif.
    312 endif.
    313
    314 *-Szenario A prüfen
    315 if lv_scenario_a = 'A'.
    316 vbak-vbkla+2(1) = lv_scenario_a.
    317 endif.
    318
    319 *-ermitteln CRM-Release
    320 call function func_name
    321 exporting
    322 i_paraname = 'CRM_RELEASE'
    323 importing
    324 e_parval1 = lv_parval1.
    325 lv_release_crm = lv_parval1+0(3).
    326
    327 * If lv_release_crm empty => X-message (correct download not possible)
    328 if da_download_active = charx.
    329 CALL FUNCTION 'CRM_CONNECTED'
    330 IMPORTING
    331 CRM_CONNECTED = lv_crm_connected
    332 EXCEPTIONS
    333 NO_CRMRFCPAR = 1
    334 OTHERS = 2
    335 .
    336 IF sy-subrc = 0 and lv_release_crm = space and
    337 lv_crm_connected = charx.
    >>>>> message x302(v3).
    339 ENDIF.
    340 endif.
    341
    342 *-Füllen der View für das Ermitteln der Auftragstabellen
    343 da_sales_view-partner = charx.
    344 da_sales_view-sdcond = charx.
    345 da_sales_view-sdcond_add = charx.
    346 da_sales_view-contract = charx.
    347 da_sales_view-text = charx.
    348 *-bei mehr als 1000 Belegflusssätzen werden Daten nicht ermittelt
    349 if lv_tabix_vbfa < 1000.
    350 da_sales_view-flow = charx.
    351 endif.
    352 da_sales_view-billplan = charx.
    353 da_sales_view-configure = charx.
    354 da_sales_view-credcard = charx.
    355
    356 *-Im Standardszenario soll eine manuelle Änderung eines CRM Belegs
    357 * (ab CRM Release 30A) nicht zurück ins CRM gesendet werden. Das

    HI,
    This error is because of crm release patch.
    You can update this patch.
    Use Transaction code se16.
    Type the table name-CRMPAROLTP
    Go in New Entries
    Type 'CRM_RELEASE' In First Field(PARNAME)
    Type '40A' In Value 1 i.e. 5th Field
    Save.
    This will solve your problem.
    If this is useful please give reward points.
    Regards,
    Ashok

  • What are the user-exits which will trigger on saving Sales Order

    Hello Experts!!!
    I am working on Sales Order VA01. The requirement is I need to pre populate Sold-to-Party field. I find out user-exit (V45A0002  Predefine sold-to party in sales document  ). So it is working fine.
    Now second requirement is I need to capture all the date once user saves Sales Order. Also the time or Sales Order creation I have to make u2018GRAYu2019 some of the fields so user cannot change the value. Can anybody tell me which user-exits should I use to retrieve the entire information user entered and lock fields in Sales Order screen?
    Thanks a lot on advance.

    Hi
    U can't find it there,because it's a include, not enanchement.
    So u need to use the trx SE38, not CMOD.
    For sales ored there aren't the enanchements, but only some FORMs defined in particular includes.
    U need to get the access key by OSS in order to change them.
    These are the rest of the includes where u can find other exits:
           INCLUDE MV45ATZZ.            " Data definitions in MV45ATOP
             INCLUDE MV45AOZZ.             " User-modules PBO
             INCLUDE MV45AIZZ.             " User-modules PAI
             INCLUDE MV45AFZA.             " User-forms < 3.0
             INCLUDE MV45AFZB.             " User-forms
             INCLUDE MV45AFZC.             " User-forms < 3.0D
             INCLUDE MV45AFZD.             " User-forms   3.0E
             INCLUDE MV45AFZF.             " User-forms   3.0F
           include mv45afzg.             " User-forms   3.1G
             INCLUDE MV45AFZH.             " User-forms   4.6B
             INCLUDE MV45AFZZ.             " User-forms
             INCLUDE MV45AFZ4.             " User-forms   4.0
    Anyway u can find some information about these exit in customizing (trx SPRO):
    Sales and Distributions->System modifications->User exits
    Max

  • User exit for check/save/hold in Purchase order

    >The client requirement is like this :-
    >The client has development a Order Approval Form process and want the user to create all the purchase orders having value all inclusive value of Purchase order above Rs. 300000/-.
    >The user should not be able to save/hold/modify any purchase order above Rs. 300000/- in normal SAP through tcodes ME21N, ME22N, ME23N.
    >For this we need to use a user exit and flash an error message that PO value is above Rs. 300000/-, hence please process the purchase order in OAF.
    >Can any one please provide details of which user exit to use for the above scenario.
    >Thanks in advance
    >AJ

    BADi:ME_PROCESS_PO
    Method: PROCESS_HEADER
    PROCESS_ITEM
    Or
    BADi:ME_PROCESS_PO_CUST
    Method: PROCESS_HEADER
    PROCESS_ITEM
    Call your ABAPer to do the same.

  • User Exit in the change mode of Sales Order

    Dear Guru's
    In my requirement I want to stop the user from editing the status of Delivery block and Billing Block into the change view of Sales Order.
    I have 2 users for them whenever they may see the change mode of sales order they should see Delivery and Billing Block in gray
    that they should not be able to remove the block or change the block.
    But I have two other users also who can release and change the Blocks.
    Therefore I think mine is the User Exit case but I dont know which is the User Exit I have to give to the ABAPer
    Please suggest me the User Exit, Thanks in advance for answer and Suggestions.
    regards,
    Vojas

    Dear Vojas,
    As per me User exit will be used, as there are check about the users in your requirement. Please try with in MV45AFZZ, there are seceral user exit, I guess in  USEREXIT_READ_DOCUMENT may be used, ask your abaper to put a check on the current user and if the user which is not in your list of authorized one then change the Blocks in Display mode, or uneditable mode.
    Thanks,
    Raja

Maybe you are looking for

  • My experience with the white 3g and genius bar(apple support).

    I bought my white iphone 3g 2 weeks after the release. 2 weeks later i notices a couple of hairline fractures on the case. One between the screen and headphone jacks and another between the charge/pc plug in and screen. I did some searching and found

  • WEB UTIL SAVE_FILE

    I try to use webutil dialog to ask to the user where save file ... All is work ... but ... I i apply multiple filer for the extension of the file the filename is non present in the dialog box and if i write it and I select an extension from the list

  • Regarding Triggers in Oracle Forms

    Hello Gurus, Please help me .I am very new to Oracle Apps .I got the requirement from my client. Iam a technical developer .Please see the below requirement. Order Management Super User >> Pricing >>Price Lists >>Price list Setup When an item is crea

  • Maverick Update

    Does anyone know if it is possible to uninstall The Maverick update from IMac? Since installing it my computer is running so slow and every time I try to do something all I see is the spinning ball. It is so frustrating because it was working fine be

  • Output corruption, random lines in image

    I needed to make some simple graphics and I ran into something very bad in Illustrator: I cannot save the raster image (PNG or JPG) of the artwork because every time I try to save it I get seemingly random lines in the right half of the image. Here i