cancel
Showing results for 
Search instead for 
Did you mean: 

SPAM dump ----- Function parameter "IV_BUFFERED" is unknown.

Former Member
0 Kudos

Hello everyone,

I met a dump when I run SPAM.

I would like to update the version of the SPAM. It takes long time during importing process. so I stop the transaction to run again and then this dump shows up.

I have update the kernel to release 7.2.1 and tried to fix it. But it still can not work. It is a little depressing. I am in the middle of the EHP6 upgrade by SUM. I don't want to re-install the system.:( please have a look at the attachment to see if you have any ideas about it. Thank you in advance

MORE info:

I checked SPAM by SE80 and I found the IV_BUFFERED parameter which has been mentioned in dump is missing in Export tab.

Runtime Errors         CALL_FUNCTION_PARM_UNKNOWN
Except.                CX_SY_DYN_CALL_PARAM_NOT_FOUND
Date and Time          23.07.2013 10:18:19
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Short text                                                                                        |
|    Function parameter "IV_BUFFERED" is unknown.                                                  |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What happened?                                                                                    |
|    Error in the ABAP Application Program                                                         |
|                                                                                                  |
|    The current ABAP program "CL_OCS_ENVIRONMENT============CP" had to be                         |
|     terminated because it has                                                                    |
|    come across a statement that unfortunately cannot be executed.                                |
|                                                                                                  |
|    Function module "OCS_GET_INSTALLED_COMPS" was called                                          |
|    with the parameter "IV_BUFFERED".                                                             |
|    This parameter is not defined.                                                                |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Error analysis                                                                                    |
|    An exception occurred that is explained in detail below.                                      |
|    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was               |
|     not caught in                                                                                |
|    procedure "SET_CURRENT_ENVIRONMENT" "(METHOD)", nor was it propagated by a                    |
|     RAISING clause.                                                                              |
|    Since the caller of the procedure could not have anticipated that the                         |
|    exception would occur, the current program is terminated.                                     |
|    The reason for the exception is:                                                              |
|    Function module "OCS_GET_INSTALLED_COMPS" was called                                          |
|    with the parameter "IV_BUFFERED".                                                             |
|    This parameter is not defined.                                                                |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Missing RAISING Clause in Interface                                                               |
|    Program                                 CL_OCS_ENVIRONMENT============CP                      |
|    Include                                 CL_OCS_ENVIRONMENT============CM002                   |
|    Row                                     1                                                     |
|    Module type                             (METHOD)                                              |
|    Module Name                             SET_CURRENT_ENVIRONMENT                               |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Trigger Location of Exception                                                                     |
|    Program                                 CL_OCS_ENVIRONMENT============CP                      |
|    Include                                 CL_OCS_ENVIRONMENT============CM002                   |
|    Row                                     44                                                    |
|    Module type                             (METHOD)                                              |
|    Module Name                             SET_CURRENT_ENVIRONMENT                               |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Source Code Extract                                                                               |
----------------------------------------------------------------------------------------------------
|Line |SourceCde                                                                                   |
----------------------------------------------------------------------------------------------------
|   14|                                                                                            |
|   15|    FIELD-SYMBOLS: <fs_component> TYPE comp_props.                                          |
|   16|                                                                                            |
|   17|    CLEAR: lv_upgdate, lv_upgtime.                                                          |
|   18|                                                                                            |
|   19|    REFRESH t_saprl_sel.                                                                    |
|   20|    saprl               = sy-saprl.                                                         |
|   21|    ls_saprl_sel-sign   = 'I'.                                                              |
|   22|    ls_saprl_sel-option = 'EQ'.                                                             |
|   23|    ls_saprl_sel-low    = saprl.                                                            |
|   24|    APPEND ls_saprl_sel TO t_saprl_sel.                                                     |
|   25|                                                                                            |
|   26|    valid_maint_cert = on.                                                                  |
|   27|                                                                                            |
|   28|    CALL FUNCTION 'UPG_IS_SHADOW_SYSTEM'                                                    |
|   29|      IMPORTING                                                                             |
|   30|        ev_shadow = is_shd_sys.                                                             |
|   31|                                                                                            |
|   32|    CALL FUNCTION 'SPAM_VERSION'                                                            |
|   33|      EXPORTING                                                                             |
|   34|        iv_current_system = on                                                              |
|   35|      IMPORTING                                                                             |
|   36|        version           = spam_version.                                                   |
|   37|                                                                                            |
|   38|    REFRESH t_pat06.                                                                        |
|   39|    SELECT * FROM pat06 INTO TABLE t_pat06.                                                 |
|   40|    SORT t_pat06 BY component patch_type.                                                   |
|   41|    DELETE ADJACENT DUPLICATES FROM t_pat06 COMPARING component.                            |
|   42|                                                                                            |
|   43|* software component description                                                            |
|>>>>>|    CALL FUNCTION 'OCS_GET_INSTALLED_COMPS'                                                 |
|   45|      EXPORTING                                                                             |
|   46|        iv_buffered      = iv_buffered                                                      |
|   47|      TABLES                                                                                |
|   48|        tt_comptab       = t_cvers                                                          |
|   49|        et_components    = t_components                                                     |
|   50|        et_complayer     = t_comp_layer                                                     |
|   51|        et_cvers_sub     = t_cvers_sub                                                      |
|   52|      EXCEPTIONS                                                                            |
|   53|        no_release_found = 1                                                                |
|   54|        wrong_release    = 2                                                                |
|   55|        OTHERS           = 99.                                                              |
|   56|    IF sy-subrc <> 0 AND                                                                    |
|   57|       iv_ignore_errors <> on.                                                              |
|   58|      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno                                     |
|   59|              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4                                      |
|   60|              RAISING internal_error.                                                       |
|   61|    ENDIF.                                                                                  |
|   62|                                                                                            |
|   63|* Software components which are controlled by SWF                                           |
----------------------------------------------------------------------------------------------------

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Problem has been solved. I can not run SPAM again due to the dump shows up.

