Purchase Order Enhancement

<Subject line modified>
Dear Friends,
I am trying to put a validation like..
When i use Document type(ZB-service PO),if it is has any item with "Returned" indicator means..for that line item the stock type should come as"Unrestricted Stock"by default while saving the PO..
How i can acheive this?
Pls tel me which user exit/BADI i can use for the same...
Regrads::::Sankar D
Please use more descriptive subject lines when posting your question
Edited by: Suhas Saha on Jun 21, 2011 8:47 PM

Hi
If you use ME21N/EM22N you can achieve it with BADI ME_PROCESS_PO_CUST method CHECK. Use the macro mmpur_message to add the message.
I hope this helps you
Regards
Eduardo

Similar Messages

  • BAPI for purchase order enhancement in DMS

    hi, guru,
    one of the client requirement is,
    Is there any BAPI s for enhance ment of DMS and Purchase order FUnctionalities?
    points!!!!!!!!!!1

    Hi,
    regarding the DMS BAPIs please see the transaction BAPI in your system or the SAP note 766277 which contains a complete documentation on all DMS BAPIs.
    Best regards,
    Christoph

  • Purchase order enhancement is not effective

    Hi Expert,
       I have a requirement about the purchase order. The requirement is that we must maintain the field collective no under the document header level. If there is no value exist , I can't print out the purchase order for the signature.
    I have looked for the enhancement MM06E005, but it's not effective.  I have looked for the enhancement MM06E005, but it's not effective. Which method is fit for my requirement, badi or enhancement? If using the badi, please tell me the badi name and its relevant method.
       Thanks.
      George shi

    Hello
    There are badis related to PO
    ME_ACTV_CANCEL_PO    BAdI for Activating the Cancel Function at Header Level 
    ME_BAPI_PR_CHANGE_01 BAdI: Enjoy BAPIs for Purchase Requisitions (Method Chan
    ME_BAPI_PR_CHANGE_02 BAdI: Enjoy BAPIs for Purchase Requisitions (Method Chan
    ME_BAPI_PR_CREATE_01 BAdI: Enjoy BAPIs for Purchase Requisitions             
    ME_BAPI_PR_CREATE_02 BAdI: Enjoy BAPIs for Purchase Requisitions (Method Crea
    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 Standa
    ME_CHANGE_CHARACTER  Customer-Specific Characteristics for Product Allocation
    ME_CHDOC_ACTIVE      Activation of Further Change Document Updates           
    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_OUTBOUND_SAVED    Outbound message saved                                  
    ME_PO_SC_SRV         BAdI: Service Tab Page for Subcontracting               
    ME_PROCESS_COMP      Processing of Component Default Data at Time of GR: Cust
    ME_PROCESS_PO_CUST   Enhancements for Processing Enjoy Purchase Order: Custom
    ME_PROCESS_REQ_CUST  Enhancements for Processing Enjoy PReqs: Customer       
    ME_PURCHDOC_POSTED   Purchasing Document Posted                              
    ME_REQ_APPROVAL      Control of Buyer Approval After Changes to PReq Item    
    ME_REQ_HEADER_TEXT   Copy Header Text: Enjoy Purchase Requisition           
    ME_REQ_NEW_VERSION   Trigger new purchase requisition version               
    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_TRIGGER_ATP       Triggers New ATP for Changes in EKKO, EKPO, EKPV       
    MEREP_RSLTHNDL2      SAP Mobile: BAdI definition for Result Handling        
    MEREP_RUNTM_LD2      SAP Mobile: BAdI definition for Runtime Loader         
    MESSAGES_RFW         Badi for error handling RFW                            
    METH_FOBU_CONNECTOR  Appl. Specific Functions for Formula Builder Method Impl
    METH_FOEV_CONNECTOR  Appl. Spec. Functions for FB Method Implementations    
    Thanks
    Anirudh Saini

  • Can anyone give me user exit name for create/update purchase order partners

    Hello guys
      Can anyone gives me user exit name for create/update purchase order partners?
      Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N)  by using user exit.

    hi,
    check these exits.
    Transaction Code - ME21N                    Create Purchase Order
    Enhancement/ Business Add-in            Description
    Enhancement
    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
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    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
    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
    M06B0003                                Number range and document number

  • Enhanced status of Purchase Order

    Hi Experts,
    Is it possible to enhance the status of purchase order in ECC? The client requested to custermize the status and the sequence which is I'm not sure. Please advise if you have any ideas.
    Rgs, Michelle

    Hi,
    Thanks to your reply, and would you please elaborate. Do you mean that we need to enhance by using ABAP or can configure in the backend by copying the document type from standard one?
    Rgs, Michelle

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

  • Which enhancement to use change purchase order quantity ?

    Hi all,
    can u tell me
    1) what is the enhancement to use to change the purchase order quantity with reference to the change in production order   quantity?
    Regards,
    Naveen
    Moderator Message: SEARCH!
    Edited by: kishan P on Nov 29, 2010 11:09 AM

    Hello,
    In this case you should use the message PORDCH and BAPI method BAPI_PO_CHANGE but only exist as of release 4.7.
    Function module    BAPI_IDOC_INPUT1
    Idoc Type              PORDCH01
    Message Type      PORDCH
    So check carefully the following OSS notes:
      [Notes 589066 - BAPI_PO_CHANGE: Incorrect account assignment to network |https://service.sap.com/sap/support/notes/589066] (not be fooled by the description)
    [ Notes 197958 - BAPIs for purchase orders - Missing Functions|https://service.sap.com/sap/support/notes/197958]
    Regards,
    Andrea
    Edited by: Andrea Olivieri on Sep 3, 2009 10:17 AM

  • ME21N:Enhancement of Purchase Order

    Hi everyone,
    I want to update item of Purchase order without method 'process_item' in ME_PROCESS_PO_CUST.
    (I knew how to upate item of PO using process_item)
    But, for example, If I used MM06E005, I updated customer data only. I can't update item of PO.
    Another one, I used the method 'CHECK' and 'POST', but
    I could update head of PO, but I couldn't update item.
    When I pushed the save button, I want to update item of PO.
    Colud you give me the everyone's idea!
    Tomo.

    Hello Tomoyuki,
    Did u try using ME_PURCHDOC_POSTED this is fired when u press the save button.

  • Enhance the name of the purchase order in work lists

    Hi all,
    I'm working with SRM 4.0, and now I’ve a new requirement: in the work list for purchase order the name of the purchasing organization or the name of the company should come before the name of the purchase order.
    In the same way, the subject of the e-mail should contain this information instead of only the number of the PO.
    Any idea?
    Thanks,
    Regards,
    Ana

    Dear Friends,
    I am absolutely agree with your answer .
    But my question is,
    Lets say.....
    One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
    So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
    Hope you all understood my requirement .
    Thanks & Regards,
    Aditya

  • Purchase order customer data enhancements

    my requriment is custom tab add in purchase order in item level i using  Badi.
    i find the badi but in ME_GUI_PO_CUST Implemented but tab is not display, why?
    in this badi i m implemented all methods also.
    then other badi is there ME_PROCESS_PO_CUST  how to implement this badi?ASAP

    Hi Murli,
    See the sample code of CL_EXM_IM_ME_GUI_PO_CUST for BADI implementation of ME_GUI_PO_CUST.
    You can refer the below link:
    Re: Implementing badi ME_GUI_PO_CUST
    See the documentation of ME_PROCESS_PO_CUST andcheck the sample code of CL EXMIM_ME_PROCESS_PO_CUST. these will be usefull to implement BADI ME_PROCESS_PO_CUST.
    Reddy

  • Badi or enhancement for ME23N purchase order

    Dear All Expert,
    I would like to implement User Exits in T-Code ME23N for purchase order, the scenario is :
    If Purchase Order already has Good Receipt or Full GR then field for quantity and nett price will be disabled.
    So I would like to ask:
    1. I found a suggestion exits is "MM06E005". and i used this is also
    IF SY-TCODE = 'ME23N'.
        LOOP AT SCREEN.
          IF SCREEN-NAME =  'MEPO1211-NETPR'.
            SCREEN-INPUT = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    but i am not getting correct ans so pls help me.
    How to disable field for quantity and nett price? and i want one more thing in tcode me23n , material field is not display in display mode it is coming only in change mode.
    Hope anyone could help me to solve this problem
    Thanks,

    Hi,
    Have a look into the include LV69AO03 and the user exits available in module feldauswahl
    For disabling NETPR check this link which I just found now [grey out the fields NETPR & KBETR|http://abaptutorials.com/abap-articles-and-topics/abap-basics/how-to-grey-out-fields-on-me21nme22nme23n/]
    Edited by: Keshav.T on Mar 9, 2012 3:50 PM

  • User exit or badi or enhance for MIRO using Purchase order

    Hello All,
              When Miro was done using Purchase order i want to change the field BSEG-ZUONR value to assign purchase oder number.
    In the setting when the purhcase order was selected but still it comes as blank. could any body suggest the solution.
             Thanks in Advance !
    Regards
    Srinivas

    Hello srinivas,
    Exits for the given tcode
    LMR1M001  User exits in Logistics Invoice Verification
    LMR1M002  Account grouping for GR/IR account maintenance
    LMR1M003  Number assignment in Logistics Invoice Verification
    LMR1M004  Logistics Invoice Verification: item text for follow-on
    LMR1M005  Logistics Inv. Verification: Release Parked Doc. for Po
    LMR1M006  Logistics Invoice Verification: Process XML Invoice
    MRMH0001  Logistics Invoice Verification: ERS procedure
    MRMH0002  Logistics Invoice Verification: EDI inbound
    MRMH0003  Logistics Invoice Verification: Revaluation/RAP
    MRMN0001  Message output and creation: Logistics Invoice Verifica
    Badis and Enhcance spots for the given tcode
    Badis                                 Enhcance spots
    INVOICE_BW                     ES_BADI_INVOICE                BW Update
    INVOICE_UPDATE             INVOICE_UPDATE
    INVOICE_UPDATE                                                       Business Add-In
    Thanks,
    Santhosh Kumar R
    Edited by: santhosh kumar on Dec 23, 2010 9:25 AM

  • Enhancement for purchase order

    Hi Frnds,
      I hav to work on ehancement for assigining number ranges for purchase order ranges alloted for each business whenever Purchase dept creates Po.
    Frnds can anyone hlp what are the steps i hav to work to do the above.
    i hav found out that the exit name is MM06E003. i m unable to go further.
                                                                                    regards,
                                                                                    sanjay

    Hello Sanjay
    The components of the User-Exit MM06E003 can be displayed using transaction <b>SMOD</b>.
    You have to create a project (transaction <b>CMOD</b>) and assign the (single) component EXIT_SAPMM06E_001 to your project. The function module contains the following coding:
    FUNCTION EXIT_SAPMM06E_001.
    *"*"Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(NEKKO) LIKE  EKKO STRUCTURE  EKKO
    *"       EXPORTING
    *"             VALUE(NUMBER) LIKE  EKKO-EBELN
    *"             VALUE(RANGE) LIKE  INRI-NRRANGENR
    *"       EXCEPTIONS
    *"              EXIT_ERROR
      INCLUDE ZXM06U17.
    ENDFUNCTION.
    Double-click on the include name and create it in a z-package used for user-exits.
    Within this include you code your specific requirements.
    Finally, do not forget to <b>activate</b> the components of your project otherwise the user-exit will no be passed.
    Regards
      Uwe

  • ME23N purchase order history - add new fields (not in layout)

    Hello,
    I would like to expand the layout of Purchase order history (ME23N).
    I would like to add the field MKPF-BKTXT into the purchase order history for more information.
    Who can help? - Thank you.  - Dietlinde

    Hello,
    You might have to enhance the column set of the layout..I am not sure if it could be done.. but that's the way to go.. You might want to confirm this from your technical team.
    Good Luck!!

  • EBP purchase order status is comming as blank from last 5 months

    Hi,
    Advance thanks for BW experts.
    Here is the issue I am facing.
    We are extracting shopping cart data from EBP(SRM) daily.
    We are using Data source as '0BBP_TD_PO_1' in SRM.
    In BW it is coming to ODS '0BBP_PO' for collecting data.
    Info source we are using is '0BBP_PO_TD_1'.
    The problem is EBP(SRM) Purchase order status coming as blank from last 5 months, we are using every thing standard objects, no routine, i checked in BW side. I found that purchase order status field coming as blank from SRM. It seems to some problem in extractor?.
    If any one experts in SRM-BW please help me on this how to proceed?.
    for more information PO status filed (InfoObject) in BW is -0bbp_PROPO

    hi,
    take a look sap oss note 827638
    check also 824410,809118
    827638
    Symptom
    Status is blank
    Other terms
    0BBP_TD_PO_1, PO extractor, I1016, Status rejected
    Reason and Prerequisites
    The rejected status is not considered while extraction
    Solution
    Got a mail from customer regarding all the possible statuses which is not populated while extraction.
    Status   Populated or not ?
    Ordered                                             X
    Awaiting Approval                                  X
    In Your Inbox
    Release Rejected
    Held                                                X
    Deleted                                             X
    Outstanding Confirmations Outstanding Invoices
    Transfer Failed                                    X
    Confirmed by Vendor
    Partly Confirmed by Vendor
    Rejected by Vendor
    Changes Transmitted Obviously we dont report on all these statuses in BW but release rejected might be an important status and BATA (customer no: 169433) needs this status to be extracted through the PO extractor. I am changing the extractor code for this status. In future we can enhance this note to take care of other statuses relevant for BW. For now other statuses seems to be not usufull for BW reporting.

Maybe you are looking for