SOS: Exit for ME51n/ ME52n/ ME53n/
hello erverybody,
at First i would like to implement the exit mm06e007 but i have no idea how to do it!!
have someone an example, coding or Tips,... ??
Second Problem :
how can I Overwrite the <u>Tapstrips name</u> using exit MEREQ001 ??
please i need a help!!
best regard
dani.
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/enhancehome.htm
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
Rewards if useful.........
Minal
Similar Messages
-
Activate text for Cost Center for ME51N, ME52N, ME53N
Hi, experts
As a requirement on T/C ME51N, ME52N, ME53N is needed to activate on "Account assignment" tab, the text for Cost Center field, how can I do this?
Thanks in advance.
Is there any path or exit could help with it?I need to add on Tabstrip "Account assignment" for fields
CO Area and Cost Center text field description ( right side ) for each one.
How can I do this? Thanks in advance. -
EXIT_SAPLMEREQ_003,006,008 FOR ME51N, ME52N,ME53N
I have to add a custom filed to EBAN table. Can anybody help me with the function exit_003,006,008 regarding code.
Functional Design:
Short description
Please enter a new
numeric field “Budget” (ZZ_BUDGET) on purchase requisition item level (EBAN) on
writer Customer Data and on purchase
order item level (EKPO) on writer Customer Data
Please place it above field Project Name.
Make sure that the description “Budget” is available in all languages.
As an amount of money
should be entered, please display field EBAN_WAERS in the Purchase requisition
and EKPO_WAERS in the Purchase order behind the new Budget field and format the
new field in the same way as NETPR (###.###,##).
If somebody filled the budget field in the purchase requisition, it needs to be shown in the purchase order.In Include ''ZXM02TOP'.
TABLES:ci_ebandb.
In EXIT_SAPLMEREQ_001 -> INCLUDE ZXM02U01
DATA : lw_preq TYPE mereq_item,
CALL METHOD IM_REQ_ITEM->GET_DATA
RECEIVING
RE_DATA = W_PREQ.
* Here Populate the ci_ebandb structure here with value from W_PREQ
Example ci_ebandb-zzcustom_fld = W_PREQ-zzcustom_fld
In Exit - EXIT_SAPLMEREQ_003 -> Include ZXM02U03
DATA: w_preq TYPE mereq_item.
* Assign value from ci_ebandb to W_PREQ
Example W_PREQ-zzcustom_fld = ci_ebandb-zzcustom_fld.
CALL METHOD im_req_item->set_data
EXPORTING
im_data = w_preq..
EX_CHANGED = 'X'.
Make sure your screen field should have the name with ci_ebandb.
Additionally you can write PBO and PAI logic for screen 111..
Let us know any further help. -
Field in ALV for ME51N/ME52N/ME53N
Hi.
I want to include a field in the ALV of transactions for purchase requisitions. I have already enhanced the structure CI_EBANDB with the new fields, so the fields are already in MEREQ3211GRID.
What else I have to do to have this fields available in the ALV with the "Change Layout" option.
Thanks in advance.
Joaquin.Hi.
I want to include a field in the ALV of transactions for purchase requisitions. I have already enhanced the structure CI_EBANDB with the new fields, so the fields are already in MEREQ3211GRID.
What else I have to do to have this fields available in the ALV with the "Change Layout" option.
Thanks in advance.
Joaquin. -
Additional Data in Header Level for ME51N / ME52N / ME53N
Dear Gurus,
I have one requirement related to apply enhancement for additional fields in purchase requisition header level.
After searching a lot , I dint found any solution for this.
Does anybody have any solution for this.
Regards,
Shibashis.I need to add on Tabstrip "Account assignment" for fields
CO Area and Cost Center text field description ( right side ) for each one.
How can I do this? Thanks in advance. -
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 -
Screen Exit for ME51N and ME52N ??
Hi all,
I have to replace the standard Field "Requisitioner" in the CONTACT Tab with a Z table field with Search help and I have to make it mandatory, so that the user MUST enter the Requisitioner and its F4 help can be used from the Z Table field.
For this i need to modify standard program's screen using screen exit.
How can i meet the requirement?
Any sugegstions are welcomed...Helpful answers will be rewarded for sure..
Thanks in advance,
Regards,
TejasCheck the threads -
User Exit or BADI for ME21N or ME51N
ME51N user exit
Screen Exit for ME51N
Regards,
Amit -
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 -
Display descriptions of cost center and G/L account in ME51N/ME52N/ME53N
Hi Experts,
Can any one suggest that how to display descriptions of cost center and G/L account in account assignment subscreen- ME51N / ME52N / ME53N.
Thanks in Advance...
Sivahi
if the field is required then u have to enter them manually
so if this are not required then goto OKB9 here give the default cost center for the Gl acct -
Change the name of custom tab in me51n / me52n / me53n
Hi,
I have to add a few custom fields in PR item of transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fields that I have added using the enhancement MEREQ001 while displaying in me51n / me52n / me53n.
Now I have a requirement to change the name of the custom tab created for transactions me51n / me52n / me53n from Customer Data to Others.
Can anyone suggest me how to go about doing this???
Thanks in advance.
Abhisek.
P.S.:- Points will be be duly awarded 4 helpfull answers.Hi,
I tried doing whatever you had suggested but it seems that it is not working.
Could you suggest some other way to do this?
Thanks and regards.
Abhisek. -
Enhancement in ME51n, ME52n, ME53n,
Hi experts,
I want to add one tab in Purchase requisition screens(, ME51n,ME52n,ME53n). In that tab i need to add some fields. i need to do using MEREQ001 . Can any one tell me how to do it? please......
Thanks
siva
Moderator message: please do more research before asking, show what you have done when posting.
Edited by: Thomas Zloch on Feb 14, 2012Hi,
You can't use the BADI " ME_PROCESS_REQ_CUST.
The main purpose of this badi is use to validate the PR at different levels. If you see the methods of that BADI for eg :
1. Process_header : This for validating the header part.
2. Process_item : This for validating the line item details.
Like that there are so many methods are there inside this BADI.
You mentioned that you deactivated the Existing Project of PR and i want to know in which package you have mentioned.
If that existing project is not needed you can delete the old one and incoporate the new logic and the old logic in the new project.
Hope you got some idea now.
With Regards,
Sumodh.P -
ABAP runtime error while doing ME21N, ME22N, ME23N, ME51N,ME52N, ME53N
Dear All Expert,
I am facing problem while doing ME21N, ME22N, ME23N, ME51N,ME52N, ME53N,
Please find the below ABAP Runtime Error.
Runtime Errors LOAD_TYPE_VERSION_MISMATCH
Date and Time 10.02.2011 11:13:07
Short text
Change of a Dictionary structure at runtime of a program.
What happened?
Runtime error
The current ABAP program "CL_IM_WRF_MM_PROC_PO==========CP" had to be
terminated because one
of the statements could not be executed at runtime.
What can you do?
Restart the program.
If the error persists, contact your SAP administrator.
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
Error analysis
The ABAP runtime system detected that the Dictionary-type "WRF_POHF_KOMP_STY"
changed
during the flow of the transaction.
As the type was already used in the old version
and in the new type should be used in the same transaction in the new
version, the transaction had to be cancelled to avoid inconsistencies.
How to correct the error
Try to restart the program.
System environment
SAP-Release 700
Application server... "iqe"
Network address...... "172.25.0.85"
Operating system..... "Linux"
Release.............. "2.6.9-55.ELsmp"
Hardware type........ "x86_64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "iqe"
Database type..... "ORACLE"
Database name..... "IQE"
Database user ID.. "SAPSR3"
Terminal................. "MUMJML5727"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Dec 26 2010 20:17:07"
create on........ "Linux GNU SLES-9 x86_64 cc3.3.3"
Database version. "OCI_102 (10.2.0.2.0) "
Patch level. 285
Patch text.. " "
Database............. "ORACLE 10.1.0.., ORACLE 10.2.0.., ORACLE 11.2...*"
SAP database version. 700
Operating system..... "Linux 2.6"
Memory consumption
Roll.... 16192
EM...... 25139088
Heap.... 0
Page.... 40960
MM Used. 8038136
MM Free. 4528408
User and Transaction
Client.............. 600
User................ "JKMM"
Language key........ "E"
Transaction......... " "
Transactions ID..... "4D524AD1FD7A42F9E1000000AC190055"
Program............. "CL_IM_WRF_MM_PROC_PO==========CP"
Screen.............. " "
Screen line......... " "
Information on where terminated
The termination occurred during generation of the ABAP/4 program
"CL_IM_WRF_MM_PROC_PO==========CP".
The termination occurred in line 213
of the source code of program "CL_IM_WRF_MM_PROC_PO==========CM007" (when
calling the editor 2130).
Source Code Extract
Line SourceCde
183 DATA: l_flag TYPE wrf_pbas_boolean.
184
185 CALL FUNCTION 'WRF_POHF_MSG_READ_PREVIEW_FLAG'
186 IMPORTING
187 e_preview_flag = l_flag.
188
189 IF NOT l_flag IS INITIAL.
190
191 DATA: l_header TYPE REF TO cl_po_header_handle_mm.
192
193 MOVE im_header ?TO l_header.
194
195 CALL METHOD l_header->if_output_mm~preview( ).
196
197 CALL FUNCTION 'WRF_POHF_MSG_RESET_PREV_FLAG'.
198
199 ***$ Widening Cast for printing information.
200 ** CALL FUNCTION 'WRF_POHF_STORE_PRINT_INFO_SET'
201 ** EXPORTING
202 ** im_header = l_header.
203
204 * Printing Preview
205 * IF NOT gv_preview IS INITIAL.
206 * CALL METHOD l_header->if_output_mm~overview( ).
207 * CALL METHOD l_header->if_output_mm~preview( ).
208 * clear gv_preview.
209 ENDIF.
210
211 * ENDIF.
212
>>>>> ENDMETHOD.
Internal notes
The termination was triggered in function "ab_RxDdicStruShareFailed"
of the SAP kernel, in line 2539 of the module
"//bas/700_REL/src/krn/runt/abtypload.c#11".
The internal operation just processed is " ".
Internal mode was started at 20110210111306.
Name of the changed type......: "WRF_POHF_KOMP_STY"
New version of the type.......: 20070508193207
Old version of the type.......: 20070508193207
New user......................: "Type" "WRF_POHF_KOMP_STY"
Version of the new user.......: 20070508193207
Old user......................: "???" "???"
Version of the old user.......: "???"
Active Calls in SAP Kernel
Lines of C Stack in Kernel (Structure Differs on Each Platform)
(CTrcStack2+0x78)[0x6cbb78]
(CTrcStack+0xb)[0x6cc17b]
(ab_rabax+0x3be5)[0xb8d985]
(_Z24ab_RxDdicStruShareFailedPKtm4RUDIS0_S1_S0_+0x163)[0xb16823]
(_Z19ab_GetDdicTypeIndexPKtm4RUDI+0x1f6)[0xb0dbb6]
(_Z11ab_LoadViewPtjPKtPK11PROGRAMHEADPj+0x27e)[0xb16ede]
(_Z18ab_GetDdicTypeLoad4RUDI+0x6e)[0xb1705e]
(ab_GetView+0xc1d)[0xb0ee1d]
(_Z20CompressInitRcByDatajPK6CG_DIRjjS1_jj4RUDIPKhj+0x60d)[0xe32b2d]
(_Z21cg_CompressStackFrameP4TRIGjj+0x169)[0xe33399]
(_Z8cg_blkleP3ENV+0x75f)[0xe4779f]
(_Z9sc_cblklePKt8ENV_KINDP7SC_INFO+0x394)[0xe90024]
(sc_blkle+0xdd)[0xec6e4d]
(rs_oper_abap1729+0x37)[0x10eb237]
(rs_expan_abap+0xa1996)[0xfd7a2a]
(_Z8sc_expanj+0x76d)[0xe1d55d]
(_Z5parsejPi+0x258)[0xe19998]
(sc_check+0xb9c)[0xe1857c]
(sc_inclu+0x5fa)[0xe0d50a]
(rs_oper_abap2160+0x3a)[0x1115d6a]
(rs_expan_abap+0xcd41d)[0x10034b1]
(_Z8sc_expanj+0x76d)[0xe1d55d]
(_Z5parsejPi+0x258)[0xe19998]
(sc_check+0xb9c)[0xe1857c]
(sc_checkStart+0x41)[0xe1ac51]
(cg_generate+0xb65)[0xe57755]
(ab_gabap+0x14a)[0xb01a5a]
(dy_gen_abap+0x63c)[0x74428c]
(ab_genprog+0x13d3)[0xb03d13]
(_Z17ab_LoadProgOrTrfoPKtjPj+0xb56)[0x8f9ab6]
(_Z11ab_LoadProgPKtj+0x11)[0x8f9ca1]
(_Z15LoadGlobalClassPKtjjj9ClasState+0x24c)[0x958c2c]
(_Z11FillCfixIntPK4CREFP4CFIXjj9ClasState+0x214)[0x957404]
(_Z11ab_FillCfixtj+0x65)[0x957ae5]
(_Z26ab_CrefToCladId_ActivateOKtPh+0x7d)[0x957b6d]
(_Z8ab_jaboov+0x623)[0x959793]
(_Z8ab_extriv+0x607)[0x8ba9c7]
(_Z9ab_xeventPKt+0x1c1)[0xa1c021]
(_Z8ab_triggv+0x9c)[0xa1c77c]
(ab_run+0x97)[0xbde5c7]
(N_ab_run+0x9)[0x736359]
(dynpmcal+0x669)[0x7333b9]
(dynppai0+0x8eb)[0x734d9b]
(dynprctl+0x3e9)[0x733db9]
(dynpen00+0x4a5)[0x726eb5]
(Thdynpen00+0x359)[0x541bd9]
(TskhLoop+0xc49)[0x54d999]
(ThStart+0x20f)[0x55b29f]
(DpMain+0x2da)[0x4bd49a]
(nlsui_main+0x9)[0x4910c9]
(main+0x33)[0x491103]
/lib64/tls/libc.so.6(__libc_start_main+0xdb)[0x3cde51c3fb]
Please help me to resolve the issue.
Thanks & Regards
SKKread this part again: The ABAP runtime system detected that the Dictionary-type "WRF_POHF_KOMP_STY" changed during the flow of the transaction. As the type was already used in the old version and in the new type should be used in the same transaction in the new version, the transaction had to be cancelled to avoid inconsistencies. How to correct the error Try to restart the program
how often had you restarted ME21N before you posted this message?
In best case this message appears only once, because the program / or dictionary was changed while you executed ME21N
If many times, then contact your ABAPer, because then he probably did not transport all objects that were changed, or the objects have to be regenerated in your system. -
Screen exit for ME51N in header
Hi friends,
Is there any screen exit for ME51N(Purchase requisition) in header level.I found MEREQ001 enhancement, but this is for item level.please help.
regards,
Thoufique.Hi Thoufique,
try the following screen exits:
EXIT_SAPLMEREQ_001 Export Data to Customer Subscreen for Re
EXIT_SAPLMEREQ_002 Prepare Customer Subscreen for Requisiti
EXIT_SAPLMEREQ_003 Import Data from Customer Subscreen for
Also, for more help on your problem, refer to the following link:
Re: re: screen exits
Hope this will help you... -
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 -
Availability Overview in ME51N, ME52N, ME53N
Hi,
When I go to the menu path Environment -> Availability in transactions ME51N, ME52N or ME53N, nothing happens. The expected behaviour is the display of availability overview as in transactions ME21N, ME22N, ME23N.
I found the same thing to happen in several SAP systems. What is the reason behind this strange behavior?
Thank you.
Helpful answers will be rewarded.Availability check only possible for stock transfer items
Maybe you are looking for
-
Hi, I'm a relative newbie--just got a mac pro 2.66 and added two additional seagate sata 7200.10 500 gig drives that I striped together using disk utility and set at 0. My intention? to do video and animation editing and use the additional satas to r
-
This started for me 1/17/2011 on the savingsbank.com website: Firefox (latest versions) on both Mac 10.6 and Windows 7 show "this Connection is Untrusted" on my bank site https://www.savingsbank.com NO other browsers - Explorer, Chrome, Safari - give
-
Does SAP system provide 3 way matching report from PO up to payment in AP
Dear expert, Would like to seek for your help to advise, does SAP system provide 3 way matching report from PO up to payment in AP with the following information? Vendor Number Vendor Name AP Document Number AP Document Date Payment Document Number
-
Business Intellience and Data Archiving
Once you have implemented Data Archiving, what are the possible ways of allowing BI standard and custome extractors to look at both SAP ECC online and archived data (the archived data sits on Open text). How do you deal with BI complete reload and re
-
ABAP Program : Execution problem
Hi Guys! I have a problem during the execution of a program. Ive created a new program that merges two programs into one program named ZWORXX0020XX with t-code ZWOXX30XX.I've run the program via SE38 (ABAP Editor) and everything's fine then when i r