Error in ME21 (by User Exit MM06E005 in ME21N)
Hi All,
I am implimenting '<b>MM06E005</b>' User-Exit in <b>ME21N</b>.
I am using "<b>EXIT_SAPMM06E_006</b>" Function Exit.
I write following code in it:-
*& Include ZXM06U36
IF SY-TCODE = 'ME21N'.
LOOP AT TEKPO.
IF TEKPO-KNTTP = 'A'.
IF TEKPO-MENGE <> '1'.
MESSAGE 'Correct Quantity to 1' TYPE 'E'.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
I do not want to impliment SAPMM06E Screen Exit. This is activated when above Exit is activate.
Now when i use T.Code ME21N , I get correct results.
<b>But when i use T.Code ME21, after entring data in first screen & press enter , i get "<u>Runtime error DYNPRO_NOT_FOUND has occurred</u>" error.</b>
<u>If i deactivate the above user exit, then there is no error in ME21.</u>
<b>Please guide me how i impliment this exit or other exit for ME21N so that i will not get any error in ME21.</b>
Regards
Umesh
Hi Umesh!
Try to implement BADI ME_PROCESS_PO_CUST instead. This is for enhancements of the enjoy transaction. I fear, the old exits aren't called under every circumstance.
If you need exits in both transactions, then implement SMOD exits, too - but a different one (without dynpro extension).
Regards,
Christian
Similar Messages
-
User exit MM06E005 - Customer fields in purchasing document
Hi,
I am using user exit MM06E005 - Customer fields in purchasing document to validate the line items in PO and display the value at header level.
My requirement is when the user enters the line items and press enter the validated value should get populated at header level.I had included a tab (customer tab) in that the value should get displayed.
likewise for each and every line items the value should keep on changing.
And
I the field that i had added at header shows the value during the save but once we come out and enter again,it is not displaying the same.
Regards
ManojHi,
Indeed the exit which you have specified MM06E005 comprises the enhancement for customizing fields and screens associated with it. may be you might not have activated the screen associated with the exit. the screen might have been created but missed while activating.
Regards,
Jagath -
Changes are not showring up in PO User-Exit (MM06E005)
Hello Experts.
Iu2019m working on PO u2018MM06E005u2019 User exit. Iu2019m trying to capture PO Header, PO Items, Vendor General Data & Vendor PO Data. Iu2019ve got all the data what I need but whenever I made changes I donu2019t know for what reason those changes in Vendor PO Data are not showing up in I_LFM1 table. Since I_LFM1 is internal table of Vendor PO Data I think it should show the changes which I made but it doesnu2019t and still shows the same old data. Same problem is happening in I_EKPO & E_EKKO. Also at the end of transaction that changes get saved. Does anybody can tell me what am I doing wrong or what causing this problem?
Thanks.You may look at
- OSS [Note 407975 - MM06E005: Collective note: Examples for implementation|https://service.sap.com/sap/support/notes/407975]
- OSS [Note 496083 - FAQ: Customer enhancements (User Exits) in purchasing|https://service.sap.com/sap/support/notes/496083]
- [search sdn for MM06E005|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mm06e005&adv=false&sortby=cm_rnd_rankvalue#]
Regards -
Update termination error on coding in user exit EXIT_SAPLCOIH_009
HI All,
I am working on approval of a work order in IW32 for which I am coding within a user exit EXIT_SAPLCOIH_009 which gets triggerred at the time of saving the work order. This will update the AUFK table and send a mail to a recipient. But when I save the work order after approving it, it gives me an error saying "Update Termination error". I checked within the SM13 transaction and ST22 for dump analysis, it says "The ABAP/4 Open SQL array insert results in duplicate database records.". Can anyone tell me what could have gone wrong and how I can rectify this. Your help is greatly appreciated.
Thanks in AdvanceHello
This type of error will appear in three cases
1.when there is a record in the database and trying to insert another with the same number
2.If there is any inconsistencies in number ranges (check this only if you have changed the number ranges very recently)
3. If the output type and the output device is wrongly selected ( not the prescribed)
Analyse yourself.
Regards,
Prakash -
Error raising exception in user-exit for idoc_output_delvry.
Hi All,
When I try to raise an exception from the user exit (idoc_output_delvry),
I get an error message 'Assign Measurement unit to ISO code'.
Can you help me solve this issue.
Thanks in avance,
Disney.Michael,
Thanks for the quick response,
I did check in IMG, an entry is already there, the 'primary field' is checked,
USD is assigned to the iso code USD.
Regards,
Disney. -
How Transport Screen 0111 of User Exit MM06E005 from Development to Quality
Hi Gurus,
Greetings!!!
I have implement a Screen Exit MM06E005 for my PO Requirement (ME21N, ME22N, ME23N).
I am able to see the added screen details in my Development Client
However, after transporting the request to Quality, I am unable to see the screen.
When I check in Quality I got the details as 'the screen does not exist in quality'.
In development Server I checked that the screen is in Package ME and not in my Transport request.
Please let me know how to transport this screen(0111) to the Quality Server.
Thanks in Advance.
Regards,
Renwa.Hi Denny,
You please check this below things.
1) Check the screen is activated or not
2) May be you activated the screen and placed in different transport request
3) Deactivate all and keep then in another transport request and transport.
Regards,
Madhu. -
Hi,
Can any one help me for user exit in t-code ME21N PO.
I want get the Vendor Telephone from and update it in Communicatio tab at header level when I enter a value For Vendor field.
Please help me out in thisexcellent. so here goes:
the address data during ME21N/ME22N are read using the ADDRNUMBER which was found in LFA1(which itself was read with the vendor-number). the deails come from tables ADRC, ADRCT, ADRG. ADRC contains the telephone numbers. so here is what you can check: look at table LFA1 with your vendor number, get ADDRNUMBER and check in ADRC for the telephone.
after that run a trace in ST05 and check whether this sequence appears there ...
if you are truly talking of an 'ordinary PO', you should find this sequence. if you are talking STO, things are different. the difference could be anything: field-groups switched to 'invisible' in configuration (check in OLME), some bad coding in place ... but you will have to find the cause, not add another exit ... -
User Exit in ME51N & ME21N for checking stock at location
Dear All,
Requirement is to give error message while creatin a PR / PO for a material for whcih there is stock at XXXX storage location.
Is there user exit for checking stock whiel creating PR and PO waih will check stock at a particular storage location ?
OR any other way ..
Regards,
RakeshUser Exit
PR -
MEREQ001
PO -
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
ME_PROCESS_PO_CUST (BADi)
Hope the above helps.
Regards,
Vivek -
User exit for tcode ME21N and ME22N
Hi everyone
Can anybody tell me the user exits found in the tcodes ME21N nad ME22N, when saving a PO?
Regards
AnjaliAMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Individual customer source determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
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., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
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
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MM06E011 Activate PReq Block
LMEKO001 Extend communications structure KOMK for pricing
LMEKO002 Extend communications structure KOMP for pricing
If useful reward.
Vasanth -
Hi experts,
I have a requirement for Tcode ME21n.
if selected vendor number is not in particular company code then it should throw an error message.
plz suggest if any user exit/badi is there for this requirement.
Thnks n regards,
Ashmita SinghTry this bit in BAdI method PROCESS_HEADER.
DATA: lst_mepoheader TYPE mepoheader.
lst_mepoheader = im_header->get_data( ).
IF lst_mepohead-lifnr NE lst_mepohead-bukrs.
mmpur_message_forced 'E' 'ZFI' '000' tex1 txt2 txt3 txt4.
ch_failed = abap_true.
ENDIF.
Roy -
VA01-VA02 : Error message in a user exit / MV45AFZB
I everyone,
i want to add an error message in the exit "USEREXIT_CHECK_VBEP" (MV45AFZB) but when i do so it displays the following abend message :
"Incorrect index structure for table XMVERF_POS
/0000000222 /000030 " (V1322).
just after mine.
do you have any idea ?
Xavier.
PS : I use SAP ECC5Hi Xavier,
Here is the explanation when you get this type of error:
Short Text
Incorrect index structure for table &
Diagnosis
Internal error.
Procedure
Repeat the transaction.
If the error occurs and you have a CRM System connected to your ERP System, the document may have been archived in the CRM System.
If the error occurs again, inform your system administrator. If the error cannot be corrected, call the SAP Hotline directly. Describe which steps preceeded the error.
This is the long text description of that error message, so please let me know what next i mean whether you checked this and took the necessary action as explained above.
let me know if your problem still persists, else kindly close the thread.
Regards,
Yugandhar -
Display error message in SD user exit
Hi,
I want to display an error message in FORM USEREXIT_CHECK_VBAP. (Include MV45AFZB)
Afterwards, the user should be able to correct the wrong values, but the fields are locked because of the error message. How can I keep the relevant fields open?
Thanks in advance
RolandHi,
Instead of giving an error message...Probably give warning message..
If you give error message..It will lock the entries..
Thanks,
Naren -
Hi All,
I am trying to generate a BDC recording within a function exit. I have declared the BDCRECX1 include within the TOP include of the function group. But the include BDCRECX1 which actually contains all the FORMs also contains a selection-screen defined in it. I am not able to activate it because it gives me the following error "SELECTION-SCREEN statements can only be used between SELECTION-SCREEN BEGIN and END OF SCREEN (program type is not "1")" Is it because we are not allowed to define a selection screen between Function-Endfunction which defines a function exit?
Please let me know why this error is generated and the step to rectify it.Hi Nagaraj,
What Smitha is trying to accomplish here is reuse the subroutines that are available within the INCLUDE bdcrecx1.
Smitha - You cannot re-use the INCLUDE bdcrecx1 as it is, you will have to create a copy of it and take out all the code that relates to selection screen and reference to these selection parameters within the subroutines, as selection screen can be in programs type "1" - that is executable/report programs.
I guess you will need only the subroutines FORM BDC_DYNPRO USING PROGRAM DYNPRO. and FORM BDC_FIELD USING FNAM FVAL. just copy these routines into a new include. And you can use declare BDCDATA in the global data of the Function group.
If you ask me, i guess you could just write these 10-15 lines of code within the same include of the function exit and proceed rather than taking all this trouble.
Regards,
Chen -
Need User Exit which wll allow to display a error message
Hello All,
i need a User Exit in Tx ME21N .
When user try to drag multiple PR for PO at that instant only there should be an User Exit which will restrict the user to doing so with a error message.ME_CHECK_ALL_ITEMS
ME_CCP_ACTIVE_CHECK
MD_EXT_SUP
ME_DEFINE_CALCTYPE
MD_STOCK_TRANSFER
ME_PROCESS_PO_CUST
These are the BADIs gettting triggered while dragging the PR's to PO creation.
You can check any of these as per your requirement.
Check if the BADI 'ME_PROCESS_PO_CUST' is useful. -
User Exit - Purchase Order Create - Payment Exceeded
Hello All,
When i will to save the PO, i need to check payment budget.
I'm using the User Exit MM06E005/EXIT_SAPMM06E_012.
But when the error is about payment budget exceeded, the message is displayed before the program enter in the user exit. So, i can't check because the program do not enter in User exit.
How can i solve it?
ThanksHi ,
If ur craeting a accout assigned PO and ur getting the message caled , payment budget exceeded , then it means that,
that account which ur assigning has got some limit of Rs.
But ur total amount of PO is exceeding the limit and basically it s a functional issue, but if u want to ceck the exit for ur case then , what u can do is u craete a po whose total amount is less than that account limit.
Even i was facing the same problem, so what i did i try to crate a po with only one line item and qty 2 with price 100 Rs only , and that error will not come and u can chk ur exit smoothly.
If u face any problem , pls ask if i can reply u
Regards
Maybe you are looking for
-
What can i do? I have windows 8
-
What is SY-TABIX AND SY-INDEX. LOOP AT ITABLE1. WRITE : / ITABLE1-MATNR,SY-INDEX,SY-TABIX. ENDLOOP. The above codes displays 0 in sy-index place and 1,2,3...last record number in sy-tabix place How to find out total number of records in a databa
-
Netbeans + Open Remote Project
Greetings, I'm trying to open a project in NetBeans 5.5 that's stored on my company's network. The project is contained in a folder named 'myProject', and I'm certain that it would run correctly if I were only to open it the right way. When I go to [
-
HT1414 RESTORING IPHONE IN RECOVERY MODE
HOW DO I RESTORE MY PHONE IN RECOVERY MODE.... THERE IS SOMETHING YOU DO BY HOLDING HOME AND OFF BUTTON AT THE SAME TIME?
-
E recruitment -career and job Error u201CAn internal error occurred. Please try
Hi All The issue is E recruitment regarding career and job (internal candidate) in this page select candidate profile I am getting Error u201CAn internal error occurred. Please try again lateru201D (my client using BSP and Portal) I was checked T- c