Skip to Content
avatar image
Former Member

why don't the function module dump?

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Jun 28, 2010 at 08: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 28, 2010 at 08:21 AM

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Bhalla ,

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

      BTY, the system is new upgraded .

  • Jun 28, 2010 at 12: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

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2010 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Jun 29, 2010 at 08:59 AM

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

    zashok

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

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