Errror while executing transaction code ME23N
hi,
Errror occurs while executing the transaction code ME23N
error message as follows:-
YOU ARE NOT AUTHORISED TO EXECUTE PROGRAM SAPLMEPO
PLEASE SUGGEST SOME SOLUTIONS TO IT.
Hi,
Execute transaction ME23N. WHen you will get message for no authorization, enter /nSU53 in command field. System will display missing authorisation object frm your roles. Give this authorisation object along with values (or provide screeprint) to security person. He/ she may provide you required authorisation.
Similar Messages
-
Runtime Errors: CONVT_OVERFLOW while executing transaction sm66
Hello Everyone,
There are two Application serevrs out of which I am getting the following error while executing transaction SM66 only in one i.eCI server but if i remote login to other system and try SM66 its working fine.
Please suggest
Runtime Errors CONVT_OVERFLOW
Exception CX_SY_CONVERSION_OVERFLOW
Date and Time 02.04.2011 00:41:01
Short text
Overflow when converting from "2.90113e+09"
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not
caught in
procedure "TH_WP_DETAIL_INFO" "(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:
When attempting to convert the value "2.90113e+09",
an overflow occurred.
There is probably an error in the program
"SAPLTHFB".
How to correct the error
Probably the only way to eliminate the error is to correct the program.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
please use the following search criteria:
"SAPLTHFB" "CONVT_OVERFLOW"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
The exception must either be prevented, caught within proedure
"TH_WP_DETAIL_INFO" "(FUNCTION)", or its possible occurrence must be declared
in the
RAISING clause of the procedure.
To prevent the exception, note the following:
tem environment
SAP-Release 700
Application server... "POSDMCI"
Network address...... ""
Operating system..... "SunOS"
Release.............. "5.10"
Hardware type........ "sun4u"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "POSDMDB"
Database type..... "ORACLE"
Database name..... "BP2"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Apr 2 2006 21:14:52"
create on........ "SunOS 5.9 Generic_117171-13
Database version. "OCI_101 "
Patch level. 52
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE
SAP database version. 700
Operating system..... "SunOS 5.9, SunOS 5.10"
Memory consumption
Roll.... 16192
EM...... 8379696
Heap.... 0
Page.... 40960
MM Used. 720912
MM Free. 3466336
Information on where terminated
Termination occurred in the ABAP program "SAPLTHFB" - in "TH_WP_DETAIL_INFO".
The main program was "SAPMSM66 ".
In the source code you have the termination point in line 82
of the (Include) program "LTHFBU26".
The termination is caused because exception "CX_SY_CONVERSION_OVERFLOW"
occurred in
procedure "TH_WP_DETAIL_INFO" "(FUNCTION)", but it was neither handled locally
nor declared
in the RAISING clause of its signature.
The procedure is in program "SAPLTHFB "; its source code begins in line
1 of the (Include program "LTHFBU26 ".Hello Everyone,
There are two Application serevrs out of which I am getting the following error while executing transaction SM66 only in one i.eCI server but if i remote login to other system and try SM66 its working fine.
Please suggest
Runtime Errors CONVT_OVERFLOW
Exception CX_SY_CONVERSION_OVERFLOW
Date and Time 02.04.2011 00:41:01
Short text
Overflow when converting from "2.90113e+09"
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not
caught in
procedure "TH_WP_DETAIL_INFO" "(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:
When attempting to convert the value "2.90113e+09",
an overflow occurred.
There is probably an error in the program
"SAPLTHFB".
How to correct the error
Probably the only way to eliminate the error is to correct the program.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
please use the following search criteria:
"SAPLTHFB" "CONVT_OVERFLOW"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
The exception must either be prevented, caught within proedure
"TH_WP_DETAIL_INFO" "(FUNCTION)", or its possible occurrence must be declared
in the
RAISING clause of the procedure.
To prevent the exception, note the following:
tem environment
SAP-Release 700
Application server... "POSDMCI"
Network address...... ""
Operating system..... "SunOS"
Release.............. "5.10"
Hardware type........ "sun4u"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "POSDMDB"
Database type..... "ORACLE"
Database name..... "BP2"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Apr 2 2006 21:14:52"
create on........ "SunOS 5.9 Generic_117171-13
Database version. "OCI_101 "
Patch level. 52
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE
SAP database version. 700
Operating system..... "SunOS 5.9, SunOS 5.10"
Memory consumption
Roll.... 16192
EM...... 8379696
Heap.... 0
Page.... 40960
MM Used. 720912
MM Free. 3466336
Information on where terminated
Termination occurred in the ABAP program "SAPLTHFB" - in "TH_WP_DETAIL_INFO".
The main program was "SAPMSM66 ".
In the source code you have the termination point in line 82
of the (Include) program "LTHFBU26".
The termination is caused because exception "CX_SY_CONVERSION_OVERFLOW"
occurred in
procedure "TH_WP_DETAIL_INFO" "(FUNCTION)", but it was neither handled locally
nor declared
in the RAISING clause of its signature.
The procedure is in program "SAPLTHFB "; its source code begins in line
1 of the (Include program "LTHFBU26 ". -
ABAP dump while executing transaction *PC00_M99_CIPE*
Hi,
Getting ABAP dump while executing transaction PC00_M99_CIPE ,hence cannot do payroll posting .
Information on where terminated
Termination occurred in the ABAP program "CL_HRFPM_CD_CLOSING_HANDLER===CP" -
in "GET_FM_POS_CHECK_DATA".
The main program was "RPCIPE00 ".
In the source code you have the termination point in line 13
of the (Include) program "CL_HRFPM_CD_CLOSING_HANDLER===CM00E".
We have recently upgraded our patch level.
SAP_OCS(SPAM/SAINT) SAPKD70026 SAPKD70033
SAP_ABA SAPKA70012 SAPKA70018
SAP_BASIS SAPKB70012 SAPKB70018
PI_BASIS SAPKIPYJ7B SAPKIPYJ7I
SAP_BW SAPKW70012 SAPKW70020
SAP_AP SAPKNA7008 SAPKNA7015
SAP_APPL SAPKH60009 SAPKH60015
SAP_HR SAPKE60028 SAPKE60039
EA-HR SAPKGPHD07 SAPKGPHD26
Kindly guide me.
Regards,
Rachelthanks for the quick response.
By applying note 1137655,problem got resoved.
FORM CHECK_CMTNT_UPDATE_CLOSED
Delta001
Context Block
FORM check_cmtnt_update_closed
USING
u_key_date TYPE begda
CHANGING
c_flg_cmtnt_closed.
Delete Block
DATA ls_encumb_iv TYPE t77hrfpm_encumb.
DATA l_gsval TYPE t77s0-gsval.
DATA ls_fm_pos_key TYPE hrfpm_fm_doc_pos-key_pos.
DATA lx TYPE REF TO cx_hrfpm.
STATICS so_closing_handler TYPE REF TO cl_hrfpm_cd_closing_handler.
CLEAR c_flg_cmtnt_closed .
*--- old switch from note??? active?
*--- if so: use the old logic
cl_hr_t77s0=>read_gsval(
EXPORTING
grpid = 'HRFPM'
semid = 'CHKAC'
IMPORTING
returnvalue = l_gsval ).
TRY.
IF NOT l_gsval IS INITIAL .
TRY.
c_flg_cmtnt_closed = 'X'.
Insert Block
DATA: ls_encumb_iv TYPE t77hrfpm_encumb.
STATICS:
s_gsval TYPE t77s0-gsval,
s_gsval_read TYPE flag.
IF s_gsval_read IS INITIAL .
SELECT SINGLE gsval
FROM t77s0
INTO s_gsval
WHERE grpid = 'HRFPM'
AND semid = 'CHKAC' .
s_gsval_read = 'X'.
ENDIF.
CLEAR c_flg_cmtnt_closed .
TRY.
c_flg_cmtnt_closed = 'X'.
Delta002
Context Block
CATCH
cx_hrfpm_db_operation
cx_hrfpm_ad_customizing .
Delete Block
ENDTRY.
ELSE.
*--- using closed period functionality of PBC
IF so_closing_handler IS INITIAL .
CREATE OBJECT so_closing_handler.
ENDIF.
IF so_closing_handler->consumption_in_closed_period(
i_key_date = u_key_date
is_fm_pos_key = ls_fm_pos_key )
IS INITIAL.
c_flg_cmtnt_closed = 'X'.
ENDIF.
ENDIF.
CATCH cx_hrfpm INTO lx.
lx->raise_sy_message( ).
ENDTRY.
ENDFORM. "check_cmtnt_update_closed
Insert Block
ENDTRY.
ENDFORM. "check_cmtnt_update_closed -
Client not modifiable message while executing t-code ops7 and ops6
Hi Guru's,
I am getting "Client not modifiable message while executing t-code ops7 and ops6" in Unit test and Quality client.
Pleae help me to resolve the error.
Regards
Sasikanth ReddyHi
Copy of the information I found regarding this issue:
It is possible to allow the maintenance of 'Customizing'-tables in a
production client, even if the client is set to 'not modifiable'.
Normally this should be the case for tables TCJ04 (responsible person)
and TCJ05 (applicant).
Please could you check the settings in your system and change it if
necessary:
Transaction SE11:
Table TCJ04: delivery class should be set to 'C'
TCJ05: delivery class should be set to 'C'
Transaction SOBJ -> Maintain
Position on V_TCJ04: Category should be 'CUST' field 'current settings'
should be marked.
Position on V_TCJ05: Category should be 'CUST' field 'current settings'
Please also check that your client is defined as 'PRODUCTIVE' via
transaction SCC4 (field client role).
I would also recommend that you review the attached notes with reference
to the usage of customizing setting "current settings": Nr. 77430,
Nr. 135028, Nr. 356483. These are also relevant for your release.
Kind regards,
Zhenbo -
System is asking for password while executing t.code RSUDO
Hi
While executing t.code RSUDO ( Execute as user with restricted authorizations) on behalf of other user, system is asking for password.
Can you tell the reason for it?
System is BW 731.
Thanks
SaurabhHi
I had the same problem.
What solved it for me was to add authorizations in PFCG for one of my roles
The autorisation is : "Execution of transaction RSUDO without password"
Heres what I added in PFCG:
Authorization obj: R_SEC
RSECADMOBJ: RSUDO
RSECADMVAL: *
ACTVT: 16
Hope it will solved your problem.
Robin -
While executing T.code F.5D system give"doc splitting is active in compcode
Dear Team,
We are in ECC 6.0 and we have our business area wise balance sheet active and for some Business areas, balance sheet are not matching because of Non updation of business area in Tax line item for which we had configured OBXM settings correctly.
While executing F.5D, F.5E system throws an message "Document splitting is active for company code XXXX".
In order to execute these transactions how can i move ahead?
Please reply its needed.
Thanks & regards,
Sandeep Jainhi sandeep,
The system must have 'document split' functionality activated.
Document split functionality replaced SAPF180* programs, so these
programs are not allowed to be executed for doc-split active company
code.
For more information about the NewGL and document splitting, please
have a look to the added notes 826357 and 741821.
If you decide not to use document splitting functionality, you may
turn it off at IMG:Activate Document Splitting. Here, you can also
deactivate the functionality per company code.
Reg
Madhu M -
Problem While Executing T.CODE DP90
Hi,
We have Upgrade our system from 4.6C to ECC6.
We are facing following problem while executing Resource Related Billing request
Through Transaction code DP90.
Process.
1. We are creating Sales Order and system will create Service order automatically as per the configuration.
2. In service order we have External as well internal operations ,
Internal operations will be confirmed through IW41, and External Operations we are creating Purchase Requisition then creating PO and MIRO,
After all Operations confirmed we will make Service order status as technically completed, then we are executing DP90 for Resource Related Billing, System will determine the material, combination of Cost element and Activity Type (Which is configured in T.Code ODP1) For External Operations System is Considering Activity Type for material determination in 4.6c but it is not considering Activity Type for Material Determination in ECC6 for External Operations.
Please Help me,
Edited by: D B on Apr 29, 2008 6:13 PMHi Prashanth,
Thanks for your reply, but all activity are valid in current period, in our Scenario in the old system for External Operations with combination of Activity type and Cost element system is determining material but where as in the new system for external operations it is not considering the Activity type and system is determining the material in the combination of Cost element and Blank activity type so, we are getting different material in DP90. -
Error While Executing Transaction Through SSO
Hi Guys,
I am trying SSO between Portal 6.0 and BW 3.5
I have added my BW system into Portal, RFC as well as JCo is working fine.
While executing any transaction its giving me following error.
http://<host_name>:<Port>/sap/bc/gui/sap/its/webgui call was terminated because the corresponding service is not available.
The termination occurred in system <SID> with error code 403 and for the reason Forbidden.*
The selected virtual host was 0 .*
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:<host_name>_<SID>_<nr>-v:0-s:403-r:Forbidden
Appretiate your response
Regards,
SachinSachin,
Please refer to these links, you can have a look at the check list to figure out if you might have forgotten or missed a step while configuring the SSO.
Single Sign On between EP6.0 and BW 3.5
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/sso%2bchecklist
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6535e690-0201-0010-6989-9e27386e1f24
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/portal+implementation&
http://help.sap.com/saphelp_nw2004s/helpdata/en/d3/41c8ecb31d11d5993800508b6b8b11/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a
Reward points if handy!
Cheers,
Sandeep -
Runtime error while executing transaction BDLS
Hello,
While executing BDLS transaction for converting logical system names I am getting following error
Runtime Errors CONVT_NO_NUMBER
Except. CX_SY_CONVERSION_NO_NUMBER
Short text
Unable to interpret "7,160 " as a number.
How to resolve the above problem?Hi Rachel,
BDLS creates an ABAP program SBDLS* which includes all the tables possibly including logical system names as of the domain behind the table fields. This program firstly
lives in runtime only and is checked by syntax checker.
Now, sometimes tables have inconsistencies associated with them and you
will get this dump when a syntax check is performed on them.
So please check this and regenerate the culprit tables.
So please redo the steps for BDLS and check. There are
probably some tables which could be determined by you (syntax
check - in case program has already been saved only)
An easy way to check this is to run RBDLS2LS program (old BDLS) and
afterwards performing a syntax check on generated RBDLS*** (RBDLS<(>
<<)>(>
<<(><<)>)>ClientName>) program.
Known tables which caused such dumps in the past are:
DFKKCOLFILE_P_W
DFKKKO
DFKKMKO
DFKKREP06
DFKKREP06_S
DFKKREP07
DFKKREV06
DFKKREV07
Simply reactivate the tables you find out in SE11.
Another thing which has lead to this dump in the past is
in your R/3-System the value ' x ' is
additionally added to the value of your current release in the basis
release table SVERS.
The table RSBASIDOC takes the release value from the table SVERS.
If you change value 'x' to your release in both tables (SVERS and
RSBASIDOC) and
and activate again your source system connection. This could solve the
dump too.
I hope, this helps-if not, pls open a message with SAP.(component: BC-MID-ALE)
b.rgds, Bernhard -
Error while accessing transaction codes through URL's in IFrame UI element
Hi Experts,
I have created Transaction iviews ck91N, ck11N, ck24 in SAP NW CE7.2. I am accessing these Transaction iviews through URL's in webdynpro java application. I am using IFrame UI element in a Roadmap UI for each transaction code.
when i access step1 i.e ck91N in a IFrame it is working fine then i click button for step2, it displays the following error.
Error while processing your request!
What has happened?
The call of URL http://yyyyyyyy:8001/sap/bc/gui/sap/its/webgui has been terminated due to an error.
Note
■The following error text was processed in system D10 : A:ITS_P:019 XSRF no sec_sesstoken
■The error occurred on application server eccdcs1s_D10_01 and in work process 0 .
■The termination type was: ABORT_MESSAGE_STATE
■The ABAP call hierarchy was:
Function: CKML_MGV_SURFACE_DISPLAY of program SAPLCKMLMVSURF
Function: CKML_MGV_SURFACE_DISPLAY of program SAPLCKMLMVSURF
START-OF-SELECTION of program CKMLMV_SURFACE
What can you do?
■In the case of termination type RABAX_STATE, you will find in system D10 in transaction ST22 more information on the cause of termination.
■In the case of termination type ABORT_MESSAGE_STATE, you will find on application server eccdcs1s_D10_01 in transaction SM21 more information on the cause of termination.
■In the case of termination thype ERROR_MESSAGE_STATE, you can search for more information in the trace file for the work process 0 in transaction ST11 on application server eccdcs1s_D10_01 . An analysis of trace files for other work processes may be necessary.
■If you do not yet have any user ID, contact your system administrator.
Error Code: ICF-IE-http -c: 730 -u: P00004943 -l: E -s: D10 -i: eccdcs1s_D10_01 -w: 0 -d: 20110426 -t: 135905 -v: ABORT_MESSAGE_STATE -e: A:ITS_P:019 XSRF no sec_sesstoken -X: -x:
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
Then next step3 it is working fine. If i change Road Map steps Ck11N,ck91N,ck24 in this order then first one is working fine second one gives error and third one is working fine again. It is working alternatively. I don't understand why this is happening? when i use LinkToURL for these 3 URL's then they are working fine. LinkTOURL opens in new browser(window) and in Roadmap i am accessing 3 URL's in same browser(window).
Regards,
Pradeep Kumar
Edited by: pradeep_546 on Apr 26, 2011 2:17 PM
Edited by: pradeep_546 on May 2, 2011 11:43 AM
Edited by: pradeep_546 on May 3, 2011 8:02 PMI am facing the same issue when I use Windows 7 OS. Did you resolve this issue?
-
Java run time error while executing JavaFX code
Hi
I copied the code from [http://java.sun.com/javafx/1/tutorials/ui/overview/UIControls.fx|http://java.sun.com/javafx/1/tutorials/ui/overview/UIControls.fx] while
reading in [http://java.sun.com/javafx/1/tutorials/ui/overview/#controls|http://java.sun.com/javafx/1/tutorials/ui/overview/#controls] tutorial and paste it to my
netbeans editor but i got following error.
init:
deps-jar:
compile:
jar:
standard-run:
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d94513f, pid=5152, tid=5996
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
# Problematic frame:
# V [jvm.dll+0xd513f]
# An error report file with more information is saved as hs_err_pid5152.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
BUILD FAILED (total time: 18 seconds)can anyone tell whether its netbeans fault or javaFX. I am using netbeans 6.5.1 on windows vista. I have added following plugin in netbeans for javaFX
*JavaFX Kit
*JavaFX SDK for Windows
is anyone also getting this error for this code and have solution for this.You are correct the crash is causing due to ToggleButton and ProgessBar. the code is correct because i tried it on eclipse 3.4 and it worked fine.This is definitely netbeans error. because its giving error even if u try to execute javafx code with just one ToggleButton or ProgressBar. I tried the following simple code in netbeans 6.5
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.control.ToggleButton;
import javafx.scene.control.ProgressBar;
var toggle=ToggleButton {
translateX:50
translateY:50
text: "First"
width:100
height:20
var progress= ProgressBar {
progress: bind ProgressBar.computeProgress( 100, 30 )
Stage {
title : "Toggle Button Test"
scene: Scene {
width: 200
height: 200
content: [ toggle
} When i just added toggle button to contents then button showed up in window but on clicking it window disappear and compiler gave crash error on the other hand when i added just progess bar it just throws the error.The same code is running fine on eclipse
Is there any workaround in netbeans for this if its a bug and if not what should i do to correct it. -
Error while executing transaction in logic editor
Hi all,
When i try to execute a transaction in logic editor in my system i get the following error.
[DEBUG]: Transaction Complete.
[ERROR]: Error executing transaction Status (403):ok
But when i try to exectue the same in a different system,the transaction is sucessfully executed.could anyone help me out with is issue!U better try to clear the cache enteries and try this.it may help
-
Error while running transaction code f-42
hi all,
i am getting an error while running t code F-42.
Error is 'Global Number Parameter Is Missing'.
Please solve this
Thanks in AdvanceHi,
Check Global parameters settings at OBY6.
Thanks!
Assign points
Zia -
Dear experts,
when i execute T.code:RSRT, i get error like a no more more available in extend memory.In T.code: Db02 shows ()
1) An exception with the type CX_SY_STRUCT_COMP_NAMEoccurred, but was neither handled locally, nor declared in a RAISING clause
2) Wrong number of input parameters [GET_INPUT_STRUCT].
In t.code:st22
TSV_TNEW_PAGE_ALLOC_FAILED
TSV_TABH_POOL_NO_ROLL_MEMORY
Please help to slove
Regards,
Prabaharan BHi,
You need to increase the abap heap limits on the system.
Please check the following Notes which describe this issue :
020527 Runtime error TSV_TNEW_PAGE_ALLOC_FAILED
1260912 - Memory overflow note: Dump TSV_TNEW_PAGE_ALLOC_FAILED
1387739 - Out of memory errors during shadow system operation
Thanks,
Bhavin Vyas -
Error while executing the code as sys user
Hi,
Below is the code that creates a procedure. Though the proc gets created successfully, while trying to execute it, I get the below error
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SESSION", line 101
ORA-06512: at "SYS.MY_TEST_PROC", line 20
ORA-06512: at line 1
The proc is created by sys and executed by sys too
create or replace procedure my_test_proc as
TYPE CUR1 IS REF CURSOR;
CURSOR c1 is
select ename from SCOTT.emp where rownum <2;
v_name varchar2(30);
MY_CUR CUR1;
STRQRY VARCHAR2(2000);
L_PARAM DBMS_SQL.VARCHAR2S;
CNT NUMBER;
V_DATA SCOTT.EMP%ROWTYPE;
BEGIN
STRQRY := 'SELECT * FROM SCOTT.EMP WHERE 1 =1 and (( 1= 1) ';
CNT := 0;
open c1;
loop
fetch c1 into v_name;
exit when c1%notfound;
CNT := CNT + 1;
dbms_session.set_context('MY_CTX','ENAME_' || CNT, V_NAME);
STRQRY := STRQRY || ' OR (ENAME = SYS_CONTEXT(''MY_CTX'',''ENAME_1'')';
end loop;
DBMS_OUTPUT.PUT_LINE(STRQRY || ')');
CLOSE C1;
END my_test_proc;
============================================================
EXEC my_test_proc;
Please help.>
STRQRY := 'SELECT * FROM SCOTT.EMP WHERE 1 =1 and (( 1= 1) ';
>
The above query won't work because there is a syntax error.
Count the numbers of left and right parentheses.
Edit your post and use code tags and tell us which is line #20.
My guess is that it is this line
dbms_session.set_context('MY_CTX','ENAME_' || CNT, V_NAME); You don't show any code for the CONTEXT procedure. DBMS_SESSION.SET_CONTEXT in the PL/SQL Packages and Types doc
See http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_sessio.htm#i1010942
>
The caller of SET_CONTEXT must be in the calling stack of a procedure that has been associated to the context namespace through a CREATE CONTEXT statement. The checking of the calling stack does not cross a DBMS boundary.
Maybe you are looking for
-
'Days Elapsed' computed field in lightswitch HTML client
I am developing a simple lightswitch HTML application to keep track of research experiments. I have a table called 'Experiments' and one of the fields is 'ExperimentDate'. I want to display the number of days that have passed since the date of experi
-
Indesign CS3 printing alignment issues with Konica Bizhub
Hi, I am designing documents in ID CS3 to print inhouse on our Konica Minolta BizHub 350 through a Fiery. I will set up a document with at least .375 inch border all the way around. I'll print it, sometimes the documents are duplex, and it's all good
-
Some Ringtones can't be accessed on Iphone4 after upgrade to IOS5
Hello, I recently upgraded my IPhone4 to the new version of Itunes and IOS5. Everything went successfully, that is until I discovered that 2 of my ringtones weren't available on my phone. I looked in Itunes, and it showed that the ringtones were in m
-
Can't get my serial number for product I just bought.
-
I am trying to add the Youtube widget, but I get a black box saying blocked plugin. I have even tried to embed it from Youtube as well and it does the same thing. But when I drag the Vimeo widget over, it connects like it should. What am I doing wron