Error while assigning values to Array using Copy operation
Hi,
I am using the following code to copy a string value 'Text' and 'UDFTypeTitle' to the 1st and 2nd position of an array:-
<assign name="Assign1">
<copy>
<from expression="string('Text')"/>
<to variable="Invoke1_ReadUDFValues_InputVariable" part="params"
query="/ns1:ReadUDFValues/ns1:Field[position()=1]"/>
</copy>
<copy>
<from expression="string('UDFTypeTitle')"/>
<to variable="Invoke1_ReadUDFValues_InputVariable" part="params"
query="/ns1:ReadUDFValues/ns1:Field[position()=2]"/>
</copy>
</assign>
I am getting the following error for the 2nd copy:-
XPath query string returns zero node.
The assign activity of the to node query is returning zero node.
Either the to node data or the xpath query in the to node was invalid.
According to BPEL4WS spec 1.1 section 14.3, verify the to node value at line number 103 in the BPEL source
If I am removing the 2nd copy I am not getting any error.
The structure of ns1:*ReadUDFValues* is as follows:-
- <xsd:complexType name="ReadUDFValues">
- <xsd:sequence>
<xsd:element maxOccurs="unbounded" name="Field" type="tns:UDFValueFieldType" />
<xsd:element minOccurs="0" name="Filter" type="xsd:string" />
<xsd:element minOccurs="0" name="OrderBy" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
The structure of ns1:ReadUDFValues/ns1:*Field* is as follows:-
xsd:simpleType name="UDFValueFieldType">
- <xsd:restriction base="xsd:string">
<xsd:enumeration value="CodeValue" />
<xsd:enumeration value="ConditionalIndicator" />
<xsd:enumeration value="Cost" />
<xsd:enumeration value="CreateDate" />
<xsd:enumeration value="CreateUser" />
<xsd:enumeration value="Description" />
<xsd:enumeration value="Double" />
<xsd:enumeration value="FinishDate" />
<xsd:enumeration value="ForeignObjectId" />
<xsd:enumeration value="Indicator" />
<xsd:enumeration value="Integer" />
<xsd:enumeration value="IsBaseline" />
<xsd:enumeration value="IsTemplate" />
<xsd:enumeration value="IsUDFTypeCalculated" />
<xsd:enumeration value="IsUDFTypeConditional" />
<xsd:enumeration value="LastUpdateDate" />
<xsd:enumeration value="LastUpdateUser" />
<xsd:enumeration value="ProjectObjectId" />
<xsd:enumeration value="StartDate" />
<xsd:enumeration value="Text"/>
<xsd:enumeration value="UDFCodeObjectId" />
<xsd:enumeration value="UDFTypeDataType" />
<xsd:enumeration value="UDFTypeObjectId" />
<xsd:enumeration value="UDFTypeSubjectArea" />
<xsd:enumeration value="UDFTypeTitle"/>
</xsd:restriction>
</xsd:simpleType>
Could you please suggest a solution?
I also tried with position 0, 1 . still the same error.
Regards,
Sam
Hi Naresh,
The structure of ReadUDFValues is as follows:-
- <xsd:complexType name="ReadUDFValues">
- <xsd:sequence>
<xsd:element maxOccurs="unbounded" name="Field" type="tns:UDFValueFieldType" />
<xsd:element minOccurs="0" name="Filter" type="xsd:string" />
<xsd:element minOccurs="0" name="OrderBy" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
The structure of ns1:ReadUDFValues/ns1:Field is as follows:-
xsd:simpleType name="UDFValueFieldType">
- <xsd:restriction base="xsd:string">
<xsd:enumeration value="CodeValue" />
<xsd:enumeration value="ConditionalIndicator" />
<xsd:enumeration value="Cost" />
<xsd:enumeration value="CreateDate" />
<xsd:enumeration value="CreateUser" />
<xsd:enumeration value="Description" />
<xsd:enumeration value="Double" />
<xsd:enumeration value="FinishDate" />
<xsd:enumeration value="ForeignObjectId" />
<xsd:enumeration value="Indicator" />
<xsd:enumeration value="Integer" />
<xsd:enumeration value="IsBaseline" />
<xsd:enumeration value="IsTemplate" />
<xsd:enumeration value="IsUDFTypeCalculated" />
<xsd:enumeration value="IsUDFTypeConditional" />
<xsd:enumeration value="LastUpdateDate" />
<xsd:enumeration value="LastUpdateUser" />
<xsd:enumeration value="ProjectObjectId" />
<xsd:enumeration value="StartDate" />
<xsd:enumeration value="Text"/>
<xsd:enumeration value="UDFCodeObjectId" />
<xsd:enumeration value="UDFTypeDataType" />
<xsd:enumeration value="UDFTypeObjectId" />
<xsd:enumeration value="UDFTypeSubjectArea" />
<xsd:enumeration value="UDFTypeTitle"/>
</xsd:restriction>
</xsd:simpleType>
Similar Messages
-
Error while assigning values to Table type
Hi,
I am trying to insert some values to a Collection type , while doing that I am facing an error ,
" PLS-00306: wrong number or types of arguments in call to
'XXSCP_AVL_CSP_SQR_O_TP' "PFB my collection type declaration and and assignment .
Object type :
TYPE XXSCP_AVL_CSP_SQR_O_TP AS
OBJECT (
PLAN_ID NUMBER,
SR_INSTANCE_ID NUMBER,
INVENTORY_ITEM_ID NUMBER,
BASE_ITEM_ID NUMBER,
ITEM_NAME VARCHAR2(50),
SUPPLIER_ID NUMBER,
SUPPLIER_SITE_ID NUMBER,
NORMAL_BUY_USAGE VARCHAR2(5),
AVAILABLE_QUANTITY NUMBER ,
SPL_PEG_FLAG VARCHAR2(10),
SQR_LINE_ID VARCHAR2(2000),
SQR_NUMBER VARCHAR2(2000),
SQR_MOQ NUMBER,
BPA_PO_LINE_ID NUMBER,
SUGG_BPA_NUMBER VARCHAR2(30),
BPA_BUY_PRICE_BASIS VARCHAR2(10),
BPA_LINE_NUM NUMBER,
BPA_PO_LINE_LOC_ID NUMBER,
BPA_CURRENCY_CODE VARCHAR2(10),
BPA_PRICE NUMBER,
BPA_PO_HEADER_ID NUMBER,
BPA_EXPIRATION_DATE DATE,
BPA_QUANTITY NUMBER,
ORIG_AVAILABLE_QTY NUMBER
Table type :
TYPE XXSCP_AVL_CSP_SQR_C_TP AS TABLE OF XXSCP_AVL_CSP_SQR_O_TP;Declaraion:
l_tab_avl_csp_sqr XXSCP_AVL_CSP_SQR_C_TP := XXSCP_AVL_CSP_SQR_C_TP();Assignment in body :
l_tab_avl_csp_sqr.EXTEND(1);
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT) := XXSCP_AVL_CSP_SQR_O_TP();
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).plan_id := l_tab_planorders (i).l_num_plan_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).sr_instance_id := l_tab_planorders (i).l_num_sr_instance_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).inventory_item_id := l_tab_planorders (i).l_num_inventory_item_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).base_item_id := l_tab_planorders (i).l_num_base_item_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).item_name := l_tab_planorders (i).l_chr_item_name;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).supplier_id := l_tab_planorders (i).l_num_supplier_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).supplier_site_id := l_tab_planorders (i).l_num_supplier_site_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).available_quantity := l_rec_pegged_list (j).remaining_aval_qty;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).spl_peg_flag := 'Y';
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).sqr_line_id := l_rec_pegged_list (j).sqr_line_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).sqr_number := l_rec_pegged_list (j).sqr_number;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).sqr_moq := l_rec_pegged_list (j).sqr_moq;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).bpa_po_line_id := l_rec_pegged_list (j).bpa_po_line_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).sugg_bpa_number := l_rec_pegged_list (j).bpa_number;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).bpa_buy_price_basis := l_rec_pegged_list (j).bpb_type;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).bpa_line_num := l_rec_pegged_list (j).bpa_line_num;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).bpa_po_line_loc_id := l_rec_pegged_list (j).bpa_lloc_id;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).bpa_currency_code := l_rec_pegged_list (j).bpa_curr_code;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).bpa_price := l_rec_pegged_list (j).bpa_price;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).bpa_expiration_date := l_rec_pegged_list (j).bpa_expiration_date ;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).bpa_quantity := l_rec_pegged_list (j).bpa_quantity ;
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT).orig_available_qty := l_rec_pegged_list (j).remaining_aval_qty ;Can anyone help in this issue.
Thanks in advance,
Rakesh
Edited by: Venkat Rakesh on Apr 24, 2013 12:18 AMyou need to add an empty-arg user-defined constructor for your type in order to use, "l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT) := XXSCP_AVL_CSP_SQR_O_TP();"
create or replace
TYPE XXSCP_AVL_CSP_SQR_O_TP AS
OBJECT (
PLAN_ID NUMBER,
SR_INSTANCE_ID NUMBER,
INVENTORY_ITEM_ID NUMBER,
BASE_ITEM_ID NUMBER,
ITEM_NAME VARCHAR2(50),
SUPPLIER_ID NUMBER,
SUPPLIER_SITE_ID NUMBER,
NORMAL_BUY_USAGE VARCHAR2(5),
AVAILABLE_QUANTITY NUMBER ,
SPL_PEG_FLAG VARCHAR2(10),
SQR_LINE_ID VARCHAR2(2000),
SQR_NUMBER VARCHAR2(2000),
SQR_MOQ NUMBER,
BPA_PO_LINE_ID NUMBER,
SUGG_BPA_NUMBER VARCHAR2(30),
BPA_BUY_PRICE_BASIS VARCHAR2(10),
BPA_LINE_NUM NUMBER,
BPA_PO_LINE_LOC_ID NUMBER,
BPA_CURRENCY_CODE VARCHAR2(10),
BPA_PRICE NUMBER,
BPA_PO_HEADER_ID NUMBER,
BPA_EXPIRATION_DATE DATE,
BPA_QUANTITY NUMBER,
ORIG_AVAILABLE_QTY NUMBER,
Constructor
constructor function XXSCP_AVL_CSP_SQR_O_TP return self as result
create or replace
TYPE body XXSCP_AVL_CSP_SQR_O_TP AS
Constructor
constructor function XXSCP_AVL_CSP_SQR_O_TP return self as result
is
begin
return;
end;
end; alternatively, assign your attributes as you construct your instance:
l_tab_avl_csp_sqr.EXTEND(1);
l_tab_avl_csp_sqr(l_tab_avl_csp_sqr.COUNT) := new XXSCP_AVL_CSP_SQR_O_TP(
l_tab_planorders (i).l_num_plan_id,
l_tab_planorders (i).l_num_sr_instance_id.
l_tab_planorders (i).l_num_inventory_item_id,
l_tab_planorders (i).l_num_base_item_id,
l_tab_planorders (i).l_chr_item_name,
l_tab_planorders (i).l_num_supplier_id,
l_tab_planorders (i).l_num_supplier_site_id,
l_rec_pegged_list (j).remaining_aval_qty,
'Y',
l_rec_pegged_list (j).sqr_line_id,
l_rec_pegged_list (j).sqr_number,
l_rec_pegged_list (j).sqr_moq,
l_rec_pegged_list (j).bpa_po_line_id,
l_rec_pegged_list (j).bpa_number,
l_rec_pegged_list (j).bpb_type,
l_rec_pegged_list (j).bpa_line_num,
l_rec_pegged_list (j).bpa_lloc_id,
l_rec_pegged_list (j).bpa_curr_code,
l_rec_pegged_list (j).bpa_price,
l_rec_pegged_list (j).bpa_expiration_date,
l_rec_pegged_list (j).bpa_quantity,
l_rec_pegged_list (j).remaining_aval_qty );Gerard
Edited by: gaverill on Apr 23, 2013 12:12 PM -
BCD_FIELD_OVERFLOW error while assigning value to dynamic work area
Hi guys,
I am trying following code --it uses dynamic table concept.
LABSTD2 TYPE P DECIMALS 1,
LABST_2 TYPE P DECIMALS 1,
LABST_12 TYPE P DECIMALS 1,
T_ARTMAS-LABST_12 = T_ARTMAS-LABSTD1 + T_ARTMAS-LABSTD2.
ASSIGN COMPONENT 'LABST_12' OF STRUCTURE <DYN_WA> TO <DYN_FIELD>.
<DYN_FIELD> = T_ARTMAS-LABST_12.
Value in T_ARTMAS-LABST_12 in debug was 14690.0....still it gave following error-----
Runtime Error BCD_FIELD_OVERFLOW
Except. CX_SY_CONVERSION_OVERFLOW
Even i changed decleartion as follows
LABST_12 TYPE P lenght 10 DECIMALS 1,
Still it is giving same problem ...
Kindly help.Hi, I think it has nothing to do with an overflow but something with the code. Try this simple (rather stupied) code:
TYPES: BEGIN OF ty_line,
fld1 TYPE p DECIMALS 1,
fld2 TYPE p DECIMALS 1,
fld3 TYPE p DECIMALS 1,
END OF ty_line.
DATA lv_rec TYPE ty_line.
DATA lv_count(1) TYPE n.
DATA lv_fld1 TYPE p DECIMALS 1.
DATA lv_fld2 TYPE p DECIMALS 1.
DATA lv_fld3 TYPE p DECIMALS 1.
DATA lv_field TYPE string.
FIELD-SYMBOLS: <fs_fld> TYPE any.
BREAK-POINT.
lv_fld1 = 15211444 / 10.
lv_fld2 = 54879072 / 10.
lv_fld3 = lv_fld1 + lv_fld2.
DO 3 TIMES.
lv_count = lv_count + 1.
CLEAR lv_field.
CONCATENATE 'lv_rec-fld' lv_count INTO lv_field.
CONDENSE lv_field NO-GAPS.
ASSIGN (lv_field) TO <fs_fld>.
<fs_fld> = lv_fld3.
ENDDO.
BREAK-POINT.
Succes. -
Error while assigning dates to associative array of date type
Hi All,
I am facing the issue while assigning dates to associative array of date type:
Oracle Version:
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Stored procedure i am trying to write is as following
create or replace procedure jp1 (
p_start_date date default trunc(sysdate,'MM')
, p_end_date date default trunc(sysdate)
is
l_no_of_days number;
type t_date_id is table of date
index by pls_integer;
l_date_id_arr t_date_id;
begin
l_no_of_days := p_end_date - p_start_date;
for i in 0
.. l_no_of_days - 1
loop
l_date_id_arr := p_start_date + i;
dbms_output.put_line(p_start_date + i);
end loop;
end;
I am getting error at line 14 while compiling this. and the error message is as following:
Errors for PROCEDURE JP1:
LINE/COL ERROR
14/5 PL/SQL: Statement ignored
14/22 PLS-00382: expression is of wrong type
So while investigating this i tried to output the value of (p_start_date + i) using dbms_output.put_line and the output is date itself.
create or replace procedure jp1 (
p_start_date date default trunc(sysdate,'MM')
, p_end_date date default trunc(sysdate)
is
l_no_of_days number;
type t_date_id is table of date
index by pls_integer;
l_date_id_arr t_date_id;
begin
l_no_of_days := p_end_date - p_start_date;
for i in 0 .. l_no_of_days-1
loop
--l_date_id_arr := p_start_date + i;
dbms_output.put_line(p_start_date + i);
end loop;
end;
output of the
exec jp1
is as following:
01-DEC-13
02-DEC-13
03-DEC-13
04-DEC-13
05-DEC-13
06-DEC-13
07-DEC-13
08-DEC-13
09-DEC-13
10-DEC-13
11-DEC-13
12-DEC-13
13-DEC-13
14-DEC-13
15-DEC-13
16-DEC-13
17-DEC-13
18-DEC-13
I see the output as date itself. so why it is throwing error while assigning the same to associative array of date type.
I tried to google also for the same but to no avail.
Any help in this regard is appreciated or any pointer some other thread on internet or in this forum.
Thanks in advance
Jagdeep SangwanRead about associative arrays :
create or replace procedure jp1 (
p_start_date date default trunc(sysdate,'MM')
, p_end_date date default trunc(sysdate)
) is
l_no_of_days number;
type t_date_id is table of date
index by pls_integer;
l_date_id_arr t_date_id;
begin
l_no_of_days := p_end_date - p_start_date;
for i in 0..l_no_of_days - 1
loop
l_date_id_arr(i) := p_start_date + i;
dbms_output.put_line(p_start_date + i);
end loop;
end;
Ramin Hashimzade -
Error While Deploying the BPEL Process using obant script
Hi All,
I am getting the following error while deploying the BPEL Process using obant script. we are using the BPEL Version 10.1.2.0.2.Any information in this regard will be really helpful.
Buildfile: build.xml
main:
[bpelc] file:/home5102/dibyap/saravana/Test/CreditRatingService.wsdl
[bpelc] validating "/home5102/dibyap/saravana/Test/CreditRatingService.bpel" ...
BUILD FAILED
/home5102/dibyap/saravana/Test/build.xml:15: ORABPEL-01002
Domain directory not found.
The process cannot be deployed to domain "default" because the domain directory "/opt02/app/ESIT/oracle/esit10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/default/deploy" cannot be found or cannot b
e written to.
Please check your -deploy option value; "default" must refer to a domain that has been installed locally on your machine.
Total time: 23 seconds
dibyap@ios5102_ESIBT:/home5102/dibyap/saravana/Test>
Thanks,
SaravanaIn 10.1.2.0.2 you need to create your own build.xml
I have found an example, it may be of some help. This does call a property file
cheers
James
<?xml version="1.0" ?>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run cxant on this file to build, package and deploy the
ASB_EFT BPEL process
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<project name="ASB_EFT" default="main" basedir=".">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Name of the domain the generated BPEL suitcase will be deployed to
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="deploy" value="default" />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What version number should be used to tag the generated BPEL archive?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="rev" value="1.0" />
<!-- BPEL Best Practices Properties -->
<!-- Defaults Properties for TARGET environments
# CHANGE THIS FILE TO REFLECT THE TARGET ENVIRONEMNT
# either dev, test, or prod.properties
-->
<property file="ebusd.properties"/>
<property name="env" value="${env.name}"/>
<property name="current.project.name" value="${project.name}"/>
<property name="target.project.name" value="${project.name}_${env}"/>
<property name="deployment.profile" value ="${env}.properties"/>
<property name="source.development.directory" location="${basedir}"/>
<property name="target.env.directory" location="${basedir}/deploy/${project.name}_${env}"/>
<property file="${deployment.profile}"/>
<property name="build.fileencoding" value="UTF-8"/>
<!-- Prints Environment
-->
<target name="print.env" description="Display environment settings">
<echo message="Base Directory: ${basedir}"/>
<echo message="Deployment Profile: ${deployment.profile}"/>
<echo message="target.env.directory: ${target.env.directory}"/>
<echo message="Deploy to Domain: ${deployToDomain}"/>
<echo/>
<echo message="os.name: ${os.name}"/>
<echo message="os.version: ${os.version}"/>
<echo message="os.arch: ${os.arch}"/>
<echo/>
<echo message="java.home: ${java.home}"/>
<echo message="java.vm.name: ${java.vm.name}"/>
<echo message="java.vm.vendor: ${java.vm.vendor}"/>
<echo message="java.vm.version: ${java.vm.version}"/>
<echo message="java.class.path: ${java.class.path}"/>
<echo/>
<echo message="env: ${env}"/>
<echo message="current.project.name: ${current.project.name}"/>
<echo message="target.project.name: ${target.project.name}"/>
<echo message="server.name: ${server.name}"/>
</target>
<!--
Copies the current directory structure along with
all the file into the target.env.directory and
change the name of the project
-->
<target name="create.environment">
<copy todir="${target.env.directory}">
<fileset dir="${basedir}"/>
<filterset begintoken="@" endtoken="@">
<filtersfile file="${deployment.profile}"/>
</filterset>
</copy>
<move file="${target.env.directory}/${current.project.name}.jpr" tofile="${target.env.directory}/${target.project.name}.jpr"/>
</target>
<target name="main">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the bpelc task compiles and package BPEL processes into versioned BPEL
archives (bpel_...jar). See the "Programming BPEL" guide for more
information on the options of this task.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
</target>
</project>
here is a property file
project.name=ASB_EFT
env.name=ebusd
deployToDomain=default
server.name=[server]
server.port=7788
ebusd\:7788=http://[server]:7788/
IntegrationMailAccount=OracleBPELTest
IntegrationMailAddress=[email]
IntegrationMailPassword=[password]
archivedir=[directory]
inbounddir=/[directory]
errordir=[directory]
outbounddir=[directory]
bpelpw=bpel
dbhost1=[dbserver]
dbhost2=[dbserver]
dbport=1523
dbservice=bpel
dbconnstr=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523))(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523)))(CONNECT_DATA=(SERVICE_NAME=ebusd))) -
Team,
I got an error while creating a User for Domain Account. Below is the screen shot of the error (error : 15401)
Database instance is on SQL 2000 SP3. ( I know it is out of support, But the customer is relutanct to upgrade)
On Google search, i found below article which is best matching for this error
http://support.microsoft.com/kb/324321
I have follows each step of troubleshooting. But still the issue persists.
Step 1. The login does not exist == The login is very much exist in the domain as i am able to add the same domain id to other database instances
Step 2. Duplicate security identifiers == i have used this query to find duplicate SID
/* SELECT name FROM syslogins WHERE sid = SUSER_SID ('YourDomain\YourLogin') */
But there was only one row returned with create date of today's.
Error while Assigning database level role (db_datareader) to SQL login (Domain Account)
Step 3. Authentication failure == Domain is available. User is able to login on other servers via RDP connection.
Step 4. Case sensitivity == Database collation is set to Case insensitivity. (CI)
Other two 5. Local Accounts & 6. Name resolution == is not applicable to me.
I tried other ways also.
A. Creating login and providing permission in one go only = User account is not created
B. Instead of GUI, use query to create login and provide required permission = Same error.
Does anybody has faced any such situation
ChetanSee the below output
srvid
sid
xstatus
xdate1
xdate2
name
password
dbid
language
isrpcinmap
ishqoutmap
selfoutmap
NULL
0x010500000000000515000000A1F66E1BFC1DC75D26E72530A2B80400
14
20:25.9
57:33.4
UKBAA\LHRAPPMuttavarapuS
NULL
1
us_english
0
0
0
Chetan -
RequestTimeoutException error while invoking a BPEL process using RMI
Hi,
I am getting RequestTimeoutException error while invoking a BPEL process using this code:
Locator locator = LocatorFactory.createLocator(jndiProps);
String compositeDN = "default/"+processName+"!1.0";
Composite composite = locator.lookupComposite(compositeDN);
String serviceName = "client";
Service deliveryService = composite.getService(serviceName);
NormalizedMessage nm = new NormalizedMessageImpl();
nm.getPayload().put("payload", requestXml);
NormalizedMessage res = deliveryService.request("process", nm);
responseMap = res.getPayload();
The error stack trace is
weblogic.rmi.extensions.RequestTimeoutException: RJVM response from 'weblogic.rjvm.RJVMImpl@604f2d14 - id: '-361032376059206
2776S:10.67.232.164:[8001,-1,-1,-1,-1,-1,-1]:emaar_domain:soa_server1' connect time: 'Mon Jan 18 11:34:41 GST 2010'' for 'executeServiceMethod
(Loracle.soa.management.CompositeDN;Ljava.lang.String;Ljava.lang.String;[Ljava.lang.Object;) 'timed out after: 60000ms.
oracle.fabric.common.FabricInvocationException: weblogic.rmi.extensions.RequestTimeoutException: RJVM response from 'weblogic.rjvm.RJVMImpl@60
4f2d14 - id: '-3610323760592062776S:10.67.232.164:[8001,-1,-1,-1,-1,-1,-1]:emaar_domain:soa_server1' connect time: 'Mon Jan 18 11:34:41 GST 20
10'' for 'executeServiceMethod(Loracle.soa.management.CompositeDN;Ljava.lang.String;Ljava.lang.String;[Ljava.lang.Object;) 'timed out after: 6
0000ms.
at oracle.soa.management.internal.facade.ServiceImpl.request(ServiceImpl.java:135)
at com.gss.common.bo.BpelUtil.invokeBPELProcess(BpelUtil.java:81)
To add to it the BPEL process is executing successfuly and RMI call timeout is happening.
Can I know how to increase the related timeout value?Have got the same problem. Scenario at my end is little different though.
I am trying to invoke a BPEL process from an ESB Service.
I am trying to look into it..
However, would be grateful, if someone can give some insight into this since many are running into this issue without being able to fix.
Ashish. -
Error while deleting values of characteristic /1FB/COMPANY/Company (RFC des
Dear all,
I am trying to synchronize Company master data between local BCS system and SAP BW with UGMD_BATCH_SYNC program. In the synchronization mode, Full Synschronization (Write and Delete) was selected.
However, I receive the following error message when executing the program:
Error while deleting values of characteristic /1FB/COMPANY/Company (RFC destination )
Message no. UGMD077
Diagnosis
When writing or deleting values of characteristic /1FB/COMPANY/Company errors occurred in the system with RFC destination . As the changes have already been defined in the local storage location this results in the master data being asynchronous between the local and remote storage location.
System Response
Processing is continued.
Procedure
Carry out a manual synchronization of the master data later using report UGMD_BATCH_SYNC. You can find additional information there under Application Help.
FYI, RFC Destination for my data basis is left blank.
What may causes this error and how to resolve it?
Thank you.Hi MontyBurns,
May I know what settings that I need to check in UGMDSYNC program? As far as I can tell, there is only one parameter that we need to specify in the program i.e. Field Name. As I am trying to synchronize from BCS to BW, I have chosen the followings settings:
Source = LOCAL
Target = ALLBW
All,
Interesting thing that I notice after executing the UGMDSYNC program is the following message:
Synchronize/Display Variances Between Systems
The compound dependencies for the attributes or texts are not defined
uniformly in the systems investigated.
Example:
Texts are defined as language-specific in the local systems and as
language-independent in remote systems (for example BW systems). The
same can apply for other compounds such as version or time dependencies.
System Response
The display of differences between the systems will be affected. A
manual synchronization will not be completely successful.
Procedure
1. Ensure that the dependencies for the attributes and texts are the
same in all systems.
2. Start the synchronization process again.
Procedure for System Administration
I can check the attributes and texts in BW via RSD1 by specifying InfoObject = 0COMPANY and checking the Master data/texts and Attribute tabs. But how do I check similar settings in BCS Workbench? I can't determine whether the Company text is language-dependent or not simply by displaying specific Company from Process View > Master Data > Consolidation Units > Company.
Thanks. -
Error: EDI: Error while assigning IDoc number
Hi Everybody,
using XI 3.0 on Linux 64 bit SLES9 with Oracle I got some probleme sending messages from mq series to sap:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
<SAP:P1>EDI: Error while assigning IDoc number</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error: EDI: Error while assigning IDoc number</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
What is missing here?
Kind regards,
MichaelHi Jayakrishnan,
thanks a lot for your answer.
SM59 is working finde. In IDX1 I got the the correct RFC destination entered and a double click works fine also.
The other way around R3 -> XI -> mq series is working fine. Here we are trying mq -> XI -> R3 and it stops sending from XI to R/3.
How to check the IDOC type?
Regards,
Michael -
Error while creating the DWH tables using DAC
Hi,
I am getting error while creating the DWH tables using DAC. I have created a ODBC DSN using merant driver with DAC repository DB credentials and the test connection is successful. And while creating the tables i gave the olap dw credentials and the DSN name which i created earlier. But it throws the error as below:
Please find the below mentioned error message
=====================================
STD OUTPUT
=====================================
CREATING SIEBEL DATABASE OBJECTS
F:\DAC\bifoundation\dac\UTILITIES\BIN\DDLIMP /I N /s N /u infdomain /p ******* /c DB_DAC /G "SSE_ROLE" /f F:\DAC\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl /b "" /K "" /X "" /W N
Error while importing Siebel database schema.
=====================================
ERROR OUTPUT
=====================================
Siebel Enterprise Applications ODBC DDL Import Utility, Version 7.7 [18030] ENU
Copyright (c) 2001 Siebel Systems, Inc. All rights reserved.
This software is the property of Siebel Systems, Inc., 2207 Bridgepointe Parkway,
San Mateo, CA 94404.
User agrees that any use of this software is governed by: (1) the applicable
user limitations and other terms and conditions of the license agreement which
has been entered into with Siebel Systems or its authorized distributors; and
(2) the proprietary and restricted rights notices included in this software.
WARNING: THIS COMPUTER PROGRAM IS PROTECTED BY U.S. AND INTERNATIONAL LAW.
UNAUTHORIZED REPRODUCTION, DISTRIBUTION OR USE OF THIS PROGRAM, OR ANY PORTION
OF IT, MAY RESULT IN SEVERE CIVIL AND CRIMINAL PENALTIES, AND WILL BE
PROSECUTED TO THE MAXIMUM EXTENT POSSIBLE UNDER THE LAW.
If you have received this software in error, please notify Siebel Systems
immediately at (650) 295-5000.
F:\DAC\bifoundation\dac\UTILITIES\BIN\DDLIMP /I N /s N /u infdomain /p ***** /c DB_DAC /G SSE_ROLE /f F:\DAC\bifoundation\dac/conf/sqlgen/ctl-file/oracle_bi_dw.ctl /b /K /X /W N
Connecting to the database...
28000: [DataDirect][ODBC Oracle driver][Oracle]ORA-01017: invalid username/password; logon denied
Unable to connect to the database...
any help is appreciated.
Thanks,
RMThe fact that you are getting an "ORA-01017: invalid username/password; logon denied" message indicates that you are at least talking to the database.
The log shows that username "infdomain" is being used. Can you double check the username and password you have in DAC in a SQL*Plus/SQL Developer session?
Please mark if useful/helpful,
Andy. -
XML Parser Error while creating Web service Client using JAX RPC
hello evryone,
Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
wscompile -gen:client -d build -classpath build config-wsdl.xml
here im getting Error:
error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
Please help me out.
Many thanks in advance,
KaceeCan i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.
-
Error - ATTRIBUTE_IDOC_METADATA - EDI: Error while assigning IDoc number
Hi,
I'm attempting to create a simple interface which converts cutomer data from a flat file and loads it into a SAP enterprise system as an DEBMAS06 IDoc type. I am getting the error message Error - ATTRIBUTE_IDOC_METADATA - EDI: Error while assigning IDoc number in the XI message monitor.
Has anyone come accross this error before and if so, what is the resolution???
Thanks, in advance,
PeteHi Peter,
did you fixed it?
How did you?
got the same problem
Kind regards,
Michael -
Error while assigning Decimal Attribute to PA
Hi,
I am receiving an error while assigning a decimal attribute to the planning area. I am attaching the screen shot below . Can anybody shade some light on this error, what could be the reason ?
Thanks in advance.
Regards,
ChandanOne cannot have a decimal attribute as the 'attribute' in planning. A decimal attribute can always be marked as a key figure.
For eg: Price. It cant be a attribute of planning area (like Plant, product). -
I am getting error while connecting to sqlplus by using apps account in 11i
i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
[applmgr@appsc05t01 admin]$ sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: apps
ERROR:
ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
Enter user-name:
Thanks
Raoyes.
login as: gorantla
[email protected]'s password:
Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
[gorantla@appsc05t01 ~]$ sudo su - applmgr
[applmgr@appsc05t01 ~]$ ora_setup
Available databases:
x = ATUXX
y = ATUYY
z = ATUZZ
Select database: \c
y
ORACLE_SID=ATUYY
IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
APPL_TOP=/apps/ATUYY/atuyyappl
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$ tnsping ATUYY
TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
OK (0 msec)
[applmgr@appsc05t01 ~]$ sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: apps
ERROR:
ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
Enter user-name:
Thanks
Rao -
Error while assignment of Paying Co Code in FBZP
HI friends,
I am getting the following error while assigning Paying Co Code in FBZP -
Company code 7144 is not permitted as the paying company code
Message no. F3063
Diagnosis
The paying company code and the company code on whose behalf the payment is being made must be in the same country, have the same local currency, and display the same currencies managed in parallel. The setting regarding extended withholding tax functions (active or not active) must also be identical for both company codes.
System Response
The entry is not accepted since these requirements are not met.
Procedure
Correct your entry.bold**
The reason for the same isCompany code 7144 is not permitted as the paying company code
Message no. F3063
Diagnosis
The paying company code and the company code on whose behalf the payment is being made must be in the same country, have the same local currency, and display the same currencies managed in parallel. The setting regarding extended withholding tax functions (active or not active) must also be identical for both company codes.
System Response
The entry is not accepted since these requirements are not met.
Procedure
Correct your entry.
The scenario is that one company code is making the payments for the other. However, the 2 companies are based in different countries. Hence, system is not allowing this assignment.
Has anyone come across this scenario? Is there any other wayaround for this which can result in Intercompany postings.
If we assign the Paying Company Code in the Variant screen in F110( instead of FBZP), will that work? I have tried the same but it doesnt work that way.
Any help on this will be highly appreciated.
Thanks in advance,
Hrishi- i am not sure if its possible; help on FBZP clearly states this
+++++++++++++++++
The paying company code and the company code to which payment is made must be in the same country and have the same local currency and parallel currencies. In addition, both company codes must have the same settings for enhanced withholding tax functions (active or not active).
Only the valid company codes for the paying company code are included in the possible entries.
+++++++++++++++++
Rgds.
Maybe you are looking for
-
Pull down menus freeze or stick
Increasing frequency!.... I use a pull down menu on the internet (regardless of browser or webpage), try to choose item from pull down menu, but menu sticks and won't process the choice I've made. Must hit "esc" and try again. I don't have this pro
-
27" I7 iMac will not recognize thumb drive
I have a PNY 8gb Attache thumb drive that is not recognized by my 2010 27" I7 iMac. It does not show on the desktop, disk utility, finder or system profile. However, this thumb drive works on my MacBook, 2006 24" iMac and a Dell laptop running XP.
-
How can i backup my catalog in PS elements 10
Backup in photoshop elements 10 continues to baffle me. I go thru the steps as instructed but when my catalog backs up to my external hard drive the files are on in XML format. Where are my pictures? when i attempt to open the file using Photoshop i
-
My new IPad cannot start. No any response on any button. Not show charging. Pls. can someone help about. Thks.
-
Hello, I am stuck in one of my requirements, Your help is appreciated... I am doing cartesian for date, product and organization in the query. So that if i run the report for a combination of date and organization i should get data for all products t