Error in binding
Hi All,
I am using standard SAP email task for triggering emails.
Am using Multiline element in Email text body of standard task.
Binding is automaticaly generated and has errors-
1) Mandatory import element 'E_CDPOS[]' is not (explicitly) provided
2) Container element 'E_CDPOS' does not exist
'E_CDPOS' is not mandatory paramter.
Can any body guide what could be reason for thsi error?
Thanks.
Hi,
Check and compare the workflow container and the task container. It seems you haven't created the parameter in the task container.
Regards,
Similar Messages
-
DI error when binding user defined table
Hi,
I am using matrix. Im binding a User defined table '@NEW' to a Datasource
oForm.DataSources.DBDataSources.Add("@NEW")
I also bind the fields to column of the matrix as given below
oColumn = oColumns.Item("CodeNo")
oColumn.DataBind.SetBound(True, "@NEW", "U_CodeNo")
When the table @New contains no records i get error while binding the fields to the matrix.
I tried the same using STANDARD SAP tables.I am not getting any error and it works fine.
Can anyone help me?Hi,
I am using matrix. Im binding a User defined table '@NEW' to a Datasource
oForm.DataSources.DBDataSources.Add("@NEW")
I also bind the fields to column of the matrix as given below
oColumn = oColumns.Item("CodeNo")
oColumn.DataBind.SetBound(True, "@NEW", "U_CodeNo")
When the table @New contains no records i get error while binding the fields to the matrix.
I tried the same using STANDARD SAP tables.I am not getting any error and it works fine.
Can anyone help me? -
Invalid number error for bind dialog
Oracle SQL Developer version 1.1.2.25 BUILD MAIN-25.79
Running under WinXP
Issue description:
We get an invalid number error when bind variable filled with an enter in the bind dialogIt is hard to say what is causing your problem without the specifics (ie query and value entered for the bind variable). Try running the same statement with the value of the bind variable in place of the bind variable (ie instead of running "select * from dual where dummy = :var" with a value of 'x' for :var, run "select * from dual where dummy = 'x'"). If you get the same error, then it is not an issue with the use of bind variables.
Be aware that currently you cannot define the data type of bind variables (unlike TOAD, etc) and they are all treated as character values. I wouldn't have thought that this would cause you problem unless you are using a bind variable to restrict a numeric column to a specific value and you are entering a non-numeric bind (ie "select * from people where person_id = :id" and using 'xyz' as the value for :id). -
ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Hi
I am getting this run time error ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind in my pl/sql . I tried evrything , changing datatypes ,etc but still this error is coming .What can be the cause , please help.
declare
svid xxpor_utility.p_svid@sppmig1%type;
p_sv_id xxpor_utility.p_svid@sppmig1%type;
tab xxpor_utility.xxpor_indextab@sppmig1;
svid1 xxpor_utility.p_svid@sppmig1%type;
p_sv_id1 xxpor_utility.p_svid@sppmig1%type;
tab1 xxpor_utility.xxpor_indextab@sppmig1;
svid2 xxpor_utility.p_svid@sppmig1%type;
p_sv_id2 xxpor_utility.p_svid@sppmig1%type;
tab2 xxpor_utility.xxpor_indextab@sppmig1;
svid3 xxpor_utility.p_svid@sppmig1%type;
p_sv_id3 xxpor_utility.p_svid@sppmig1%type;
tab3 xxpor_utility.xxpor_indextab@sppmig1;
v_index t2_error_table.id_value%type;
v_code t2_error_table.error_code%type;
p_error varchar2(600);
k number(20):=0;
v_msg varchar2(2000);
v_commit_count number(10);
v_at_gpid varchar2(512);
v_at_oper varchar2(512);
v_sch varchar2(512);
v_vat varchar2(512);
exp exception;
exp1 exception;
exp2 exception;
exp3 exception;
exp4 exception;
v_pay varchar2(512);
v_res varchar2(512);
v_digit varchar2(512);
v_agree varchar2(512);
v_driver_licence PERSON_HISTORY.drivers_licence%TYPE;
v_cus_gen1 number(10);
v_cus_gen2 number(10);
v_cus_gen3 number(10);
svid_sr number(10);
v_social PERSON_HISTORY.social_security_number%TYPE;
CURSOR person_cur (p_person_id person_history.person_id%TYPE)
IS
SELECT drivers_licence ,social_security_number
FROM PERSON_HISTORY@SPPMIG1
WHERE PERSON_ID=p_person_id --p2(p).person_id
AND EFFECTIVE_START_DATE = (SELECT MAX(EFFECTIVE_START_DATE)
FROM PERSON_HISTORY@sppmig1
WHERE PERSON_ID=p_person_id);--p2(p).person_id) ;
--p number(20):=1;
--j number(20);
cursor c1 is
select * from cus_node_his ;
type temp_c1 is table of customer_node_history%rowtype
index by binary_integer;
t2 temp_c1;
type temp_c2 is table of customer_node_history@slpmig1%rowtype
index by binary_integer;
p2 temp_c2;
/*cursor c2(p_id customer_query.customer_node_id%type) is
select general_1,general_2,general_3
from customer_query@sppmig1 c where c.customer_query_type_id=10003 and
c.customer_node_id(+) =p_id
and c.open_date = (select
max(open_date) from customer_query@sppmig1 where customer_node_id=p_id
and customer_query_type_id=10003 and c.customer_query_id =(select max(customer_query_id) from customer_query@sppmig1
where customer_node_id=p_id and customer_query_type_id=10003));*/
procedure do_bulk_insert is
bulk_errors EXCEPTION;
PRAGMA EXCEPTION_INIT(bulk_errors, -24381);
begin
forall j in 1..t2.count SAVE EXCEPTIONS
insert into aaa values t2(j);
commit;
--t2.delete;
k:=0;
v_msg:=sqlerrm;
EXCEPTION WHEN bulk_errors THEN
FOR L IN 1..SQL%bulk_exceptions.count
LOOP
v_index := SQL%bulk_exceptions(L).ERROR_INDEX;
v_code := sqlerrm(-1 * SQL%bulk_exceptions(L).ERROR_CODE);
--v_index := SQL%bulk_exceptions(j).ERROR_INDEX;
--v_code := sqlerrm(-1 * SQL%bulk_exceptions(j).ERROR_CODE);
INSERT INTO t2_error_table
VALUES('CUSTOMER_NODE_HISTORY',
'CUSTOMER_NODE_ID',
v_msg,
t2(v_index).customer_node_id,
null,
'DO_BULK_INSERT',
v_code
commit;
END LOOP;
end do_bulk_insert;
begin
select value into v_at_gpid from t2_system_parameter@sppmig1 where name='atlanta_group_id';
select value into v_commit_count from t2_system_parameter@sppmig1 where name='batch_size';
select value into v_sch from t2_system_parameter@sppmig1 where name='schedule_id';
select value into v_pay from t2_system_parameter@sppmig1 where name='payment_location_code';
select value into v_at_oper from t2_system_parameter@sppmig1 where name='atlanta_operator_id';
select value into v_digit from t2_system_parameter@sppmig1 where name='digits_to_be_screened';
select value into v_res from t2_system_parameter@sppmig1 where name='responsible_agent';
select value into v_vat from t2_system_parameter@sppmig1 where name='vat_rate';
select value into v_agree from t2_system_parameter@sppmig1 where name='bank_agreement_status';
xxpor_utility.xxpor_loadmemory@sppmig1('CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_TYPE_ID',tab);
xxpor_utility.xxpor_loadmemory@sppmig1('CUSTOMER_NODE_HISTORY','CREDIT_RATING_CODE',tab2);
xxpor_utility.xxpor_loadmemory@sppmig1('CUSTOMER_NODE_HISTORY','PAYMENT_METHOD_CODE',tab3);
xxpor_utility.xxpor_loadmemory@sppmig1('CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_STATUS_CODE',tab1);
open c1;
loop
fetch c1 bulk collect into p2 limit v_commit_count;
for p in 1..p2.count loop
k:=K+1;
begin
xxpor_utility.xxpor_getsvid@sppmig1(p2(p).CUSTOMER_NODE_TYPE_ID,tab,svid);
p_sv_id:=svid;
xxpor_utility.xxpor_getsvid@sppmig1(p2(p).CUSTOMER_NODE_STATUS_CODE,tab1,svid1);
p_sv_id1 :=svid1;
xxpor_utility.xxpor_getsvid@sppmig1(p2(p).CREDIT_RATING_CODE,tab2,svid2);
p_sv_id2:=svid2;
xxpor_utility.xxpor_getsvid@sppmig1(p2(p).PAYMENT_METHOD_CODE,tab3,svid3);
p_sv_id3:=svid3;
OPEN person_cur (p2(p).person_id);
FETCH person_cur INTO v_driver_licence, v_social;
CLOSE person_cur;
--select social_security_number into v_social from person_history@sppmig1 where
--PERSON_ID=p2(p).person_id AND EFFECTIVE_START_DATE = (SELECT MAX(EFFECTIVE_START_DATE) FROM
--PERSON_HISTORY@sppmig1 WHERE PERSON_ID=p2(p).person_id) ;
/*open c2(p2(p).customer_node_id);
fetch c2 into v_cus_gen1, v_cus_gen2, v_cus_gen3;
close c2;
xxpor_utility.get_status_code@sppmig1(v_cus_gen1,v_cus_gen2,v_cus_gen3,svid_sr);*/
svid_sr:=2600000;
t2(k).CUSTOMER_NODE_ID := p2(p).CUSTOMER_NODE_ID;
t2(k).LAST_MODIFIED := p2(p).LAST_MODIFIED;
t2(k).EFFECTIVE_START_DATE := p2(p).EFFECTIVE_START_DATE;
t2(k).EFFECTIVE_END_DATE := p2(p).EFFECTIVE_END_DATE;
t2(k).CUSTOMER_NODE_TYPE_ID := p_sv_id;
if p_sv_id is null then
raise exp1;
end if;
t2(k).PRIMARY_IDENTIFIER := p2(p).PRIMARY_IDENTIFIER;
t2(k).PRIMARY_IDENTIFIER2 := p2(p).PRIMARY_IDENTIFIER2;
t2(k).NODE_NAME := p2(p).NODE_NAME ;
t2(k).NODE_NAME_UPPERCASE := p2(p).NODE_NAME_UPPERCASE ;
t2(k).NODE_NAME_SOUNDEX := p2(p).NODE_NAME_SOUNDEX;
t2(k).ATLANTA_GROUP_ID := v_at_gpid ;
t2(k).ATLANTA_OPERATOR_ID := p2(p).ATLANTA_OPERATOR_ID;
t2(k).GL_CODE_ID := p2(p).GL_CODE_ID;
t2(k).PARENT_CUSTOMER_NODE_ID := p2(p).PARENT_CUSTOMER_NODE_ID ;
t2(k).HIERARCHY_LEVEL := p2(p).HIERARCHY_LEVEL ;
t2(k).ROOT_CUSTOMER_NODE_ID := p2(p).ROOT_CUSTOMER_NODE_ID ;
t2(k).CUSTOMER_NODE_STATUS_CODE := p_sv_id1 ;
if p_sv_id1 is null then
raise exp2;
end if;
t2(k).CREATED_DATE := p2(p).CREATED_DATE;
t2(k).ACTIVE_DATE := p2(p).ACTIVE_DATE ;
t2(k).PERSON_ID := p2(p).PERSON_ID ;
t2(k).PRIME_ACCOUNT_ID := p2(p).PRIME_ACCOUNT_ID;
t2(k).REPORT_LEVEL_CODE := p2(p).REPORT_LEVEL_CODE;
t2(k).POSTAL_ADDRESS_ID := p2(p).POSTAL_ADDRESS_ID;
t2(k).SITE_ADDRESS_ID := p2(p).SITE_ADDRESS_ID ;
t2(k).CURRENCY_ID := p2(p).CURRENCY_ID;
t2(k).SCHEDULE_ID := v_sch;
t2(k).BILLING_PRIORITY := p2(p).BILLING_PRIORITY ;
t2(k).BILLING_COMPLEXITY:= p2(p).BILLING_COMPLEXITY ;
t2(k).BILLING_CONFIGURATION_CODE := p2(p).BILLING_CONFIGURATION_CODE;
t2(k).SUPPRESS_IND_CODE := p2(p).SUPPRESS_IND_CODE ;
t2(k).SUPPRESS_BILL_CYCLE_COUNT := p2(p).SUPPRESS_BILL_CYCLE_COUNT;
t2(k).SUPPRESS_UNTIL_ISSUE_DATE := p2(p).SUPPRESS_UNTIL_ISSUE_DATE;
t2(k).TURNOVER := p2(p).TURNOVER;
t2(k).TURNOVER_CURRENCY_ID := p2(p).TURNOVER_CURRENCY_ID ;
t2(k).CREDIT_LIMIT := p2(p).CREDIT_LIMIT ;
t2(k).CREDIT_LIMIT_CURRENCY_ID := p2(p).CREDIT_LIMIT_CURRENCY_ID;
t2(k).EXPECTED_REVENUE := p2(p).EXPECTED_REVENUE ;
t2(k).EXPECTED_REVENUE_CURRENCY_ID := p2(p).EXPECTED_REVENUE_CURRENCY_ID ;
t2(k).CREDIT_RATING_CODE := p_sv_id2 ;
-- if p_sv_id2 is null then
--raise exp3;
-- end if;
t2(k).CREDIT_COMMENTS := p2(p).CREDIT_COMMENTS ;
t2(k).TAX_CLASS_CODE := 1 ;
t2(k).PAYMENT_METHOD_CODE := p_sv_id3;
--if p_sv_id3 is null then
--raise exp4;
--end if;
t2(k).PAYMENT_LOCATION_CODE := v_pay ;
t2(k).BANK_CODE := NULL;
t2(k).BRANCH_CODE := NULL ;
t2(k).BANK_ACCOUNT_NAME := p2(p).NODE_NAME ;
t2(k).BANK_ACCOUNT_NUMBER := '1000000';
t2(k).BANK_ACCOUNT_REF := v_agree;
t2(k).CARD_TYPE_CODE := p2(p).CARD_TYPE_CODE ;
t2(k).CARD_NUMBER := p2(p).CARD_NUMBER ;
t2(k).CARD_EXPIRY_DATE := NULL ;
t2(k).ASSIGNED_OPERATOR_ID := NULL ;
t2(k).SALES_CHANNEL_CODE := 0;
t2(k).COMPANY_NUMBER := NULL;
t2(k).INDUSTRY_CODE := NULL;
t2(k).REGION_CODE := NULL;
t2(k).GENERAL_1 := v_vat ;
t2(k).GENERAL_2 := svid_sr ;
if svid_sr is null then
raise exp;
end if;
t2(k).GENERAL_3 := v_social ;
t2(k).GENERAL_4 := v_driver_licence ;
t2(k).GENERAL_5 := v_vat;
t2(k).GENERAL_6 := v_res;
t2(k).GENERAL_7 := null||':'||null||':'||'1000000'||':'||null||':'||null||':'||null||':';
t2(k).GENERAL_8 := '2' ;
t2(k).GENERAL_9 := v_digit;
t2(k).GENERAL_10 := p2(p).CUSTOMER_NODE_ID;
exception when exp then
p_error:= sqlerrm;
insert into t2_error_table values ( 'CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_ID',p_error,p2(p).customer_node_id
,null,null,null);
commit;
when exp1 then
p_error:= sqlerrm;
insert into t2_error_table values ( 'CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_ID',p_error,p2(p).customer_node_id
,null,null,'customer_node_type_id is null');
commit;
when exp2 then
p_error:= sqlerrm;
insert into t2_error_table values ( 'CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_ID',p_error,p2(p).customer_node_id
,null,null,'customer_node_status_code is null');
commit;
/*when exp3 then
p_error:= sqlerrm;
insert into t2_error_table values ( 'CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_ID',p_error,p2(p).customer_node_id
,null,null,'credit_rating_code is null');
commit;
when exp4 then
p_error:= sqlerrm;
insert into t2_error_table values ( 'CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_ID',p_error,p2(p).customer_node_id
,null,null,null);
commit;*/
when others then
p_error:= sqlerrm;
insert into t2_error_table values ( 'CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_ID',p_error,p2(p).customer_node_id
,null,null,null);
commit;
end;
if mod(k,v_commit_count)=0 then
do_bulk_insert;
t2.delete;
end if;
end loop;
do_bulk_insert;
exit when c1%notfound;
end loop;
t2.delete;
exception when others then
p_error:= sqlerrm;
insert into t2_error_table values ( 'CUSTOMER_NODE_HISTORY','CUSTOMER_NODE_ID',p_error,null
,null,null,null);
commit;
RAISE;
end;
/Hi there,
Following is the description of the error, you are getting.
ORA-06502:VALUE_ERROR
An arithmetic, conversion, truncation, or size-constraint error occurs. For example, when your program selects a column value into a character variable, if the value is longer than the declared length of the variable, PL/SQL aborts the assignment and raises VALUE_ERROR. In procedural statements, VALUE_ERROR is raised if the conversion of a character string into a number fails. (In SQL statements, INVALID_NUMBER is raised.)
Hopefully this will help. -
Parameter error - bad bind variable in a Package..!!
Hello All
i am tring to create a security package with in one procedure i am trying to handle the number of times the user enters the wrong user name or password:
-i created a parameter on my login form and add it to my procedure and it works just fine,But when i tried to copy the same procedure the package inside my library can't recognize that Parameter.
-It gives me error : bad bind variable.
The code is as follows.
PARAMETER.COUNT := :PARAMETER.COUNT + 1;
IF :PARAMETER.COUNT > 3 THEN
WRONG_ALERT('WRONG_PASS',' ur number of trials has expiered the form will be closed ');
EXIT_FORM;
END IF;
Can anyboady help me pls.
Regards,
Abdetu.Super,It works Just fine.
Thanks Gerd,
That's make me decide that if i have the following statatment for example:
IF :USER_CODE IS NULL THEN .........
I have to change it to :
IF copy (name_in ('USER_CODE' )) IS NULL THEN..........
But,if i have the following select statment :
==============================
SELECT USER_CODE , USER_PASS WORD
INTO :GLOBAL.USER_CODE , :GLOBAL.USER_PASS WORD
FROM APP_USERS
WHERE USER_CODE = :USER_CODE
AND USER_PASS WORD= :USER_PASS WORD;
Should i transfer it to the following:
=========================
SELECT USER_CODE , USER_PASS WORD
INTO COPY(NAME_IN ('GLOBAL.usr_code'), COPY(NAME_IN ('GLOBAL.PASSWORD')
FROM APP_USERS
WHERE USER_CODE = COPY(NAME_IN ('USER_CODE' )
AND USER_PASS WORD=COPY(NAME_IN ('USER_PASS WORD');
Pls help me,it's my first time ...
Thanks in advance.
Regards,
Abdetu. -
ERROR: transport error 202: bind failed: Address already in use
Hey guys,
I created 2 WL 10.3 Domains. I can start the admin server in domain but when I start the second admin server i get the following error:
starting weblogic with Java version:
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
./../src/share/back/debugInit.c:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
RROR_TRANSPORT_INIT(197)
Starting WLS with line:
C:\bea\JDK160~1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket
,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms512m -Xmx512m -XX:Com
pileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -XX:MaxPermSize=160m
-Xverify:none -Xverify:none -da:org.apache.xmlbeans... -ea -da:com.bea... -da:
javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.
sbconsole... -Dplatform.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\serv
er -Dweblogic.home=C:\bea\WLSERV~1.3\server -Dweblogic.management.discover=tru
e -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true
-Dweblogic.ext.dirs=C:\bea\patch_wlw1030\profiles\default\sysext_manifest_classp
ath;C:\bea\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\bea\patch
cie670\profiles\default\sysextmanifest_classpath;C:\bea\patch_alsb1031\profile
s\default\sysext_manifest_classpath -Dweblogic.Name=TestAdmin2 -Djava.security.p
olicy=C:\bea\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
./../src/share/back/debugInit.c:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
RROR_TRANSPORT_INIT(197)
Stopping PointBase server...
I changed the port address of both admins but I dont' think that's the issue. Can someone tell me whats going on.
ThanksHi
Iam getting the Same Error , Can you provide me some information on what changes did you made to the setDomainEnv.cmd file to make this work
thanks in advance -
In your experience what are the most common errors in binding files when deploying?
As the title suggest I'm interested in discussing the most common errors in binding files when deploying.
Reason for this is that I'm currently working on a Powershell script that can parse a binding file and create a reader friendly report (rtf format) with various information.
But the main purpose for this script is to find common errors in the binding file used. And so far these are the ones I've thought of:
- Tracking enabled for either services or the pipelines they are using (if it's a binding meant for Prod).
- Orchestrations logical ports not having any ports bound to them.
- URI containing certain words that's not ok. For example if a binding meant for Prod contains the word "test" anywhere in the URI then that should be reported in the created rtf report. This also applies vice versa.
So now I need your help with coming up with more ideas on common errors that need to be looked after and reported on if found!
Additional features the report should contain:
- Listing the details of each orchestration, send port, receive port along with their associated receive location(s). To better understand and get a quick overview on exactly what settings are planned to be deployed. Especially the "TransportTypeData"
section which otherwise can be quite tedious to read.
- List each unique host instance, so that I can easier see directly which ones might need a restart after an import.
I'd appreciate if you can come up with any more features that should be included in this script.
/Christian @ IntegrationAdmin.comFilter on send port not on the same line as the Filter tag.
This one is a nice one, I ran into it several times. Mostly after copy/paste of a port definition for a binding file, because Visual Studio is formatting after paste the XML in a way the filter will get invalid. This leads to a cryptic error
during importing the binding.
http://winterdom.com/2008/06/biztalkfiltersnotgettingimported
Jean-Paul Smit | Didago IT Consultancy
Blog |
Twitter | LinkedIn
MCTS BizTalk 2006/2010 + Certified SOA Architect
Please indicate "Mark as Answer" if this post has answered the question. -
10g declare :global variable error (bad bind variable)
In a 10g form, I tried this code in the pl/sql block and in the spec of a library package
begin
:global.config := 'x';
...upon compile, I get an error
"bad bind variable"
...encountered the symbol "GLOBAL" when expecting one of the following...It doesn't like :GLOBAL.variablename := 'x';
What am I doing wrong?
Thank you.globals are allowed in librarys, but in libraries you have to use COPY and NAME_IN to access objects you access via :-logic in forms-modules, e.g. setting the global would be like
COPY('X', 'GLOBAL.CONFIG');Edited by: aweiden on 29.10.2008 19:33 -
Image Item - Error: bad bind variable
Hi All,
I select a Image field from a table and set it to a Image Item in a form 10g. But I have error "Bad bind variable"
Here is source code in my Post_query trigger:
SELECT cust_sign INTO :dema_depo.dema_depo_sign
FROM cust_sign WHERE custcod = :dema_depo.cust_sign_custcod;
I would like to learn if you have any solution or document to solve my problem.
Thanks very much for your help!
BACHDear Sir/Madam,
I'm reading chapter 16: Working with Images - Oracle Forms Developer's Guide and found that cannot write a SELECT statement to select a a LONG RAW value INTO an image item.
Thus, any the other way to fetch fr a DB LONG RAW value INTO an image item ???
Many thanks!
BACH -
Hi,
I have created a table in a view, and i have bound the text property of columns. Now when i want to delete the binding and try to bind with some other attribute its not allowing me to do that. It says..'Error in binding the context'
Pls suggest..
Edited by: WDAbap on Jul 16, 2008 11:52 PM>
Puja Malhotra wrote:
> I have seen this happen to.
>
> The deletion of the context binding happens actually. Its just not reflected.
>
> Try this:
> Delete the context binding
> Save (Unbinding and binding without intermediate save gives the message "Error in binding context".
> Go to Display Mode
> Change back to Edit Mode
> Check the element for which the binding was deleted.
> You will now see that the context binding has been removed
>
> So the next time you delete the context, simply save it and proceed to bind a new context node to the element. Although the change wont be reflected on the element, the rebinding would have happened eitherways.
>
> Cheers,
> Puja
OK that doesn't sound like that sould be the offical solution. I would suggest you open a support ticket and/or search for an existing note. Surely this is not normal functionality. -
Transport error 202 bind failed address already in use
how to rectify -- transport error 202 bind failed address already in use-- while running CA server
i have created new production and pub server, first i runned production server after that while running CA server i got that error. if i run CA server independently its runningIt seems like a port conflict issue. You should check rmi and other ports in the configuration file for the component /atg/dynamo/Configuration in the localconfig of your production and publishing servers directories under <ATG>\home\servers. Also, your app server should be configured to run two separate instances for production and publishing server as per the http ports specified in /atg/dynamo/Configuration.
-
PL/SQL: numeric or value error: Bulk bind: Error in define
Hello
Does anyone know what this error means?
PL/SQL: numeric or value error: Bulk bind: Error in define
I've checked the cursor and all of the columns are correct.
Any help would be greatly appreciated as this is quite urgent.
Cheers
DavidHello
Here's the top of the function. The exception is thrown on the FETCH...BULK COLLECT line.
FUNCTION f_ps_insert_jlines(ac_JournalRows IN sys_refcursor,
an_StartLn IN OUT INTEGER,
at_Monetary IN OUT pt_monetary_amount,
at_Stats IN OUT pt_statistics_amount
) RETURN INTEGER
IS
l_jrnl_id pt_jrnl_id;
l_jrnl_line pt_jrnl_line;
l_jrnl_date pt_jrnl_date;
l_Ps_Account pt_ps_account;
l_ps_dept_id pt_ps_dept_id;
l_ps_product pt_ps_product;
l_ps_project_id pt_ps_project_id;
l_statistics_code pt_statistics_code;
l_jrnl_ln_ref pt_jrnl_ln_ref;
l_line_desc pt_line_desc;
ln_Index INTEGER;
BEGIN
FETCH ac_JournalRows BULK COLLECT INTO
l_jrnl_id,
l_jrnl_line,
l_jrnl_date,
l_Ps_Account,
l_ps_dept_id,
l_ps_product,
l_ps_project_id,
l_statistics_code,
at_monetary,
at_stats,
l_jrnl_ln_ref,
l_line_desc;And here is the top of the cursor....
SELECT
l_char_jrnl_id AS journal_id,
ROWNUM + l_jrnl_Line AS journal_ln,
lcr_Journal_Header.Journal_Dt AS journal_dt,
ps_account,
ps_dept_id,
ps_product,
ps_project_id,
statistics_code,
monetary_amount,
statistics_amount,
jrnl_ln_ref,
line_desc
FROMAny ideas?
Cheers
David
p.s. No idea what has happened to the formatting! -
This is driving me nuts!
I am getting this error from OWB during a mapping process.
I have checked the input data and it looks fine.
The run time audit browser just lists all of the steps but does not make it clear which one failed. Is it the last one which is shown (does not have HIDE as selection link.)
I also tried to determine which row was causing the problem and followed the instructions at http://www.nicholasgoodman.com/bt/blog/2005/07/, but no row_id was recorded in the views. In actual fact there wasn't very much audit info other than that the mapping ran and was complete (even though it failed).
In the error message section it has, in order
Map Step - blank
Rowkey - 35204435256
Severity - X
Error Message - ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Object Name - N/A
Object Column - *
From the PL/SQL error I thought it may be trying to insert into a data field that was too small, but all of the columns that are used are full of data of length shorter than all of the target tables.
I have even started running the cursors in the generated PLSQL but I don't get the error by doing this.
Thanks in advance for any tips at all.Thanks for the response.
I managed to work it out and it had to do with the selection criteria of one of the filters.
For anyone else facing this error, check to see if any of the rows being inserted has the same key/identifier as some existing in the target table. If so add an extra condition to the where clause.
This worked for me. -
ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bink
I have a map which worked fine in 10.2.0.1. The same map in 11.2.0.2 is giving me the error:
'ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bink.'
I have one source and one target. This is a straight load, no transformations.
While debugging the map I have noticed the culprit is one column in the source which is varchar2(30),
I have the target column with the same varchar2(30), and I tried increasing the size of
the target column but i keep getting the same error. While searching the forum someone suggested
to change the configuration of code generation options and runtime parameters to set based.
But strangely it gave me an error because the set based option is not availabe in the new 11.2.0.2.
Should the set based option be available in this version. Please suggest on how i could resolve the
error of 'ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bink.' Thank you.Hi there,
Following is the description of the error, you are getting.
ORA-06502:VALUE_ERROR
An arithmetic, conversion, truncation, or size-constraint error occurs. For example, when your program selects a column value into a character variable, if the value is longer than the declared length of the variable, PL/SQL aborts the assignment and raises VALUE_ERROR. In procedural statements, VALUE_ERROR is raised if the conversion of a character string into a number fails. (In SQL statements, INVALID_NUMBER is raised.)
Hopefully this will help. -
Error "Channel binding security failure" in tuxedo 8.1
When I tried to connect from domain "WERD_DOMAIN_ACCEPT" from one machine to another domain "atdexprodcp2" on another machine, I am getting the following error message in the ULOG:
092119.lasxxx!GWTDOMAIN.23146.1.0: LIBGWT_CAT:1549: ERROR: Failed security validation with remote domain (domainid=atdexprodcp2)
092119.lasxxx!GWTDOMAIN.23146.1.0: LIBGWT_CAT:1008: ERROR: Unable to connect to remote domain (domainid=<atdexprodcp2>)
092200.lasxxx!GWTDOMAIN.23146.1.0: LIBGWT_CAT:1535: ERROR: Channel binding security failure
092200.lasxxx!GWTDOMAIN.23146.1.0: LIBGWT_CAT:1550: ERROR: Failed security validation with remote domain (domainid=atdexprodcp2)
092200.lasxxx!GWTDOMAIN.23146.1.0: LIBGWT_CAT:1008: ERROR: Unable to connect to remote domain (domainid=<atdexprodcp2>)
The domain config file on LASXXX:
*DM_LOCAL_DOMAINS
WERD_DOMAIN_ACCEPT GWGRP=GWGROUP
TYPE=TDOMAIN
DOMAINID="WERD_DOMAIN_ACCEPT"
DMTLOGDEV="/home/tuxedo/DMTLOG.log"
DMTLOGNAME="DMTLOG"
SECURITY=DM_PW
*DM_REMOTE_DOMAINS
ATS_PRODCP2_DOMAIN TYPE=TDOMAIN
DOMAINID="atdexprodcp2"
ATS_PRODCP1_DOMAIN TYPE=TDOMAIN
DOMAINID="atdexprodcp1"
WERD_DOMAIN_TRAIN TYPE=TDOMAIN
DOMAINID="WERD_DOMAIN_TRAIN"
*DM_TDOMAIN
WERD_DOMAIN_ACCEPT NWADDR="//lasxxx:20501"
ATS_PRODCP1_DOMAIN NWADDR="//lasyyy:36651"
ATS_PRODCP2_DOMAIN NWADDR="//lasyyy:37651"
WERD_DOMAIN_TRAIN NWADDR="//lasun114:20601"
*DM_REMOTE_SERVICES
The domain config file on LASYYY:
*DM_LOCAL_DOMAINS
atdexprodcp1 GWGRP=TXGW01
TYPE=TDOMAIN
DOMAINID="atdexprodcp1"
SECURITY=DM_PW
BLOCKTIME=30
*DM_REMOTE_DOMAINS
atdeluat TYPE=TDOMAIN
DOMAINID="atdeluat"
WERD_DOMAIN_DEV1 TYPE=TDOMAIN
DOMAINID="WERD_DOMAIN_DEV1"
*DM_TDOMAIN
atdexprodcp1 NWADDR="//lasyyy:36651"
WERD_DOMAIN_ACCEPT NWADDR="//lasxxx:20501"
Could someone know how to fix this problem?The most common cause to this problem is incorrectly configured /Domain password pair, the next common cause is the mis-matched configuration. But before I give you more definite answer I need to clear few things up first.
1. The log shown that it failed to connect to "atdexprodcp2" but the DM configuration file on laxyyy only shown "atdexprodcp1", can you give me the complete configuration file on laxyyy?
2. Can you give me the Tuxedo version and RP level on both lasxxx and lasyyy?
3. it looks like you have 2 failures with 41 seconds in between. The first failure shown that WERD_DOMAIN_ACCEPT is the session initiator. The second failure shown that WERD_DOMAIN_ACCEPT is the session responder. My question is does the first failure also related to channel binding? (because the ULOG fragment in your post may be truncated it, and it does not show the root cause of the failure) -
I wrote a trigger with a cursor but it generate following msg and focused on FOR EACH ROW line while compiling any help
PLS-00801: internal error [ph2csql_strdef_to_diana:bind]
CREATE OR REPLACE TRIGGER ERPTRAIN.TRG_ADM_USER_UPDATE
AFTER INSERT OR UPDATE OR DELETE
ON ERPTRAIN.ADM_USER REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
CURSOR C1(vUserId VARCHAR2)
IS
SELECT EMP_CODE FROM DOTCOM.SM_EMPLOYEE
WHERE EMP_CODE = vUserId;
C1_REC C1%ROWTYPE;
BEGIN
IF C1%ISOPEN THEN
CLOSE C1;
END IF;
IF INSERTING OR UPDATING THEN
OPEN C1(:NEW.USER_ID);
FETCH C1 INTO C1_REC;
IF C1%NOTFOUND THEN
INSERT INTO DOTCOM.SM_EMPLOYEE
EMP_CODE, EMP_NAME, EMP_CR_DT,
EMP_CR_UID, EMP_LST_MOD_DT, EMP_FREEZE_FLAG,
EMP_APPROVED)
VALUES
:NEW.USER_ID, :NEW.USER_DESC, :NEW.USER_CR_DT,
:NEW.USER_CR_UID, :NEW.USER_UPD_DT,:NEW.USER_FRZ_FLAG,'N');
ELSE
UPDATE DOTCOM.SM_EMPLOYEE
SET EMP_CODE =: NEW.USER_ID,
EMP_NAME =: NEW.USER_DESC,
EMP_CR_DT =: NEW.USER_CR_DT,
EMP_CR_UID =: NEW.USER_CR_UID,
EMP_LST_MOD_DT =: NEW.USER_UPD_DT,
EMP_FREEZE_FLAG=: NEW.USER_FRZ_FLAG
WHERE EMP_CODE =:NEW.USER_ID;
END IF;
CLOSE C1;
END IF;
IF DELETING THEN
OPEN C1(:OLD.USER_ID);
FETCH C1 INTO C1_REC;
IF C1%FOUND THEN
DELETE FROM DOTCOM.SM_EMPLOYEE WHERE EMP_CODE = :OLD.USER_ID;
END IF;
CLOSE C1;
END IF;
END;Your trigger is way too complicated: you don't need the extra cursor, which just seems there to control whether a row exists or not - just run the statements without extra checking.
A somewhat simplified version would be:
create or replace trigger erptrain.trg_adm_user_update
after insert or update or delete
on erptrain.adm_user
for each row
declare
begin
if inserting
or updating
then
update dotcom.sm_employee
set emp_code = :new.user_id,
emp_name = :new.user_desc,
emp_cr_dt = :new.user_cr_dt,
emp_cr_uid = :new.user_cr_uid,
emp_lst_mod_dt = :new.user_upd_dt,
emp_freeze_flag = :new.user_frz_flag
where emp_code = :new.user_id;
if sql%rowcount = 0
then
insert
into dotcom.sm_employee (emp_code,
emp_name,
emp_cr_dt,
emp_cr_uid,
emp_lst_mod_dt,
emp_freeze_flag,
emp_approved
values (
:new.user_id,
:new.user_desc,
:new.user_cr_dt,
:new.user_cr_uid,
:new.user_upd_dt,
:new.user_frz_flag,
'N');
end if;
end if;
if deleting
then
delete from dotcom.sm_employee
where emp_code = :old.user_id;
end if;
end trg_adm_user_update;Actually it looks you need a unique constraint on dotcom.sm_employee.emp_code which probably s missing?
Maybe you are looking for
-
Problems with an Error when connecting Laptop to HDMI-TV Using PSE9
Hi Guys. Having a problem using my connection to the HDMI-TV at my house. I am using Photoshop Elements 9.0.3, so no update is available right now. I did a nice Slideshow of my trip to Thailand. When i watch it on my Laptop everything is fine. Even i
-
Does the ethernet adapter have a MAC address?
Hi, I wonder if anyone can answer this one for me. I use programs under bootcamp that need a 'dongle' to prevent them being used on more than one machine at once. ProE for example uses a Pluscom ethernet adaptor that carries its own unique MAC addres
-
Password Hook Configuration in IdM
Dear Experts, Currently I'm working on an IDM password hook implementation. I'm very new to this and need you expert advice on how to implement this scenario.The customer already have a CUA in the landscape and they are would also continue using it.
-
Firefox on Mountain Lion = mobile sites?
I have Firefox 14.0.1 installed on Mountain Lion for Mac. The browser keeps going to the mobile version of websites (gmail and hotmail are the two I've noticed). How do I stop this or change it so that it will correctly identify my computer as a desk
-
Constant disconnects using VZ Mgr
I really am tired of having to retype everything due to being erased here. This is my only alternative to dial up and not at $60 a month I am constantly being disconnected from on line. What a pain! Never had that on dial up with aol. The tech suppor