Badi / Exits while Saving  a PO

Hi Experts ,
Is there any BADI / User Exits exits while Saving a PO  from External System.
Thanx in Advance
pradipta

Pradipta,
Check BADIs:
ME_PROCESS_PO, ME_PROCESS_PO_CUST
Thanks

Similar Messages

  • User Exit while saving the Excise Invoice in J1IIN

    Dear All,
    I want know whether anu User Exits are there while saving the Excise Invoice in J1IIN.
    The "scenario" here is as follows:
    ---I will create an invoice(Commercial) in VF01. Suppose I got a number 1234(This is Billing Document number).
    ---Now I will go to J1IIN and create an Excise Invoice by reffering to the VF01 Billing Doc Number.I will enter all the details. Then I will Save it. While saving I want to check the following aspect:
                         I want to compare the Billing Document Number and Excise Invoice Number and give error if both the numbers are not same.
    ---That is I want to see that Excise Invoice and Billng Document number should be same.
    I need your suggestion in the above scenario.
    I will definitely reward if problem is solved.
    Regards,
    Raj Kumar Reddy.

    Hi Raj,
    Here is a list of available userexits for transaction J1IIN :
    J_1I7_USEREXIT_DEPOT_BEF_SAVE
    J_1I7_USEREXIT_DUTY_IN_EXPORT
    J_1I7_USEREXIT_EXCISE_BEF_SAV
    J_1I7_USEREXIT_EXGRP_DETERM
    J_1I7_USEREXIT_SERGRP_DETERM
    hope they are of some use.
    Regards,
    Philip Johannesen

  • User exit while saving Service Purchase Order

    i want to update one z table from the Service PO, after saving. Hence i require , an user exit, which will give the details of the service tab , of the PO. I am not able to get any exit, where the details of the Service tab, of the transaction me22n.
    Below is the screen of the Service tab of the purchase Order Screen :
                                                                                    <b>Line      DeService numbShort text                   Quantity          Uni    Gross priceCr
        10          3000001     Sub-Con Recruitment Commissio91                DAY1,249.00       IN
        20          3000001     Sub-Con Recruitment Commissio91                DAY1,249.00       IN</b>

    hi,
    check this out .
    Transaction Code - ME21 Create Purchase Order
    Exit Name Description
    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
    M06B0004 Number range and document number
    M06B0005 Changes to comm. structure for overall release of requisn.
    M06E0004 Changes to communication structure for release purch. doc.
    M06E0005 Role determination for release of purchasing documents
    ME590001 Grouping of requsitions for PO split in ME59
    MEETA001 Define schedule line type (backlog, immed. req., preview)
    MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
    MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1 Enhancement to Document Overview ME21N/ME51N
    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
    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
    LMEKO001 Extend communications structure KOMK for pricing
    LMEKO002 Extend communications structure KOMP for pricing
    MM06E011 Activation of PReq Lock
    No of Exits: 38
    Kishi.

  • User exit or customer exits while saving the  the ME51N transaction

    i have the Requirement in ME51N, that i want to place a field in the item level tab, when i want to save the transaction the data eneterd in that field also saved in a Z-table.
    Help me on this issue.
    Regards
    Bobby

    hi
    check this link
    ME51N user exit
    Hope this helps!!
    Cheers
    Alfred

  • Getting an error "bad parameter" while saving

    Hi,
    I am trying to open a particular pdf in IE9 browser from my application and trying to save PDF file to my computer. I observed that Save option is disabled for that PDF file in IE9 browser. When I try to save the same file using Ctrl+Alt+S option, I am getting an error "bad parameter". I am not getting any further details on this issue. I am able to save same PDF in IE8 and mozilla browsers. Can you please help me in solving this issue.
    Please find below my environment details.
    Os: Windows 7
    Browser: IE9
    Adobe Reader Version: 11.0.03.
    PDF template is created using  Adobe PDF Creater 11.0.03.

    Two things I would try:
    update to Reader 11.0.5
    try saving the PDF without opening it in Adobe Reader (right-click on link, then Save target as...)

  • IB01/IB02 User exits while saving

    Hi,
    I would like to implement some validations while adding components to the equipment BOM. For this while I save my Equipment BOM using (IB01 /IB02) I would like to add some validatiions.
    Can some one help me which BAPI / BADI would be ideal.
    Thanks / Sandeep

    Hi,
    Thanks for your reply. This Badi is working..
    I would like to have some validations at component level while save the equipment BOM.
    Thanks & br,
    Sandeep

  • Exit for ME21n while saving

    Hi,
      Let me know if there is any exit while saving ME21n tran.
    Requirement is while while saving the PO,a pop-up information message should be displayed depending on certain purchase organization validation.
    Do let me know.
    Regards,
    SP

    Hi,
    Below is the enhancement: MM06E005 (Check in SMOD) and in that enhancement, there is an customer exit: EXIT_SAPMM06E_012 where in you can perform the validations for the purchasing document.
    Since your requirement is at header data(Purch Org) the same is available in I_EKKO parameter of the customer exit EXIT_SAPMM06E_012.
    Implement this exit and throw an information/error message upon validation
    Hope this helps
    regards
    Shiva

  • While saving sales order, deleted item resulting in error

    Dear All
    I am facing an issue while changing Sales Orders.
    I have set a check in a user exit that if batch is empty, display an error message. I add try to add a new line item which doesnt have batch. When i try to save, i get a message which is fine.
    But when I delete this line item and try to save again, I am still getting message. I am not sure how this is happening.
    Kindly advice.
    Regards
    Dinesh

    There's a field EKPO-LOEKZ (Deletion Indicator in Purchasing Document) for PO, but there's no such field for an SO as per my knowledge. So the only option left to you is to debug the your user-exit while saving the SO and check why its still triggering the error message. May be you can add another condition stating that the line item should have atleast material number filled, in that case if the material number is there and batch is missing, it will show an error msg.
    Regards,
    Raman.

  • COR2 user exit for saving item changes

    Hi,
    i need to  change item contents with user exit while saving in COR2 transaction.I found several user exits with debugging.But could not accomplish to change fields.
    Please give me a user-exit name which can change the item contents while saving.
    Thanks.

    Hi burc,
    what about enhancement CONFPI05 Process Ord. Conf.: Cust.-Specific Enhancements when Saving, EXIT_SAPLCORF_405.
    Or tell in more detail what is it you want to change.
    Regards,
    Clemens

  • User Exit/BADI to modify MCHA-HSDAT while saving a process order

    Dear all,
    I would like to know if there are any user-exits or BADI's to modify MCHA-HSDAT field, while saving process order.
    Scenario: There are two material types ZBUL and ZFDF. After releasing the process order and when I save, an entry in MCHA table for material with material type ZFDF is created.I should make a check if MCHA-HSDAT of this ZFDF material is equal to MCHA-HSDAT of ZBUL.
    If not, I should replace MCHA-HSDAT of ZFDF material with the HSDAT of ZBUL material.
    I have checked user exits 'PPCO0007' and PPCO0014 and PPCO0020 but I could not find MCHA structure to update.
    Do, I need to create an implicit enhancement for this?
    Thanks in advance!
    Aravind

    Aravind,
    Do the following steps in order to find the best exit for you.
    for e.g. using enhancemnt PPCO0020 FM EXIT_SAPLCOKO_005. Use the "Where used list" to get the point where this FM has been called. So in this case you can use "(SAPLCOKO)MCHA" as field symbol.
    Any question, let me know.
    Alex

  • User exit or BADI while saving purchase order

    Hello,
    I want to use an user exit or BADI while saving of purchase order. The objective is to check the material group of the line item while saving. We don´t want to allow to save purchase orders for one material group.
    Can you please guide me.
    Thanks
    Srinivasan

    Hi
    The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
    You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
    Typical applications for this BAdI include:
    Processing of own objects
    Processing of additional data on standard objects
    Implementation of additional checks and derivationsChange of data in standard fields
    Change in field selection
    you can use this BADI for checking the material group
    Thanks & Regards
    Kishore

  • User exit or BADI for FB60 while saving data.

    Hi All,
    I want apply check while saving the document in FB60 transaction.
    I want to check for account number and quantity.
    I check some BADI and exits but couldn;t stop while saving the document.
    If anybody has worked on this or have any idea let me know.
    Thanks in advance.
    - Umesh

    1. Try the BTE P/S events mentioend below. These should work for validation. Can be configured in transaction FIBF. You can create your own function module and add the validation.
    <b>00001020</b> POST DOCUMENT:       Prior to Final Checks    
    <b>00001025</b> POST DOCUMENT:       Final Checks Completed   
    <b>00001030</b> POST DOCUMENT:       Posting of Standard Data
    2. You can also used Validation of Accounting documents;
    Transaction: <b>OB28</b>

  • 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.

  • User exit for MIRO while saving

    Hi
    I need to validate the Company code in Txn MIRO with the company code of the PO that's been processed
    Is there any user-exit which gets triggered while saving the document in txn MIRO.
    I know the following BADI INVOICE_UPDATE gets triggered while saving the documents, as i am new to the BADI functionality, i am unable to proceed further with the implementation of it in the system.
    Can some one let me know how to implement a BADI.
    Cheers

    Hi Sushis ,
    check this link abt badi
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
    and u have to choose this method is useful
    <b>CHANGE_AT_SAVE     Invoice Document at Save
    CHANGE_BEFORE_UPDATE     Invoice Document Before Update
    CHANGE_IN_UPDATE     Invoice Document During Update</b>
    let me know if u required more info.
    regards
    Prabhu

  • BAdi while saving in CRM_DNO_MONITOR

    Hi Experts,
       In CRM_DNO_MONITOR  transaction, I am processing a ticket / transaction number. There when I save a ticket number
    I want to have some restrictions on the fields "Category"  and  "Ext.Reference.No.". Is there any BAdi to imply this
    while Saving. I am unable to find out. Kindly help me.
    Thanks and regards,
    Venkat.

    Hello Venkat,
    transaction CRM_DNO_MONITOR is just a report of CRM documents (ChaRM & SD on Solman). The transaction that you re actualling using in order to modify tickets is CRMD_ORDER.
    When saving a ticket CRMD_ORDER check if implementation of badi ORDER_SAVE exists.This Badi can be used in order to implement different checks and to cancel saving by raising error 'DO_NOT_SAVE'
    Hope this helps,
    Regards,
    Khalil

Maybe you are looking for