‎2007 Jun 22 1:55 AM
hello all, i hope somebody could help me with this problem.
we have this program which is Unicode-enabled in the development
and test system. During testing in the test system, the program
gets an abap dump because one of its parameters is not defined
in the system:
CALL FUNCTION 'AUFBAUEN_MDPSX_ANZEIGEN'
EXPORTING
ECM61M = CM61M <----
this one
ECM61W = CM61W
ECM61X = CM61X
EMT61D = MT61D
ET399D = T399D
IMPORTING
IMDKP = MDKP
IMDSTA = MDSTA
TABLES
MDPSX = MDPSX
EXCEPTIONS
ERROR = 1
OTHERS = 2.
the same program (not yet unicode-enabled) is then run in the
production but successfully gives an output. the definition of
the function module (SE37) in the test system and in the
production is that same, ECM61M is also not defined as of one of
the parameters of the function module.
how come in the test system, there's an abap dump, but not in the
production?
please help! thank you
‎2007 Jun 22 2:10 AM
‎2007 Jun 22 2:23 AM
hello aRs,
thank you for taking time to read my post. here's the first few paragraph of the dump
<b>Function parameter "ECM61M" is unknown.
What happened?
Error in ABAP application program.
The current ABAP program "ZEXPLODE_BOM" had to be terminated because one
of the statements could not be executed.
This is probably due to an error in the ABAP program.
Function module "AUFBAUEN_MDPSX_ANZEIGEN" was called with the parameter "ECM61M". This parameter is not defined. this is the dump in the test system.</b>
i have checked the parameters in of this function module both in test sytem and production system. both are the same. but if you run program in the ZEXPLODE_BOM production, i do not get an abap dump. what could be wrong?
also take note, the program ZEXPLODE_BOM in the test system is unicode enabled, but not in the production yet.
thanks again!
‎2007 Jun 22 2:54 AM
Hi,
Just comment & check
CALL FUNCTION 'AUFBAUEN_MDPSX_ANZEIGEN'
EXPORTING
*ECM61M = CM61M " just comment this line check
ECM61W = CM61W
ECM61X = CM61X
EMT61D = MT61D
ET399D = T399D
IMPORTING
IMDKP = MDKP
IMDSTA = MDSTA
TABLES
MDPSX = MDPSX
EXCEPTIONS
ERROR = 1
OTHERS = 2.
‎2007 Jun 22 3:00 AM
hello aRs,
yes, you are correct. but the problem here is that. why does it happen only in the test system, where even in the production that parameter is not existing either. The program proceeds with its execution without a dump. It is supposed to get a dump because that parameter does not exist in the function module.
thank you!
‎2007 Jun 22 3:12 AM
Hi,
In development system compare the new version with old versions of your program, so that you can find who has last changed the code.
aRs
‎2007 Jun 22 3:25 AM
hi aRs,
this behaviour is so strange. all versions of the function module together with the program are aligned with one another from dev to production.
thanks again.