Purchase order BADIs

Hi,
Can anyone provide the list of Purchase order BADIs.
Thanks,
Shivaa.

Hi,
    This are all the list of BADIs for Purchase order Tcode
                                                                                ME_BSART_DET         Change document type for automatically generated POs          
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant             
ME_CCP_DEL_DURATION  Calc. of Delivery Duration in CCP Process (Not in Standard)   
ME_CHECK_ALL_ITEMS   Run Through Items Again in the Event of Changes in EKKO       
ME_CHECK_SOURCES     Additional Checks in Source Determination/Checking            
ME_CIN_LEINRF2R      BADI for CIN India - Delivery charges                         
ME_CIN_LEINRF2V      BADI for LEINRF03 excise_invoice_details                      
ME_CIN_MM06EFKO      Copy PO data for use by Country version India                 
ME_CIP_ALLOW_CHANGE  Configuration in Purchasing: Changeability Control            
ME_DEFINE_CALCTYPE   Control of Pricing Type: Additional Fields                    
ME_GUI_PO_CUST       Customer's Own Screens in Enjoy Purchase Order                
ME_HOLD_PO           Hold Enjoy Purchase Orders: Activation/Deactivation           
ME_PROCESS_COMP      Processing of Component Default Data at Time of GR: Customer  
ME_PROCESS_PO_CUST   Enhancements for Processing Enjoy Purchase Order: Customer    
ME_PURCHDOC_POSTED   Purchasing Document Posted                                    
ME_REQ_OI_EXT        Commitment Update in the Case of External Requisitions        
ME_REQ_POSTED        Purchase Requisition Posted                                   
ME_TAX_FROM_ADDRESS  Tax jurisdiction code taken from address                      
MM_EDI_DESADV_IN     Supplementation of Delivery Interface from Purchase Order     
SMOD_MRFLB001        Control Items for Contract Release Order                                                                               
Regards
Bala Krishna

