Same Function module accessible in 4.6c but not in ecc6

Hi,
When I am calling the fm in a program with  parameter which is not defined in FM in SAP ver 4.6 C its not giving any dump, but the same thing when I call in ECC 6 its giving error message that field is not defined.
could any one tell me the reason behind the above senario.
thanks
bobby

Hi Aravinda,
The function module is the custom FM . While calling THIS fm we are passing the import parameter which is not defined in FM .  the problem is that the Program calling the FM is running in 4.6c but in ECC6 its giving dump i.e parameter not defined. Therefore my question is why its giving dump in ECC6 and not in 4.6c
thanks
bobby

Similar Messages

  • Function module table returning empty rows but export data is getting

    Hi,
    I am executing function module through JCO after setting importing parameter and when i retrieve the table i get table with empty data 0 rows but i am able get export parameter data . when execute the same function module in abap through sap gui i get table containing 5 rows. what may be the problem. please find below code 
          function = getDefaultJCoConnection().getJCoFunction("ZCRM_ICSS_PROJ_CUST_USR");
                function.getImportParameterList().getField("USER_ID").setValue("MLDL010");
                getDefaultJCoConnection().execute(function);
                exportTable = function.getTableParameterList().getTable("PROJCUSTLIST");
                int rowsNumber = exportTable.getNumRows(); // companies table number of rows
                log.error("rowsNumber----"+String.valueOf(rowsNumber));
      try
         if (rowsNumber > 0)
         int i = 0;
         do
         tempString="table valuesZCOMP_ID"(String)exportTable.getValue("ZCOMP_ID")"ZCOMP_SPC-"+(String)exportTable.getValue("ZCOMP_SPC")
                     + "table valuesZCOMP_DESC"(String)exportTable.getValue("ZCOMP_DESC")"ZPRICE-"(String)exportTable.getValue("ZPRICE")"---" ;
         log.error(tempString);
         while (exportTable.nextRow());
         catch (Exception th)
         log.error("The following error occured: while retrieving table values ", th);
    Do you have any idea where may be the problem
    Regards,
    Pavan
    Edited by: Pavan Reddy on Apr 10, 2010 4:46 PM

    Hi Pavan,
    This could be the case. The function module might be expecting a value converted into its format.
    By this, I mean that the function module might be expecting 0012345678 for 12345678 (Where data element of the ID is of type CHAR 10 ).
    Please check if it is so.
    Best Regards,
    Kris.

  • Gmail question.  I'm getting an error message that states my username or password are incorrect.  I haven't changed anything and the gmail is working fine on the mac book.  The mail function worked yesterday on the iphone but not today - any solutions??

    Gmail question.  I'm getting an error message that states my username or password are incorrect.  I haven't changed anything and the gmail is working fine on the mac book.  The mail function worked yesterday on the iphone but not today - any solutions??

    Try Restarting / rebooting  your Mac before doing anything more drastic..
    S.

  • MODIFY DB TABLE IS WRKING IN 4.7 BUT NOT IN ECC6

    Hi all,
    My belowe code is working in 4.7 BUT nOT IN ecc6.
    I am modifying the MARA-BISMT value as Blank.
    Pls suggest.
    REPORT  zmara_update.
    TABLES:mara.
    DATA: gt_mara TYPE STANDARD TABLE OF mara,
               gw_mara TYPE mara.
    SELECT-OPTIONS:so_matnr FOR mara-matnr.
    START-OF-SELECTION.
      LOOP AT so_matnr.
        SELECT SINGLE * FROM mara INTO gw_mara
          WHERE matnr = so_matnr-low.
        gw_mara-bismt =  ''.
        MOVE-CORRESPONDING gw_mara TO mara.
        MODIFY mara.
    IF SY-SUBRC = 0.
      COMMIT WORK.
      ENDIF.
      ENDLOOP.

    Hi ,
    Dont write select statement with in a loop.
    Declare a separete internal table and  validate the material the pass the value for Bismt.
    MODIFY MARA FROM table itab.
    COMMIT WORK.
    Rgds,
    Arun
    Edited by: Arun Prasath on Jun 22, 2010 8:59 AM
    Moderator message: DO NOT FOLLOW THIS ADVICE See below for reasons.

  • SSF function module to disable pop window but OTF data is not coming.

    Hi Experts,
    My requirement is to get the PDF from the SSF function module and email it and i don want to display the pop option
    I passed these parameters
    1.no_dialog = c_x.
    2.-preview = c_x.
    3.-no_open   = c_x.--|
    4.no_close  = c_x.---| if i add these two conditions i don get printer pop up but i don get the data for " job_output_info  " also.
    to this function module ,
    Please tell me how to get data into " job_output_info "  import parameter by not displaying the pop up for printer.
    Thanks and Regards in advance.

    Hello,
    we did it using the following code.
    DATA: w_ctrlop TYPE  SSFCTRLOP,
            w_return TYPE  SSFCRESCL.
      DATA ls_job_output_info TYPE ssfcrescl.
      DATA p_pdf_len          TYPE i.
      DATA pt_tlines          TYPE TABLE OF tline.
    (function_name is the name of the smartform)
    W_CTRLOP-GETOTF = 'X'.
    W_CTRLOP-NO_DIALOG = 'X'.
        CALL FUNCTION function_name
          EXPORTING
            CONTROL_PARAMETERS         = W_CTRLOP
            USER_SETTINGS              = 'X'
         IMPORTING
            JOB_OUTPUT_INFO            = ls_job_output_info
          EXCEPTIONS
            FORMATTING_ERROR           = 1
            INTERNAL_ERROR             = 2
            SEND_ERROR                 = 3
            USER_CANCELED              = 4
          OTHERS                       = 5.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        REFRESH pt_tlines.
        CLEAR:  p_pdf_len.
        CALL FUNCTION 'CONVERT_OTF'
         EXPORTING
            FORMAT                      = 'PDF'
         IMPORTING
            BIN_FILESIZE                = p_pdf_len
          TABLES
            OTF                         = ls_job_output_info-otfdata
            LINES                       = pt_tlines
         EXCEPTIONS
           err_max_linewidth           = 1
           err_format                  = 2
           err_conv_not_possible       = 3
           err_bad_otf                 = 4
           OTHERS                      = 5.
        IF sy-subrc <> 0.
        ENDIF.
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
           bin_filesize                    = p_pdf_len
           filename                        = p_filename
           filetype                        = 'BIN'
          TABLES
            data_tab                        = pt_tlines
         EXCEPTIONS
           file_write_error                = 1
           no_batch                        = 2
           gui_refuse_filetransfer         = 3
           invalid_type                    = 4
           no_authority                    = 5
           unknown_error                   = 6
           header_not_allowed              = 7
           separator_not_allowed           = 8
           filesize_not_allowed            = 9
           header_too_long                 = 10
           dp_error_create                 = 11
           dp_error_send                   = 12
           dp_error_write                  = 13
           unknown_dp_error                = 14
           access_denied                   = 15
           dp_out_of_memory                = 16
           disk_full                       = 17
           dp_timeout                      = 18
           file_not_found                  = 19
           dataprovider_exception          = 20
           control_flush_error             = 21
           OTHERS                          = 22.
        IF sy-subrc <> 0.
          MESSAGE s614(zef) DISPLAY LIKE 'E'.
      ENDIF.

  • Function module works correctly in debugger, but hangs otherwise.

    I am having an issue with a standard function module that 'hangs' when ran.  If i look in sm37, the calling job will just continuously run.  If i look in SM50, there aren't any sql statements which are bringing back large results, it seems to be running a large number of sequential reads against a certain table.  The odd thing is, if i break in this function module, then press F8 to continue, the function module successfully executes and the job finishes. 
    The function module in question is ISU_DUNNING_DEACT_INSTPL_0350, which i have attached to a dunning activity.  This function module SHOULD deactivate any active installment plans for the dunned account.  The FM is odd, as it calls another FM and does a hard EXIT, even though there is code below this line that it can never access. 
    If I set a breakpoint in the function module, and run FPVB (dunning transaction), it will break into the function module.  I can then press F8, the FM completes successfully, then the job completes.  If i do NOT break it (just run in background as normal), the job just continuously runs.  SM50 reveals reads to the BUT000 table (even though i cannot find any calls to this table in the fm).
    Any ideas?

    Nishikant,
    Thanks very much for the help. 
    I did this, and I can see where its getting stuck.  The following entries are repeated indefinitely (until i stop it )
          374 BUT000     FETCH       1      0
            3 BUT000     REOPEN             0 SELECT WHERE "CLIENT" = '120' AND "PARTNER" = '0007024125'
          420 BUT000     FETCH       1      0
            3 BUT000     REOPEN             0 SELECT WHERE "CLIENT" = '120' AND "PARTNER" = '0007024125'
          365 BUT000     FETCH       1      0
            3 BUT000     REOPEN             0 SELECT WHERE "CLIENT" = '120' AND "PARTNER" = '0007024125'
    If i double click the SQL statement, i see these details
    SQL Statement
      SELECT
        "CLIENT"
      FROM
        "BUT000"
      WHERE
    "CLIENT" = :A0 AND "PARTNER" = :A1
    Variable
    A0(CH,3)  = 120
    A1(CH,10) = 0007024125
    I caught it in SM50 where the read was, and it says the select exists in Function Pool SAPLBPT1.  I have done a search in this for anything containing BUT000, but have found nothing.  Any suggestions on how to find where this is occurring, or what might be going on?

  • Multiple calls of same function module do NOT initialize variables ?

    Hi all,
    ..so its my fist post here, this is a bit strange problem for me and maybe someone knows whats happening.
    So I have in SAP Solution Manager a function module 'Z', which calls a standard SAP class CL_SPROJECT_SOLAR_BASE_REPORT, which in turn calls the standard function module 'SPROJECT_GET_ADMIMP_SCREEN_BP'.
    During development, things worked fine, but now I run my Z-Program for more than one instance and even I do all FREE for the Class, apperently the function module SPROJECT_GET_ADMIMP_SCREEN_BP, which is called by the class CL_SPROJECT_SOLAR_BASE_REPORT, does not get it's variables from the global data of the function pool re-initialized, when it is called for the second, 3rd, ... time.
    This is a bit strane behavior for me, I would have expected that variables in a function module (or even in the global data of that function pool) get re-initialized each time that function module is called ?
    Actually, this is the only function in that function pool.
    Well, if not, does anyone has an idea how I can get the variables of this module pool re-initialized between the calls ? More concrete, the global data of function pool SAPLSPROJECT_SOLAR_ADMEVAL_BP define:
    DATA: g_v_with_var TYPE char1.
    In the function module line 36 (no reference to g_v_with_var, no module call, no changes to g_v_with_var before the IF-statement at all) it is querying:
      IF g_v_with_var IS INITIAL.
    So this is my problem, the second time I am calling the class  (which is 'free'ed and re-created between the calls) which calls this function module the 'g_v_with_var' is not initial and there seems to be no way to have it set to initial again ?
    So even thought this is in SolMan, I think the question & problem is a ABAP technical one ?
    Any thoughts, help or support would be very much appreciated,
    thank so much,
    Frank

    Hi Mae,
    ..thanks a lot for your fast reply, unfortunately there is only one function and no functions or forms at all for initializing. The variable I am fighting with is g_v_with_var and that is referenced only 4 times in the whole function pool:
    Global Data:   101 DATA: g_v_with_var TYPE char1.
    Function Module SPROJECT_GET_ADMIMP_SCREEN_BP (which is the only function module):
        36   IF g_v_with_var IS INITIAL.
       127       g_v_with_var = airep_true.
       193         CLEAR g_v_with_var.
    If in line 36 g_v_with_var is 'X', which it is always after the first call, the function will exit with an exception, so line 193 to clear it will actually never be executed...and it is not cleared  the next time the function module is called, so you never get back to have the function run...
    All the best,
    Frank

  • My apple tv will not authenticate my nba league pass login--I am in the United States and the same login/pw works for my iPad, but not for apple tv.

    My NBA League Pass login cannot be authenticated -- I am in the United States and the same league pass name and password are working for my iPad, but not for my apple tv.

    I have this same issue and am becoming quite upset. NBA has absolutely no contact information to call and resolve this issue. I just spent $139.99 and cannot connect to Apple TV, while the same login works just fine on my iMac and iPad. When I signed up, the information provided indicated that I could view live games on Apple TV. What the ****?

  • EBS Forms functional script runs fine in OpenScript but not from OTM

    Hi,
    I have an EBS forms functional test script which runs fine in OpenScript, but when scheduled from OTM, the web part runs fine but when it comes to forms, the script fails with the following error:
    Forms Object Not Found! XPath: //forms:window[(@name='NAVIGATOR')], Type: oracle.oats.scripting.modules.formsFT.helper.test.FormWindow, Cause: No Matches <Less>
    I have performed all the steps below already:
    1) Stopping the OATS Agent service and changing it to manual.
    2) Starting the command prompt and running the AgentManagerService command as mentioned in your forum.
    3) The console displays
    C:\>C:\OracleATS\agentmanager\bin\AgentManagerService.exe -c AgentManagerService
    .conf
    wrapper  | --> Wrapper Started as Console
    wrapper  | Launching a JVM...
    jvm 1    | Wrapper (Version 3.0.3)
    jvm 1    |
    4) I have added the test in the OTM with the following command line settings:
    -browser.type InternetExplorer -formsft.startup_timeout 30 -formsft.action_timeout 20 -formsft.response_timeout 10 -delayPercentage -1 -delayMin 0 -delayMax 5 -FormsAutomationEnabler.bat -enableForms true
    But each time the script fails, please note that my script has assets and they are placed within the script folder.
    Please help me on this at earliest.
    Thanks,
    Aarti

    Hello Aarti!
    I had the same problem and this steps help to solve the problem:
    You need to enable Forms Automation under agent. Please follow by below steps.
    1.open command prompt
    2.cd C:\OracleATS\agent
    3.FormsAutomationEnabler.bat -enableForms true
    4. Run script from OTM
    Attila

  • Can any one help me to configure the mysql table to enable user expiration to function, I have tryed most things, but not dates are being passed back to the data base from the form

    Im trying to build  user expiration into my registration form, but I cant get the form to send back the date registering.
    in my data base i have tried every thing from timestamp to datetime. I can get a timestamp but it is not functioning with the expiration?

    just have a look at my tutorial Login tables: installation & configuration where the required column attributes are explained and where you can obtain a fully functional SQL dump for a typical ADDT "login" and (optionally) "login_stats" table.
    BTW, "expiration" will have to be an "int" column.
    Cheers,
    Günter

  • Firefox 16.0.2 on Mac OS 10.5.8, Yahoo web-based mail not functioning properly. Can open msg but not reply, compose, delete....

    Everything was fine until January 17 2012. Tried clearing cache to no avail.

    Strange, I'm having the exact same problem on Jan 18 2013 (exactly a year later). I'm running Firefox 18.0 on MacOS 10.7.4. I tried clearing the cache, but that didn't help. I'm also seeing the same problem using SeaMonkey 2.15 on my Mac (which makes me think it isn't just my FF browser config), but I don't see the issue with Safari nor with Firefox 18.0 on my Windows-8 box...

  • I am using the same account for both my Apple TVs but not able to open the movie I purchased on both tvs?

    I have two Apple TV's one in my living room and one in our bedroom. I purchased a movie series on the tv in the living room but was not able to open on the tv in the bedroom. I am using the same account for both Apple TV's. Can anyone assist?

    Wecome to the Apple Community.
    For the avoidance of doubt, are you able to play the TV show on the Apple TV on which you bought it and it is a TV show and not a movie is it.
    What do you mean can't open it, what exactly happens.

  • It keeps changing the browser window, some programs in one window, others in another. How do I get everything back on the same window? I want this disabled but not sure how to do it, or how I even got it started.

    I'm not even sure what to call this or how it got started on my computer. There is one finder window for firefox, and another for other programs etc. I want them all back in the same finder window, please! What feature is this which got things split up, and how do I disable it?
    I am using an iMac with OS 10.6.3
    Thank you.
    [email protected]

    The Get Info. fields show up gray if the files is locked and iTunes knows it can't edit the file. Make sure the files are not marked as read only and, if necessary grant both your account and system full access to all files and subfolders of your media folder.
    You can set Part of a Compilation for multiple tracks from the Options tab of Get Info.
    See Grouping tracks into albums for tips on getting iTunes organized.
    tt2

  • Same SQL Statement Works in Data Service but not in its Input Port

    Hi Experts,
    I am using this query in one of my data service. Test execute success which returned:
                                            E      U      H     M      L
    2     Less Than 1 Week     0     0     0     0     0
    3     1 - 2 weeks          0     0     0     0      0
    4     2 - 4weeks          0     0     0     0      0
    5     More Than 1 Month     0     0     6     0     0
    However, when i copy the same query to the input port, enclosing it with "[my query]"
    Deployed and run it. I get an "Unspecified Error" message box prompted in the iView, and null pointer exception error in the log file.
    #1.5 #001A64CA3F5600660000034400001140000487DBB6D27A4D#1275277641800#com.sap.portal.visualComposer_NWBIKit_logger#sap.com/irj#com.sap.portal.visualComposer_NWBIKit_logger#TOMAS004#89896##n/a##37c590906c6711df8503001a64ca3f56#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Java###null
    [EXCEPTION]
    #1#java.lang.NullPointerException
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalQuerySql.processTemplateParams(BIRelationalQuerySql.java:40)
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalQuerySql.<init>(BIRelationalQuerySql.java:31)
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalFactory.newRelationalQuery(BIRelationalFactory.java:59)
    Any idea what is the mistake?
    Thanks in Advance,
    Sarah

    Hi Experts,
    I am using this query in one of my data service. Test execute success which returned:
                                            E      U      H     M      L
    2     Less Than 1 Week     0     0     0     0     0
    3     1 - 2 weeks          0     0     0     0      0
    4     2 - 4weeks          0     0     0     0      0
    5     More Than 1 Month     0     0     6     0     0
    However, when i copy the same query to the input port, enclosing it with "[my query]"
    Deployed and run it. I get an "Unspecified Error" message box prompted in the iView, and null pointer exception error in the log file.
    #1.5 #001A64CA3F5600660000034400001140000487DBB6D27A4D#1275277641800#com.sap.portal.visualComposer_NWBIKit_logger#sap.com/irj#com.sap.portal.visualComposer_NWBIKit_logger#TOMAS004#89896##n/a##37c590906c6711df8503001a64ca3f56#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Java###null
    [EXCEPTION]
    #1#java.lang.NullPointerException
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalQuerySql.processTemplateParams(BIRelationalQuerySql.java:40)
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalQuerySql.<init>(BIRelationalQuerySql.java:31)
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalFactory.newRelationalQuery(BIRelationalFactory.java:59)
    Any idea what is the mistake?
    Thanks in Advance,
    Sarah

  • Re-installing CS6 extended on same computer and says serial number correct but not for this computer

    Why doesn't Adobe recognize same computer on re-install?

    uninstall any cs6 files currently installed.
    run the cleaner, http://www.adobe.com/support/contact/cscleanertool.html
    restart your computer
    reinstall cs6.
    if you see any error messages, get a screenshot of attach it here.  (http://forums.adobe.com/thread/963429)

Maybe you are looking for

  • Warning message into Application log of Service request

    Hi Experts, I have a requirement where I am using Event handlers(CRMV_EVENT) to redetermine partners of a service request whenever certain values are changed in the transaction CRMD_ORDER. Partners will be retrieved from a custom table. In any circum

  • HP OFFICE JET 6600 HOW TO TURN OFF ECM ON FAX

    I receive error code 344 when I try to fax only to local numbers and I have lowered the fax speed to the lowest and then I receive an error code 350.  It suggest I turn off the ECM and I don't know how to access it to turn it off, can anyone tell me

  • QuickTime and iTunes video playing fullscreen on external monitor automatic

    Hello, on my Toshiba laptop with nVidia video card, I have an external monitor hooked up to the laptop. Every time I go to play video from QuickTime or iTunes, it plays the video at full screen size on the external monitor while also playing in the n

  • Video Screenshot Capture

    I need to capture a frame (pressing a button on stage) of a streming video coming from webcam in local system, and send this image to a DB when user confirms. How does AS do this? Is it possible in AS2? Thanks in advance!

  • Make a new UPDATE for Icloud

    We should be able to track our iphones even though they are off like the family locator and its not fair for us that we know mentally we are not going to get the phone back we need you guys to please update it so we could turn the phone back on autim