Exit ME51N
Hi everyone ,
There is requirement that i have to put a check in PR creation . Like client is maintaining Pack size in basic data 2 (material master)
and they want that this master field should be compared with PR Quantity at the time of creation of PR .
so i found only one exit for ME51N and implemented the same , in exit i could not find the master field so i fetched it from MARA Table by passing the MATNR from PR. but thing is the warning message comes but when i change the PR quantity but it still shows the old one .
For eg :
MARA-NORMT is the field in which they are maintaining the Pack size suppose it is 10.
and PR QTY = 15 or 8 .
then it should give a warning msg that PR qty is not equal to pack size .
Then i change it to 10 lets say but it still shows that warning msg coz it is not updating the PR QTY .
thanks in advance .
I think the exit which was used is not called in right place. Find a suitable exit.
Reddy
Similar Messages
-
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,
HarinderHi,
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 -
User exit me51n change 'versions'
Hi there,
I'd like to ask which user exit for me51n to change 'Version' in level item detail to 'Set version in process' or 'Complete version' while user click save.
The reason behind this is to create PR as draft, and PR would not be delivered to be released. So user may have 2 option ("yes/no" option) to create PR, one as final release and two, ready to be released/approved. When user choose "yes" save as draft, user exit change its item 'versions' as 'Set version in process'.
The question would be, which user exit should be used and what function module to read and change its 'versions'.
Thanks,
Imerahi
LMELA002 Adopt batch no. from shipping notification when pos
LMELA010 Inbound shipping notification: Transfer item data f
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of r
M06E0004 Changes to communication structure for release purc
M06E0005 Role determination for release of purchasing docume
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., pr
MEFLD004 Determine earliest delivery date f. check w. GR (on
MELAB001 Gen. forecast delivery schedules: Transfer schedule
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery t
MM06E001 User exits for EDI inbound and outbound purchasing
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 in
These are the posible exits
Regards -
Screen-Exit ME51n or ME52n or ME53n
Hi All,
i am working on Screen Exit in ME51n
I have activated screen .
MEREQ001 Customers' Own Data in Purchase Requisition
in this enhancement i have added one field i want display the
do the calculaton on basis of quantity and need to display in this field .
Help me out ..
Regards,
MOHD>i did this things but the data is not capturing from
screen and vice-versa is happening .
can u pls guide me with simple example in screen PBO and PAI.
Regards,
MOHD. -
BADI / Exit ME51N SAVE button, modify items is possible
Hi all,
I have to save certain information in a PR items on having touched the button SAVE, have seen that passes for several exits, have the parameters type import.
The last exit for the one that passes is the EXIT_SAPLMEREQ_006, but it does not have parameters.
Would they know some exit or badi from where I could modify the items data on having touched the button SAVE?
Thanks.Hi Gautham,
I have already tried all the exits of MEREQ001.
But I see no any exit where can modify the data when press SAVE.
Thanks. -
Exit / BADI for ME51N / ME52N
Hi experts,
I have the following requirement:
1. In transactions ME51N / ME52N, the long text field for the item (Item Text) must be made read-only if the PR is already approved / released (release strategy indicator = '2').
2. The PR workflow approvers must recieve an e-mail if this text has been changed while the PR is still blocked / not fully approved (release strategy indicator = 'X').
I'm guessing both can be achieved through BADI implementations (in this case, IF_EX_ME_REQ_POSTED~POSTED), but I've read a lot about various Exits in these transactions, and now I'm not sure if this is the right one. Can you help me?
PS.: I'm not completely familiar with BADIs and Exits, so please bear with me on this.Thanks for the replies.
The MM consultant is still looking for a way to grey out the text field within SPRO. It's not an easy requirement
Regarding the text changes, I followed your advices and I'm now trying to implement my code within the exit EXIT_SAPLMEREQ_005 (it's triggered right after the user saves the document, so it makes sense). The problem now is that when this exit is called, the changes made to the item text are already committed, and I can't compare the new text with the old one.
I also tried implementing ME_REQ_PROCESS_ITEM, but it doesn't seem to be called from ME52N.
Isn't there a log for long text changes? It would be really easy to just read CDHDR / CDPOS and know if the text has been changed. Also, is this text the same text from material master? If it is, I guess it would be easier to log its changes, right?
Will appreciate your input on this.
Regards,
Leo -
PR creation for 'F" in ME51N, ME52n, the cost center field exit getactivate
Dear Gurus,
We have a Cost center Field exit activation, meaning when a PR is generated, the system will validate only for his department cost center. Its working fine
The issue, when we create PR through ME51n or me52n for Acct Assign "F" here we are going to enter only Work order number and GL number, not cost center. Still this field exit has activation, here the same error message popup, which suppose not to be.
So in MM configuration, i have disabled Cost center field for acct assignment "F".
Now when i create a PR for F, for single account assignment, the system will alllow, but if i want to distribute the qty to different work order, the system goes for validation for cost center field exit.
How to resolve for multiple assignment, how to deactivate the Cost center field exit for this case, its woking fine of Single account assignment (after disable the cost center field for Account Assignment "F")
Please help me out or any way to do this?
Regards
RS
Edited by: RS on Sep 14, 2009 7:40 AMHi,
Cross check you have Cost Center field is Hidden for Account Assignment Category A (Asset) in t.code:OME9. Now change Cost Center field as Display for Account Assignment Category A and save.
Now create a new PO with Account Assignment Category A and find the difference how Cost Center appearing in your PO in “Account Assignment” TAB.
Regards,
Biju K -
Purchase requisition , ME51N, user exit for change Release date
Hello.
Purchase Requisition ( transaction ME51N).
I want to change the value of u201ERelease dateu201C using user-exit EXIT_SAPLMEREQ_005.
CALL METHOD im_req_item->get_data
RECEIVING
re_data = get.
set = get.
set-frgdt = u2026..
CALL METHOD im_req_item->set_data
EXPORTING
im_data = set.
Next, in dynpro is visible the right value from EXIT_SAPLMEREQ_005, but when saving the system uses another value, not the value from user exit.
Do you anybody have some experiences with this problem?
LumirHi
The USer Exit you can use for the ME51n Tcode is by using Badi's.The Badi you can use is ME_PROCESS_REQ_CUST BADI.
Method to be used: PROCESS_ITEM
This link gives you a brief idea.Hope it helps you.
BADI for ME51N
Thanking you. -
Exit not working for enjoy transaction .. Me51n .
We are using Exit for assigning the number range to the PRs using M06B0004 and M06B0003 but its not picking the exit .
the same exit is working fine with Me51 transaction but for Me51n its picking up the standard number range . .Naval,
Check this note:
Note 316406 - ME51N no user exit for distributing the document no
Reddy -
Screen enhancement in ME51N - control is not passing to PBO and PAI of exit
HI ,
I am doing screen Exit for the Tcode : Me51N / Me52N.
I have to add 3 Text fields in item level, i am using Enhancement:MEREQ001(in CMOD).
Initially i added those 3 fields in Structure CI_EBANDB.
Then i designed Screen in Screen Exit:SAPLMEGUI Screen Num:111.
Here in the PBO and PAI Module
MODULE STATUS_0111 , MODULE USER_COMMAND_0111.
the control is not going , i tried with break-point inside these modules.
But while executing ME51N , debugger is not working.
Code i wrote in both PAI and PBO
MODULE STATUS_0111 and MODULE USER_COMMAND_0111.
loop AT SCREEN.
screen-output = '1'.
screen-input = '0'.
MODIFY SCREEN.
endloop.
I need to display the three screen in Display format not in editable format.
Thanks and Regards,
Prakash KHi
You need to write the code in PBO of that screen based on TRANSACTION TYPE.
there is a method call 'get_transaction_state' from this you will get the transaction type (H - create , 'V'- change 'B' -display) at run time.
If run time transaction type = B
LOOP AT screen.
IF screen-name eq c_name . "field names
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
endif. -
SAP Standard Exits for ME51n/52n/53n
Hi Friends,
Please tell me is there any SAP standard Exits for Purchase requisition Me51n/me52n/me53n..
Thanks in Advance..........
Ravihi
this are
following enhancements that u can use
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
MM06E011 Activate PReq Block
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
welli mstill searching for that particular enhancement for ur requirment if i found i will let u know
this the enhancement that u can use
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
in this
u can use the following componets
EXIT_SAPLMEQUERY_001
EXIT_SAPLMEQUERY_002
also there is one more
MM06E005 Customer fields in purchasing document
Cheers
Snehi
Edited by: snehi chouhan on Jul 31, 2008 1:32 PM -
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 -
Need exit for ME51N G/L account number automatically populated
Hi ,
i have the issue with Enhancement.
<b>The requirement is in the tcode ME51N or ME52N .</b> They will enter maerial and Qty ,Plant, Purchase group.
i need to get G/L account number with respect to Purchase group automatically.
pls do the need ful if u know the procedure...
regards
deviTransaction Code - ME51N Create Purchase Requisition
Exit Name Description
MEREQ001 Customers' Own Data in Purchase Requisition
No of Exits: 1
Transaction Code - ME52N Change Purchase Requisition
Exit Name Description
MEREQ001 Customers' Own Data in Purchase Requisition
No of Exits: 1
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
Please go through the following link which will help you understand the exits in a much better way:
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
http://sap.niraj.tripod.com/id21.html
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
http://www.sap-img.com/ab038.htm
User Exits.
http://www.erpgenie.com/sap/abap/code/abap26.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
customer exits
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
Menu Exit.
http://www.sappoint.com/abap/spmp.pdf
http://www.sappoint.com/abap/userexit.pdf
http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
http://www.sapdevelopment.co.uk/enhance/enhanceh
Rewards if useful.........
Minal -
User Exit for Purchase Req. ME51N
Hi,
In ME51N, I would like to default some value for the field BPUEB.
Is there any user exit for such purpose?
Many thanks.
Regards,
ChrisHi Chris,
These are the available exits and badis.
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
o.of Exits: 1
o.of BADis: 3
Impliment the coding and put the break points.
********Rewards some points.
Rgds,
P.Naganjana Reddy -
User Exit for ME51N Transaction
Hi folks,
I have a requirement regarding ME51N Tocde. If the user enters the internal order number in ME51N, while creating Purchase Requisition, the corresponding cost center should be displayed in the cost center field by default. I have found one user exit which will be useful for this. I wrote the code and feteched the Cost Center value in the exit EXIT_SAPLMEREQ_005. But i dont field any paramet for sending the Cost center value here. Could any body suggest me how to proceed now...How can i display the cost center value, using this Exit....
Thanks in advance,
Shyam.Hi Shyam,
You can find the user exit using the following method:
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
5. Then run your transaction ML81N.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
Hope this solves your query.
Regards,
Saumya
Maybe you are looking for
-
Script not working in SharePoint content editor webpart
Hi All, <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script language="javascript" type="text/javascript"> $(document).ready(function () { //Call your function here like //retrieveListItems(); ExecuteOrDel
-
Create a mobile application for view BW reports.
I want to create a mobile application with MDK for viewing BW reports. It is possible ?
-
Screen malfunction when zoomed in and VGA is connected
When streaming an internet broadcast using the Silverlight plugin, I zoomed in on my screen (using Cmd, Option, and =, to zoom the screen) so the broadcast would fill the entire screen. All was fine, until I connected my VGA adapter to the projector,
-
What is going on with UIScrollView
Hi everyone, I defined my own ZoomScrollView Class as a sub-class of UIScrollView and find something I do not understand. Here is my code: #import <UIKit/UIKit.h> @interface ZoomScrollView : UIScrollView { @end and #import "ZoomScrollView.h" @impleme
-
Is it possible to select a subset of rows from a Numbers table?
I know I can use the COUNTIF, SUMIF, AVERAGEIF functions to operate on a subset of rows in a Numbers table based on a condition. What I would like is to be able to use other functions, for example the MAX and MIN functions. For example, give a table