ME52N user exit.

Hi
I use user exit SAPLXM02      0111 in transaction ME52N to add new Tab.
How can I get the fields value of the others SAP standard Tabs like Account Assignment Valuation Material Data u2026.in my exit.
thanks
Zvika

Hi,
1) CMOD--> Enter you enhancemet name --> Display --> Click components
2) In componets you can able to see include tables like CI_EBANDB, CI_EBANDBX and CI_EBANMEM.
3) Double click and include table CI_EBANDB and maintain new fiels.
4) Implement PR additional tab enhancement  wtih reference to  SAP Note 407975 (i.e. PO enhancement)
5) for referring SAP note use (http://service.sap.com/)
Thanks & Regards
Sudheer Madisetty

Similar Messages

  • Transactions ME51N & ME52N user exits - saving requisitions

    Hi all. 
    I have a new requirement for disallowing transactions ME51N & ME52N from saving purchase requisition records that have more than one line items associated with each of them.
    Basically upon the user clicking on the 'Save' icon I have to first check the purchasing group screen field (MEREQ3211GRID-EKGRP) of the captured purchase requisition at each event instance.  If the purchasing group matches the one I check for (i.e. the configured one) and the purchase requisition also has more than one line item associated to it then I should skip the posting functionality for this specific purchase requisition and then issue an error dialog message to the user telling him/her that such a transaction is not alllowed.
    Please help me to find the following:
    1) The user exit/BADI to use in order to implement such a change.
    2) The data objects or internal table/(s) that I may use in order to count the number of captured line items for each purchase requisition (e.g. via the 'DESCRIBE' command).
    Thanks in advance!

    Hi Venkatesan,
    I have looked at the definition of this BADI via se18.  The interface has a few parameters which also reference other types higher up in the hierachy.
    Which method do you think would be ideal in order to do the following:
    1) Get the item data count as captured by the user via the transaction ME51N?
    2) Get the item data count as collected from the database (i.e. as previously captured) and changed by the user via transaction ME52N?
    I have to then make changes exactly at these points.
    Thanks again!
    Edited by: L J Langa on Apr 16, 2009 3:00 PM

  • User exit or badi for me52n transaction.

    Hi all,
           i have a requirement to write a user exit or badi for me52n transaction. the requirement is in header section, only one plant should be accepted. that is in the first row one plant will be inserted. in the second row if we are inserting another plant other the first row plant, it should not accept it and it should raise an error.
    that is from the second row onwards, every plant should match with the first row plant.
    if any part of this issue is unclear, plz let me know so that i can explain it clearly
    this is urgent requirement.
    please let me know the solution as soon as possible.
    points will be awarded.
    thanking u in advance.
    A.srinivas.

    In this version exit EXIT_SAPLMEREQ_005 should exists (look at OSS <a href="https://service.sap.com/sap/support/notes/843446">Note 843446 - MEREQ001: Cannot call up external service data in user exit</a> this note refers to the exit and is applicable in  4.70. Look also at OSS <a href="https://service.sap.com/sap/support/notes/310154">Note 310154 - ME21N/ME51N: Customer-specific check, generating error log</a>
    Regards

  • USER EXIT for TCODE ME51N,ME52N

    Hi Expers,
    I have one requirement, If you go to TCODE ME51n, ME52N, ME53N,  we will get one ALV grid . So user will change the layout according to his intrests & will save that layout.
    While saving that layout we will get 2 checkboxes
    1>User specific
    2>Default setting.
    So here my requirement is to disable "default setting" check box, sice users are not allowed to set default setting because it affects other users.
    Please help me to solve this issue & provide me user exit for the same
    Regards,
    Santhosh

    Hi,
    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 PO
    MM06E008  Monitoring of contr. target value in case of release orders
    These are all the user exits you have in the ME Package. Identify the exit which is suitable to fulfill your requirement.

  • User Exit ME51N/ME52N/ME53N  when save purchase requisition

    Hi,
    I want to validate purchase requisition  data for release startegy. If there is no value for release startegy .Then ME51N/ME52N/ME53N populate a custom message before saving.
    I have found the Enhancement MEREQ001.Can anyone help me to find the exit because there are 10 user exit for this enhancment.
    Thanks in advance,
    Harinder

    Hi,
    Follow the following steps to find the EXIT
    1. Open transaction SE24.
    2. Now open the object CL_EXITHANDLER in display mode.
    3. Go to the method tab and double click on the method GET_INSTANCE.
    4. Put a break point on cl_exithandler=>get_class_name_by_interface.
    5. Now execute the transaction you want to find EXIT for, it will take you to the above method.
    6. Write EXIT_HANDLER in fieldnames and hit enter, it will tell you the EXIT used for your transaction.
    7. Hit F8 and it will tell you all the EXITu2019s for your transaction.
    Now put break points in each user exit and check which one gets triggered for your transaction.
    Regards,
    Manish

  • ME52N: Determine if restore delete indicator is set from user exit

    Hi all,
    My most recent dilemma involves tcode ME52n. I want to restore a line item that has been deleted on a purchase requisition. When I drop into my user exit I want to test to see if the user is attempting to restore the deleted line item...how do I do that? It seems if I use the okcode for the screen I am picking up the save...
    As always...thanks in advance,
    Mat

    Hi all,
    My most recent dilemma involves tcode ME52n. I want to restore a line item that has been deleted on a purchase requisition. When I drop into my user exit I want to test to see if the user is attempting to restore the deleted line item...how do I do that? It seems if I use the okcode for the screen I am picking up the save...
    As always...thanks in advance,
    Mat

  • User Exit when save Purchase Requisition (ME51N and ME52N)

    Hy Everyboby,
    I want to know an enhancement point/user exit activated when saving a Purchase requisition to control all item amount for a budget check.
    So anyone can help me ?
    Thanks in advance.

    Hi All,
    i am working on an enhancement where in i need to enhance the transactions ME41,42 , ME51n, 52n and ME21n and ME22n.
    the requirement is whenever a PR is created/modified (ME51/52) and a business document is attached to it, then the same business document should be available in the RFQ created for this PR as an attachment. and the same flow should happen while creating the PO using the RFQ. I am unable to find a correct user exit for this requirement. kindlyreply me if you have any solutions for it.
    your help is very much appreciated.
    thanks,
    Mohan

  • ME51N / ME52N - need special user-exit

    Hi there,
    I'm looking for an user-exit oder BAdI in transactions for creating and changing purchase requisitions. I have to write the data of an item into the ABAP-memory EVERY TIME a new position is selected. The BAdI I found is only processed when a position has changed some data.
    But I really need the user-exit every time a position/item is displayed, also in starting the transaction directly with a purchase requisition.
    Thanks a lot.
    I DON'T NEED A BIS LIST OF ALL EXITS IN THIS AREA - THX
    Kind regards
    John

    Hi,
    Try these...
    Enhancement/ Business Add-in            Description
    Enhancement
    MEREQ001                                Customers' Own Data in Purchase Requisition
    Business Add-in
    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
    No.of Exits:          1
    No.of BADis:          3
    Arunima

  • How to turn greyish/disable a field in ME52N/ME53N (working on a user exit)

    Hi experts,
    simple question: I'm working on an user exit that is used by ME5?N, and I'd like to do something like:
    "looping on the items of a purchase req., if position X has a particular value as attribute, then don't allow any change to the field PSTYP".
    I can easily implement the check in the code of the user exit; I don't know how to turn grey/disable for any change the field PSTYP at screen as a consequence of a positive check. Can anybody guide me thru this - I hope simple - operation? Thanks in advance

    You will not get any answer here, Post your question in correct section after mark this thread as answered
    Oracle Discussion Forums » Oracle Database » Application Express

  • User exit for changing PR Item No. (me51n/me52n)

    Hi Guys.
    I need to change indexing for Purchase Requisition Items from 0010 to 1000 (first will be 1010, second 1020, etc).
    I try to use USER-EXIT MEREQ001 > EXIT_SAPLMEREQ_003.
    When i CALL METHOD im_req_item->set_data it does not change field BNFPO (PR Item No.).
    But another fields change fine.
    Any ideas?
    Edited by: andriy.hulyk on Dec 7, 2011 4:06 PM

    Hi,
    Did you try ME_PROCESS_REQ_CUST - PROCESS_ITEM  method.
    Thanks,
    Shailaja Ainala.

  • User Exit for ME52N with Purchase Requisition number & line item number

    Does anyone know which user exit I could use to get at the purchase requisition number and line item number when I am trying to change a PR.  I see various exits with im_req_item but when I code a popup in the include it is not appearing.  I am just not finding the right exit.

    You can use enhancement MEREQ001, function exit EXIT_SAPLMEREQ_005. This enhancement description gives impression that it can only be used if you have custom fields but it can be used even when you don't have custom fields.

  • BADI/user exit for ME21N - Warning message for "our reference" field

    Dear all,
    I have a problem.
    In ME21N, I need to show a warning message (message w... ) when user enter an already-used-before input in "Our reference' field (EKKO-UNSEZ).
    I've tried in two methods.
    1. Using fm EXIT_SAPMM06E_004. But it can only works for Error message. My warning message never shows up.
    2. Tried to implement classic BADI ME_PROCESS_PO_CUST, using the PROCESS_HEADER method. Got the break-point spot on, but still didn't show the warning message.
    Why is my warning message always got override?
    Please advise.
    Thanks in advance
    Ahmad

    Hi Ahmad,
    Check the below links:
    Unable to put Warning messages in ME21N and ME22N in Exit / BAdI in ECC 6.0
    Warning message in me22n check user-exit can't process?
    Custome warning message in T. code me51n me52n & me21n , me22n
    Regards,
    Nisha Vengal.

  • User exit/ BADI ME*N

    Hello,
    first the situation and then my question.
    I have to implement a search help exit on knttp. I know the search help and have implemented the exit.
    Know i need proccesing data in the exit of the purchase.
    For example:
    I start ME22N,
    then i push F4 on KNTTP in position screen.
    Then i have to check the field BSART in header screen to decrease the result of search help with a condition on BSART.
    my opinion for a good solution is to find a user exit or badi in the process of displaying the purchase and set a static attribute of a new implemented Z class. To get this parameter in searchhelpexit create an instance of this class and get this attribute.
    The release is 4.6C so i can't implement an enhancement point.
    At time of Badi processing ME_PROCESS_PO_CUST - subscribe there are no purchase data in access.
    I need the information of the purchase header at the time of showing this purchaseorder, and when you change the purchase order.
    This changes have to be implemented in the enjoy transactions ME21N,ME22N, ME23n, ME51N,ME52N, ME53N.
    Thank you in advance.
    Best regards,
    Dennis
    Edited by: Dennis Goerke on Dec 8, 2008 3:33 PM

    My Problem, was i have no information about the purchase order in the searchhelp exit so i can't process a check on the field BSART.
    But i have found  two badis for my problems.
    ME_PROCESS_REQ_CUST
    and
    ME_PROCESS_PO_CUST
    There is the Method OPEN, which is execude at opening the purchase or requisision.
    There i can cast the header data and write a static attribute.
    Then i can create an object in search help exit to access the attribute, so i can do a check on BSART in this search help now.
    Thanks for your answer.
    best regards, Dennis

  • User Exit For PR Create and Change

    Hi,
       Please help me for finding User Exit while creating Purchase Requisiton(Me51/Me51n)  and aslo changing Purchase Requisiton(Me52/Me52n).
    Mainly i want to exit for validating Plant and material code while creating and changing PR.
    Thanks,
    Sunil sahoo

    Hi,
    Use the exists
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition release
    Regards,
    Nandha

  • MEREQ001 User Exit Problem for ALV Columns.

    Hello,
    I am using this user exit to make changes to the Purchase requisition enjoy transaction. There is an ALV used for item details and if you use the customer CI_EBANDB include in EBAN table you can see those fields available in the alv and you can add them up using change layout.
    To make these fields editable as they remain in display always inspite of the fact that you use ME51n or ME52n.
    MM --> Purchasing --> Purchase Req -->Define Scree Layout at document level.
    is the configuration required as per a previous mail thread in the forum. However when i go to spro i am not able to see those new fields which i have added for KEY FIELD selection. Am i missing something or has anybody before done this... Could anybody guide me with the step by step process.
    Regards,
    Shekhar Kulkarni

    Hello,
    In 46C, I checked and found no user exits / BADIs for your requirement. If you are very keen of this feature, may be that you have to modify the SAP standard. Not a good option.
    Regards, Murugesh AS

Maybe you are looking for