I active the repository change permission in SCC4 and import it again by STMS and then it works.

Thank you to all for your advice!

Former Member
0 Kudos

Dear Cehn Wei

Thanks of your suggetion i chnage in SCC4 and my error is solved thanks;..

nainesh

9376998808

Answers (2)

Answers (2)

Reagan
Advisor
Advisor
0 Kudos

Hello

What is the status in Tx SPAM ?

If it is stopped with an error try to repeat.

You basically need to select the import option once again.

If it gets stuck with the same error then check the import logs.

Regards

RB

former_member188883
Active Contributor
0 Kudos

Hi Chen,

As per SAP Note 1597765 - Known problems with Support Packages in SAP NW 7.31 AS ABAP

These errors occur because the source code of the Support Package Manager is modified by the import during the run. CALL_FUNCTION_PARM_UNKNOWN, LOAD_PROGRAM_LOST, LOAD_PROGRAM_CLASS_MISMATCH, and LOAD_TEXTPOOL_LOST occur if the ABAP load or text elements are to be loaded back into the local buffer, and there is a different version in the database.

However, SAPSQL_SELECT_WA_TOO_SMALL, SAPSQL_SELECT_TAB_TOO_SMALL, SAPSQL_WA_TOO_SMALL, DDIC_STRUCLENG_INCONSISTENT, and RUNT_ILLEGAL_SWITCH  occur if changes are made to the SPAM/SAINT data structures with the SPAM/SAINT update.

Solution: None of these errors will occur again if you restart the Support Package Manager (transaction SPAM) and continue to import the SPAM/SAINT update.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hello Deepak,

I saw it. What does it mean restart Support Pachage Manager? I though it means running SPAM again.

Maybe I didn't get it exactly.

former_member189797
Active Contributor
0 Kudos

Hello Chen,

Are you able to access the transaction SPAM ??  If yes then just repeat the phase.

Regards,

Gaurav