ORA-22816 on a Synonym for Remote Table
Hi
I created a synonym for a remote table in the portal schema.
When I tried inserting value into the table, I get this error
Error: An unexpected error occurred: ORA-22816: unsupported feature with RETURNING clause (WWV-16016)
The portal schema is in a 9i database and the remote table in a 8i database
Thanks
Satish
Try creating a form on this synonym. You should be able to do the table insert through the form.
However, you should make sure that the DB link is a public db link.
Similar Messages
-
Creating SYNONYM for all tables who don't have one at once!
Hello to all,
I'm trying to create synonyms for every table who's missing one at the moment. I'm trying this code:
declare
cursor cur_objects is
select obj.object_name , obj.owner
from all_objects obj
where owner = '&&SCHEMA_OWNER'
AND NOT EXISTS (SELECT *
FROM all_synonyms syn
WHERE obj.object_name = syn.table_name)
AND obj.object_type = 'TABLE'
AND obj.object_name LIKE 'CI_%';
begin
for rec_objects in cur_objects loop
begin
dbms_output.put_line(rec_objects.object_name);
execute immediate('create public synonym ' || rec_objects.object_name || ' for '
|| rec_objects.owner ||'.'||rec_objects.object_name )
exception when others then
null;
end;
end loop;
end;
I'm getting this error:
ORA-06550: line 10, column 37:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
begin function package pragma procedure subtype type use
<een ID>
<een scheidingsteken-ID tussen dubbele aanhalingstekens> form
current cursor
I'm still pretty new at PL/SQL and can't get it to work. Does anyone got any tips ?
Thnx alreadyOk now I got this error:
RA-06550: line 17, column 1:
PLS-00103: Encountered the symbol "EXCEPTION" when expecting one of the following:
* & = - + ; < / > at in is mod remainder not rem return
returning <een exponent (**)> <> or != or ~= >= <= <> and or
like LIKE2_ LIKE4_ LIKEC_ between into overlaps using ||
multiset bulk year DAY_ member SUBMULTISET_
The symbol ";" was substituted for "EXCEPTION" to continue. -
Using Hint option to optimise queries for remote tables
1. How do i provide a hint to access indexes for remote tables in my query?
2. The explain plan in the 'TOAD' does not expand for remote tables, ie there is no way i can find out whether my query is using the remote table index or not.
Any help on the above two questions would be highly appreciated.
Thanks
Varsha1. How do i provide a hint to access indexes for remote tables in my query?
2. The explain plan in the 'TOAD' does not expand for remote tables, ie there is no way i can find out whether my query is using the remote table index or not.
Any help on the above two questions would be highly appreciated.
Thanks
Varsha -
Public Synonyms for Nested Tables - Insertion Problem
Hi,
we are facing a problem during implementation. Our DB set up
is , we will be having two schema named OWNR and COPY.
In the schema, OWNR we have to create all the tables,
types,procedures, packages and obj.....This schema will have
both DDL and DML privileges.
In the schema, COPY we are not supposed to create any tables,
objects. We have to create public synonyms for all the tables,
types, procedures... in OWNR and grant ALL privilege to the
schema COPY.The schema, COPY will have only DML privileges.
The problem is we have some nested tables in our application.
When I try to insert into the synonym which is created for the
nested table, it is not allowing me to insert..The whole
implementation is stucked..Please help.The scripts are given
below.......
We have a type name SITA_ADDRESS_TY which is used by the nested
table SITA_ADDRESSES_NT.Script used for creating the Type,Nested
table,Table, Public Synonym and granting all privilege to these
types and tables are
CREATE OR REPLACE TYPE SITA_ADDRESS_TY AS OBJECT (
SITA_ADDRESS VARCHAR2(10),
REMARKS VARCHAR2(100)) ;
PROMPT SITA_ADDRESSS_NT...
CREATE OR REPLACE TYPE SITA_ADDRESSES_NT AS TABLE OF
SITA_ADDRESS_TY ;
Using this nested table we have created the table,
UMS_SITA_ADDRESS
CREATE TABLE UMS_SITA_ADDRESS (
COMPANY_CODE VARCHAR2 (6) NOT NULL,
AIRLINE_CODE VARCHAR2 (6) NOT NULL,
DESTINATION VARCHAR2 (6) NOT NULL,
SITA_ADDRESS SITA_ADDRESSES_NT)
TABLESPACE EKUMDAT
PCTFREE 5
PCTUSED 40
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
NEXT 64K
PCTINCREASE 0
MINEXTENTS 1
MAXEXTENTS 505
FREELISTS 1 FREELIST GROUPS 1 )
NOCACHE
NESTED TABLE SITA_ADDRESS STORE AS UMSNT_SITA_ADDRESS ;
PROMPT SYNONYM SITA_ADDRESS_TY...
CREATE PUBLIC SYNONYM SITA_ADDRESS_TY FOR SITA_ADDRESS_TY
PROMPT SYNONYM SITA_ADDRESSES_NT...
CREATE PUBLIC SYNONYM SITA_ADDRESSES_NT FOR SITA_ADDRESSES_NT
PROMPT UMS_SITA_ADDRESS...
CREATE PUBLIC SYNONYM UMS_SITA_ADDRESS FOR UMS_SITA_ADDRESS
Granting Privileges
PROMPT SITA_ADDRESS_TY...
GRANT EXECUTE ON SITA_ADDRESS_TY TO COPY
PROMPT SITA_ADDRESSS_NT...
GRANT EXECUTE ON SITA_ADDRESSES_NT TO COPY
PROMPT UMS_SITA_ADDRESS...
GRANT ALL ON UMS_SITA_ADDRESS TO COPY
When I connect to copy and desc UMS_SITA_ADDRESS, the structure
is
SQL> desc ums_sita_address
Name Null? Type
COMPANY_CODE NOT NULL VARCHAR2(6)
AIRLINE_CODE NOT NULL VARCHAR2(6)
DESTINATION NOT NULL VARCHAR2(6)
SITA_ADDRESS
OWNR.SITA_ADDRESSES_NT
Why is it so??. Even though I have a synonym for
SITA_ADDRESSES_NT, it is not referencing the synonym but instead
refer the OWNR.SITA_ADDRESSES_NT
Because of this when I try to insert into ums_sita_address(in
schema COPY), it is giving the following error,
SQL> insert into ums_sita_address values
('EK','EK','DXB',SITA_ADDRESSES_NT());
insert into ums_sita_address values
('EK','EK','DXB',SITA_ADDRESSES_NT())
ERROR at line 1:
ORA-00932: inconsistent datatypes
But when the same connect to OWNR and try to insert with the
same stmt, it is inserting...
Our middle tier can connect only to COPY schema alone..Is there
anything to be done in the DBA side to achieve this??.
Please help from your valuabe experience...Or can you ask your
collegues if they have got a soln to this probs..Our
implementation team is stucked with this...
Thanks
PriyaHi
I am not sure but maybe you need to use this command:
SQL> insert into ums_sita_address values
('EK','EK','DXB',SITA_ADDRESSES_TY());
SITA_ADDRESSES_TY() instead SITA_ADDRESSES_NT
Regards -
Public Synonyms for Nested Tables - Insertion Problem - Please Help!!!!!
Hi,
we are facing a problem during implementation. Our DB set up
is , we will be having two schema named OWNR and COPY.
In the schema, OWNR we have to create all the tables,
types,procedures, packages and obj.....This schema will have
both DDL and DML privileges.
In the schema, COPY we are not supposed to create any tables,
objects. We have to create public synonyms for all the tables,
types, procedures... in OWNR and grant ALL privilege to the
schema COPY.The schema, COPY will have only DML privileges.
The problem is we have some nested tables in our application.
When I try to insert into the synonym which is created for the
nested table, it is not allowing me to insert..The whole
implementation is stucked..Please help.The scripts are given
below.......
We have a type name SITA_ADDRESS_TY which is used by the nested
table SITA_ADDRESSES_NT.Script used for creating the Type,Nested
table,Table, Public Synonym and granting all privilege to these
types and tables are
CREATE OR REPLACE TYPE SITA_ADDRESS_TY AS OBJECT (
SITA_ADDRESS VARCHAR2(10),
REMARKS VARCHAR2(100)) ;
PROMPT SITA_ADDRESSS_NT...
CREATE OR REPLACE TYPE SITA_ADDRESSES_NT AS TABLE OF
SITA_ADDRESS_TY ;
Using this nested table we have created the table,
UMS_SITA_ADDRESS
CREATE TABLE UMS_SITA_ADDRESS (
COMPANY_CODE VARCHAR2 (6) NOT NULL,
AIRLINE_CODE VARCHAR2 (6) NOT NULL,
DESTINATION VARCHAR2 (6) NOT NULL,
SITA_ADDRESS SITA_ADDRESSES_NT)
TABLESPACE EKUMDAT
PCTFREE 5
PCTUSED 40
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
NEXT 64K
PCTINCREASE 0
MINEXTENTS 1
MAXEXTENTS 505
FREELISTS 1 FREELIST GROUPS 1 )
NOCACHE
NESTED TABLE SITA_ADDRESS STORE AS UMSNT_SITA_ADDRESS ;
PROMPT SYNONYM SITA_ADDRESS_TY...
CREATE PUBLIC SYNONYM SITA_ADDRESS_TY FOR SITA_ADDRESS_TY
PROMPT SYNONYM SITA_ADDRESSES_NT...
CREATE PUBLIC SYNONYM SITA_ADDRESSES_NT FOR SITA_ADDRESSES_NT
PROMPT UMS_SITA_ADDRESS...
CREATE PUBLIC SYNONYM UMS_SITA_ADDRESS FOR UMS_SITA_ADDRESS
Granting Privileges
PROMPT SITA_ADDRESS_TY...
GRANT EXECUTE ON SITA_ADDRESS_TY TO COPY
PROMPT SITA_ADDRESSS_NT...
GRANT EXECUTE ON SITA_ADDRESSES_NT TO COPY
PROMPT UMS_SITA_ADDRESS...
GRANT ALL ON UMS_SITA_ADDRESS TO COPY
When I connect to copy and desc UMS_SITA_ADDRESS, the structure
is
SQL> desc ums_sita_address
Name Null? Type
COMPANY_CODE NOT NULL VARCHAR2(6)
AIRLINE_CODE NOT NULL VARCHAR2(6)
DESTINATION NOT NULL VARCHAR2(6)
SITA_ADDRESS
OWNR.SITA_ADDRESSES_NT
Why is it so??. Even though I have a synonym for
SITA_ADDRESSES_NT, it is not referencing the synonym but instead
refer the OWNR.SITA_ADDRESSES_NT
Because of this when I try to insert into ums_sita_address(in
schema COPY), it is giving the following error,
SQL> insert into ums_sita_address values
('EK','EK','DXB',SITA_ADDRESSES_NT());
insert into ums_sita_address values
('EK','EK','DXB',SITA_ADDRESSES_NT())
ERROR at line 1:
ORA-00932: inconsistent datatypes
But when the same connect to OWNR and try to insert with the
same stmt, it is inserting...
Our middle tier can connect only to COPY schema alone..Is there
anything to be done in the DBA side to achieve this??.
Please help from your valuabe experience...Or can you ask your
collegues if they have got a soln to this probs..We are stucked
with this...
Thanks
PriyaHi
I am not sure but maybe you need to use this command:
SQL> insert into ums_sita_address values
('EK','EK','DXB',SITA_ADDRESSES_TY());
SITA_ADDRESSES_TY() instead SITA_ADDRESSES_NT
Regards -
Script to create synonyms for the tables of Oracle Applications
Team,
For Oracle Applications 11i on W2K, where might I find a script to create synonyms for all of the application tables? I would think there would be a standard script somewhere in one of the directories created during the install or on the CDs.
Thanks,
LutherJohn, it is ssome sort of a bleed, but in this case it's not the part that 'might be cut off' that matters; it's the part that still needs to be on the page. Yes, I meant it to be (virtually) not-noticeable for the casual reader. Of course you can make it part of the page design, that ought to ease up matters.
The amount pages shift horizontally because of binding is called "creep", and this depends on the type of binding and the thickness of the paper. You cannot adjust for creep unless you know exactly how much this is and how your book is going to be printed and bound.
Airkite:
But the book that you printed worked out alright? Was it done with a different method?
This was a simple outlined text, not an image. Through the inaccuracies of printing and binding combined, there were no straight edges *anywhere* but fortunately the lines were thick enough to let you mentally connect them
This was done (I'm sure) with the method you proposed.
There is an alternative way, but it's way more expensive (on the other hand, the result is impressive): after the entire process of printing, binding, and cutting, books are put in a clamp one at a time and fed through a silk screen printer, fore edge on top, and printed with whatever you like.
I know of the existance of this technique but I haven't seen a book done like this in years and have no clue at all of the costs involved (writing that down in one sentence makes me realize those two might be connected). -
Error while running Re-create grants and synonyms for APPS schema
Hi,
I have upgraded customer's Oracle Apps 11i (11.5.10) database to Oracle 10g R2. While executing '+Re-create grants and synonyms+ ' as given in Note: 362203.1, I am gettng error:
plus80 -s APPS/***** @E:\EBSTEST\ebstestappl\ad\11.5.0\admin\sql\adappsgs.pls &systempwd 1 INV APPLSYS APPS TRUE FALSE TRUE
Error:
Program exited with status 3
Cause: The program terminated, returning status code 3.
Action: Check your installation manual for the meaning of this code on this operating system.Connected.
old 2: ad_apps_private.create_grants_and_synonyms(&2,'&3','&4','&5','FALSE');
new 2: ad_apps_private.create_grants_and_synonyms(1,'INV','APPLSYS','APPS','FALSE');
begin
*+
ERROR at line 1:
ORA-20000: ORA-00955: name is already used by an existing
object:create_grants_and_synonyms(1,INV,APPLSYS,APPS): create_base_gs(INV,APPS): In Synonyms
Loop:create_synonym(INV,MTL_ONHAND_DISCREPANCY,APPS,MTL_ONHAND_DISCREPANCY):
do_apps_ddl(APPS,CREATE SYNONYM "MTL_ONHAND_DISCREPANCY" FOR INV."MTL_ONHAND_DISCREPANCY"):
ORA-06512: at line 5
MTL_ONHAND_DISCREPANCIES
I checked the database and there isn't MTL_ONHAND_DISCREPANCY synonym. But there is MTL_ONHAND_DISCREPANCIES synonym.
This is an upgraded instance from 11.0.3 and first time I am running Re-create grants and synonyms for APPS schema.
Plz let me know if anyone of you faced this issue.
Rgds,
ThiruHi,
there is no such table MTL_ONHAND_DISCREPANCY or synonym in Applications 11.5.10.2. Is that custom table created in your db?
After dropping this table from APPS schema 'Re-create grants and synonyms for APPS schema' went thru fine.Its correct
This table does not exist in INV schema in 11.5.10.2.
Could be possible that the consultant could have created this table in INV and APPS schema by mistake or whatever.Yes, with the same name, there might be table in APPS SCHEMA. When you run recreate grants and synonyms, adadmin tries to create synonym for that table in APPS schema. since there is object available with the same name in apps chema, you got that error. -
ORA-0209:Connection discription for remote database not found
Please help me with this oracle error.
I have create a DB link to connect to the Oracle database from a remote Oracle DB. I am able to query the select statement through DBLINK and i also created the Synonym for the same. But still iget the below error in the DB package when i am inserting one row into the same table for which i created a synonym with the DBLINK
ORA-0209:Connection discription for remote database not found
ORA-02063:preceding line from DBLINK
Please help me if anyone can give me a appropriate answer.
Thanks in advance for all those who try to help meSorry for the Typo mistake ..
The ORA error code is not ORA-0209 but it is ORA-02019 -
Exception Handling for errors caused by Remote tables
Hello
I am trying to run a process that retrieves data from a remote table. Unfortunately occasionally the process fails because I exceed the number of simultaneous sessions allowed for the relevant table. I want to be able to handle this by directing the user to an errors page that I have built.
Unfortunately I cannot seem to be able to handle the exception. I have included an EXCEPTION WHEN OTHERS section but this does not seem to work.
Is it possible to handle these sort of errors? If it is possible I want to transfer this process into an asynchronous process so that the query can run in the background.
Cheers IanThe code within my PLSQL DBMS JOB process is;
declare
CURSOR curTest IS
SELECT DISTINCT PREMISE_ID FROM RWN_OOA_IMPORT WHERE PREMISE_ID IS NOT NULL;
recTest curTest%ROWTYPE;
l_value NUMBER :=1;
l_process NUMBER;
begin
l_process := GET_CURRENT_PROCESS(1030);
UPDATE IMPORT_PROCESS SET VOLUME_EXPECTED = (SELECT COUNT(PREMISE_ID) FROM (SELECT DISTINCT PREMISE_ID FROM RWN_OOA_IMPORT WHERE PREMISE_ID IS NOT NULL), PROCESS_STARTED = 1 WHERE PROCESS_ORDER = l_process;
commit;
FOR recTest IN curTest
LOOP
INSERT INTO CD_IMPORT (PREMISE_ID, LINK_REF, AT_CODE, TABLE_ID)
(SELECT PRO_NUMBER, LINK_REFERENCE, CD_CPA.AT_CODE, 1 FROM CD_CPA
WHERE PRO_NUMBER = rectest.PREMISE_ID AND ACCOUNT_NAME IS NOT NULL);
UPDATE_STATUS(l_process, l_value);
l_value := l_value + 1;
END LOOP;
EXCEPTION
WHEN err_type.REMOTE_OBJECT_FAILURE THEN
UPDATE_PROCESS_ERROR(DBMS_UTILITY.FORMAT_ERROR_STACK,l_process);
WHEN err_type.RECURSIVE_SQL_LEVEL THEN
UPDATE_PROCESS_ERROR(DBMS_UTILITY.FORMAT_ERROR_STACK,l_process);
WHEN err_type.SIMULTANEOUS_SESSIONS THEN
UPDATE_PROCESS_ERROR(DBMS_UTILITY.FORMAT_ERROR_STACK,l_process);
WHEN err_type.PRECEDING_ERROR THEN
UPDATE_PROCESS_ERROR(DBMS_UTILITY.FORMAT_ERROR_STACK,l_process);
WHEN OTHERS THEN
UPDATE_PROCESS_ERROR('Unhandled Error message' ,l_process);
end;
The table CD_CPA is the synonym to the DBlink table. The other processes used in this process is the UPDATE_PROCESS_ERROR shown below;
create or replace procedure "UPDATE_PROCESS_ERROR"
(in_error IN VARCHAR2, in_process_id IN NUMBER)
is
begin
EXECUTE IMMEDIATE 'UPDATE IMPORT_PROCESS SET ERROR_MESSAGE = ' || chr(39) || in_error || chr(39) || ', ERROR = 1 WHERE PROCESS_ORDER = ' || in_process_id;
commit;
end;
There is also the package err_type which holds the 4 error messages I get when I run or compile this process;
create or replace PACKAGE err_type
IS
REMOTE_OBJECT_FAILURE EXCEPTION;
PRAGMA EXCEPTION_INIT(REMOTE_OBJECT_FAILURE,-4052);
RECURSIVE_SQL_LEVEL EXCEPTION;
PRAGMA EXCEPTION_INIT(RECURSIVE_SQL_LEVEL,-604);
SIMULTANEOUS_SESSIONS EXCEPTION;
PRAGMA EXCEPTION_INIT(SIMULTANEOUS_SESSIONS,-2391);
PRECEDING_ERROR EXCEPTION;
PRAGMA EXCEPTION_INIT(PRECEDING_ERROR,-2063);
end err_type;
Hope this helps. -
ORA-02019: connection description for remote database not found
Hi all!
I've created Business Area (and EUL) through Oracle Warehouse Builder (looking at Oracle by Example tutorial Oracle By Example (OBE) - Oracle Warehouse Builder 10g Release 2 - Business Intelligence Modeling link: http://www.oracle.com/technology/obe/10gr2_owb/owb10gr2_gs/owb/lesson7/bi-modeling.htm ). When using Oracle administration edition I can connect and open this business area. I can edit the dimensions and cubes folders in it.
Then I connect top Discoverer Plus with the same user and EUL. In creating new workbook wizard I can select all of my dimensions and measures, but when I click 'Finish' I get the above error. I looked at SQL and for every table in SQL a DB link to the same database where I work at is used. Can anyone tell me, why?
I have only one target module in OWB and that is the same database. Only source data comes from another databases and DB links must be used.
Maybe the DB links are not even the real problem and I did something else wrong. Any help would be appreciated.
Thanks,
BB.If I paste the SQL into PL/SQL developer I get the same error, but when i remove DB links out of FROM section, the SELECT statement executes. I think (perhaps I'm completely wrong) the problem is that DB links are used even though this isn't the remote database, it is the database I'm working on.
FROM section looks like this:
FROM
OWNER.DIM_TABLE_1@"SERVICE_NAME_FROM_TNSNAMES@OWNER_LOCATION" o100025,
OWNER.DIM_TABLE_2@"SERVICE_NAME_FROM_TNSNAMES@OWNER_LOCATION" o100023...
If I try to make a DB link with such name, I get this error:
ORA-02082: a loopback database link must have a connection qualifier
Cause: attempt to create a database link with the same name as the current database.
Action: a loopback database link needs a trailing qualifier, e.g. MYDB.DEV.US.ORACLE.COM@INST1 - the '@INST1' is the qualifier
As I said, when I remove @"SERVICE_NAME_FROM_TNSNAMES@OWNER_LOCATION" parts from FROM section, SELECT executes without errors.
I hope I answered your question and you can give me some more instructions about this error.
Thank you for your replies,
bye! -
How to use remote directory for external table
Hi Folks,
I have 2 Oracle 11GR2 64 bit database installed on Win 2008 server as prod1 and prod2.
I have one directory created on prod1 server as EXT_TAB_DIR using the path as D:\OrsDWtest_dir .
I want to use this directory in Prod2 server and use external table using this remote directory.
I am able to access the Prod1 directory from Prod2 machine and also i have created Network map drive as Z drive pointing to that prod1 D:\OrsDWtest_dir directory. Also i checked read and Write permissions are there . I am able to create the external table but when i try to fetch the data i m getting below error ..
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file IOMM_20121213_060736.csv in EXT_TAB_DIR not found
now my doubt is this possible ? Can we use remote directory for External table ? or is there is there any alternative way to achieve same ?
Thanks & Regards,
Vikash Jain(DBA)could you confirm the name and the existence of this file "IOMM_20121213_060736.csv" ?
same error like:
http://www.oracle-base.com/articles/9i/external-tables-9i.php
if the load files have not been saved in the appropriate directory the following result will be displayed.
SQL> SELECT *
2 FROM countries_ext
3 ORDER BY country_name;
SELECT *
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file Countries1.txt in EXT_TABLES not found
ORA-06512: at "SYS.ORACLE_LOADER", line 14
ORA-06512: at line 1Edited by: Fran on 10-ene-2013 23:32 -
Best practice for VPD and remote tables
Not specifically an HTMLDB question, but here goes...
HTMLDB 1.6 on 9.2.0.4 connecting over database link (fixed username/password) to 9.2.0.4
I've currently "wrapped" access to the remote tables in views, i.e. view "T" in the HTMLDB parsing schema LOCAL_USER is defined as "SELECT * FROM T@remote"
I'd like to put VPD controls on my backend tables, but I don't get how v('APP_USER') (or even APP_USER put into an application context) would be seen by the remote database.
Should I just put VPD policies on LOCAL_USER's views and call it a day?
Thanks for input!
-JohnIf you implemented the VPD in the remote database, what would your VPD be restricting? All queries would apply the policy based on the DB link fixed username resulting in all users of the HTML DB application having same policy restrictions.
The policy in the remote database does not has access to the value of v('APP_USER'). That value is only available in the database that has HTML DB. You would have to write APIs in the remote database in PL/SQL functions/procedures to pass in the V('APP_USER') value to the remote database. This is doable, but cumbersome.
If you want to have your policy modify your WHERE clause on the fly based on your HTML DB user account, then I would implement the VPD in the database which has your HTML DB repository. I am not sure which of the two scenarios below occur when doing a SELECT * FROM T.
1.) The query goes across the database link, gets all the data out of table T in the remote database, passes back to the HTML DB database, and applies the policy WHERE clause modification in the HTML DB database.
2.) The query applies the policy WHERE clause modification to the view, goes across the database link with the WHERE clause modified, and gets only the data allowed based on the policy from the remote database.
You should test this out to find out for performance purposes what query is actually performed on the remote database.
As always if anyone sees anything inaccurate in what I have written, please correct me.
Mike -
Hi,
I need some advice on remote keys for lookup tables.
We have loaded lookup data from several client system into the MDM repository. Each of the client system can have diffferences in the lookup values. What we need to do is to enable the keymappings so that the syndicator would know which value belongs to which system.
The tricky part is. We haven't managed to send out the values based on the remote keys. We do <b></b>not<b></b> want to send the lookup tables themselves but the actually main table records. All lookup data should be checked at the point of the syndication and only the used lookup values that orginally came from one system should be send to that particular system. Otherwise they should be tag should be blank.
Is this the right approach to handle this demand or is there a different way to take care of this? What would be the right settings in the syndicator?
Help will be rewarded.
Thank you very much
best regards
NicolasHi Andreas,
that is correct. Let's take two examples:
1) regions
2) Sales Area data (qualified lookup data)
Both tables are filled and loaded directly from the R/3s. So you would already know which value belongs to which system.
The problem that I have is that we will not map the remote key from the main table because it will be blank for new created master data (Centralization scenario). Therefore we cannot map the remote key from the attached lookup tables, can we?
The remote key will only work for lookup tables if the remote key of the actual master data is mapped. Since we don't have the remote key (local customer ID form R/3) in MDM and since we do not create it at the point of the syndication... how would the SAP standard scenario would look like for that?
This is nothing extraordinary it's just a standard centralization scneario.
Please advice.
Thanks alot
best regards
Nicolas -
i am using the following description to create a web service reference:
web reference :REST
Name :Yahoo Map
URL :http://local.yahooapis.com/MapsService/V1/mapImage
HTTP Method: GET
Basic Authentication: No
Add Parameter:
Name Type
appid String
location String
Output Format: XML
XPath to Output Parameters : /Result
Output Parameter:
Name Path Type
Url /text() String
Then i tried to create form and report on webservice:
Web Service Reference Type: Yahoo Map
Operation: doREST
All the fields i keep as default
I tick the checkbox (url)in report Parameter
After clicking next whereever required i click create button
I get the following error
ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
Please someone help to solve this as i need to fix it urgently.i exported the application from apex.oracle.com and imported it to our environment
import went fine, but when I ran the IR page I got
ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
evidently the problem is a lack of public execute on DBMS_LOB, which is used in the generated IR source.
while waiting for the DBA to grant privs on DBMS_LOB, changing the dbms_lob.getlength call to length() fixes the IR.
however, i am not getting the download link on the associated form page... changed templates, that's not the issue -- we'll see if that's a dbms_lob issue as well -
I am using Apex 4.2.2.00.11
am using the following description to create a web service reference:
web reference :REST
Name :Yahoo Map
URL :http://local.yahooapis.com/MapsService/V1/mapImage
HTTP Method: GET
Basic Authentication: No
Add Parameter:
Name Type
appid String
location String
Output Format: XML
XPath to Output Parameters : /Result
Output Parameter:
Name Path Type
Url /text() String
Then i tried to create form and report on webservice:
Web Service Reference Type: Yahoo Map
Operation: doREST
All the fields i keep as default
I tick the checkbox (url)in report Parameter
After clicking next whereever required i click create button
I get the following error
ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
Please someone help to solve this as i need to fix it urgently.336554,
Looks like there is a 127-column limit on the number of report columns supported when using that wizard. Do you have more than that?
57434
Maybe you are looking for
-
Adobe Creative Suite 4 Design Premium trial version says my serial number is invalid?
I purchased Adobe Creative Suite 4 Design Premium from my my community college's bookstore in 2010. I successfully have used it all this time, but I recently bought a new laptop. This new laptop does not have a disk drive, but I was able to download
-
oracle.jbo.domain.Date now = getOADBTransaction().getCurrentDBDate(); java.sql.Date currentDate = now.dateValue(); will truncate the hour, minute, second etc. How can I avoid this?
-
Is it possible to add previously created templates to the selection process
Basically I'm just looking to see if I can add an existing page template, that was not created from one of their pre-existing ones, to the selection process. Or if I can open it from inside iWeb somewhere. Thanks for any help you can provide.
-
Trouble with iTunes loading on my mac running OSX 10.9.2
Lately every time I go to load iTunes, I get a "not Responding" causing me to Force Quit. It seems crazy that this should be a recurring problem. I diligently update everytime something shows up as available. I am getting tired of seeing the "color w
-
Hello, I'm having a problem trying to figure out who to ensure I have identical color casts across multiple shots. I shoot raw and use a grey card to white balance in ACR and that works great, but the problem is when I'm in Photoshop and use curves