Skip to Content
0
Former Member
Aug 09, 2007 at 05:02 AM

Error in Posting GR (mb01)

54 Views

Hi Experts,

My user is encountering this error when she tried to define the delivery amount or qty.. and post it. I'm just wondering why they were able to post a GR before July even the amount is 7 digits. The user tried to breakdown the amount but there's still an error.

Is this something to do with the configuration? Though there was no changes in the configuration or any user exits connected to it.

I have checked the runtime error logs in st22 and released it. But until now those errors ar still n the list. Do you think that's the reason why they get errors?

Can I change the length of Rexwrt field? Exwert has a length of 13 characters and I want to change it to WERTV12 that has 23 characters.

they are using SAP release 4.0:

007650 DATA: REXWRT LIKE EXWRT.

-


> REXWRT = W-EXWRT + W-SALK3.

from SAP 6

DATA: rexwrt TYPE wertv12.

I don't get an error in DEV server. 



Overflow when converting from "1.08844e+013"
 
--------------
What happened?
--------------
 
The current ABAP/4 program "SAPLMBGB " had to be terminated because
one of the statements could not be executed.
 
This is probably due to an error in the ABAP/4 program.
 
----------------
What can you do?
----------------
 
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
 
To resolve the problem, contact your
SAP system administrator.
 
--------------
Error analysis
--------------
 
When attempting to convert the value "1.08844e+013",
an overflow occurred.
 
There is probably an error in the program
"SAPLMBGB ".
 
------------------------
How to correct the error
------------------------
 
Probably the only way to eliminate the error is to correct the program.
-
You may able to find an interim solution to the problem in the
SAP note system. If you have access to the SAP note system yourself,
please use the following search criteria:
-----------------------------------------------------------------------
 "CONVT_OVERFLOW"
 "SAPLMBGB " or "LMBGBFSU "
 "WERT_V_RECHNEN"
-----------------------------------------------------------------------
If you cannot solve the problem yourself, please send the
following documents to SAP:
 
1. A hard copy print describing the problem.
   To obtain this, select the "Print" function on the current screen.
-
 
2. A suitable hardcopy prinout of the system log.
   To obtain this, call the system log with Transaction SM21
   and select the "Print" function to print out the relevant
   part.
 
3. If the programs are your own programs or modified SAP programs,
   supply the source code.
   To do this, you can either use the "PRINT" command in the editor or
   print the programs using the report RSINCL00.
 
4. Details regarding the conditions under which the error occurred
   or which actions and input led to the error.
 
------------------
System environment
------------------
 
SAP Release.............. "40B"
 
Application server....... "prosap"
Network address.......... "192.168.0.80"
Operating system......... "Windows NT"
Release.................. "0"
Hardware type............ "PENTIUM"
 
Database server.......... "prosap"
Database type............ "INFORMIX"
Database name............ "PRO"
Database owner........... "sapr3"
 
Character set............ "E"
 
SAP kernel............... "40B"
Created on............... "May 25 1999 02:20:08"
Created in............... "NT 4.0 1381 Service Pack 3 x86 MS VC++ 11.00?"
Database version......... "inf INF_723_TC2"
 
Patch level.............. "400"
Patch text............... " "
 
Supported environment....
Database................. "INFORMIX 7.2*.*"
SAP database version..... "40B"
Operating system......... "Windows NT 0 4"
 
--------------------
User, transaction...
--------------------
 
Client.............. 400
User................ "SAPUSR_FI05"
Language key........ "E"
Transaction......... "MB01 "
Program............. "SAPLMBGB "
Screen.............. "SAPMM07M 0210"
Screen line......... 71
 
-----------------------------------------
Information on where termination occurred
-----------------------------------------
 
The termination occurred in the ABAP/4 program "SAPLMBGB " in
"WERT_V_RECHNEN".
The main program was "SAPMM07M ".
 
The termination occurred in line 779
of the source code of program "LMBGBFSU " (when calling the editor 7790).
 
-------------------
Source code extract
-------------------
 
007490                             W-BETRAG LIKE BETRAG.
007500
007510     DATA: RMENGE LIKE MENGE.
007520     RMENGE = 0 - W-MENGE.
007530     IF ( W-EXWRT IS INITIAL AND W-EXWOB IS INITIAL ) OR
007540        ( W-LBKUM < 0 AND ( W-SHKZG = H OR W-LBKUM < RMENGE ) ).
007550       PERFORM WERT_WERTPROPORTIONAL USING W-SALK3
007560                                           W-VERPR
007570                                           W-LBKUM
007580                                           W-PEINH
007590                                           W-MENGU
007600                                           W-WERTU
007610                                           W-BWSPA
007620                                           W-MENGE
007630                                           W-BETRAG.
007640     ELSE.
007650       DATA: REXWRT LIKE EXWRT.
007660       IF W-SHKZG = H.
007670         IF ( W-LBKUM > W-MENGE AND NOT W-SALK3 < W-EXWRT )
007680            OR NOT W-LBKUM > 0.
007690           W-BETRAG = W-EXWRT.
007700         ELSEIF NOT W-LBKUM < W-MENGE.
007710           W-BETRAG = W-SALK3.
007720         ELSE.
007730           RMENGE = W-MENGE - W-LBKUM.
007740           W-BETRAG = ( RMENGE * W-EXWRT ) / W-MENGE.
007750           W-BETRAG = W-BETRAG + W-SALK3.
007760         ENDIF.
007770       ELSE.
007780         RMENGE = W-MENGE + W-LBKUM.
----->         REXWRT = W-EXWRT + W-SALK3.
007800         IF ( RMENGE < 0 AND NOT REXWRT > 0 )
007810            OR NOT W-LBKUM < 0.
007820           W-BETRAG = W-EXWRT.
007830         ELSEIF NOT RMENGE > 0.
007840           W-BETRAG = 0 - W-SALK3.
007850         ELSE.
007860           W-BETRAG = ( RMENGE * W-EXWRT ) / W-MENGE.
007870           W-BETRAG = W-BETRAG - W-SALK3.
007880         ENDIF.
007890       ENDIF.
007900       IF W-BETRAG > MAXIMUM OR W-BETRAG < MINIMUM.
007910         MESSAGE E302 WITH 'WERT_V_RECHNEN' 'W-BETRAG'.
007920       ENDIF.
007930     ENDIF.

need your knowledge badly.... thanks!