Pp order actvity tables
hello ,
masters , i am searching of tables related to pp-co in which i can find production order no, actvity , activity plan quantity , actvity actual quantity, activity text.
hello ,
masters , i am searching of tables related to pp-co in which i can find production order no, actvity , activity plan quantity , actvity actual quantity, activity text.
Similar Messages
-
Accessibility: Reading order of tables and anchored frames
I am creating accessible, tagged (section 508 compliant) PDFs in FrameMaker 9. The reading order for tables and frames is not correct.
When I view the PDF reading order using Adobe Acrobat Professional or another screen reader, anchored items such as tables and anchored frames are placed last in the reading order, regardless of where they appear in the document flow or page layout. The reading order skips over all tables and frames, reading all paragraphs on a page first, then reading the tables and frames as the last objects on the page. This logically doesn't make sense to skip over tables/frames as they generally apply to the content that preceeds it.
For example, the following document structure:
<Paragraph 1>
<Table 1>
<Paragraph 2>
<Anchored Frame 1>
<Paragraph 3>
<Anchor Frame 2>
<Paragraph 4>
is being read by assistive technology as:
<Paragraph 1>
<Paragraph 2>
<Paragraph 3>
<Paragraph 4>
<Table 1>
<Anchored Frame 1>
<Anchor Frame 2>
I want the document structure to be read correctly as intended.
In otherwords, the PDFs generated by FrameMaker 9 are not completely accessible because of incorrect reading order output by default. This information is not listed in the VPAT for FrameMaker 9.
I want to avoid any post processing using Acrobat's Touch Up Reading Order tool. Is there a way to automate updates to reading order?
Can FrameMaker 9 logically place tables and anchored frames into the correct reading order? How do I adjust these settings?
Thanks in advance!As mentioned above, tables and anchored frames are inserted into thier own paragraph style "Frame". The paragraph style "Frame" is tagged. To my knowledge, there are no options for tagging or not tagging tables or anchored frames.
Regardless of which paragraph type the table or anchor frame is inserted into, and what that paragraphs tagging settings are, it is still last in the reading order.
I've tried a variety of options: tagging the "Frame" paragraph style as a sibling, child, and parent of my other paragraphs; I've even tried omitting it from the reading order. None of these options present anchored frames (and tables) in the logical reading order.
Even images that are inline (within a paragraph; not in thier own paragraph) are not being read as part of the paragraph. Inline images get skipped over by screen readers and get read at the end of the page, which makes no sense whatsoever.
All tables and images end up at the end of the reading order (after ALL paragraphs) regardless of the tagging settings.
Refer to my previous screenshot for a clear diagram of what is happening to the reading order. Each of those anchors is in it's own paragraph style. I want tables and anchored frames to be sequential in the reading order along with paragraphs. (1,2,3,4,5,6 not 1,4,2,5,3,6.)
I'm using the Tags tab of the "PDF Setup" dialog to adjust these settings. Is there somewhere else I should be making changes to the reading order?
This is a bit disturbing because FrameMaker touts creating accessible documents and this severe reading order issue impares my ability to do so. I would not consider documents that jump around the page in an illlogical, fixed order, to be accessible. I'm very suprised that no one else has encountered this issue (at least that I can find...) -
How to create index on XMLTYPE ordered collection table?
I am using Oracle 11.2.0.2.
Essentially, my XML documents have a 3-level hierarchy:
event
+---action [1:n]
+---- param [1:n]
I am trying to create indexes on ordered collection tables, but can not get the syntax right...
I have created a table with an object-relational XMLType column:
CREATE TABLE T_C_RMP_MNTRNG_XML_FULL_IL4 (
MESSAGE_ID NUMBER(22,0) NOT NULL ENABLE,
XML_EVAL_ID NUMBER(22,0),
VIN7 VARCHAR2(7 BYTE),
FLEET_ID VARCHAR2(50 BYTE),
CSC_SW_VERSION VARCHAR2(100 BYTE),
RECEIVED DATE,
XML_CONTENT SYS.XMLTYPE ,
DWH_LM_TS_UTC DATE NOT NULL ENABLE,
CONSTRAINT PK_C_RMP_MNTRNG_XML_FULL_IL4 PRIMARY KEY (MESSAGE_ID)
) NOLOGGING TABLESPACE CATALOG
VARRAY "XML_CONTENT"."XMLDATA"."action" STORE AS TABLE "T_OR_MON_ACTION" (
NOLOGGING TABLESPACE "CATALOG"
VARRAY "param" STORE AS TABLE "T_OR_MON_ACTION_PARAM" (
NOLOGGING TABLESPACE "CATALOG"
) RETURN AS LOCATOR
) RETURN AS LOCATOR
XMLTYPE XML_CONTENT STORE AS OBJECT RELATIONAL XMLSCHEMA "http://mydomain.com/cs.xsd" ELEMENT "monitoring";
I am running the following SELECT:
SELECT EVENT_ID, ACTION_SUB_ID, MESSAGE_ID, ACTION_TYPE, UNIXTS_TO_DATE(ACTION_TIMESTAMP) ACTION_TIMESTAMP
FROM T_C_RMP_MNTRNG_XML_FULL_IL4,
XMLTABLE(
'for $i1 in /monitoring ,
$i2 in $i1/action
return element r {
$i1/eventId,
$i2
PASSING XML_CONTENT COLUMNS
EVENT_ID VARCHAR(40) PATH 'eventId',
ACTION_SUB_ID INTEGER PATH 'action/actionSubId',
ACTION_TYPE VARCHAR2(100) PATH 'action/type',
ACTION_TIMESTAMP NUMBER(13,0) PATH 'action/time'
) T2
WHERE (
EVENT_ID IS NOT NULL AND ACTION_SUB_ID IS NOT NULL
The explain plan looks like this (sorry, don't know how to get this formatted any "eye-friendlier"):
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1609K| 6316M| | 6110K (1)| 20:22:11 |
|* 1 | HASH JOIN | | 1609K| 6316M| 111M| 6110K (1)| 20:22:11 |
| 2 | TABLE ACCESS FULL| T_C_RMP_MNTRNG_XML_FULL_IL4 | 582K| 104M| | 5241 (1)| 00:01:03 |
|* 3 | TABLE ACCESS FULL| T_OR_MON_ACTION | 32M| 117G| | 105K (2)| 00:21:08 |
Predicate Information (identified by operation id):
1 - access("NESTED_TABLE_ID"="T_C_RMP_MNTRNG_XML_FULL_IL4"."SYS_NC0001300014$")
filter(CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(XMLCONCAT(SYS_XMLGEN("T_C_RMP_MNTRN
G_XML_FULL_IL4"."SYS_NC00017$",NULL,SYS_XMLCONV("T_C_RMP_MNTRNG_XML_FULL_IL4"."SYS_NC00012$",0,32,
'EC1EEF23FD023A27E04032A06D930A8D',3,3783,1)),SYS_MAKEXML('EC1EEF23FD023A27E04032A06D930A8D',3780,
"T_C_RMP_MNTRNG_XML_FULL_IL4"."SYS_NC00008$","SYS_ALIAS_0"."SYS_NC_ROWINFO$")),'/eventId',NULL),0,
0,20971520,0),50,1,2) AS VARCHAR(40) ) IS NOT NULL)
3 - filter(CAST(TO_NUMBER(TO_CHAR("SYS_ALIAS_0"."actionSubId")) AS INTEGER ) IS NOT NULL)
Note
- dynamic sampling used for this statement (level=2)
- Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
The XML schema looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:flags="2105639" oraxdb:schemaURL="http://mydomain.com/cs.xsd" oraxdb:schemaOwner="MYUSER" oraxdb:numProps="23">
<xs:element name="monitoring" oraxdb:propNumber="3785" oraxdb:global="true" oraxdb:SQLName="monitoring" oraxdb:SQLType="monitoring755_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="monitoring757_TAB" oraxdb:defaultTableSchema="MYUSER">
<xs:complexType oraxdb:SQLType="monitoring755_T" oraxdb:SQLSchema="MYUSER">
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="action" oraxdb:propNumber="3780" oraxdb:global="false" oraxdb:SQLName="action" oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="action756_COLL" oraxdb:SQLCollSchema="MYUSER"/>
<xs:element ref="reservationType" oraxdb:propNumber="3781" oraxdb:global="false" oraxdb:SQLName="reservationType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
<xs:element ref="softwareVersion" oraxdb:propNumber="3782" oraxdb:global="false" oraxdb:SQLName="softwareVersion" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
<xs:element ref="eventId" oraxdb:propNumber="3783" oraxdb:global="false" oraxdb:SQLName="eventId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
<xs:element ref="vin" oraxdb:propNumber="3784" oraxdb:global="false" oraxdb:SQLName="vin" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="action" oraxdb:propNumber="3790" oraxdb:global="true" oraxdb:SQLName="action" oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="action754_TAB" oraxdb:defaultTableSchema="MYUSER">
<xs:complexType oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER">
<xs:sequence>
<xs:element ref="type" oraxdb:propNumber="3786" oraxdb:global="false" oraxdb:SQLName="type" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
<xs:element maxOccurs="unbounded" ref="param" oraxdb:propNumber="3787" oraxdb:global="false" oraxdb:SQLName="param" oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="param753_COLL" oraxdb:SQLCollSchema="MYUSER"/>
<xs:element ref="actionSubId" oraxdb:propNumber="3788" oraxdb:global="false" oraxdb:SQLName="actionSubId" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
<xs:element ref="time" oraxdb:propNumber="3789" oraxdb:global="false" oraxdb:SQLName="time" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="type" type="xs:string" oraxdb:propNumber="3791" oraxdb:global="true" oraxdb:SQLName="type" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="type751_TAB" oraxdb:defaultTableSchema="MYUSER"/>
<xs:element name="param" oraxdb:propNumber="3794" oraxdb:global="true" oraxdb:SQLName="param" oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="param750_TAB" oraxdb:defaultTableSchema="MYUSER">
<xs:complexType oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER">
<xs:sequence>
<xs:element minOccurs="0" ref="value" oraxdb:propNumber="3792" oraxdb:global="false" oraxdb:SQLName="value" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
<xs:element ref="key" oraxdb:propNumber="3793" oraxdb:global="false" oraxdb:SQLName="key" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="value" type="xs:string" oraxdb:propNumber="3795" oraxdb:global="true" oraxdb:SQLName="value" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="value748_TAB" oraxdb:defaultTableSchema="MYUSER"/>
<xs:element name="key" type="xs:string" oraxdb:propNumber="3796" oraxdb:global="true" oraxdb:SQLName="key" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="key747_TAB" oraxdb:defaultTableSchema="MYUSER"/>
<xs:element name="actionSubId" type="xs:integer" oraxdb:propNumber="3797" oraxdb:global="true" oraxdb:SQLName="actionSubId" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:defaultTable="actionSubId746_TAB" oraxdb:defaultTableSchema="MYUSER"/>
<xs:element name="time" type="xs:integer" oraxdb:propNumber="3798" oraxdb:global="true" oraxdb:SQLName="time" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:defaultTable="time745_TAB" oraxdb:defaultTableSchema="MYUSER"/>
<xs:element name="reservationType" type="xs:string" oraxdb:propNumber="3799" oraxdb:global="true" oraxdb:SQLName="reservationType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="reservationType744_TAB" oraxdb:defaultTableSchema="MYUSER"/>
<xs:element name="softwareVersion" type="xs:string" oraxdb:propNumber="3800" oraxdb:global="true" oraxdb:SQLName="softwareVersion" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="softwareVersion743_TAB" oraxdb:defaultTableSchema="MYUSER"/>
<xs:element name="eventId" type="xs:string" oraxdb:propNumber="3801" oraxdb:global="true" oraxdb:SQLName="eventId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="eventId742_TAB" oraxdb:defaultTableSchema="MYUSER"/>
<xs:element name="vin" type="xs:string" oraxdb:propNumber="3802" oraxdb:global="true" oraxdb:SQLName="vin" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="vin741_TAB" oraxdb:defaultTableSchema="MYUSER"/>
</xs:schema>
How can I create an index on these ordered collection tables in order to improve performance?
I found the example at http://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb_rewrite.htm#ADXDB5859 but am not able to apply it to this particular case...
Thank you in advance...If the schema is not annotated then xs:integer and xs:string are mapped to NUMBER and VARCHAR2(4000) datatypes, so you have to use those in your query in order to avoid unnecessary typecasting operations.
You should also use chained XMLTABLEs when accessing a parent/child relationship instead of a FLWOR expression, otherwise the CBO may not rewrite the XQuery correctly (maybe it's fixed in the latest release).
If you make those changes, the plan should show cleaner predicates :
SQL> SELECT EVENT_ID, ACTION_SUB_ID, MESSAGE_ID, ACTION_TYPE, ACTION_TIMESTAMP
2 FROM test_table,
3 XMLTABLE('/monitoring'
4 PASSING XML_CONTENT COLUMNS
5 EVENT_ID VARCHAR2(4000) PATH 'eventId',
6 actions XMLTYPE PATH 'action'
7 ) T1,
8 XMLTABLE('/action'
9 PASSING actions COLUMNS
10 ACTION_SUB_ID NUMBER PATH 'actionSubId',
11 ACTION_TYPE VARCHAR2(4000) PATH 'type',
12 ACTION_TIMESTAMP NUMBER PATH 'time'
13 ) T2
14 WHERE EVENT_ID IS NOT NULL
15 AND ACTION_SUB_ID IS NOT NULL
16 ;
Execution Plan
Plan hash value: 1763884463
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 109 | 220K| 6 (17)| 00:00:01 |
| 1 | MERGE JOIN | | 109 | 220K| 6 (17)| 00:00:01 |
|* 2 | TABLE ACCESS BY INDEX ROWID| TEST_TABLE | 11 | 352 | 2 (0)| 00:00:01 |
| 3 | INDEX FULL SCAN | SYS_C007567 | 11 | | 1 (0)| 00:00:01 |
|* 4 | SORT JOIN | | 109 | 216K| 4 (25)| 00:00:01 |
|* 5 | TABLE ACCESS FULL | T_OR_MON_ACTION | 109 | 216K| 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - filter("TEST_TABLE"."SYS_NC00012$" IS NOT NULL)
4 - access("SYS_ALIAS_0"."NESTED_TABLE_ID"="TEST_TABLE"."SYS_NC0000800009$")
filter("SYS_ALIAS_0"."NESTED_TABLE_ID"="TEST_TABLE"."SYS_NC0000800009$")
5 - filter("SYS_ALIAS_0"."actionSubId" IS NOT NULL)
Note
- dynamic sampling used for this statement (level=2)
Now, if still necessary, it all boils down to choosing a technique to index NULL values :
- composite index with a not null or constant column
- FBI
- bitmap
Pick one that best fits your data, selectivity and activity on the tables. -
CIC Activity and Sales Order Link Tables?
Hello Experts,
Can somebody let me know the CRM Customer Interaction Center(CIC) activity and its leading Sales Order Link tables or the data model?
If somebody could point me to CRM CIC Data model it would be real helpful.
If you have any document please send it to [email protected]
Thank you
ArunArun,
You should be able to use the document flow function mod : 'CRM_DOC_FLOW_READ_OB' to get any leading documents
CALL FUNCTION 'CRM_DOC_FLOW_READ_OB'
EXPORTING
IV_HEADER_GUID = wa_activity_guid
IMPORTING
ET_DOC_FLOW_WRK = lt_doc_flow. -
How to add line item to sales order item table?
Kindly help me the with the below requirement .
Add line item to sales order(va01) dynamically on click of button. The button is also custom created push button.
In the above requirement I have added the pushbutton to va01 tcode. But when I click on that button I need to add line item to sales order item table.
I tried a lot but I am not successful. If possible can u please help on this.
Regards,
RachelHi!
It's quite easy even in the standard SAP to add a line item for a customer order, I don't think it worth to develop a new button for this.
However if you wanted to add a line automatically, the you can do the following in the program MV45AFZZ, FORM USEREXIT_SAVE_DOCUMENT.
You can use similar code, but with some modifications.
DATA: lv_posnr.
LOOP AT xvbap.
MOVE xvbap-posnr TO lv_posnr. "get the last posnr
ENDLOOP.
ADD 10 TO lv_posnr.
MOVE 'XYZ' TO xvbap-matnr. "enter your material number here
MOVE lv_posnr TO xvbap-posnr.
* fill additinal field data in XVBAP if necessary
MOVE 'I' TO xvbap-updkz. "Insert line
APPEND xvbap.
Regards
Tamá -
Hi,
I have around 300 tables in a database, and I need to load these tables with data. For this I need to know the order of tables to be loaded. Please help me if you have any script or solution that would tell me the order of tables be loaded.
Thanks in advanceIt's doable. The complexity is mainly in how much or little you know ahead of time about what you are loading. The referential integrity relations between tables is within Oracle so you can know what tables are dependent on table A, and what tables are dependent on those tables, etc., etc. Once you've got that then you can load the data in the proper order (and you might want to put the whole thing in a transaction so other users don't see partial updates). So if you load table A and associated tables once per week or something then you've got the script and can keep re-using it, just changing the data files.
If you are going to have random tables to load then you'll have to do the same thing for every new table to load. Sure, you can probably create a script to do it all totally driven off of the table to load, but it all depends on how flexible you need to be. -
Looking for Maintenance order detail table
hi,
AFIH - Maintenance order header
I am looking for a Maintenance order detail table, is there any table.....
In this same way like VBAK (Header) and VBAP (Item).
Thanks,
FractI think there are many tables not one for the Maintenance Order details.
If you are looking for Object list details then it is OBJK.
If not let us know what details are you looking for.
Thanks,
Chandra Indukuri
Edited by: Chandra Indukuri on Apr 29, 2010 3:50 AM -
Order of tables in the form clause influences query performance? (ora 9i)
Hi,
I have a SQL select with 5 tables in the 'from' clause. On Oracle 9i (and 8i too) if I user a certain table order (bigger tables first, smaller tables last) the query executes fast. If I change the order, then it executes in slow motion. I use cost based optimizing.
I thought it was just Oracle 8i where I had to take into account such things when writing a query. Does some one know the cause for this? I
Regards,
Tamas SzecsyAnd, even in 10GR2, if the optimizer_mode is changed to CHOOSE (the default is ALL_ROWS), the optimizer defaults to RULE based:
SQL> show parameter optimizer_mode
NAME TYPE VALUE
optimizer_mode string ALL_ROWS
SQL> alter session set optimizer_mode = choose ;
Session altered.
SQL> show parameter optimizer_mode
NAME TYPE VALUE
optimizer_mode string CHOOSE
SQL> analyze table emp delete statistics ;
Table analyzed.
SQL> analyze table dept delete statistics ;
Table analyzed.
SQL> set autotrace traceonly explain
SQL> select e.*, d.* from emp e, dept d where d.deptno = e.deptno (+) ;
Execution Plan
Plan hash value: 748780195
| Id | Operation | Name |
| 0 | SELECT STATEMENT | |
| 1 | NESTED LOOPS OUTER | |
| 2 | TABLE ACCESS FULL | DEPT |
| 3 | TABLE ACCESS BY INDEX ROWID| EMP |
|* 4 | INDEX RANGE SCAN | IDX_EMP_DEPTNO |
Predicate Information (identified by operation id):
4 - access("D"."DEPTNO"="E"."DEPTNO"(+))
Note
- rule based optimizer used (consider using cbo)
SQL> analyze table emp compute statistics for table for all indexes for all indexed columns ;
Table analyzed.
SQL> analyze table dept compute statistics for table for all indexes for all indexed columns ;
Table analyzed.
SQL> select e.*, d.* from emp e, dept d where d.deptno = e.deptno (+) ;
Execution Plan
Plan hash value: 748780195
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 14 | 826 | 4 (0)| 00:00:01 |
| 1 | NESTED LOOPS OUTER | | 14 | 826 | 4 (0)| 00:00:01 |
| 2 | TABLE ACCESS FULL | DEPT | 4 | 76 | 3 (0)| 00:00:01 |
| 3 | TABLE ACCESS BY INDEX ROWID| EMP | 4 | 160 | 1 (0)| 00:00:01 |
|* 4 | INDEX RANGE SCAN | IDX_EMP_DEPTNO | 5 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
4 - access("D"."DEPTNO"="E"."DEPTNO"(+))
SQL> alter session set optimizer_mode = rule ;
Session altered.
SQL> select e.*, d.* from emp e, dept d where d.deptno = e.deptno (+) ;
Execution Plan
Plan hash value: 748780195
| Id | Operation | Name |
| 0 | SELECT STATEMENT | |
| 1 | NESTED LOOPS OUTER | |
| 2 | TABLE ACCESS FULL | DEPT |
| 3 | TABLE ACCESS BY INDEX ROWID| EMP |
|* 4 | INDEX RANGE SCAN | IDX_EMP_DEPTNO |
Predicate Information (identified by operation id):
4 - access("D"."DEPTNO"="E"."DEPTNO"(+))
Note
- rule based optimizer used (consider using cbo)
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> -
INVENTORY & ORDER MANAGEMENT Tables join conditions required
Hi All,
I have to create one view, it has to display item_number, item_description,quantity_in_warehouse and pendingquantity_in_salesorder.
query is based on INVENTORY & ORDER MANAGEMENT Tables. i have written below query, it is not giving expected output. Kindly go through once and rectify me if i did any thing wrong while writing the join conditions.
SELECT mtlb.segment1 Item_Number,
mtlb.description Item_Description,
mtld.transaction_quantity Quantity_in_Wearhouse,
oel.ordered_quantity PendingQuantity_in_SalesOrder
FROM mtl_system_items_b mtlb,
mtl_onhand_quantities_detail mtld,
oe_order_headers_all oeh,
oe_order_lines_all oel
WHERE mtlb.inventory_item_id = mtld.inventory_item_id
AND mtlb.organization_id ; = mtld.organization_id
AND mtlb.inventory_item_id ; = oel.inventory_item_id
AND oeh.header_id ; = oel.header_id
AND oeh.org_id ; = oel.org_id
AND oeh.ship_from_org_id ; = mtlb.organization_id
AND oel.ship_from_org_id ; = mtlb.organization_id
AND mtld.subinventory_code LIKE 'Warehouse'
AND oel.flow_status_code LIKE 'AWAITING_SHIPPING'
ORDER BY mtlb.segment1;
it is bit urgent. please help me to resolve this issue.
Thanks.
Edited by: user627525 on Jul 19, 2010 4:35 AMHi Jonny,
Thanks for your reply. it is very useful for me. need small clarification.
i have execute the query that u have given. please find the following output.
segment1 order_number line_number shipment_number on_hand
210020004000011 10005 1 1 139150
210020004000011 10006 1 1 139150
210020004000013 10005 2 1 27675
210020004000013 10006 2 1 27675
i have modified the query and added column ordered_quantity from oe_order_lines_all table.
SELECT
mtlb.segment1 ; as Item_Number,
mtlb.description as Item_Description,
sum(mtld.primary_transaction_quantity) as Quantity_in_Whouse,
oel.ordered_quantity as PQuantity_in_SOrder
FROM oe_order_headers_all oeh,
oe_order_lines_all oel,
mtl_system_items_b mtlb,
mtl_onhand_quantities_detail mtld
WHERE oel.header_id = oeh.header_id
AND oel.inventory_item_id = mtlb.inventory_item_id
AND oel.ship_from_org_id = mtlb.organization_id
AND oel.inventory_item_id = mtld.inventory_item_id
AND oel.ship_from_org_id = mtld.organization_id
AND oel.flow_status_code = 'AWAITING_SHIPPING'
AND mtld.subinventory_code = 'Warehouse'
GROUP By mtlb.segment1,mtlb.description,oel.ordered_quantity
ORDER BY mtlb.segment1;
i have executed the above query. Quantity_in_Whouse is showing double the actual available quantity.
item_number item_description Quantity_in_Whouse PQuantity_in_SOrder
210020004000011 item1 278300 100
210020004000013 item3 55350 125
when i executed the below query, Quantity_in_Whouse is showing 139050 and 27550 respectively.
SELECT mtlb.segment1 Item_Number,
mtlb.description,
sum(mtld.primary_transaction_quantity) Quantity_in_Whouse
FROM mtl_system_items_b mtlb,
mtl_onhand_quantities_detail mtld
WHERE mtlb.inventory_item_id = mtld.inventory_item_id
AND mtlb.organization_id ; = mtld.organization_id
AND mtld.subinventory_code LIKE 'Warehouse'
and mtlb.segment1 in ('210020004000011','210020004000013')
group by mtlb.segment1, mtlb.description
ORDER BY mtlb.segment1;
item_number item_description Quantity_in_Whouse
210020004000011 item1 139050
210020004000013 item3 27550
please give some solution so that i can display Quantity_in_Whouse as 139050 and 27550 .
if i am any thing wrong please rectify me.
Thanks in advance.
Edited by: user627525 on Jul 19, 2010 7:54 AM
Edited by: user627525 on Jul 19, 2010 7:56 AM
Edited by: user627525 on Jul 19, 2010 9:39 AM -
Hi all,
I want to know the Order Confirmation tables. Please if anybody can speify SOP tables, will be very much needed & hence helpful to me.
Regards,
MHPAFFW Goods Movements with Errors from Confirmat
AFFWPRO Log of deleted AFFW entries
AFRC Incorrect cost calculations from confirmat
AFRD Default values for collective confirmation
AFRH Header information for confirmation pool
AFRH_DEL Backup Copy of Header Information for Conf
AFRP0 Table of planned changes for confirmation
AFRP1 Table of planned changes to conf.: Automat
AFRP2 Table of planned changes for confirmation:
AFRP3 Table of planned changes for confirmation:
AFRP4 Table of planned changes to confirmatn: Da
AFRU Order Confirmations
AFRV Confirmation pool
AFRV_DEL Backup Copy for Confirmation Pool
AFWI Subsequently posted goods movements for co
CORUUSR User Settings for Confirmation
TAFWD CORU: Messages that are not interpreted as
TCORD Table for field-dependent check routines
TCORU Parameters for Order Confirmation
TCORUPBTXT Customizing Single Screen Entry Confirmat.
TCORUSSDEF Customizing for Single Screen Entry of a C
TCORV Table with Routines for structureing varia
TCORW Confirmation: Window Control
TPARU Control parallelized confirmation processe
TPRRU Control table for process chain for confir
TPRRUT Text table for process control of confirma
sree -
When MSKA (Sales Order Stock) table get updated?
Hi,
May I know when MSKA(Sales Order Stock) table get updated?
Regards,
thiyagusuppose a sales order has been created of 10 MTS and Production Person give me 5 MTS against the sales order by creating Planned Order& Production Order wrt Sales Order,then 5 MTS will be updated into Unrestricted - Use.
If suppose Material is Return Delivery ,then after MIGO , it goes to Quality Inspection,then this Quantity will Updated in to Stock in Quality Inspection .
Hope ,it will help you.
Best Regards,
Ankur -
How to find the Commitment cost for a PM order using tables ?
Hello all ,
How to find the Commitment cost for a given PM order using table .
Thanks and regards ,
Prem.Issue got resolved
-
Sales order changes- table & field name
Hi gurus,
last week i created a sales order for 250 qty, and today i have changed the quantity from 250 to 200.
from which table i can find out the old qty,updated qty and the changed date.
cheers,
SumithHi
For Changes to sales order Check Table CDHDR & CDPO for Item Changes
goto SE16 , enter the table & Give the Object values as the Sales order number
you will get the change details
Thanks & Regards
Kishore -
Sales Orders Transparent Tables Needed
I am trying to create a report with SQV1 that shows
Sales Order
Sales Order Status
Material
Rev Level on Material
ECN Number on Material
ECN Description on Material
I need the transparancy tables for
Sales Order Detail; I tried VBAP and VBAK and both do not show me the
Sales Order Status VBSTT
Also I need to know the Rev Level and ECN Number and description. I
thought they would be in MARC because the rev level shows up in the
Material Master but it is not one of the items you can select. Any idea where
I can find it?
Thanks,
LindaHi
For the sales order status, you can refer to VBUK or VBUP.
I looked for ECN number, I think the table and the field are MARC-PRENO
Pls check whether the same is useful to you.
Reward point if it helps. -
Dynamic field value in Sales order item table control
Hi
I need to find the VBAP-VKAUS (Usage indicator) field value in run time of the creation of sale order ...these values stored in the table TVLV.
when i debug the program SAPMV45A in the screen 4900 this VBAP-VKAUS value gets empty in structure VBAP even though i can see other values like MATNR etc...
this field is configurable (dynamic) field and not appear for all the ordertypes.
i need to pass this VBAP-VKAUS value to KOMPD-VKAUS
Thru user-exit..so please let me know if somebody knows how to find this VBAP-VKAUS value.
Thanks in advance
Madihi,
Plz Check the struc KOMP/KOMK. Let me know, if this helped.
Rgds,
Raghu.
Maybe you are looking for
-
Please Help! Problem with 'whistle' when using Audition and Premeire Pro 1.5 with Audigy
I hope someone can help with this problem. The start of these messages is at the bottom. Any suggestions would be most welcome...Bill Allen Hi David (00)... Thanks for your reply. I just wanted to let you know that I am going to post all of this corr
-
Hello all, I've a problem with root login password in Solaris. After I installed a patch the root password became empty, so to login as root I don't have to type any password, just username: root. I've tried the passwd command but it still doesn't wo
-
RuntimeException in OnMessage() does not roll back
Hello All, I have a transacted queue, the consumer is a java application. I configured an error queue for that queue. If I rollback manually in OnMessage(), the rolled back messages go into the error queue. However, if I
-
Converting swf to flv with flash video encoder
Hi... I have a couple of questions please... I have managed to put some captions on a video file and would now need to get this video back into flv format to put it online;..I tried with the cs3 video encoder but it wouldn't let me.... So my question
-
So just got my iPad about a month ago but starting about a week after i had it, the camera won't turn on. It simply freezes Before it opens up. Same thing with face timing. I can see the other person but my camer is like dead... It works when I click