Query on system object types??
Hello,
Here is the situation.
O-R table "LocatedEntity392_TAB" was created by oracle during XML schema registration. I could not find the object It has "COCT_MT070001.LocatedEn390_T" type
"COCT_MT070001.LocatedEn390_T" type have
SYS_XDBPD$ with XDB.XDB$RAW_LIST_T
id with id391_COLL
How do we query on SYS_XDBPD$ and id in this situation?
How do we find the structure of XDB.XDB$RAW_LIST_T and id391_COLL
I appreciate your help. Thanks in advance.
Ram
hi Arun ,
thanks for ur reply,well i have done the user mapping in the same way as u told.but my doubt is like for suppose i have a user named p1 on my portal side & two users named r1 & r2 on the R/3 side .now i have created a system object named sys1 and assigned it to p1 specifying
username:r1
pwd:*******
in the user mapping.
now i want want the same p1 to connect from the portal to R/3 using
username:r2
pwd:*******
now can i use the same system object or should i create another system object.
regards,
tilak.
Similar Messages
-
hi everyone ,
i have a query regarding this system object. I have created a system object and assigned it to a user to log on to sap R/3 .its working fine.now my question is i have another user on the R/3 side .now i want to log on to the R/3 from the portal using this second user can i use the same system object created for the first user or should i create a new system object."can a system object be assigned to 2 or more users?"
Thanks in advance,
regards,
Tilakhi Arun ,
thanks for ur reply,well i have done the user mapping in the same way as u told.but my doubt is like for suppose i have a user named p1 on my portal side & two users named r1 & r2 on the R/3 side .now i have created a system object named sys1 and assigned it to p1 specifying
username:r1
pwd:*******
in the user mapping.
now i want want the same p1 to connect from the portal to R/3 using
username:r2
pwd:*******
now can i use the same system object or should i create another system object.
regards,
tilak. -
Cannot query varray of object types-please help
I am attempting to query the "diminfo" field of the view "MDSYS.all_sdo_geom_metadata". The field is "described" as MDSYS.SDO_DIM_ARRAY, which I believe is a varray of MDSYS.SDO_DIM_ELEMENT.
I have run OTT to generate the class files, but nothing is generated for the MDSYS.SDO_DIM_ARRAY "type" (maybe because it's not really a type?). A class is generated for the SDO_DIM_ELEMENT objects.
Anyway, I have tried to query the field using both "VALUE(diminfo)" and "REF(diminfo)":
select VALUE(diminfo) from all_sdo_geom_metadata;
- or -
select REF(diminfo) from all_sdo_geom_metadata;
and I get back an ORA-904 "invalid identifier". When I remove the "VALUE" or "REF" from the query, the error goes away, and is replaced by an ORA-32162 "Read/Write method not registered" further down in the code when I try to retreive the value from the recordset:
myDimInfo = rSet->getObject(1);
Since the field type (MDSYS.SDO_DIM_ARRAY) isn't really an object type, I can see why the "Read/Write method not registered" occurs-there are no methods to register.
Can someone provide a code snippet of how to perform this query?
Thanks in advanceHi,
I am using OTT generated objects to pass them to my PL/SQL procedures as OUT parameters. When I call the registerOutParam() function, I get this error ORA-32162: Read/Write SQL method not registered.
I am calling my mapping function after creating environment and before creating my stateless connection pool. But still I am getting this exception at runtime while calling registerOutParam().
Environment* env;
env = Environment::createEnvironment(Environment::OBJECT);
MessageTOMapping(env); // Calling the mapping function here.
// Creating the stateless connection pool.
StatelessConnectionPool* scp;
scp = env->createStatelessConnectionPool("naveen",
"naveen",
"//10.105.153.11:1521/pls",
10,
5,
2,
StatelessConnectionPool::HOMOGENEOUS);
// Fetch a connection from the stateless connection pool
conn = scp->getConnection();
// After this, I create my Statement and call the registerOutParam() which
// causes ORA-32162 exception.
Please note that I do not get this error when I don't use any connection-pooling mechanism. That is, if I create an environment in OBJECT mode, call the mapping function with its pointer and create a normal Connection object (without any pooling etc), my application runs perfectly fine. E.g. if I replace the above piece of code with the code below, my application runs fine.
Environment* env;
env = Environment::createEnvironment(Environment::OBJECT);
MessageTOMapping(env); // Calling the mapping function here.
conn = env->createConnection("naveen", "naveen", "//10.105.153.11:1521/pls");
// After this, I create my Statement and call the registerOutParam() which
// does not give problem now and my application runs pefectly fine.
Can anyone let me know what I am doing wrong while using the stateless connection pooling mechanism? I definitely need to use Stateless Connection Pooling and must not get connections directly from env->createConnection().
Any help will be greatly appreciated.
Thanks and Regards,
Naveen -
Dynamically built query on execution How to save the data in Object Type
Hi,
In pl/sql I am building and executing a query dynamically. How can I stored the output of the query in object type. I have defined the following object type and need to store the
output of the query in it. Here is the Object Type I have
CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPE AS OBJECT(
pkid NUMBER,
pkname VARCHAR2(100);
pkcity VARCHAR2(100);
pkcounty VARCHAR2(100)
CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPETAB AS TABLE OF FIRST_RECORDTYPE;Here is the query generated at runtime and is inside a LOOP
--I initialize my Object Type*
data := new FIRST_RECORDTYPETAB();
FOR some_cursor IN c_get_ids (username)
LOOP
x_context_count := x_context_count + 1;
-- here I build the query dynamically and the same query generated is
sql_query := 'SELECT pkid as pid ,pkname as pname,pkcity as pcity, pkcounty as pcounty FROM cities WHERE passed = <this value changes on every iteration of the cursor>'
-- and now I need to execute the above query but need to store the output
EXECUTE IMMEDIATE sql_query
INTO *<I need to save the out put in the Type I defined>*
END LOOP;
How can I save the output of the dynamically built query in the Object Type. As I am looping so the type can have several records.
Any help is appreciated.
Thankshai ,
solution for Dynamically built query on execution How to save the data in Object Type.
Step 1:(Object creation)
SQL> ED
Wrote file afiedt.buf
1 Create Or Replace Type contract_details As Object(
2 contract_number Varchar2(15),
3 contrcat_branch Varchar2(15)
4* );
SQL> /
Type created.
Step 2:(table creation with object)
SQL> Create Table contract_dtls(Id Number,contract contract_details)
2 /
Table created.
Step 3:(execution Of procedure to insert the dynamic ouput into object types):
Declare
LV_V_SQL_QUERY Varchar2(4000);
LV_N_CURSOR Integer;
LV_N_EXECUTE_CURSOR Integer;
LV_V_CONTRACT_BR Varchar2(15) := 'TNW'; -- change the branch name by making this as input parameter for a procedure or function
OV_V_CONTRACT_NUMBER Varchar2(15);
LV_V_CONTRACT_BRANCH Varchar2(15);
Begin
LV_V_SQL_QUERY := 'SELECT CONTRACT_NUMBER,CONTRACT_BRANCH FROM CC_CONTRACT_MASTER WHERE CONTRACT_BRANCH = '''||LV_V_CONTRACT_BR||'''';
LV_N_CURSOR := Dbms_Sql.open_Cursor;
Dbms_Sql.parse(LV_N_CURSOR,LV_V_SQL_QUERY,2);
Dbms_Sql.define_Column(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER,15);
Dbms_Sql.define_Column(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH,15);
LV_N_EXECUTE_CURSOR := Dbms_Sql.Execute(LV_N_CURSOR);
Loop
Exit When Dbms_Sql.fetch_Rows (LV_N_CURSOR)= 0;
Dbms_Sql.column_Value(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER);
Dbms_Sql.column_Value(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH);
Dbms_Output.put_Line('CONTRACT_BRANCH--'||LV_V_CONTRACT_BRANCH);
Dbms_Output.put_Line('CONTRACT_NUMBER--'||OV_V_CONTRACT_NUMBER);
INSERT INTO contract_dtls VALUES(1,CONTRACT_DETAILS(OV_V_CONTRACT_NUMBER,LV_V_CONTRACT_BRANCH));
End Loop;
Dbms_Sql.close_Cursor (LV_N_CURSOR);
COMMIT;
Exception
When Others Then
Dbms_Output.put_Line('SQLERRM--'||Sqlerrm);
Dbms_Output.put_Line('SQLERRM--'||Sqlcode);
End;
step 4:check the values are inseted in the object included table
SELECT * FROM contract_dtls;
Regards
C.karukkuvel -
No POWL object types are assigned to you. Please inform your system admin
Hi experts,
We are on SRM 7.0 and ECC 6.0.
We are using netweaver 7.0 (SP7) for our portal instance. SSO, UWL etc have been configured in the Portal.
Now when the user logs in to create a shopping cart and clicks on the Employee Self Service link, he gets the following error:
"No POWL object types are assigned to you. Please inform your system adminstrator"
What could be the resolution for this?
RegardsHi Jay,
Thanks for the update.
There were 2 roles for employee in portal. I changed the role. The one with details pcd:portal_content/com.sap.pct/specialist/com.sap.pct.srm.srm70/com.sap.pct.srm.core.fl_core/com.sap.pct.srm.core.fl_roles/com.sap.pct.srm.core.ro_employeeselfservice worked.
I did not have to maintain the settings for 'Defining query visibilty at role level'.
However now once the shopping cart has been ordered, I come back to check it's status under the ESS link, I see that it is awaiting approval, but when I try to open the SC, it does not open.
Also I am unable to open the SC if I search it under 'Advanced Search'.
Any inputs on what could be the reason?
Regards -
Query Operator "IS" is not working good for object type "String"
Hi,
I have a problem with advanced search. When the object type is String, and I want to search directly value (for exemple 'a') i have returned all value starts with 'a', even though I set Query Operator to "IS"
When I use Query operator "setByUser", and then set property to "IS", query behaviour is correct.
Behaviour example for operator "IS":
values: a, ab, abc
searching: 'a' --> expected results: a results: a, ab, abc
Any sugestions??
Sorry for my English
Regards,
Wojciech MularczykSyed,
Only under advanced search. The operator used for quick search is defined through two properties in JhsAdvancedSearch bean class:
private String defaultStringOperator = "startsWith";
private String defaultNonStringOperator = "is";
So, if you have a String attribute which holds numbers and you want to apply the "is" operator to this attribute, you can change the default value of "defaultStringOperator" by creating a custom template for searchBean.vm, and add the following property:
<managed-property>
<property-name>defaultStringOperator </property-name>
<value>is</value>
</managed-property>
Note hat you can already apply this technique in the current release.
Steven Davelaar,
JHeadstart Team. -
Implementing History types on query based view object attributes
Hi All,
I have to implement the history types
created on,
created by,
modified on,
modified by
in my application, but I have all the Query based view objects in my work space, but according to my research History types can only be implemented on the Entity Objects attributes. So how can I do this for my application ? Any Solution ? Any alternative please ?
(NOTE: I have all the entity objects available in my common Model work space ).@TimoHahn, I have the following master view object query, which i can not generate by using the Entity objects, Basically I am transforming an oracle form base ERP into Oracle ADF application, so I have available all the quries , Please let me know if i can have any alternative solution ?
SELECT NVL(A.STYP,0) STYP,A.DAT,C.BATNO,C.ITST, B.DEMNO,B.ITEM,LTRIM(RTRIM(D.ITEMNAME))ITEM_NAME,0 TRINQ,D.UOM ABRV,P.DAT DDAT,
A.CSNO,PARTY,NVL(CSRAT,0)+(NVL(CSRAT,0)*NVL(B.GST,0))/100 GSTCSRAT,CSRAT,
A.PDAYS DAYS, DECODE(C.CSTERM,1,'CASH',2,'CREDIT',3,'DD',4,'PAY ORDER',5,'ADVANCE%',6,'CHEQUE') ,B.GST,E.MASTDS PNAME,NVL(SUM(B.RQTY),0)DRQTY,DEPT.SEC_NAME DEPTDS,SUM(STOK.QTY) BAL,P.TRNO,C.EBY, C.SYSIP, C.TDAT
FROM ACCSTORE.STAC_CSM A, ACCSTORE.STAC_CSD B,ACCSTORE.ST_STAC_DEM_APRVD C,ACCSTORE.VITEMS D, ACC_MAST E,ACCSTORE.PRE_DEMANDM P,ACCSTORE.VSECTIONS DEPT,
(SELECT STYP,ITEMID,SUM(BALANCE) QTY FROM ACCSTORE.VITEMSTOCK GROUP BY STYP,ITEMID) STOK
WHERE A.CSNO=B.CSNO AND B.CSNO=C.CSNO AND B.DEMNO=C.DEMNO AND B.ITEM=C.ITEM AND B.STYP=C.STYP AND C.PDEMNO=P.TRNO(+) AND P.DEPT=DIVNO AND P.SEC_NO=DEPT.SECNO(+)
AND C.STYP=STOK.STYP AND C.ITEM=STOK.ITEMID
AND C.STYP=D.STYP AND C.ITEM=D.ITEMID AND C.PARTY=E.MASTCD AND B.APP=1 AND NVL(C.PONO,0)=0
AND C.ITST=DECODE(C.STYP,0,11,14)
GROUP BY NVL(A.STYP,0),A.DAT,C.BATNO,C.ITST,B.DEMNO,B.ITEM,D.ITEMNAME,A.CSNO,PARTY,P.DAT,DEPT.SEC_NAME,P.TRNO,C.EBY, C.SYSIP, C.TDAT,
CSRAT,A.PDAYS,C.CSTERM,B.GST,E.MASTDS,D.UOM ORDER BY A.CSNO,D.ITEMNAME
ORDER BY "DAT" DESC
which i can not generate by using the Entity objects, Basically I am transforming an oracle form base ERP into Oracle ADF application, so I have available all the quries , Please let me know if i can have any alternative solution ? -
Portal System Object - ABAP User Type?
Hi
I've created a System Object, which will be used to connect to a NW '04 system. I'm using UIDPW as the Logon Method, and have defined the relevant user mappings.
When I test the connection using a normal Dialog user in the ABAP backend, everything works perfectly. However, when I use a Communication user, the connection test fails.
Does anyone have any suggestions on getting the connection to work with a Communication user? What is the recommended ABAP user type for backend connections? I assume Communication user is recommended, as this doesn't allow dialog login, etc.
Thanks
StuartHaving done further investigation, it seems the problem is not with the user type. I'm able to connect when assigning the SAP_ALL profile to my Communications user (which I obviously don't want).
What permissions must I assign to this user to allow it to log in? All I've done so far is assign permissions on the S_RFC authorisation object to allow RFC calls to my function group.
Do I need to assign additional login permissions? -
No element type defined for object type BSEG and system / Disp Management
Hi all,
I get the error message
No element type defined for object type BSEG and system ...
Message no. UDM_MSG006
when I try to save a dispute case.
What do I have overlooked in config?
Thanks
Hein
Points guaranteed as always.Hi Sai,
I have configured the standard settings in there.
When I add 2 customer-disputed objects from 2 different customers I get that error.
Any solution to this?
Thank you! -
Is possible leave a object type (MIME Repository) of the transport system?
Hi,
We'd like use the MIME Repository for storing pictures of our SAP CCM Catalog.
When we import a new MIME object a order is created. It is possible to avoid this. I mean I'd like to know if we can do this.
- In a prductive system (closed)
- Configure an object type to leave the transport system
Any idea about this?
Thanks for your attention
Regards
JorgeHi
Your program works fine you need only to write all DEFINITION and then all IMPLEMENTATION:
* CLASS one DEFINITION
CLASS ONE DEFINITION.
PUBLIC SECTION.
METHODS: ADDIT IMPORTING ADD_NUM1 TYPE ANY
ADD_NUM2 TYPE ANY
EXPORTING ADD_SUM TYPE ANY.
ENDCLASS.
* CLASS two DEFINITION
CLASS TWO DEFINITION INHERITING FROM ONE.
PUBLIC SECTION.
METHODS: OUT IMPORTING OUT_NUM1 TYPE ANY
OUT_NUM2 TYPE ANY
OUT_SUM TYPE ANY.
ENDCLASS.
* CLASS one IMPLEMENTATION
CLASS ONE IMPLEMENTATION.
METHOD ADDIT.
ADD_SUM = ADD_NUM1 + ADD_NUM2.
ENDMETHOD.
ENDCLASS.
* CLASS two IMPLEMENTATION
CLASS TWO IMPLEMENTATION.
METHOD OUT.
WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
ENDMETHOD.
ENDCLASS.
DATA O_ONE TYPE REF TO ONE.
DATA O_TWO TYPE REF TO TWO.
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
START-OF-SELECTION.
CREATE OBJECT: O_ONE, O_TWO.
NUM1 = 2. NUM2 = 4.
*when is called is used EXPORTING
CALL METHOD O_ONE->ADDIT
EXPORTING
ADD_NUM1 = NUM1
ADD_NUM2 = NUM2
IMPORTING
ADD_SUM = SUM.
*PERFORM addit USING num1 num2 CHANGING sum.
CALL METHOD O_TWO->OUT
EXPORTING
OUT_NUM1 = NUM1
OUT_NUM2 = NUM2
OUT_SUM = SUM.
NUM1 = 7. NUM2 = 11.
CALL METHOD O_ONE->ADDIT
EXPORTING
ADD_NUM1 = NUM1
ADD_NUM2 = NUM2
IMPORTING
ADD_SUM = SUM.
*PERFORM addit USING num1 num2 CHANGING sum.
CALL METHOD O_TWO->OUT
EXPORTING
OUT_NUM1 = NUM1
OUT_NUM2 = NUM2
OUT_SUM = SUM.
Max -
Object type RSDS not supported in BAPI source system
Hi
We have a problem when trying to create Data Source in NW2004s with 3rd party tool 'Ascential Datastage' as source system.The error message is "DataSource XXX (DS-DEV): Object type RSDS not supported in BAPI source system".
Is there any note or patch avaialable to be implemented to resolve this problem.Our support package is 07.
Regards
D.Ellora
Message was edited by:
Ellora DobbalaHi Ellora,
The latest BI release in SAP NetWeaver 7.0 (2004s) includes a new type of DataSource for which staging BAPI has not yet been aligned.
Third party ETL tool vendors can therefore only implement their load processes using the original type of DataSource from BW 3.x. This DataSource is still provided in the new release without any changes. Upgrading to NetWeaver 7.0 (2004s) BI (BI 7.0) does not therefore endanger existing implementations based on BW 3.x and NetWeaver 2004 (BW 3.5).
It is also possible to migrate third party ETL implementations based on BW 3.x into the new data-flow concept of a NetWeaver 7.0 (2004s) BI environment using new DataSources, transformations (also new), and data transfer processes (DTP) (also new). This is possible because the system provides an emulated view for BW 3.x DataSources, which makes it possible to combine them with NetWeaver 7.0 (2004s) transformations and DTPs for regular batch load processing (this does not include direct access and real-time data acquisition (RDA)).
This allows the benefits of the new data loading concept to be made available in such third party ETL-based loading scenarios.
Regards,
Anil -
Situation:
SSIS Package designed in SQL Server 2012 - SQL Server Data Tools
Windows 7 - 64 bit.
The package (32 bit) extracts data from a SQL Server db to an Excel Output file, via an OLE DB connection.
It uses 3 package variables:
*) SQLCommand (String) to specify the SQL Statement to be executed by the package
Property path: \Package.Variables[User::ExcelOutputFile].Properties[Value]
Value: f:\Output Data.xls
*) EXCELOutputFIle (String) to specify path and filename of the Excel output file
Property path: \Package.Variables[User::SQLCommand].Properties[Value]
Value: select * from CartOrder
*) VarObjectDataSet (Object) to hold the data returned by SQL Server)
Property path: \Package.Variables[User::VarObjectDataSet].Properties[Value]
Value: System.Object
It consists out of 2 components:
*) Execute SQL Task: executes the SQL Statement passed on via a package variable. The resultng rows are stored in the package variable VarObjectDataSet
*) Script Task: creates the physical output file and iterates VarObjectDataSet to populate the Excel file.
Outcome and issue:The package runs perfectly fine both in SQL Server Data Tools itself and in DTEXECUI.
However, whenever I run it via SQL Server Agent (with 32 bit runtime option set), it returns the errror message below.
This package contains 3 package variables but the error stating that a package variable can not be set, pops up for the VarObjectDataSet only. This makes me wonder if it is uberhaupt possible to set the value of a package variable
of type Object.
Can anybody help me on this please ?
Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 6:40:20 PM DTExec: Could
not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object. Started: 6:40:20 PM Finished: 6:40:21 PM Elapsed: 0.281 seconds. The package execution failed. The step failed.
Thank you very much in advance
JurgenHi Visakh,
thank you for your reply.
So, judging by your reply, not all package variables used inside a package need to be set a value for when run in DTEXEC ?
I already tried that but my package ended up in error (something to do with "... invocation ...." and that error is anything but clearly documented. Judging by the error message itself, it looks like it could be just about anything. that is why I asked my
first question about the object type package variable.
Now, I will remove it from the 'set values' list and try another go cracking the unclear error-message " ... invocation ...". Does an error message about " ... invocation ..." ring any bells, now that we are talking about it here ?
Thx in advance
Jurgen
Yes exactly
You need to set values only forthem which needs to be controlled from outside the package
Any variable which gets its value through expression set inside package or through a query inside execute sql task/script task can be ignored from DTExec
Ok I've seen the invocation error mostly inside script task. This may be because some error inside script written in script task. If it appeared after you removed the variable then it may because some reference of variable existing within script task.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Oracle Object Types vs. Table Fields
Hello, all.
I`m totally new to Oracle, and I am facing a very hard problem for me, and I would like to ask your help.
I've been working on a project which uses Oracle Object Types, from a database of a legacy system.
I did not know Oracle Objects until 5 minutes ago, so sorry If I say something stupid:
Per my understanding, a Oracle Object Type can be formed by fields like myField varchar(200)... and fields from an existing table or view.
I have a lot of objects on my system and I need to map each field and its respective table or view that compose each object.
Does anyone have a query for that? I think it should be common, but I could not find anything at google (maybe I don`t which terms use to find...)
I would be very thankful if somebody could help (save) me.
Thanks in advance.
PauloFirst, it would help if you post what you object types look like.
I'm assuming they may look something like this:
SQL> create TYPE emp_type AS OBJECT
2 (emp_id NUMBER,
3 name VARCHAR2(20));
4 /
Type created.
SQL> create TYPE emp_tab IS TABLE OF emp_type;
2 /
Type created.
SQL> create or replace package emp_test as
2 procedure get_emps;
3 end emp_test ;
4 /
Package created.
SQL> create or replace package body emp_test as
2 employees emp_tab := emp_tab();
3 procedure get_emps as
4 g_rc sys_refcursor;
5 BEGIN
6 employees.EXTEND(2);
7 employees(1) := emp_type (1, 'John Smith');
8 employees(2) := emp_type (2, 'William Jones');
9 OPEN g_rc FOR
10 SELECT * FROM TABLE (CAST (employees AS emp_tab));
11 END get_emps ;
12 end emp_test ;
13 /
Package body created. -
Use TYPE RECORD or Create Object TYPE to build Collection?
Hi All,
I need to pull in data from our ERP system via a DB Link to keep some of our Web Data up to date. I wasn't sure if I should pull the data into my collection by creating a TYPE RECORD or Creating an Object Type and fillng it that way. Is there a preferrable method?
Record:
TYPE ItemInventory IS RECORD (
ProductID Products.ProductID%TYPE,
Qty Products.QTY%TYPE);
Object:
Create Type ProdObj as Object(
ProductID Products.ProductID%TYPE,
QTY Products.QTY%TYPE);
Maybe both are suitable....wasn't sure.
Any suggestions/info is greatly apprecaited.
S
Edited by: ScarpacciOne on Feb 21, 2010 7:54 PMScarpacciOne wrote:
We have a complex view we use from our ERP system that allows us to pull all of our available inventory and update our website with that information. What I was thinking I would do is refactor the current procedures that are in place to update this information and pull that views information into a collection so that I could speed up the update process.The basic difference between the two is that one is a dumb record structure (similar to a C struct), whereas the other is an intelligent class (similar to a class definition in Java/C++). It can have methods and constructors.
The next major difference is that one can only be use in the PL language and not in SQL. The record struct is a PL data type definition. PL cannot provide SQL engine support for it.
On the other hand, the SQL type definition is supported by both the PL and SQL languages. This allows the type to be transparently used in both languages.
I usually prefer the SQL type definition approach in general, as it allows for more flexibility.
However, for pure collection processing in PL/SQL, there's very little to choose between the two approaches as they serve the exact same purpose - increasing performance by decreasing context switching between the PL and SQL engines.
So you need to look beyond mere bulk collection and bulk processing to decide on which approach to use. For example, a SQL type definition allows for a standard SQL projection from cursors, enabling PL/SQL code to be cursor agnostic (as each cursor, irrespective of the table(s) queried, returns the same object type). However, if the aim is simply to bulk collect from that specific cursor, then it is a lot simpler to use a PL record struct. -
Appraisals object type VA and auth object P_HAP_DOC
The system is running 2005 version. While running
APPCHANGE tcode the program ignores values in PD Profile
for object type VA. Furthermore the program bypasses
the check against P_HAP_DOC object. Any hints why this happens? F.ex 2005 IDES system we have performs these checks ok.Hi Carlos,
The Otype VA - Template, VB- Criteria group and VC - Criterion.
The hierarchy is as follows
VC is blow VB is below VA.
The objects as such wil be created in the HRP1000 as usual.
In addition, there are tables which starts with HRHAP* which holds the appraisal document related data.
But the table contents cannot be seen from SE11 or SE16. Create a SQ01 Quick viewer query for the Database tables.
Hope this helps.
Reward points if it helps you.
Regards,
Subbu.
Maybe you are looking for
-
How can i connect to remote database from netbeans
Hi, I have got MySQL database server installed and running on a different machine. Is there any way to connect and browse database remotely using netbeans 5.5? I have added connector/driver for that database. i can connect and browse the database wit
-
I use Final Cut Pro 7 right now and am thinking about buying the new 27" iMac with the NVIDIA GeForce GTX 780M 4GB GDDR5 card. I have a 24" Apple Cinema Display with mini Display port cable. I also have one more Samsung display with DVI & HDMI. Can I
-
How to install Firefox 6 for MacOS?
I MUST have my favorite Add-On "1Password", but the latest version of 1Password only supports Firefox 6+. If I could find a Download for Firefox 6, I could install it, but after searching the Firefox web site the only older Firefox version I found wa
-
Customize Schedule Notification subject in Oracle Hyperion System 9.3.0.1
Hi all, I am working on external trigger event and sending notification after bqy get updated so I have published a bqy file as a job and scheduler is working fine I am able to send mail to required user but These all are fine. But I want to customiz
-
Portal Content Directory Invisible
Hi, I could not find my Portal Content Directory in my Content Administration. What could be the problem? Kindly help me out. Regards, Kalai.