Nested table and inner nested tables (CREATE TABLE)
Hello everyone,
I have a problem creating a table with some multilevel user-defined types (and therefore nested tables).
First of all the objects:
type top_object is object (
text_top varchar2(100),
table_a a_object_tbl,
table_b b_object_tbl
type a_object_tbl is table of a_object;
type a_object is object (
text_a varchar2(100)
type b_object_tbl is table of b_object;
type b_object is object (
text_b varchar2(100),
table_c c_object_tbl,
table_d d_object_tbl
type c_object_tbl is table of c_object;
type c_object is object (
text_c varchar2(100)
type d_object_tbl is table of d_object;
type d_object is object (
text_d varchar2(100)
);Shortly: The TOP object contains tables of A and B. B contains tables of C and D.
Okay, now I want to create a table which is containing the TOP object.
My attempt:
create table multilevel_table (
some_value varchar2(100),
data top_object
NESTED TABLE top_object.table_a STORE AS data1,
NESTED TABLE top_object.table_b STORE AS data2
(NESTED TABLE table_c STORE AS data3,
NESTED TABLE table_c STORE AS data4);Obviously this does not work (otherwise I would not have been asking you ;) ). If I skip the "second level", so just by removing table_b from top_object and therefore the "inner nested table" it works.
But on this more complex scenario I don't know the right way or the syntax.
I would appreciate if I get any help or suggestions from you!
+1 for Hoek's recommendation of just not using NESTED TABLEs for persistent structures.
But:
create table multilevel_table (
some_value varchar2(100),
data top_object
NESTED TABLE data.table_a STORE AS data1,
NESTED TABLE data.table_b STORE AS data2
(NESTED TABLE table_c STORE AS data3,
NESTED TABLE table_d STORE AS data4) ;
Similar Messages
-
i've just bought online converter and tried to convert my first pdf to excel and it hasn't created a file anything simialr to the pdf table? any ideas why??
Hi Tony,
Would it be possible to share the pdf so that I can test it at my end.
email me at < [email protected] >
Regards,
Rave -
HELP!! just finished a 20pages report and when trying to create the table of contest I lost EVERYTHING... there is nothing left of my work. WHY????
Hi Peter,
Yes I'am in 5.2, I did mention it right after.
This is wonderful Peter, great advice. I got to have my latest version before I created my table of contents.
In Pages > Menu > File > Revert
and see what you get.
Peter
Thank you so much!!
Have a wonderful day -
Combo of Unsharp and "Film Bloom" layer creating transparency in nested sequence
I've run into a really specific glitch.
Applying these adjustment layers above a clip inside a nested sequence creates partial transparency of the nest clip in the main/master sequence. Inside the nested layer, no transparency of the video clip is created.
So above a video clip is:
1) Adjustment layer holding Fast Blur effect, with layer set to 10% opacity (and a Screen or Overlay blend mode, but even normal causes the issue).
2) Above that layer is another adjustment layer holding Unsharp Mask effect.
Within that sequence, everything is fine. However, when that sequence is nested in another sequence, the nested clip has a slight transparency (as though opacity were set to only 90% or 95%).
ONLY the combination of both of those effects together creates the unwanted transparency. Even regular Sharpen effect doesn't do it.
Anyone had this or a similar problem before?I was afraid of that. Hoping I just had a bone-head setting wrong somewhere, but afraid I'd have to export, then import. That is a pita.
The camera is amazing. Been using it with my Canon lenses, and LOVING it! Waveform would be amazingly useful if I could change my iris without putting the lens on the 5D first! But with the Birger mount due out in April, it's going to be a fantastic piece of gear. Upgrading from the HVX200, there is just SUCH a huge jump in quality. I've been really happy.
Oh, and I haven't looked at the hair yet, but it's probably something from the effects I've added. I've stretched her legs about 4 inches and so have multiple layers there. I'll be sure to look more closely before I finish this up.
Thanks for all the responses. You guys are great!
Lawrence -
What is matchcode objects and how can we create tthem
hai to all.
what is matchcode objects .
and how can we create matchcode objects
and how will it worksHi
In which version of SAP are you working?
Matchcodes are replaced by SEARCH HELPs in latest versions
see the doc
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
Collective search help Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
A Collective search help provides alternative search
Paths by combining elementary search helps.
Only one search help can be attached to a field, table or data element. Several search paths are therefore attached with a collective search help.
A collective search help also has interface parameters like
an elementary search help.
Like an elementary search help, a collective search help has an interface of IMPORT and EXPORT parameters with which the search help exchanges data. Using this interface, the collective search help can be attached to fields, tables and data elements exactly like an elementary search help.
Parameter assignment needs to be done for each of the
Included search helps.
When you define a collective search help, there are no components for describing the dialog behavior and data selection; instead the included search helps are listed here. You must assign the parameters of the collective search help to the interface parameters of the included search help for each inclusion.
User may choose the tab and thus the elementary
search maethod.
When we execute the search help SCUSTOM, we are confronted with a dialog which gives us an option of either restricting
By 1)Search for customer according to booking
2)Search for customer according to name.
These are effectively the elementary search helps (SCUSTOM_BOOK and SCUSTOM_NAME) which have been included in the collective search help SCUSTOM.
HOT KEY
The hot key is used to select the elementary search help from the collective search help and to enter the restrictions in the dialog box for restricting values directly from the entry field. If the user often searches for values using the same search help, this procedure can save time.
Steps to create a Collective Search Help
1)Enter the search help name and click on create.
2)Choose Collective search help radio button option as the search help type.
3)Enter the search help parameters.
4)Instead of the selection method, we enter the included
search helps for the collective search help.
5)We need to assign parameters for each of the included
search helps.
6)Complete the parameter assignment by clicking on the push button
7)Collective search help offers the user to obtain F4 help
using any of the included search helps. -
Need query linking parent and child discrete jobs created through ascp planning
Could you help me create a query that will show both the parent and child discrete jobs created through ascp run? I do not need entire query. I need to know the names of tables and understand the links or joins between tables. Then, I shall be able to write the sql on my own.
ThanksJust use a format like this:
http://<Server Name>:<port Number>/OpenDocument/opendoc/openDocument.jsp?sDocName=reportB&sType=wid&sRefresh=Y
&lsMObjectName=[test1],[test2]
Here in lsM[ObjectName] parameter [ObjectName] = the object name which you want to send data to ReportB
I can give you a idea of creating hyperlink for jumping another report (Here ReportB)
Just use a formula like that in any cell:
="<a href=http://<Server Name>:<port Number>/OpenDocument/opendoc/openDocument.jsp?sDocName=reportB&sType=wid&sRefresh=Y&lsMObjectName=[test1],[test2]&sWIndow=New> Click here to view </a>
Now from the property select Read cell content as "Hyperlink"...
thats it......
For more information please see the
"OpenDocument" artile
Hope you can get help from this
Edited by: Arif Arifuzzaman on Aug 20, 2009 7:24 AM -
ORA-01591 and ORA-00054 while creating index
Hi guys,
there is a situation that I didnt understand.
I have table and want to create an index on it but when I try to create an index I got one of
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
or
ORA-01591: lock held by in-doubt distributed transaction 11.13.689049 errors.
as I know there is and .net application which has connection pooling and while this web services were active, I can not create index.
first thing that i did is querying V$LOCK table and i saw some TM locks from time to time and sometimes nothing. when there wasn't any locks on the table I try to create index, system wait for a while (1 minutes approximately) then I got "ORA-01591: lock held by in-doubt distributed ..." error again. (even "Application" wait event occured. in enterprise manager I saw a few red sql command which is waiting for my create index command)
after a quick search, I use PENDING_TRANS$ and PENDING_SESSIONS$ tables to force rollback to the transaction which is indicated on ORA-01591 error but just after I rollback that transaction, a new one come up every time.
today I use something else. First I locked table manually in EXCLUSIVE mode (and success it). then I try to create index again, command worked for a while and I got ORA-01591 error again.
any idea why is this happining and how can i create my index ?sybrand_b,
when i run
Lock Table MyTable in exclusive mode;command, it succeeded. I can lock the table if you mean that or if you are saying even if that command runs very well, because of in doubt transaction, oracle will take the lock back, that could be. but as i said lock table command succeeded.
and there is an another situation here, there is no any other database ? I mean, how could an in doubt transaction happen. there are dblinks but they do not even query that table.
there is just something that i dont know. as i said in my first message, a .net application is running on an aplication server, as far as i know there connection pooling etc on that server. is this can cause that kind of in doubt transaction ?
PS: every time in ora-01591 error, I got the same transaction id and that transaction id is not in dba_2pc_pending or pending_session$ etc. that might help.
Edited by: Mustafa KALAYCI on 17.Şub.2012 13:48 -
Hi,
I need to join three tables, based on some conditions (EKPO, EKBE and EKKN Note: All PO line items from EKPO will have a movement associated in the EKBE Table. Capture all PO line items where no matches found in the EKPO-EKBE join)
for the above requirement shall I write my query like this?
SELECT ekpo~ebeln
ekpo~ebelp
ekpo~loekz
ekpo~txz01
ekpo~matnr
ekpo~bukrs
ekpo~werks
ekpo~menge
ekpo~meins
ekpo~knttp
ekbe~vgabe
ekbe~bwart
ekbe~menge
ekbe~dmbtr
ekbe~shkzg
ekkn~sakto
ekkn~kostl
ekkn~ps_psp_pnr
INTO CORRESPONDING FIELDS OF TABLE i_podata
FROM ekpo LEFT OUTER JOIN ekbe ON ekbeebeln = ekpoebeln AND
ekbeebelp = ekpoebelp
INNER JOIN ekkn ON ekknebeln = ekpoebeln AND
ekknebelp = ekpoebelp
WHERE ekpo~werks IN s_werks AND
ekpo~ebeln IN s_ebeln.
Shall I use both Outer Join and Inner join in one Query?
Please correcte me.
Thanks
Frank RexHi,
You can use both inner join and outer join in the same select statement.
Ensure first all the inner joins between tables are declared and put the left outer join at the end.
Some sample code for your reference:
SELECT
AVBELN AKUNNR ABSTNK ABSTDK AVKORG AVTWEG AAUART AKNUMV
BPOSNR BMATNR BWERKS BSPART BLGORT BKZWI1
SUM( BKWMENG ) AS KWMENG DBZIRK D~VKGRP
EDISPO EPRCTR
FROM VBAK AS A INNER JOIN VBAP AS B ON AVBELN EQ BVBELN
INNER JOIN VBPA AS C ON CVBELN EQ BVBELN
INNER JOIN KNVV AS D ON DKUNNR EQ AKUNNR
AND DVKORG EQ AVKORG AND DVTWEG EQ AVTWEG
LEFT OUTER JOIN MARC AS E ON E~MATNR EQ
BMATNR AND EWERKS EQ B~WERKS
INTO CORRESPONDING FIELDS OF TABLE IT_ORDERS
WHERE A~VKORG IN SO_VKORG
AND A~VTWEG IN SO_VTWEG
AND A~KUNNR IN SO_KUNNR
AND A~ERDAT IN SO_ERDAT
AND A~AUART IN ('ZFOR','ZROR','ZEOR','ZDXR','ZXOR','ZRM1','ZGOR','ZSOR')
AND B~MATNR IN SO_MATNR
AND B~WERKS IN SO_WERKS
AND B~SPART IN SO_SPART
AND B~ABGRU EQ SPACE
AND A~LIFSK EQ SPACE
AND A~FAKSK EQ SPACE
AND B~VSTEL IN SO_VSTEL
AND B~LGORT IN SO_LGORT
AND C~KUNNR IN SO_SHIP
AND C~PARVW EQ 'WE'
AND D~VKGRP IN SO_VKGRP
AND D~BZIRK IN SO_BZIRK
AND B~LGORT NE '0950'
GROUP BY AVBELN AKUNNR ABSTNK ABSTDK
AVKORG AVTWEG AAUART AKNUMV B~POSNR
BMATNR BWERKS BSPART BKZWI1 D~BZIRK
DVKGRP BLGORT EDISPO EPRCTR E~MATGR.
Lakshminarayanan.
P.S.Mark all helpful answers for points. -
How to create a cube/ods/infoobjects etc..and also why to create the same
Dear Friends
how to create a cube/ods/infoobjects etc..and also why to create the same objects.
thanks & Regards
RamanaHi Friend,
Creating Infoobjects
1. Go to RSA1 -> Modelling tab.
2. Click on Infobjects.
3. Create a new Infoarea.
4. Now create Infoobject Catalog for Characterstics and Key Figures.
5. Now create Char Infoobject under Char Catalog and Key figure Infoobject under Key Figure catalog.
Creating Cubes:
1. Right click the info area and choose create info cube.
2. Select the type of cube you wish to create and comnfirm your selections.
3. The next screen is where you actually define the cube.
4. Now you will notice the difference.
5. Place your cursur on key fig and right click and chose infio object direct input; chose your key fig for the cube.
6. Similarly for the dimension; right click the dimension and chose inbfo object direct input, chose your chars and out them in dimension.
7. Activate the cube.
Creating a ODS is also the same.(in step 1 choose create ODS)
Creating Multicube/Multiprovider
1. Right click the info area - chose create multi provider.
2. select the cubes , DSOs, info objects that you need for the multi provider.
3. On the right side of the screen, you will see all the objects that you selected and open the key fig and dimension and drag the ones you need to define the multi provider.
4. Identify the chars and key figs.
5. Acvitate the mullti provider.
Why we create them ?
Infobjects : They are fields in R/3. As we require fields in R/3 tables we require infoobjects in BI.
ODS : This actually is like a table in R/3.
Cube : This contain the Key figures.(e.g Sales quantity, Amount etc)
Hope it helps.
Regards
Hemant Khemani -
To see the username and datetime who/when created and who/when last updated the record
Excel Addin and Web UI future:
We need to see the username and datetime who/when created and who/when last updated the record.
We need these columns in tables (as shown columns with status error)
from Moscow with moneyVincent,
By the way, Just this week
we have +20 MDS-users
from Moscow with money -
What is the relation between main class and inner classes
hi
i want to make a UML design and o want to know how to draw the relation betwwen the main public class and inner classes?
and what is the relation?BaffyOfDaffyA wrote:
Please keep in mind that if you spell better you will get better answers and if you add duke stars you will get better answers and if you mark the thread as a question you will get better answers. That will make it look like you are paying attention and that you really want an answer.
My best answer based on your rather vague question:
A minimal public class in a file named "Minimal.java" in the directory named "minimal":
package minimal;
public class Minimal {
private int variable;
public Minimal(int var) {
variable = var;
public int getVariable() {
return variable;
}This would be an example of adding an inner class:
package minimal;
public class Minimal {
private int variable;
public Minimal(int var) {
variable = var;
public int getVariable() {
return variable;
public class Inner {
private int innerVariable;
public Inner(int var) {
innerVariable = var;
public int getInnerVariable() {
return innerVariable;
}The inner class is exactly like any other inner class except if you are accessing it from anything else other than Minimal then you would have to add Minimal. right before Inner for example, where the Minimal class could use
Inner inner = new Inner(5);other classes would have to use
Minimal.Inner inner = new Minimal.Inner(5);
See [Inner Class Example|http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html] or [Nested Classes|http://java.sun.com/docs/books/tutorial/java/javaOO/nested.html] for more information.
He is probably not asking what an inner class is or how to declare one in raw source code. To me he is asking how do I
explain this relationship in a UML diagram and as UML is not and exact science and expression can vary a lot
between UML design applications I didn't want to stab in the dark.
@OP I would say whatever seems most logical to you and your team, write something that reads. -
OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF; then 2. I need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that??
I had been saving as a PDF and then reducing the size of the PDF by printing it as a PDF with a degree of image compression. I write manuals with a LOT of screen captures and line art that needs to be clear. So it is a balancing act between image clarity and PDF size. The PDFs on the web need to be smaller - sure you can undertsand.
Anyway, when I print the PDF again, I lose both my destinations and bookmarks.
Anyone know of any way to avoid that?Control the images by creating a custom PDF Job Options and then selecting it in the PDF Job Options drop-down of the PDF setup dialog box (File > Save as PDF...)
Create the custom PDF Job Options file with Distiller. If you do not have Distiller, open the Printing Preferences of the Adobe PDF printer. Start with the Smallest File Size Job Options settings and Edit. -
STO and delivery is getting created in the foreground instead of background
Hi experts,
In return document (with reference to Work Order), When user is selecting recommended action u2018YAu2019 and clicking the u2018returnu2019 button, an STO and delivery is getting created in the foreground instead of generating them in background.
T-code - o3o_RT02
Test case
Create Work Order (IW31)
Create return document w.r.t Work Order (o3o_RT01)
Select recommended action u2018YAu2019, save and select u2018returnu2019 button.Hi,
Could you checkthe foll cust link in SPRO:
Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders).
PO is created if you set the "*" for EITHER the purchasing group OR the product category.
SRM is creating PR or PO depending on:
- SRM customizing (ex: always external proc + PR if incomplete, PO if complete)
- the interpretation of SC data by R/3.
IF your SC is considered complete by SRM (but with a fixed vendor and not a preferred vendor) the system will check if it can create a PO in R/3.
For this, each item will request a META_INTERPRETE_DATA to R/3, asking if it can create a PO. If R/3 considers this data as incomplete, it will reply to create a PR.
Usual cases of R/3 PR creation instead of PO:
- prefered vendor in SRM (and not a fixed one)
- custom checks in user exits in R/3
- error messages in R/3 (ex: O6 334 In the case of a fixed vendor, please enter info record)
To debug without debuging into R/3, you can also try the following:
- use BADI DETERMINE_TARGET_OBJECT and force PO creation
- so the system will always try to create a PO
- R/3 won't create the PO (for the same reason as in META_INTERPRETE_DATA), and will raise an error in SRM
- finally you get the real error in application monitor (SC --> backend application errors
Related thread:
Re: PO not create from SC with source of supply in classic sena
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
i have an apple id and am trying to create an icloud account however my phone is not allowing me and saying that the number of free attempts have been exceeded even though this is my first attempt. how can i create an icloud account?
Are you sure the message isn't saying that the maximum number of accounts have already been created? When you get this message you will not be able to create another account on that device. Your only options are to either re-use one of the accounts previously created or create a new account using a different iOS device or Mac, if you have one.
-
how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon
To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry. If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.
-
I need to move 1000 photos from one library to another. How do I do that and keep the ratings and dates they were created? I tried exporting them, but it loses all info. Also, how do I move the quicktime movies from one iphoto library to another? They were exported as jpgs
Add both libraries to iPhoto Library Manager. Then select the events or albums that you want to copy from library A and drag them to library B in iPLM.
This video shows the process:
OT
Maybe you are looking for
-
Placeing douments in to enterprise portal
hi, i have one requirement. i have documents in my desktop. i want to display all the documents in enterprise portal. i created folder,while uploading i am getting this message You can upload a file to the repository from your computer. Click "Show P
-
How to give the seasonal discounts in pricing procedure
Dear SD Gurus, Can anybody guide me how to map the below scenario A company wants to give the seasonal discount in a month.The first week it should give 3% discount on the purchase and the 2nd, 3rd,4th week should be 4%, 5%, 6% respectively.One more
-
Hi, Iam struggling with this problem from last 3days. Any body could u help me to solve this problem. error: Caught an unexpected exception! java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow (PortableRemo
-
Material Interchangeability -PIC01
Hi guys, Do anybody knows how to maintain Material interchangeability in PIC01(t-code). This function will able the system to check the superseded material availability in SD and MM site. Case example: User order 'A' item but vendor supply 'B' item a
-
What will cause the FP-1000 to fail initializa​tion?
When our Field Point FP-1000 is initialized the Network LED and the Access LED flash then go blank. The Power LED remains illuminated and the Status LED extinguishes. This has become more frequent lately. Sometimes all that is needed is to re-initial