Similar Messages

  • Problem in enhancing the Purchase Order BADI with custom fields

    Hi All,
    I have problem  in populating the  cutom fields for the Purchase Order. I have created a custon include  and i am passing the values to the extension of the  Function module BAPI_PO_CHANGE  In ECC 6.0. I have  one currency field (ZZMASSIST)  in the header level and  three curr fields in the  item level  , due to this currfields we are getting the errors like "Error transferring ExtensionIn data for enhancement CI_EKPODB" and "Error transferring ExtensionIn data for enhancement CI_EKKODB" .
    So i  am looking to implement  the BADI   "ME_BAPI_PO_CUST " . Please provide me the sample code for maintain the currency fields in method IF_EX_ME_BAPI_PO_CREATE_02~MAP2I_EXTENSIONIN.
    Thanks in Advence.
    Regards,
    Venkat Appikonda.

    Hi Venkat,
    Saw that you solved the issue, can I ask how do you implement it? Is the implementation done in the BAPI itself?

  • Purchase Order BADI - Process Item

    All,
    I'm creating a purchase order with 2 line items 10 and 20.
    I put a break-point in the METHOD IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM and I can access the data related to the first
    line item only that is for  EBELP = '00010'.
    The structure MEPOITEM has only data related to the first line item 10.
    Is there a way I can access data for all other line items in this method?
    Meghna

    Hello Meghna
    You can use method CHECK (or, if the header is changed, method PROCESS_HEADER).
    method IF_EX_ME_PROCESS_REQ_CUST~CHECK.
    * define local data
      data: lt_items    TYPE MMPUR_REQUISITION_ITEMS,
               ls_item     LIKE LINE OF lt_items,
               ls_data    TYPE MEREQ_ITEM.
      lt_items = im_header->get_items( ).
      LOOP AT lt_items INTO ls_item.
        ls_data = ls_item-item->get_data( ).
       IF ( ls_data-BNFPO = '00010' ).
    "   Process item 10
      ENDIF.
      ENDLOOP.
    endmethod.
    Regards
      Uwe

  • Use of SAVE_TEXT in customer exits / BADI for purchase order

    Hi All,
    I am trying to save some long text by using SAVE_TEXT function module in a badi implementation for purchase order header text. The same is working fine if i try to update the PO header text via a report. But if i try using badi (the code is written in a PAI event for the BADI), then though the text transfer and save is successful during the code excution, but for the first time when i add any text its not visible in ME22N tcode. Since its an online event. But when i double click on that editor and the sap script editor gets opened. then i press back button, the text is appearing on the same small screen edtor . after this any number of time i edit or delete text, the save_text function module works fine.
    My issue is why for the first time always i have to double click on the editor to open the sap script editor. I have also included commit_text in this case after save_text FM.
    the requirement here goes like this. in one tab for PO header the user will enter some number (This is a customizing screen implemented through badi.) and the corresponsing discription should appear when user clicks on text tab in po header screen (me21n / me22n).
    Kindly help.
    Thanks
    Mamata

    Hi  mamata rath
    I have solve the problem which similar to yours.  the code which is as the following
    DATA: textline TYPE tdline,
            name TYPE c LENGTH 70,
            glines TYPE TABLE OF tline,
            gline  LIKE LINE OF glines,
            ls_header TYPE thead.
         CONCATENATE ch_eban-banfn ch_eban-bnfpo INTO name.
             ls_header-tdobject = 'EBAN'.
             ls_header-tdname = name.
             ls_header-tdid = 'B01'.
             ls_header-tdspras = sy-langu.
             CALL FUNCTION 'SAVE_TEXT'
               EXPORTING
    *           CLIENT                = SY-MANDT
                 header                = ls_header
    *           INSERT                = ' '
    *           SAVEMODE_DIRECT       = ' '
    *           OWNER_SPECIFIED       = ' '
    *           LOCAL_CAT             = ' '
    *         IMPORTING
    *           FUNCTION              =
    *           NEWHEADER             =
               tables
                 lines                 = glines
               EXCEPTIONS
                 ID                    = 1
                 LANGUAGE              = 2
                 NAME                  = 3
                 OBJECT                = 4
                 OTHERS                = 5
              IF sy-subrc = 0.
                  CALL FUNCTION 'COMMIT_TEXT'
                    EXPORTING
                      OBJECT                = 'EBAN'
                      NAME                  = name
    *                ID                    = '*'
    *                LANGUAGE              = '*'
    *                SAVEMODE_DIRECT       = ' '
    *                KEEP                  = ' '
    *                LOCAL_CAT             = ' '
    *              IMPORTING
    *                COMMIT_COUNT          =
    *              TABLES
    *                T_OBJECT              =
    *                T_NAME                =
    *                T_ID                  =
    *                T_LANGUAGE            =
              ENDIF.

  • Authority check on Creation of Purchase order usin badi BBP_ITEM_CHECK_BADI

    hi all,
    i have to apply authority checks on creation of Purchase order and shopping cart in SRM using badi BBP_ITEM_CHECK_BADI.
    i have applied checks on creation of shopping cart   using this badi which have some filters but how to apply on purchasing order using BBP_ITEM_CHECK_BADI.

    hi,
      You can use the BBP_DOC_CHECK_BADI.
    BR,
    Disha.
    Pls rewar points for useful answers.

  • 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

  • Purchase order : get Account assignment into BADI

    Hi,
    i'm using the BADI ME_PROCESS_REQ_CUST method POST ; in this method i need to access to items and it's work (i use im_header->get_items( ) ). But now i need to access to Account assignment, how can i do this ? the only object available is im_header.
    Be careful, i can't read database because when i create a new document, the data are not saved again.
    Thanks for help.
    Cheer

    IM_HEADER->get_items( ) returns the internal table RE_ITEMS type ref to MMPUR_REQUISITION_IITEMS (of line type MMPUR_REQUISITION_ITEM) which gives the list of  line items.
    Loop through the internal table RE_ITEMS, refer to the component RE_ITEMS-ITEM (type ref to IF_PURCHASE_REQUISITION_ITEM) & use the method RE_ITEMS-ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ) to get the account assignment details related to each item.  This method is to be called in the loop for each line item.
    Regards, Vinod
    P.S : Is it purchase order or Purchase requisition ? By going through the post it is PR, your subject line seems to be wrong.
    Edited by: Vinod Kumar on Jul 15, 2011 2:21 PM

  • BADI/EXIT in Purchase Order

    Hi ALL,
    When i create a PO , payment terms displays automatically because In vendor master payment terms is maintained but in some case based on the material/vendor combination i have to select a different payment terms which i have maintained in a Z table. What i should know is, Is there any BADI/Exit which will be triggered
    1) when a line item is entered where i should be able to change the payments terms value (OR)
    2) when i check the Purchase order
    3) When i save the purchase order.
    Note : Both Header & Line item value should be available in the EXIT/BADI.
    Thanks & Regards,
    Rajanidhi Rajasekeran.

    Hi,
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    Regs,
    Venkat Ramanan

  • User exit or BADI for purchase order

    Hi,
    I want send outbound IDOC for purchase order to 3rd party integration system.
    It is too hard to map between standard purchase order IDOC and business object of 3rd party system because the structure of standard purchase order IDOC is so complicated.
    So I want bring purchase order data into CBO table when purchase order is created or released. And this data will be inserted CBO IDOC for more simple structure than standard one.
    I'm trying to find some of user exit or BADI to insert from standard purchase order to CBO table in the time of purchase order is created or released.
    And I'm trying to find another way using message type.
    As far as I know it is possible to set sending IDOC in the purchase order message type setting in IMG.
    Is anyone who has related situation or know the way to do this?

    Hi,
    I have similar requirement, however the BADI name you mentioned does not exist.
    Pls let me know the right one.
    Thanks,
    Dipak

  • Badi/user exit for sales and purchase order

    HI folks,
    I have to export the value of order type to a memory id for create and change transaction of sales order and the purchase order, I serached a lot for badis in purchase order and created implementation for that, but it didnt work. Please help me out....
    thanks in advance

    Hi,
    As written I need to export the value of order type into a memory id at the moment below transactions are hit:
    va01,va02, me21n, me22n.
    for va01 first u need to enter the order type and then press enter...at this event I need to export its value,
    for va02 the value of order is entered and then press enter,
    similarly I have to export the purchase order type during execution of ME21n and ME22n.
    I hope u will understand the problem better....If not please tell me

  • BAdI or USEREXIT for changing data of purchase order header - ME21N

    hello all,
    I would like to ask you any way to change the field "reason for change" of the Purchase Order  header.
    I tried implementing the method PROCESS_HEADER of IF_EX_ME_PROCESS_PO_CUST
    or changing reason_code of structure ekko in user exits EXIT_SAPMM06E_006 and EXIT_SAPMM06E_006
    but it seems not to work.
    How can i do?..
    sap. v. ecc 6.0

    >
    Shiva Kumar wrote:
    > Use the user exit : EXIT_SAPMM06E_012: This is triggered on saving of a PO...and user can add validations etc in the exit...
    > Cheers
    It doesn't work...
    >
    Martin Voros wrote:
    > you get reference to object IM_HEADER in method PROCESS_HEADER of BADI ME_PROCESS_PO_CUST. On this object you can call two methods - GET_DATA and SET_DATA. GET_DATA returns structure with type MEPOHEADER. You can change your field here and then call method SET_DATA with your modified structure. This should work.
    > Cheers
    ..same thing for this solution...
    the field that i want to change is RSCOD inside structure EREVGRID...it seems to have also get_data and set_data methods ( IF_REVISION_ITEM_DCM ),
    but I don't know which BAdI to implement that has a object type ref to EREVGRID...
    Edited by: E_M on May 13, 2008 11:08 AM

  • BADI-User exit required for updating Purchase order header field -IHREZ

    Hello All,
    We have requirement in our business to update the purchase order header field "our reference" EKKO-IHREZ with some text field. We need a BADI/user exit that can be used for updating this field . We have checked the BADI ME_PROCESS_PO_CUST and unfortunately we are not able to use this BADI as it getting triggered in enjoy SAP transactions ME21N , ME22N etc. We are not creating the purchase order manually and we are using ME59N for creating Purchase order . Hence we are looking for some user exit/BADI that can be used in ME59N for updating the purchase order header field IHREZ.
    Thanks in advance for your immediate response .
    With regards,
    Joseph Anand B

    TRY using the exist u2022     EXIT_SAPLME59_001
    You can also later on add this field by BAPI_PO_CHANGE

  • BADI for Purchase  Order

    Hi,Friends
    I Want to Implement BADI , Which is already available in SAP.
    The Path for BADI is given below.
    SPRO->SAP Reference IMG->Materials Management->Purchasing->Business Add-Ins for Purchasing
    Name of BADI
    1 Control of Pricing Type: Additional Fields : ME_DEFINE_CALCTYPE
    2.Run Through Items Again in the Event of Changes in EKKO : ME_CHECK_ALL_ITEMS
    This enhancement is about Transaction Code ME23N for creating Purchase Order.
    I am not getting what exactly this BADI does?
    while creating purchase order and Price determination process ,When i define Incoterms at Header level i want to change condition type for Item Level according to our requirement.
    my problem is that , i don't have parameters to pass condition types.
    can anybody tell me the solution?

    Hi archana,
    actually i want to use the same BAdi and method (PROCESS_ITEM).
    Question: did you use parameter GET_HEADER of method PROCESS_ITEM ?
    my problem: i want to read BSART from MEPOHEADER-data and according to result i want check MEPOITEM-data (here: WEPOS)
    ls_mepoitem = im_item->get_data( )
    works, but i did not find out how to use
    ...->get_header( )
    If you used it, can you paste© your source code ???
    Thanx a lot !
    Jörg
    P.S. it's my first BAdI
    -- no more help needed ! Problem solved by adding own post!!! ---
    Message was edited by: Jörg Sauterleute

  • User Exit / BAdI to update the pricing conditions of the Purchase Order

    Hello SAPients,
    This is my requirement:
    "Copy the Pricing Conditions from the Shipment Cost Document (VI01 / VI02) to the automatically generated Purchase Order".
    I'm using the enhancement V54U0002 (Function Module EXIT_SAPLV54U_002) to EXPORT  the values of the Pricing Conditions to memory and I have used the enhancement MM06E005 ( FM EXIT_SAPMM06E_006, 007, 012, 013, 014, 016, and 017) to IMPORT the values from memory and store them in TKOMV. But, when the PO is generated the values don't stay, they are always changed with the standard PBXX pricing conditions.
    My question is: Does anyone know the User Exit / BAdI that I can use to change the Pricing Conditions of the Purchase Order?
    <<removed_by_moderator>>
    Thanks!
    Edited by: Vijay Babu Dudla on Jan 14, 2009 11:08 PM

    >
    kartik tarla wrote:
    > check this badi
    > ME_PROCESS_PO_CUST
    >
    > and the following user exit
    > Goto-> include RV61AFZA then search for
    > USEREXIT_PRICING_RULE see if its helpful to u.
    Hello Kartik / SAPients,
    I tried with ME_PROCESS_PO_CUST but didn't work. The system doesn't execute that code. Any other idea would be greatly appreciated.
    Thanks.

  • Implementation Of Badi ME_GUI_PO_CUST for adding fields in Purchase Order

    Hi All
       I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order.
    The implementation of the BADI ie the Subscreen of the fields to be added appears in  transaction ME23N but it does not appear in the transaction ME22N and ME21N.
    Can anyone help me on this.
    Thanx.
    Moderator message - Duplicate post locked
    Edited by: Rob Burbank on Jul 10, 2009 12:10 PM

    check the answer
    [New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N;
    bye

Maybe you are looking for

  • How to save the data for multiple sittings

    Hello All i have one sign up form. user enter only 4 to 5 fields & he may not fill the the manditory field & he left. but data base don't give the error to him. but next day he will come at then he want to complet his sign up i.e. when he commit the

  • After I did Partition on my windows, I lost my mac os on booting option

    Hello everyone i need help, I installed windows 8 perfectly on my macbook pro (mid 2012) Then I restart my mac, and try to press option, I still see the mac os option But after I partition my disk (the bootcamp disk) i seen 3 accessible disk in my co

  • How to find the largest odd number and smallest even number from an array

    Hello All I want to find out largest odd number and the smallest even number from an arry numbers? What is the best method to achieve this. Thanks Sravz

  • Highlighting in new version

    After the update I can't highlight single words or partial sentences in a PDF file on my IPad, it will only highlight the entire sentence. Will It continue to be like this or will it be fixed?

  • SLA alerts

    Hello, I have installed SOA Suite 11.1.1.5.0. At Oracle Service Bus I have define sla alert rules and I can monitor at the administrator console if there is any violation. I would like to know if these violations are written at a file? I want to have