Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

why don't the function module dump?

Former Member
0 Kudos

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?

12 REPLIES 12

Former Member
0 Kudos

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

0 Kudos

hello Dave,

I see. But I tried it in another SAP system and the program dumped. What the reason cause the difference?

0 Kudos

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

matt
Active Contributor
0 Kudos

UmaDave - please spell words in out FULL. "You" not "u".

matt

0 Kudos

The FM raised an exception....that might give you a dump.

Former Member
0 Kudos

Check whether FM is getting executed or not. There will be no dump , in case FM is not getting executed.

0 Kudos

Hello Bhalla ,

I debug the program. Actually , the code of function module is executed.

BTY, the system is new upgraded .

Former Member
0 Kudos

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

kesavadas_thekkillath
Active Contributor
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

doubble clik on the function module from program and activate, & try.

zashok

0 Kudos

-> 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.