Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

Unable to execute SPAM T.code

$
0
0

Hello everybody

i have just try ti upload the SPAM patch KD70033.SAR, but at the import following error is rises and herewith the log details. so please suggest me how to solve this problem

 

Runtime Errors         CALL_FUNCTION_NOT_FOUND

Except.                   CX_SY_DYN_CALL_ILLEGAL_FUNC

Date and Time          27.05.2009 11:11:40

 

 

Short text

    Function module "OCS_SET_ENVIRONMENT" not found.

 

 

What happened?

    The function module "OCS_SET_ENVIRONMENT" is called,

    but cannot be found in the library.

 

    Error in the ABAP Application Program

 

    The current ABAP program "SAPLSPAM" had to be terminated because it has

    come across a statement that unfortunately cannot be executed.

 

 

Error analysis

    An exception occurred that is explained in detail below.

    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was

     not caught in

    procedure "SPAM_SYNCHRONIZE_PAT03_TEPSIN" "(FUNCTION)", 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:

    The program "SAPLSPAM" contains the CALL FUNCTION statement.

    The name of the function module to be called is "OCS_SET_ENVIRONMENT".

 

    No function module exists with the name "OCS_SET_ENVIRONMENT".

    All function modules are listed in the Function Library (SE37).

    -

 

    Possible reasons:

    a) Wrong name specified. Pay particular attention to

       upper/lower case and underscores ("_").

 

 

 

How to correct the error

    Check the last transports to the SAP System.

    Is the program "SAPLSPAM" currently being changed?

    If an enqueue/dequeue module is involved, is the activation

    of the lock object missing in the ABAP/4 Dictionary?

 

 

    If the error occures in a non-modified SAP program, you may be able to

    find an interim solution in an SAP Note.

    If you have access to SAP Notes, carry out a search with the following

    keywords:

 

    "CALL_FUNCTION_NOT_FOUND" "CX_SY_DYN_CALL_ILLEGAL_FUNC"

    "SAPLSPAM" or "LSPAMU27"

    "SPAM_SYNCHRONIZE_PAT03_TEPSIN"

 

 

    Function modules with names similar to "OCS_SET_ENVIRONMENT":

 

    OCS_SET_ENVIRONMENT

    OCS_MODIFY_ENVIRONMENT

    OCS_MODIFY_ENVIRONMENT_FROM_Q

    OCS_RESET_COMPONENT

    OXDEP_WU_ELEMENT_SET

    OCS_GET_SFW_COMPONENTS

    OCS_GET_SUB_COMPONENTS

    OCS_SETNAME_COFI

    OCS_SETNAME_DATA

    OCS_GET_COMPONENT_STATE

 

 

 

Information on where terminated

    Termination occurred in the ABAP program "SAPLSPAM" - in

     "SPAM_SYNCHRONIZE_PAT03_TEPSIN".

    The main program was "SAPMSPAM ".

 

    In the source code you have the termination point in line 430

    of the (Include) program "LSPAMU27".

    The termination is caused because exception "CX_SY_DYN_CALL_ILLEGAL_FUNC"

     occurred in

    procedure "SPAM_SYNCHRONIZE_PAT03_TEPSIN" "(FUNCTION)", but it was neither

     handled locally nor declared

    in the RAISING clause of its signature.

 

    The procedure is in program "SAPLSPAM "; its source code begins in line

    1 of the (Include program "LSPAMU27 ".

 

 

 

After the error occurred in i have just back to the SAP Easy access code, then again try to run the T.code SPAM then the above said error occurred. so please suggest me how to solve the same

 

 

 

Thanks


Viewing all articles
Browse latest Browse all 5139

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>