Enhancing ME22N

Hi All,
My requirement is to add an custom tab to ME22N transaction screen if there is an attachment in the PO.
Please advise.
Thanks
Abhijeet K

Hi Abhijit,
There is a Screen Exit Available for additional tab in PO screen.
Go to transaction CMOD. Create a Project and attach Exit - MM06E005 -  Customer fields in purchasing document.
Go through the documentation of Exit componant.
Create sub screen 101 for PO Customer data at header level and
111 for PO Customer data at item level.
List of Exits under MM06E005 are:
u2022     EXIT_SAPMM06E_006 u2013 Export Data to Customer Subscreen for Purchasing Document Header (PBO)
u2022     EXIT_SAPMM06E_008 u2013 Import Data from Customer Subscreen for Purchasing Document Header
u2022     EXIT_SAPMM06E_009 -  Reset Customer Data at Beginning of New Document (Without Dialog)
u2022     EXIT_SAPMM06E_012 u2013 Check Customer-Specific Data Before Saving
u2022     EXIT_SAPMM06E_016 u2013 Export Data to Customer Subscreen for Purchasing Document Item (PBO)
u2022     EXIT_SAPMM06E_017 u2013 Export Data to Customer Subscreen for Purchasing Document Item (PAI)
u2022     EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
you can write your logic in concerned exit.
Regards,
Amee.

