Required BADI  for  purchase order

Hi experts,
Can any one please suggest me which BADI or userexit suitable in purchase order to restrict accountassignement category depend upon Doc type with the suitable method.

Hi Ram,
          Actually my requirement is like this .
In the me21n tcode, if doctype of purchase order is 'ZCAP' then it has to allow the accasscategory 'A' only.
If any other accasscategory assigned then it has to display error message.
For that i have gone for me_process_po_cust BADI. But it does not had any changing parameters to satisfy my requirements.
Is there any alternative?
pleae Reply me asap .
Its very urgent...

Similar Messages

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

  • 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

  • User Exit/BADI for Purchase Order and Purchase Requisitions

    HI,
    I have a requireent where i have to check the the user does not enter both Subitems and Over a Limit for a Service Purchase Requisition.
    Is there a User Exit or Badi that i can use where this information is availaible.
    also i have to check that release strategy is assigned to every purchase order where the version has been completed.
    Is there a User Exit or Badi where Information of EREV table is availaible.
    Regards,
    Tarun Bahal

    For Purchachase requisition , the BADIs and USER EXITS are
    ME_COMMITMNT_PARKING BAdI for Redefining Commitment Interface When Parking
    ME_MEREQ_PARKING BAdI Purchase Requisition: "Hold"
    ME_REQ_HEADER_TEXT Copy Header Text: Enjoy Purchase Requisition
    try with the above BADI's
    MEREQ001 Customers' Own Data in Purchase Requisition
    for Purchase order , the BADIs and USER EXITS are
    ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
    ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
    MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
    ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
    ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
    ME_BAPI_PO_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PR_CREATE_02
    ME_BSART_DET Change document type for automatically generated POs
    ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
    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_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
    ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
    ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
    ME_CHECK_OA Check BAdI for Contracts
    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_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
    ME_COMMITMENT_RETURN Commitment for return item
    ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
    ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
    ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
    ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
    ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
    ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
    ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
    ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
    ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
    ME_PO_PRICING Enhancements to Price Determination: Internal
    ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
    ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
    ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
    ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
    ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
    ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
    ME_PURCHDOC_POSTED Purchasing Document Posted
    ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
    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
    ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
    ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
    MM_DELIVERY_ADDR_SAP Determination of Delivery Address
    MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
    SMOD_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
    LMELA010  Inbound shipping notification: Transfer item data from 
    LMEQR001  User exit for source determination                     
    LMEXF001  Conditions in Purchasing Documents Without Invoice Rece
    LWSUS001  Customer-Specific Source Determination in Retail       
    M06B0001  Role determination for purchase requisition release    
    M06B0002  Changes to comm. structure for purchase requisition rel
    M06B0003  Number range and document number                       
    M06B0004  Number range and document number                       
    M06B0005  Changes to comm. structure for overall release of requi
    M06E0004  Changes to communication structure for release purch. d
    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., previe
    MEFLD004  Determine earliest delivery date f. check w. GR (only P
    MELAB001  Gen. forecast delivery schedules: Transfer schedule imp
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N           
    MEVME001  WE default quantity calc. and over/ underdelivery toler
    MM06E001  User exits for EDI inbound and outbound purchasing docu
    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 P
    MM06E008  Monitoring of contr. target value in case of release or
    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 proces
    MMAL0004  ALE purchasing info record distribution: Inbound proces
    MMDA0001  Default delivery addresses                             
    MMFAB001  User exit for generation of release order              
    MRFLB001
    Regards,
    Anirban

  • 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

  • BADI for purchase order item confirmation?

    Hi all,
    In Purchase Order change mode (ME22N), we want to calculate the delivery date based on the confirmation date that was entered in the PO item detail, confirmation tab (instead of based on the PO creation date).
    Please help by specifing Which BADI should we use for that purpose? And which method will be helpful? 
    Thanks,
    Vamshi.

    Hi
    You can use BADI ME_PROCESS_PO_CUST
    Ranga

  • Requirement Urgency for Purchase order

    Hi,
    I have configured Requirement Urgency ( I have created 2 code "01 and 99 respectively for emergency and routine , now while creating PR, system proposes 99 as routine , which is correct as per my requirement, again when I do change the requirement priority in PR , it is allowing me to so ( e.g. from 99 to 01 ) and based on that I am able to get the report in ME5A.
    However , when  I am creating P.O with reference to PR, I am able to see the only "99 " codes no "01, codes.?
    Is any clue ? can any body suggest.
    Thanks & Regards
    Sudhansu

    Hi,
    The configuration and impact attached here with for your reference, if you can provide any idea.
    STEP 1 :ACTIVATE REQUIREMENT PRIORITIZATION
    STEP 2  : DEFINE REQUIREMENT URGENCY GROUP
    STEP 3 : DEFINE AND ASSIGN REQUIREMENT URGENCY
    STEP 4 : PURCHASE REQUISITION
    STEP 5 : PURCHASE ORDER
    Thanks & Regards
    Sudhansu

  • Required fields for Purchase Order through ORDERS05 idoc

    Hi,
    I'm creating PURCHASE orders from ORDERS05 IDOC through XI. Could anyone tell me what all segments and fields are required for this purpose, if they have done this earlier.
    Regards,
    Vijay

    Hi Vijay,
    It depends how the input is populated. Anyway to know about Mandatory Segment /Fields, you can go to Transaction code WE30 in the R/3 system and give the idoc name and open the structure. There you can get to know about Mandatory Segments/fields etc with the help of Occurences
    Regards,
    Moorthy

  • BADI for Purchase Order - WBS link

    Hello Experts,
    I am making a report where the user will be able to select on project and wbs, and depending on this selection the belonging purchase orders are to be listed. Is there any function modules that return this data? Or which tables do I have to look through to see the linking between PO's and project/wbs...
    best Regards Baljinder

    Hi,
    Its PRPS for the WBS elements will be stored,
         proj is the table which stores all the projects for the header data,
         ekbe for the purchase order history will be stored,
         fmifiit is the table which stores all the object numbers related to the posted data against purchase     order.
    Regards,
    Naresh
    Edited by: naresh kumar on Mar 25, 2009 10:51 AM

  • BADI for Purchase order Print

    Dear All,
    Is there a Standard BADI to Trigger PO Print Function for Message type NEU.
    Regards
    Amey

    Hi Amey,
    Moving this thread to ERP MM forum.
    Thanks,
    Mahesh

  • BADI requirement for Purchase Order

    Hello,
    I have to find a BADI for Purchase order which will satisfy requirement stated below.
    When processing on PO will be done for Goods received and/or Final delivery and/or Final invoice , I need to trigger an Idoc from BADI which will inform another client that flags stated above are set against that PO.
    Which BADI can be used to find information of these flag are set on PO as soon as it is processed and which in trun help me to trigger this idoc?
    Regards,
    Madhura

    try with MB_DOCUMENT_BADI
    this BADi will get trig for all goods movement transaction.
    better u go for user exits, insteed of BADi

  • BADI / User exit for Purchase order(ME21N) after saving the document

    Hi expert,
    I need the BADI / User exit for Purchase order(ME21N) after saving the document
    This is for email sending after create the purchase order so PO document number will be the import parameter
    pls help me
    point will be reward
    Regards,
    Ganesh

    Hi Ganesh,
    Could you please share your solution?
    Thanks.
    Hoops
    Edited by: Hoops on Jun 13, 2011 10:51 PM

  • Require Standard DataSources for Purchase Orders

    Hi,
    Please provide me the standard datasources for purchase orders to get the data updated automatically in a BI System.
    I have to display report containing the purchase orders details of each day.
    Regards
    Sunil Kumar

    Hi,
    Following link will give you complete details of purchase order deports and data sources.
    http://help.sap.com/saphelp_nw70/helpdata/en/df/cfb839f6a7a307e10000000a11402f/frameset.htm
    Regards,
    Vishnu

  • Seeburger help required for Purchase Order,Dispatch Advice,Supplier Invoice

    Dear All,
    I wanted to do the Seeburger implementation.
    I wanted to convert the EDIFACT to XML struture and XML struture to EDIFACT  using the seeburger adpater for --
    Purchase Order , Dispatch Advice and Supplier Invoice.
    Points:
    1. How will vendor will send and receive data to PI. (means how to use Seeburger spoke and how to give unique Ids in Seeburger AS2 adapter)
    2. How to do Edifact to XML conversion and XML to Edifact conversion using Mapping Designer
    3. How to configure modules in Seeburger AS2 adapter
    Regards

    HI,
    For Seeburger implementation you should take licance for BIC MD and Adapters(AS2,SFTP).
    1)You will receive the data from the vendor ,you need to configure the AS2 Sender Adapter and you need configure the Party with AS2ID(Global Indentfier).
    2)For Conversion for the EDIFACT to XML you need to generate the the BIC mapping In BIC MD.once generate the map you can loaded the map into XI server.you need to configure the mapping detials in module(Classifer,BIC,Spliter......).
    Steps to genrate the BIC MAP:
    Steps :-
          1) Right click on Data type and Export structure (msg_....xml).
          2) Run u201CCreateXMLmessageu201D, (source file msg_....xml, target file XML_....xml).
          3) Import XMLu2026.xml to your Project XML Message.
          4) Run u201CCreateMappingXMLToEdiu201D source file (msg_...xml),target file      (X2E_....xml)
          if you are converting XML to Edi format.
          5) Run u201CCreateMappingEdiToXMLu201D source file (msg_....xml),target file      (E2X_....xml) if you are converting Edi to XML format.
          6) Import X2E/E2X_.....xml to your project mappings
    3) you need to open firwall from the vendor and your system..
    AS2 Sender Adapter:
    Transpoert protocl:HTTP
    Message Protocol:AS2
    Authincation Requered(Check box)
    Message subject:
    Asynchorns MDM Settings:
    Server Certifacte:
    Private key:
    HTTP TimeOut:
    MDM retry interval:
    MDM retry Count:
    Proxy Server:
    Proxy prot:
    Proxy User and Password.
    For more information end to end :above menation rajesh weblog.
    regards,
    Ramesh

  • BADI for Sales order

    Hi Gurus,
      I have to caculate the volume discount based on the goods ordered. So that i have to calculate the discount and update it into Net value in condition tab in va01. Please provide the what is the BADI for that suitable requirement so that it should be executed before saving the order. And also the discount should be displayed in the item level. Please provide me some suitable solution.
    <b>Its Very urgent.</b>
    Points will be awarded
    Regards
    Ravi

    Hi
    Use the Std Include MV45AFZZ for writing the user exits related Sales order
    which is a include in the std sales order program SAPMV45A
    Write the code in the appropriate FORM..ENDFORM.. and see
    see further the following Exits and BAdis for Sales order
    Enhancement
    V60F0001                                SD Billing plan (customer enhancement) diff. to billing pla
    V46H0001                                SD Customer functions for resource-related billing
    V45W0001                                SD Service Management: Forward Contract Data to Item
    V45S0004                                Effectivity type in sales order
    V45S0003                                MRP-relevance for incomplete configuration
    V45S0001                                Update sales document from configuration
    V45P0001                                SD customer function for cross-company code sales
    V45L0001                                SD component supplier processing (customer enhancements)
    V45E0002                                Data transfer in procurement elements (PRreq., assembly)
    V45E0001                                Update the purchase order from the sales order
    V45A0004                                Copy packing proposal
    V45A0003                                Collector for customer function modulpool MV45A
    V45A0002                                Predefine sold-to party in sales document
    V45A0001                                Determine alternative materials for product selection
    SDTRM001                                Reschedule schedule lines without a new ATP check
    SDAPO001                                Activating Sourcing Subitem Quantity Propagation
    Business Add-in
    BADI_SD_SCH_GETWAGFZ                    Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001                        SD Customer functions for resource-related billing
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • I am trying to move files into imovie but they wont play

    I am horrible with computers but trying.  The files were saved and would play through VLC player when I clicked on them to rename them I change them to .mov and then when I tried to import in to Imovie they woud not do it and now they will not play a

  • Not fit for the purpus it was sold for. Can I canc...

    I started a contract last monththe 40  Gig a month I used the bt tool thing to help me chose how much download allowance I would need it recommendation was the 40 gig one so I got it . At the rate I have been using it I will use about 60 gig a month

  • Any BOM  Report (urgent)

    Is there any standard BOM Explosion report to show of cost level by level pls let me know

  • Stored procedure name length

    Hi, can any one provide me link or specify what is the limitation for the stored procedures names/function names in Oracle 10G. And variable name lenth limitations. Thanks in advance.

  • Eyedropper tool selects wrong colour?

    I've had this problem intermittently for a couple of months now and I've had no luck in resolving it. Sometimes restarting the program resolves it but only temporarily. I'm using the latest version of PS CC 2014. The eyedropper tool is not selecting