on 05-27-2009 7:43 AM
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
Hi,
Try to reschedule the SPAM update again, i mean just repeat the phase.
let us know if you have any difficultie ASAP.
Regards,
Srinivas.korva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for reply instantly
But My problem is that, I am unable to execute Transaction code SPAM. when i try to run the T.code SPAM, screen display the ABAP Dump
Dump is as Follows
Runtime Errors CALL_FUNCTION_NOT_FOUND
Exception CX_SY_DYN_CALL_ILLEGAL_FUNC
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).
-
Then pleas suggest me how to execute the T.code SPAM
Thanks
Dear Ganesh,
At first uncar the sar files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have already mention that, I have follow all the procedure to upload the SPAM update, by using the T.code SPAM.but now i have problem that, I am unable to execute the T.cdoe SPAM.
when i am trying to execute the T.code SPAM, then it generate the ABAP Dump which were inform in previous message
Thanks
Hi,
Please let me know there you got this error.
Upload the support pack.
click on upgrade SPAM/SAINT
Run this in background.
if you get dump go back to spam and reschedule it.
if you have new system then set dialog and background process as per you System .Upgrade the kernel before applying patch.
Plese let me know if you have issue
thanks Rsihi Abrol
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.