06-28-2010 8:47 AM
one funciton module in the program.
like:
CALL FUNCTION 'Z_AA_CHOKA_XXX'
EXPORTING
F_IP_GJAHR = WK_GJAHR
F_IP_NENDO_KBN = TMP_CHAR
F_IP_BETU16_KBN = CNS_BETU16_KBN.
actually. only parameter F_IP_GJAHR is defined in the SE37.
extend check error:
The "EXPORTING" parameter "F_IP_NENDO_KBN" is not defined in the function module
interface "Z_AA_CHOKA_XXX" as a "IMPORTING" parameter.
It is strange, when I run the program, no dump happen. It should be dump as I expected and tested in other system.
What's the reason or there are some configurations?
06-28-2010 9:16 AM
Hi ,
It happens. Nothing strange.
If you try commenting a parameter which is defined as mandatory in se37 then it will definitely dump. Try out.
Regards,
Uma Dave
06-28-2010 9:37 AM
hello Dave,
I see. But I tried it in another SAP system and the program dumped. What the reason cause the difference?
06-28-2010 9:55 AM
are u working with same data in both the systems ?
eg :
assume System A : where it is not giving the dump
System B : where it is giving the dump
1 >there might be a scenario that when executed in A there is no data that u are passing in the extra parameters, wheras the data is present in the parameters when executed in B
2 > Are the A and B of same version ? I am sure they would not be.
There happens lot of changes as the SAP version changes.
eg In some SAP standard function modules/BAPIs you will find parameters declared without any type , which is again strange but it not something strange , it gets allowed a far as that version is concerned.
I hope you understand.
Regards,
Uma Dave
06-28-2010 12:53 PM
06-28-2010 1:26 PM
06-28-2010 9:21 AM
Check whether FM is getting executed or not. There will be no dump , in case FM is not getting executed.
06-28-2010 9:41 AM
Hello Bhalla ,
I debug the program. Actually , the code of function module is executed.
BTY, the system is new upgraded .
06-28-2010 1:48 PM
I guess the parameter validation is brought about in the ECC version which will result in a dump for a invalid paramter while it was allowed in the older 4.6x versions.
Vikranth
06-28-2010 8:35 PM
In the program flow the function module will not throw the dump.
But will be indicated in SLIN.
I think this happens in ECC Verions.
for ex the fm F4_DXFILENAME_TOPRECURSION has a exporting parameter FILEOPERATION
This param is not available in ecc6 , but still the fm works fine without dump.
06-29-2010 7:41 AM
Hi
F4_DXFILENAME_TOPRECURSION has that parameter in IMPORT tab., and also available in ECC 6.0. We r using EhP 4 package. It is available.
FILEOPERATION LIKE DXFIELDS-FILEOPER
Regards
Karthik
Edited by: karthikeyan palaniayya on Jun 29, 2010 8:41 AM
06-29-2010 9:59 AM
doubble clik on the function module from program and activate, & try.
zashok
06-29-2010 10:44 AM
-> hi UmaDave ,
I create one test program. it is very simple and have very short code.
same data is passed to the function module in both A and B system. And I deleted all the code in function module, only parameter is left.
System B: ECC 6.0 system for testing with unicode
System A: ECC 6.0 system (upgraded from 4.6b) without unicode
also, I created a new program and function module in 4.6b. I found in 4.6b SAP doesn't check for the FM parameter.
I guess if SAP also doesn't check for the FM parameter after upgrade without unicode.