Similar Messages

  • How to extend the table control of ME22N ?

    Can somebody tell how to add a field to the tablecontrol of ME22N ? I think that it is not possible to do it via classic enhancements (ME22N). I suppose the wright way is via an BADI. But how, which one, adding the field via an ci-include via customizing or how ? How of you has experience with this issue and will help me by replaying.
    Thanx in advance folks.

    Hi,
    User-exits are not the best solutions for the Enjoy transaction.
    You have to look for BADIs instead of exits.
    To search BADi go to customizing (SPRO transaction) - Material Management - Purchasing - Business Add In for purchasing - Enjoy...
    Here click on the documentation icon.
    Use the following transaction to hadle BADi-s: SE19
    Use the following transaction to handle classes: SE24
    You have to create an instance. Always copy the instance from the original and add a "Z" letter befor it.
    You have to copy all relevant objects from its original (FM-s, etc) and write the modifications into it.
    This is very "deep water" will took a long time until you will be finished
    Regards
    Sudheer

  • Badi or Enhancement for Purchase order invoice plan change for ME22N

    Hi ,
      I have a req to have a custom tab at the header level with the push button in ME22N , By clicking the push button i need to update the invoice plan detail to all item level by using the 1st line item invoice paln entered while creating PO . I have done with adding the custom tab using MM06E005 enhancement. The problem i am facing is need to change the PO invoice plan detail for all line item. Please let me know the BADI or Enhancement to change the PO detail in the Tcode ME22N . Any Badi before save or after save with invoice plan details.
    <offer removed by moderator>. Many thanks for you help!
    Regards,
      Vinoth.v
    Edited by: Thomas Zloch on Oct 14, 2011 11:59 AM

    Hi Eduardo
    ME_PROCESS_PO_CUST is don'tt have the Invoice plan and ME_GUI_PO_CUST is for screen but i need the badi to get the invoice plan details and change the remaining item with the invoice plan .
    Regards

  • Implementing ME21N / ME22N screen exit (Enhancement MM06E005)

    I've just implemented enhancement MM06E005 and have extended a new field to CI_EKKODB. The subscreen is in place and the project has been activated without issues. I can populate the DB via the new field in 'customer data' tab. The only problem I have is I don't see my new value after saving the PO and re-accessing it in change mode ME22N. The new field is blank. I can see the record's new field has the value in SE16N and I see the value when debugging EXIT_SAPMM06E_006. My assignment statement in EXIT_SAPMM06E_006 for the new field is similar to: i_ci_ekko-zzvbeln = i_ekko-zzvbeln. What have I missed?
    Edited by: Steve Fenske on Oct 13, 2009 11:45 PM

    Hi steve ,
    In addition to the function exit u r doing , u have to code the bellow exit also .
    See the documentation of this exit , it explains u clearly in the document.
    EXIT_SAPMM06E_006  Export Data to Customer Subscreen for Purchasing Document Head
    EXIT_SAPMM06E_008  Import Data from Customer Subscreen for Purchasing Document
    The dynpros are linked to the standard program via function modules.
    There are function modules that provide your subscreen with data
    (export) and function modules that fetch data from your subscreens
    (import).
    o   Header screens:
        -   EXIT_SAPMM06E_006   Export data to customer subscreen for header
            (PBO)
        -   EXIT_SAPMM06E_007   Export data to customer subscreen for header
            (PAI)
        -   EXIT_SAPMM06E_008   Import data from customer subscreen for
            header
    Rajendra

  • Enhancement in ME22N

    Hi All,
             There is requirement to enhancement in  Release strategy (ME22N). If  user increase the OP price the release strategy being changed but he decrease the OP the price release strategy not being changed. The reauirement is there if they make any change in OP price either incrase or decrease, release strategy should be change. therefore there is any User-Exit or BADI which change the release strategies related informantion. I have aslo tried some user exit and BADI but in these exit and BADI  the OP header information not in export parameters (this information is import parameters) so I can not make change it. there is any other user exit or BADI for do that.
    Thanks in Advance
    Jitendra Singh

    I need to make some fields output only at item level
    > in transaction ME22N i.e. during PO change. Is there
    > any exit or BADI available for that.
    >
    > Regards
    This is mainly config.
    Check in SPRO - IMG
    Materials Management > Purchasing > Purchase Order > Define Screen Layout at Document Level
    Also these BAdis are available:
    ME_PROCESS_PO_CUST - For Custom logic in Enjoy transactions
    ME_GUI_PO_CUST - For Additional Custom screens in ME2xn
    Read the documentation, it will help.
    Also, read the config section about enhancements in Purchasing using old enhancement technology. See below.
    OSS is also a good place for documentation. OSS 496083.
    Good luck!
    Leonardo De Araujo
    Develop Enhancements for Purchasing
         In this step, you develop enhancements for Purchasing.
         The following SAP enhancements are available for the Purchasing area:
         o   AMPL0001
             User subscreen for additional AMPL data (Manufacturer part number)
         o   LMELA002
             Adoption of batch number from shipping notification at time of
             posting of a goods receipt
         o   LMELA010
             Incoming shipping notification: adoption of item data from IDoc
         o   LMEQR001
             User exit for source determination
         o   M06B0001
             Role determination for release of requisitions
         o   M06B0001
             Changes to communication structure for release of requisitions
         o   M06B0003
             Number range and document number
         o   M06B0004
             Number range and document number
         o   M06B0005
             Changes to communication structure for overall release of purchase
             requisitions
         o   M06E0004
             Changes to communication structure for release of purchasing
             document
         o   M06E0005
             Role determination for release of purchasing documents
         o   ME590001
             Grouping of requisitions for PO split in transaction ME59
         o   MEETA001
             Determination of schedule line type (backlog, immediate requirement,
             forecast)
         o   MEFLD004
             Determination of earliest delivery date for checking at time of
             goods receipt (PO only)
         o   MELAB001
             Generation of forecast delivery schedule: realization via creation
             profile
         o   MEQUERY1
             Enhancement for document overview ME21N / ME51N
         o   MEVME001
             Calculation of default GR quantity and over/underdelivery tolerances
         o   MM06E001
             User exits for inbound EDI messages and outbound purchasing
             documents
         o   MM06E003
             Number range and document number
         o   MM06E004
             Control of import data screens in purchase orders
         o   MM06E005
             Customer fields in purchasing documents
         o   MEREQ001
             Customer's own data in purhcase requisitions
         o   MM06E007
             Change document for requisitions when converting into POs
         o   MM06E008
             Monitoring of contract target value in case of release orders
         o   MM06E009
             Relevant texts for "Texts exist" indicator
         o   MM06E010
             Field selection for vendor address
         o   MM06E011
             Activation of requisition block
         o   MM06L001
             Exits for determination of ratings in vendor evaluation
         o   MMAL0001
             ALE source list distribution: outbound processing
         o   MMAL0002
             ALE source list distribution: inbound processing
         o   MMAL0003
             ALE purchasing info record distribution: outbound processing
         o   MMAL0004
             ALE purchasing info record distribution: inbound processing
         o   MMDA0001
             Default values for delivery addresses
         o   MMFAB001
             User exit for generation of releases
         o   MRFLB001
             Control items during release creation
         o   LWBON001
             Enhancement of LIS update through extension of the communication
             structure MCKONA (business volumes and rebate income)
         o   LWBON003
             Change settlement data for end-of-period rebate settlement before
             creation of settlement documents
         o   LWSUS001
             Customer-specific source determination in Retail
         Activities
         1.  Either create a new project or use an existing one and then enter
             the enhancement.
         2.  Activate the project
             Your enhancement will only become effective after activation.
         Further notes
         In contrast to modifications, enhancements are basically
         release-insensitive since they are not implemented in the SAP original
         but in a name range that is reserved for the customer.
         The general procedure for creating enhancements can be found in the
         enhancement transaction at Help -> Application help.
         If you want to display the documentation for an enhancement, choose Goto
         -> Documentation in the enhancement transaction.
    Return ->
         Application

  • Enhancement for ME22N , Triggers at PBO

    Dear all,
    My Requiremnet Is to Trigger an Enhancement( BADI or USER-EXIT) during PBO, from which I want to fetch the PO Number,
    so that i make the necessary validation to Enter into transaction 'ME22N' else simple throw an error message to the user.
    Note : Some BADI are triggering but not providing the Purchase order Number(EBELN).
    Frwd with any further issues.
    Regards,
    Niranjan.G

    Hi,
      I i understand correctly what you are trying to do is when user goes into transaction ME22N and tries to view or change a purchase order you want to do certain validations on the purchase order number and if teh validations fail you want to raise an error. If thats what you wnat to do you can try enhancement > MM06E005 > EXIT_SAPMM06E_006 > Import parameter I_EKKO should have the PO number .
    Regards,
    Himanshu

  • Enhancements in me22n

    Hi,,
    I have changed  standard program using enhancement for me22n..
    Requirement is :
    For all the users if there is no tick then the field appears editable and if there is a tick
    then it is disabled except few authorized users the fields appears editable.
    a. Check for the value of field EKPO-ELIKZ , (Deliv Compl)if ticked, then do point u2018bu2019 and
    u2018cu2019 if not ticked then it is editable for all.
    b. Check for Authorization object u2018Z_DEVCOMP1u2019 , Activity parameter
    value = u201802u2019 (change) and Authorization field u2018Z_DEVCOMPu2019 value =
    u2018YESu2019
    c. Set the fieldstatus to u2018*u2019 (display only) for Metafield u201876u2019 ( table pool u2013 MMMFD)..
    I tried using the below code,but i am not able to read data lineitem wise when i debug...plz suggest
    ENHANCEMENT 1  ZMM_PO_DELIVERY_INDICATOR.    "active version
      FIELD-SYMBOLS: <fs_fieldselection> TYPE MMPUR_FS,
                     <fs_ekpo> TYPE ekpo.
      ASSIGN ('(SAPLMEPO)EKPO') TO <fs_ekpo>.
    if sy-subrc = 0.
    if <fs_ekpo>-elikz = 'X'.
                     AUTHORITY-CHECK OBJECT 'Z_DEVCOM1'   "  u201Cauthorization object that weu2019ve created
                          ID 'ACTVT' FIELD '02'           "             u201CActivity = 02, authorized to change
                          ID 'Z_DEVCOMP' FIELD 'X'.       "     u201Cvalue is 'YES'
                      if sy-subrc <> 0.
                        READ TABLE my_fieldselection assigning <fs_fieldselection>
                                                     WITH KEY metafield = '76'.
                        IF sy-subrc EQ 0.
                          <fs_fieldselection>-fieldstatus = '*'.
                        ENDIF.
                     endif.
                     else.
    endif.
    endif.
    ENDENHANCEMENT.
    Thanks.

    Hi,
    In the me22n screen at the item table control there is configuration tab at the right side corner.
    try to create a variant by hidding the fields you required.
    and at the time of calling the table control screen use the standard variant or custom variant according to the requirement.
    Prabhudas

  • ME22N Enhancements

    Hi
    Requirement is that when we change the 'item delivery date' in ME22N, a pop-up should be displayed saying that ' Do you want to change the statistical delivery date also'.
    After  clicking 'yes' the 'statistical delivery date' should be modified with the 'item delivery date'. Now both these dates will be same.We have already implemented EXIT_SAPMM06E_012 and EXIT_SAPMM06E_013.
    Please provide the right user-exit or BADI.
    Thanks.

    Hi,
    As per your requirement use the BADI ==>ME_PROCESS_PO_CUST
    Use the method PROCESS_ITEM.
    Just create an active implementation of this BADI and put a break point in the method PROCESS_ITEM.
    Then you have to call two methods:
    1. get_data : To get the details
    2.set_data: To change the field value.
    Hope this will be sufficient info for you to get the outcome. If not I will give you code sample. First just try with this.
    cheers
    Somnath

  • Enhancement for Me22n

    Hi
    everyone ,
    I am trying to get the appropriate function exit for ME22N , My req is like in me22n (in header) ,in tab additional data there is a field validity start date , suppose any purchase order is changed ,so the date of purchase order change will be validity start date .......
    so if anybody can suggest any thing which could help me.
    regards
    san

    HI JEEVI,
    THANKS FOR REPLY ,HERE IS A LITTLE CONFUS..
    LIKE EXIT_SAPMM06E_013 (UPDATE CUSTOMER'S OWN DATA FOR PO)
    BUT THIS FIELD (VALIDITY START DATE) IS NOT CUSTOMERS FIELD ITS EKKO-KDTAB SO PLS CONFIRM.
    THANKS & REGARDS
    SAN

  • Exit or enhancement for ME21, ME22, ME21N, ME22N and ME27

    Can anyone tell me an exit which can be used for ME21, ME22, ME21N, ME22N and ME27.
    I tried using EXIT_SAPMM06E_006, it did not work as the values get cleared from the internal table once out of the Exit.
    Requirement:
    Need an user exit which is common to transactions ME21, ME22, ME21N, ME22N and ME27 to block the line item of a purchase order based on following conditions:
    u2022     Document type is u2018xxu2019 or u2018yyu2019
    u2022     IF Condition type u2018aau2019 or u2018bbu2019 exist in the PO line item
    Please advice

    USe export to database indx..
    check this wiki for more info
    http://wiki.sdn.sap.com/wiki/display/Snippets/ImportandExporttoCluster+Databases

  • Enhancement to remove a message in ME22N

    Hi guys,
    In Me22N
    If the vendor in a held PO is changed, new output message is determined and output is getting triggered for both the vendors. We expect system to delete or update the first message with new vendor instead of creating a new message.

    Hi Brad,
    Thanks for the quick reply.
    Can you please elaborate how exactly it can be done.
    The problem is vendor with meduim as "External Send"  in the Message tab of a purchase order should be deleted or update when i replace with a new vendor number for the same po.  However it is not getting deleted or updates.
    Thanks again, will be waiting for your updates.
    Regards,
    Ali

  • ME22N PO Versions Enhancement

    Hi Gurus,
    I'm just new to ABAP development and I want to seek your help with my problem:
    I want to disable/hide the delete button on the versions tab of ME22N.
    I don't think this is possile in SHD0 so i'm thinking of just displaying an error message when the delete button is clicked but i don't know what user exit can handle this event.
    Thanks and Regards.

    Hi I don't think this is possible in BADI ME_PROCESS_PO_CUST since this badi will be triggered while saving the data.
    Regards,

  • Version Completed ME22N Enhancement

    Hi Gurus,
                At the time of Version Complete tick is on and save event fire ,I want to insert new record of Version into customize table.Which Enhancement will work for this requirement.
    I checked ME_PURCHDOC_POSTED Badi, but no import parameter found for Version Complete.
    Regards
    Vinayak Sapkal

    Hi,
    Try this
    MM06E005 -
    > EXIT_SAPMM06E_012--->ZXM06U43 --check Customer-Specific Data Before Saving

  • ME22N Enhancement

    Hi all,
            I'm working on ME22N condtion tab. In which for particular condition type when user enters the value other then specifed
    value system shoud through ERROR message.
    But i'm not getting error message, If give as ERROR message its coming out of the screen.
    If give other then error message its coming as status message.
    Please help me to get the error message.
    Regards
    Suprith
    Edited by: suprith kumar on Dec 29, 2009 9:22 AM

    Hi Surprit,
    define one message in message class SE91.
    and in the abap program write it as follows and try it out.
    MESSAGE W001(ZNRD_MSG) DISPLAY LIKE 'E'.
    Hope this would help you.
    Thanks & Regards,
    Ranjith Nambiar

  • Enhancement for ME21N & ME22N new subscreen

    Hi all,
    I'm looking to ad a new subscreen using definition ME_GUI_PO_CUST. I looked at the example CL_EXM_IM_ME_GUI_PO_CUST to understand how it works. Do you know why in the example the include "LMEVIEWSF01" is used? How the logic in the PBA and PAI works with the new subscreen? And where to put the new logic?
    Thanks.

    DONE THROUGH USER EXIT

Maybe you are looking for

  • Can I open reader and digitally sign pdf in flash?

    First off let me say, I have 0 experience with Adobe Flash or Adobe Air, so this may be a dumb question or I may not even be asking in the right place.  I currently have an application which uses Adobe Reader to digitally sign PDF files.  The PDFs ar

  • How to add User Inputs?

    Well I'm new to Java, and I was trying to make a basic calculator to add 2 user inputs and give a total. Here is my code: import java.util.Scanner; public class calculator {      public static void main(String[] args) {           int total;          

  • Failed on Java CI add-in installation with Java Admin Account Create

    I've installed an ABAP stack and it works smoothly. Java Central Instance Service(add-in) and Java Database Instance(add-in) are both installed successfully. When I install Java Central Instance(Add-in), I get an error when system asks me to input pa

  • Class characteristics req in QM

    Hi 1. Why Class characteristics req in QM   ? 2. I don't have any materials in batch managed, so in this case , is it really required? 3. If yes, in which all scenarios calss characteristics can be used? Please explain. Thanks,

  • Dedirect to another frame in Servlet

    Hi... I am an HTML page contains two frames say A and B . Frame A contains some links that display the output in frame B. [Given the target of frame A as B ] .But some times depends on my request , i want to display the page in the paret frame instae