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

Similar Messages

  • 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

  • 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

  • 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

  • Add New Tabstrip at ME22n

    Hi experts ,
    I added one tabstrip at Tcode ME22N using  user exit EXIT_SAPMM06E_006 and
    screen SAPLXM06   0111  but tabstrip is not appearing there .
    Is any coding require at PBO for add tabstrip at Me22N
    Pls help me ASAP .
    Thanx

    Hi,
    Since you need to enhance transaction ME22N by adding a new tab, I think you are using ECC 5.0 or higher.
    In that case you can also use BADI ME_GUI_PO_CUST to add screen (tabs) at both header and item of PO transaction.
    Also you will find an example implementation class of the BADI ME_GUI_PO_CUST in class CL_EXM_IM_ME_GUI_PO_CUST.
    Hope this helps.
    Regards,
    Abhisek.

  • Adding the customer screen to enhance the header for Enjoy PO

    Dear Expert's,
    My requirement is to add a new tab on Header for Enjoy PO by enhancing ME21N/ME22N and ME23N.
    I have already implemented the BADI's ME_GUI_PO_CUST and ME_PROCESS_PO_CUST.
    Actions Taken:
    I have created a custom Function group and subscreen '9000'.
    I have created a 'Z' structure as per the screen layout on the Header Tab
    I have appended the custom fields in EKKO custom include CI_EKKO.
    Reactions:
    1. I am able to successfully display the screen on additional tab at header level.
    2. The Display & Change is working perfectly for screen '9000' on ME21N/ME22N and ME23N header.
    Problem:
    I am unable to read the 'Z' fields from EKKO to populate the TAB Screen '9000' and neither able to save the 'Z' fields from '9000' TAb screen for header data.
    I am not using any EXIT for this and have to use only BADI for this solution. Please help me to implement this solution using BADI only.
    Also i have tried implementaing the transport Data object -> Model + Model -> Dynpro + Dynpro -> Model + Model -> Data object methods, but these methods are not getting triggered.
    Please let me know if i can use EVENT_PBO & EVENT_PAI if yes , than how to trigger these events and where..?

    Hi ,
    try to enhance PO header using SAP Note 407975
    Summary
    Symptom
    You are using SAP customer enhancement MM06E005. There is no sample source
    code for this enhancement.
    More Terms
    User exit, customer enhancement, MM06E005, example, sample
    Cause and Prerequisites
    You want to activate user exit MM06E005. Note that this is a consulting
    note and not a correction of the user exit.
    Solution
    You can use the sample source code attached here to recognize the basic
    functions of the exit. This example is, however, only one of many options
    that are offered by the customer enhancement.
    The sample source code includes the following functions:
    o Supply of an additional field on header level
    o Supply of an additional field on item level
    o Derivation of a field on item level from the copied reference
    document
    Now, in order to be able to use the sample source code, you must create
    field ZZFLAG on the header level of the document and field ZZFIELD on the
    item level.
    Double-click on Include table CI_EKKODB
    Enter the following values:
    - Name Component type DType Length DecPlace Short text
    - ZZFLAG CHAR1 CHAR 1 0 1-digit indicator
    Save and activate the include table.
    Double-click on Include table CI_EKPODB
    Enter the following values:
    - Name Component type DType Length DecPlace Short Text
    - ZZFIELD CHAR1 CHAR 1 0 1-digit indicator
    Save and activate the include table.
    In order to activate the sample source code, you additionally have to carry
    out the following changes on screens 0101 and 0111.
    1. Screen 0101: Create the following fields:
    2010.02.05 Page 2 of 3
    SAP Note 407975 - MM06E005: Collective note: Examples for
    implementation
    "Checkbox" Name: EKKO_CI-ZZFLAG
    2. Screen 0111: Create the following fields:
    "Input/output field" Name: EKPO_CI-ZZFIELD
    "Pushbutton" Name: BUTTON
    FctCode: ZZDETERMINE
    The following assignments apply to the sample source code:
    EXIT_SAPMM06E_006 --> LXM06F36
    EXIT_SAPMM06E_007 --> LXM06F38
    EXIT_SAPMM06E_008 --> LXM06F37
    EXIT_SAPMM06E_009 --> LXM06F39
    EXIT_SAPMM06E_016 --> LXM06F41
    EXIT_SAPMM06E_017 --> LXM06F42
    EXIT_SAPMM06E_018 --> LXM06F40
    Copy the source code from the attachment and insert it into the
    corresponding function modules. Save and activate the function modules.
    Create the following variables in the corresponding TOP include in order
    not to get any syntax errors:
    INCLUDE ZXM06TOP
    data: gl_aktyp type c,
    gl_no_screen type c,
    gl_rekko like ekko,
    gl_ekko_ci like ekko_ci,
    gl_ekpo_ci like ekpo_ci,
    gl_ekpo like ekpo,
    gl_ucomm like sy-ucomm.
    types: begin of ekpo_tab,
    ebeln like ekpo-ebeln,
    ebelp like ekpo-ebelp,
    ekpo like ekpo,
    end of ekpo_tab.
    data: gt_ref_ekpo_tab type table of ekpo_tab.
    Save and activate the TOP include.
    On header level, you can now store a character, X or space, via field
    ZZFLAG on the database with the document and read it also again.
    On item level, you can fill field ZZFIELD with a one-digit value and save
    it with the document. If you copy this document, the system displays an
    additional function button on tab page "Customer data". If you press this
    button, the value of the reference document is copied to field ZZFIELD.
    If you want to store the source code as sample source code in your system,
    start Transaction SMOD. Enter MM06E005 as an enhancement. Select
    "Components". Press "Change". Position the cursor on the corresponding
    module and choose "Sample code". Create the corresponding include and copy
    2010.02.05 Page 3 of 3
    SAP Note 407975 - MM06E005: Collective note: Examples for
    implementation
    the source code from the note. Save the include. Note that, of course,
    syntax errors may occur when you check components. This is because the
    includes of the sample code are not integrated into a program but rather
    are completely independent and, therefore, do not have any relationship to
    each other either. For this reason, only save the include and do not
    activate or check it. The sample code has to be copied into the
    corresponding function modules in order to become active.
    If you use the user exit in the new purchase order, it is not guaranteed
    that the customer screen is always processed. To make sure that possible
    required fields are checked, include a corresponding message into the
    EXIT_SAPMM06E_012. This screen is always processed.

  • About 'Collective No' in Transaction ME22(Not ME22N)

    Hi,
    I could find the Collective No' in tab 'Additional data' of transaction Me22N, But i didnt not find it in ME22.
    Do you know from where i could check the Collective No in ME22 transaction??
    Thank you very much

    Hi,
    Sorry, I dont think its available in the ME22 screen layout.
    You can get the Quotation date and Quotation No. from header details in ME22, but not the collective No.
    This could be an enhancement in ME22N,
    Regards
    Merwyn

  • Simple arithmetic

    Hi abapers,
    I'm confused on what has been doing wrong in my codes.
    The situation is i have variables
    v1 type p decimals 2.
    v2 type p decimals 2.
    i passed the value from ekpo-menge to v1 and same with v2.
    i have a variable of v3 with type p decimals 2.
    for example v1 = 6, v2 = 3.
    when i tried to divide v1 / v2. i get a quotient of 0.01. I expected to get answer of 2 but i get 0.01.
    Why is that? I'm working in an enhancement of ME22N.

    Hi James Evert Lising,
    in EKPO table...
    Details of MENGE field...
    MENGE     QUAN     13     3     Purchase Order Quantity
    Here MENGE is having 3 decimal places...
    Try to declare all related variables as
    VAR1 type P decimals 3.
    Also check the values of variable V1 and V2 in debugging mode... Modify the lengh of a variable accordingly...
    while creating ur report u should check the check box of Fixed point arithmatic in attributes... Just check it out from Program attributes... GoTo --> Attributes...
    Also have a look on below code it's giving proper result...
    REPORT ZILESH_TEMP2.
    DATA  : TAB_V1 TYPE EKPO-MENGE VALUE '6.000', " OR TAB_V1 TYPE EKPO-MENGE VALUE 6.
            TAB_V2 TYPE EKPO-MENGE VALUE '3.000', " OR TAB_V2 TYPE EKPO-MENGE VALUE 3.
            TAB_V3 TYPE EKPO-MENGE.
    DATA : V1 TYPE P DECIMALS 2,
           V2 TYPE P DECIMALS 2,
           V3 TYPE P DECIMALS 2.
    V1 = TAB_V1.
    V2 = TAB_V2.
    V3 = V1 / V2.
    TAB_V3 = V3.
    WRITE : / V3.
    WRITE : / TAB_V3.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • 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

  • 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

  • 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

