ME21N - Error
I am tring to create a PO for article AAAA and Vendor YYY for a site and I am getting a ABAP dum
Overflow during the arithmetical operation (type P) in program "SAPLXM06)
I am able to create the PO to other sites though with same as above details. The only thing that seems different is the layout module. The error seems to be some calculation error from the BOM etc...
Does anyone know what is happening?
Hi,
This may be a database problem and basis consultant can help you to fiix it based on ST22.
Regards,
BK
Similar Messages
-
In ME21N error-Purchase order item still contains faulty account assignment
Hi
While creating the PO in ME21N the following error occurs.
"Purchase order item 00010 still contains faulty account assignments"Hi,
Details you have provided for account assignment in item detail is not faulty or not sufficient.
If you are charging PO to a cost center, check for cost center and GL account.
If you are charging PO to network....check for GL account, network and activity.
sk. -
ME21N Error "Address Doesn't Exist AM010"
Hello All,
I run into this error where when creating a Purchase Order using ME21N, marked the line item as free item, during save I get the error "Address Doesn't Exist". It doesn't seem to be of any error relating to the Purchase Order. Does anybody knows the reason which the system will generate this error?
Thanks.Hello Dzez,
Thanks for the effort but I have already maintained the Vendor Address. I have another Vendor but I can create "Free Item" PO without any errors. It is a real pain as I need to create the Purchase Order urgently.....
Thanks. -
ME_PROCESS_PO_CUST allows save in ME21n - error message triggered
All,
Purchase order is getting saved even though there are error messages triggered via BADI in the POST method.
I've tried both:
MMPUR_MESSAGE_FORCED 'A' 'ME' '303' TEXT-001 '' '' '' .
MMPUR_MESSAGE_FORCED 'E' 'ME' '303' TEXT-001 '' '' '' .
Still the purchase order gets saved when the save button is clicked.
Any ideas
MeghnaHi Meghana,
You can use method CHECK. I am using CHECK method and able to raise a error message.
Sample code I am using is as follows:
DATA i_items TYPE purchase_order_items.
DATA: wa_item LIKE LINE OF i_items ,
lv_if_item TYPE REF TO if_purchase_order_item_mm ,
lt_itm_data TYPE mepoitem ,
lv_table_count TYPE i .
To get Header Data
ls_header1 = im_header->get_data( ).
To get item data
CALL METHOD im_header->get_items
RECEIVING
re_items = i_items.
Get actual line item data using Hask Key for line item
READ TABLE i_items INTO wa_item INDEX 1. --- you can use LOOP as per your requirement
lv_if_item = wa_item-item.
CALL METHOD lv_if_item->get_data
RECEIVING
re_data = lt_itm_data.
IF ( v_result > 10000 ) . " If the difference between net-prices is more than 10000 then gives Error message
MESSAGE e368(00) WITH 'Tolerance is more than $10000' .
ENDIF.
Let me know if you need further help.
Thanks & Regards,
Anil Salekar -
ME21N - error during service PO creation - "Please enter a service"
Hi,
PR was created with reference to agreement. When we try to create PO, below error appears. Apparently service code, text are available so this error does not make sense. Have you come across such a situation ?
Thanks,
SankarRoot cause was a mess up from the user. The user has linked multiple line item services from contract (OA) to single line in PR. System does not stop at PR level. But throws this error at PO creation level. User has recreated the PR and all OK.
Wrong process:
OA item 10 - PR item 10
OA item 30 - PR item 10
OA item 60 - PR item 10
Correct process:
OA item 10 - PR item 10
OA item 30 - PR item 20
OA item 60 - PR item 30
Moreover error does not happen in ME59 (automatic PO creation) even through the wrong process. -
ME_PROCESS_PO_CUST allows save in ME21n despite error message triggered
Hello MM Experts,
We have a business requirement to prohibit the use of account assignment "A" (assets) on 2 particular document types that are used by departmental end users that should NOT be allowed to buy assets. The purchase of assets is retricted to our centralized purchasing buyers who use a different document type.
We recently upgraded to ECC 6.0 from 4.6c, so we want to try BADi ME_PROCESS_PO_CUST instead of a user exit. We applied the BADi to ME21n and the developer referenced methods 'check' and 'save', as well as 'post' and 'close'.
Our new error message is successfully triggered when a check is done in ME21n (error says "Account Assignment "A" is only valid for PO's and CSO's). But, depending on the sequence of entry steps for required fields, when I use the save icon or do another check, the box "SAVE" or "EDIT" appears. You can then save the order and by pass the error message.
Other times, depending on a different sequence of entries in the ME21n screen, for the required fields, the correct box "HOLD" or "EDIT" appears and you cannot save the order with the incorrect account assignment A/asset (you can only correct it or hold it as a faulty order and correct later).
Thanks for any advice,
SuzanneDear Suzanna ,
In that case, you need to track all of the "action" or "button" in ME21N, you need to use "sy-ucomm" in the badi code to track all the check. like when you display a PO in ME23N than you switch to change mode, then the sy-ucomm = METOGG, and so on, tell the abaper to use sy-ucomm,there'll know about it. -
Purchase Order not getting saved
while creating Purchase Order iam getting the PO number while trying to change in ME22N system is throwing the error MSG *"Express document "Update was terminated" received from author "mm_SAP"*
clicking on the inbox iam getting
Transaction.. ME21N
Error Info... System error: error during insert in table EINA
(ME_CREATE_DOCUMENT)
Message class ME
Message no 807
Edited by: Praveensap23 on Feb 22, 2011 10:11 AMHi There
Get the help from ABAPer, he may help you to fix the issue.
Thanks
Senthil -
Error while saving a vairant in purchase order- ME21n
Hai friends,
While creating/saving a variant in create purchase order transaction(me21n) it is showing the error as " Not all radio buttons from radio button group FUNC were hidden". Can any one help me to fix this problem.
Thanks
HariHi,
Could you please implement the following sap-notes and restest
this issue.
923131 If you start a report w/ variant, radio buttons not hidden
962712 DB291 for saving a variant: Radio button group func
994798 Error DB 291 when saving variants
Thanks
Best regards
Erika -
Error message in ME21n / me22n (on save)
Hi Gurus
I need to raise a error message in ME21n for which I am using ZXM06U44 and EXIT_SAPMM06E_013
I followed this link to help me out... https://forums.sdn.sap.com/click.jspa?searchID=20007769&messageID=6723170
I am getting a information message even though I gave a message of type E. I tired two options:
1.
* mmpur_message 'E' 'ZV' '013' lv_lifnr lv_bukrs text-t00 text-t01 .
2.
MESSAGE e013(zv).
none of these was able to give a error message..Use BAdi:ME_PROCESS_PO_CUST
Method:PROCESS_ITEM/PROCESS_HEADER"As per your Requirement.
DATA : re_data TYPE mepoitem.
CALL METHOD im_item->get_data
RECEIVING
re_data = re_data.
"Check for account assignment cat only for "A" and "L".
IF re_data-knttp = 'L' OR re_data-knttp = 'A'.
GET PARAMETER ID 'KNT' FIELD re_data-knttp.
IF sy-subrc NE 0.
MESSAGE 'You are not aurthorized to use Account Assignment Category (Logit)L!!' TYPE 'E'.
ENDIF.
ENDIF.
I got Error Message in Incomplete log. -
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. -
Error Calling Data Provider for Return PO in Me21N Message Number FES011
Hi Experts,
I am trying to create a Return PO using ME21N. Im giving all the parameters and values. But While saving its generating an Error.
it states "Error calling Data Provider".
Message No. FES011
What could be the possible error . Any clues?
Thanks and Regards,
Selvakumar. Mhi,
Check with the Basis consultant....actually Data provider deals with the database..Also sometimes when the data provider doesnot provides the data...the error doesn't reach....
Pls check with the BASIS consultant....the netweaver part could be checked by ABAP consultant...
Also check the links:
http://msdn.microsoft.com/en-us/library/bb508810(SQL.90).aspx
http://help.sap.com/saphelp_nwpi71/helpdata/en/11/e8179b247e4720882512a04041491d/frameset.htm
http://sapnetweavernotes.blogspot.com/2008/04/sap-earlywatch-alert.html
Hope it helps....
Regards
Priyanka.P -
G/L Account Error While doing Purchase Order In ME21N
Hi,
While Doing Purchase Order in ME21N,i am getting the below error.Kindly help me.
G/L account 809001 cannot be used (please correct)
Message no. ME045
Diagnosis
Comparison of the field selection strings from the G/L account 809001 and the account assignment category F reveals that there is an incompatible combination of field selections for the field selection group 'Network'.
The G/L account field selection is stored in table T004F; that for the account assignment is stored in table T162K.
Procedure
Please enter a correct G/L account.
Thanks
SupriyaHi Supriya,
U will have to check the field status of account assignment category F in tcode OME9 and compare it with the Field status group that is assigned to GL 809001.
Kindly note that the field status has a prority in the following order.
Supress
Display
Required
Optional
Thus if the network field is suppressed in GL field status and option in account assignment category F, then the below error would come.
Regards,
Kiran -
Raise an Error message in ME21N
Dear All,
I am using user exit (SRVDET: EXIT_SAPLMLSP_040) to raise an Error message, it will terminate ME21N by the Error message. Did anyone know how to make it return to ME21N after an Error message...
I try to set screen to 500, 210...etc. but it seems make the program hung after leave screen. Any idea? Thanks a lot!
BR,
WellHi
Try to use the BADI ME_PROCESS_PO_CUST
and raise the error message
see the sample code
BAdI Name: ZCHECK_PO_LINE_ITEM (Implementation name) PO Account assignment
Definition Name: ME_PROCESS_PO_CUST
Interface Name : IF_EX_ME_PROCESS_PO_CUST
Implementing Class: ZCL_IM_BADIN_ACCOUNT_ASSGN
Method : PROCESS_HEADER
METHOD if_ex_me_process_po_cust~process_header .
DATA : re_data TYPE mepoheader.
*get the item data
CALL METHOD im_header->get_data
RECEIVING
re_data = re_data.
re_header = re_data.
IF ( re_data-bsart NE 'ZOC' AND re_data-bsart NE 'ZPC' ).
IF ( re_data-bsart <> 'ZIC' AND re_data-bsart <> 'UB' ).
IF re_data-bukrs NE '1001'.
MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'Use only Sipchem Company'
'Code for External Procurement'.
ENDIF.
ENDIF.
ENDIF.
ENDMETHOD.
Method : PROCESS_ITEM
METHOD if_ex_me_process_po_cust~process_item .
DATA: v_menge TYPE bamng, " PR Quantity
v_statu. " PR Status
DATA : re_data TYPE mepoitem,
re_data1 TYPE mepoaccounting,
re_accountings TYPE purchase_order_accountings ,
header TYPE purchase_order_accounting.
*get the item data
CALL METHOD im_item->get_data
RECEIVING
re_data = re_data.
IF ( re_header-bsart NE 'ZOC' AND re_header-bsart NE 'ZPC' ).
IF re_header-bsart EQ 'ZRL'.
IF re_data-konnr EQ space.
MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant create a Release order'
'without a reference to Outline Agreeement'.
ENDIF.
ENDIF.
IF ( re_data-banfn EQ space AND re_data-anfnr EQ space ).
MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You can create a Purchase order'
'only with reference to a PR or RFQ'.
ENDIF.
IF re_data-knttp NE 'K' AND re_data-pstyp NE '9' .
IF syst-cprog EQ 'RM_MEPO_GUI'.
IF re_data-uebto IS NOT INITIAL OR
re_data-uebtk IS NOT INITIAL OR
re_data-untto IS NOT INITIAL.
MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant change delivery settings'.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDMETHOD.
<b>Reward points for useful Answers</b>
Regards
Anji -
Hi,
we have developed a user exit to get error message when po value is greater than some amount in me21n tcode. am getting error message when entering all items. But when press SAVE button i want that error message also. But am not getting that error message in that time.How i can write a code for that.Hi Geetha,
For that requirement you have to code in EXIT_SAPMM06E_012 or EXIT_SAPMM06E_013 MM06E005.
EXIT_SAPMM06E_012 : it will get triggered whenever you press HOLD,CHECK or SAVE button
EXIT_SAPMM06E_013 : it will get triggered just before saving the PO.
Thanks & Regards,
Faheem. -
Am doing and enhancement on transaction ME21N. Where I am validating a price based on the Purchase requisition.
I implemented the BADI YWVKU_DETERMINE_SP and in method GET_SALES_PRICE I used my code.
I created a custom message class in se91 to display the error message when we run me21n. I get a short dump as follows
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
Please assistThis is part of the dump
Error analysis
Short text of error message:
General system messages
Long text of error message:
Technical information about the message:
Message class....... "ME"
Number.............. 000
Variable 1.......... "Price cannot be greater than 10% of PR"
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MESSAGE_TYPE_X" " "
"SAPLMEPO" or "MM06EF0B_BUCHEN"
"BUCHEN"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
Maybe you are looking for
-
How can I upgrade iTunes on my Apple TV using my laptop ?
My Apple TV is not starting but showing a big iTunes sign when I connect it to the TV via hdmi cable.. The sign shows an USB connection between Apple TV and iTunes. I guess it means that I need to update my iTunes version. How can I do it using my co
-
More than one online at a time.
I have an Airport Extreme and Time Machine using OS 10.5.4. Everything was fine, 2 or 3 laptops online at the same time, but all of a sudden only one at a time can be on - when a second goes online the first gets kicked off. I have no idea what I hav
-
Error when creating a new Reports Server instance
Hi, I have tried to create and start a new reports server instance using the following method: 1- Creating the report server instance: rwserver server=%newrepserver% start 2- Stopping the OPMN: *%ORACLEHOME%\opmn\bin\opmnctl stopall* 3- Adding a new
-
Before I bought the new iMAC I asked if Final Cut Studio 2 (Final Cut Pro 6.0) would work on this computer. I was told yes. I put the install disc in, and a message of powerpc discs will not work. However, in the folder (on the disc) it says system r
-
When I was running iOS 4.x on my iPhone 4 and my iPad 2, tethering the latter to the former was child's play. Since iOS 5, it's been a different story. The tether never happens without a lot of fiddling (restarting either device or both, toggling wif