Maybe you are looking for

  • Is anyone having problems with siri and mail servers?

    I'm in Colorado and am using a 4s on verizon.  Both yesterday and today I've had problems downloading mail from the servers. Both accounts are used as apple ID's and are tied to my icloud account. Siri has also been failing me yesterday and today.  I

  • USB, compact flash and N8

    I'm trying to connect a Nikon camera with compact flash via usb to my N8. I get the message "usb not recognized". I get the same when i remove the card and try to read it through a card reader. Any help? Camera: Nikon D700 Phone: Nokia N8 Card: Sandi

  • Using  -1= -1

    I have seen a view created by Oracle using -1= -1 in the where clouse why do we need for? EX: FROM GL_JE_JOURNAL_LINES_V WHERE set_of_books_id = 1001 AND batch_status||'' = 'P' AND (line_code_combination_id = 1172 AND line_period_name = 'Apr-07') AND

  • HT203180 Sync problems?

    I downloaded a tv episode from iTunes a week ago, and it plays on my computer, but it won't sync to my iPod nano.  It says that it cannot be played on my iPod, but I have bought other episodes from the same tv show and they sync and play fine.  Both

  • Chroma key filter...

    hi, I just need a quick rundown on how to use the chroma key filter in Final Cut Express 4. i'm a novice and have read the manual but i don't really understand it.. any help would be great Jess