Order Operations Table
Please any one have the Order operations status Table. The table JEST only provide the status of hearder level only. The AFVC,AFRU is not helping.
AFVU DB structure of the user fields of the operation
AFVV DB structure of the quantities/dates/values in the operation
This may help.....
Similar Messages
-
Hi,
We are creating Function Module for one client requirement, where we need to make some changes in Order operation tab, on the basis of the existing operations.
So please tell me,
From where (Database Table) these operations in operation tab of order get displayed?
T.Code : IW32,
Wish to know database table for operations on a particular order number.
E.g. Table contains Order Number, Work Center, Control key, Text etc.
Thanks & Regards,
KedarHi Thanks for your Reply.
We have already used these tables, but we were not getting Work Center in the Operations and Scheduling data from this table. But now our problem is get solved for data gathering.
I have ABAPer with me,
We have built functional module for our requirement. Now we want to link this with Order processing (probably through User Exit) But we both have not worked on this issue.
flow should be like this,
IW32==> When User status is changed to E.g. "INIT - Initiate" and pressed "Save", then this functional module should get executed.
How to this automatic triggering?
Help will be appreciated,
Thanks,
Kedar -
Production Order Operations System Status
Hello Friends,
I want to include Production order operations status in customized report. Can you pls suggest me how to fetch Operations status since I am unable to find the same from any of the Production Order Operation table (AFVC, AFRU, AFVU, AFRH etc) Also JEST, TJ02 tables provide Prod Order header level status. I want to fetch Operation level status.
Hope to have your valuable inputs for the same.
Thanks & Regards,
TejasDear Mr Brahmankar & Mr Vivek,
Thanks for your answers.
I am working with the ways you suggested.
In case any issue will ask to you.
I really appreciate your timely help.
Regards,
Tejas -
FIND table for PM order operations
Hello,
I am looking for the table in which the notification number of pm order operations is stored.
I find table AFVC and AFVV but in this table I don't see notification number.
Thanks for your help.
Best regards,
SebFor PM Order, you can see :
- Notification number in header tabstrip
- Notification number in operations tabstrip (for each operation)
It is not the same number !
I have the following informations : AUFK, AFKO, AFVC.
For example, With IW32, I see operations tabstrip :
Operation Item Notifications Number
10 110000007
20 110000007
30 110000008
In AFVC, I see :
AUFPL VORNR
1000582892 10
1000582892 20
1000582892 30
AUFPL number is the same for all items operations in AFVC !
Thanks for your help. -
Tables for tracing the Maintenance Order Operation to Purchase requistion
Hi Everyone,
Can any one suggest appropriate table for finding the link for tracing Maintenance Order Operation to Purchase Requistion for Service Items.
My requirement if I give the Order Number, I require Operations in it & PR Item associated if they are Service Items.
Regards,
MLN PrasadHi got the Answer myself & thanks fro the answers given by you all.
The exact way how I got is Pass AUFNR to AFKO and get AUFPL.
Use this AUFPL in AFVC where we get VORNR (operation Number) also.
You can use the AUFPL in EBKN ande can get tje PR (BANFN).
Bye,
MLN Prasad -
Link of Preventive order Operation and package table
Hi guys
we are developing the form. there we are collecting the Operations, frequency, Remarks etc for preventive maintenance orders (from Maint plans). We are taking the printout from IW3D.
Now the thing is everything i have acheived except frequency. I have collected the operations from VIAUFK_AFVC, WARPL and call no (But no Package no here). Then if iam putting into MHIS table i could get the package no. Again if we are inputting the same into T351X we will get the short text of stratagy frequency.
My doubt is the order has so many operations , how could we link the which operations and which package..any link table is there..Thenna,
I am really sorry, i am just not able to comprehend what you are referring to. Could you be a little bit more clear? If you are looking to identify the Frequencies/packages which have caused the operation to be added to the Order, the tables that i have listed out should help you to identify the same Programmatically.
From the Order you can get the Group and task list number. From PLPO and PLWP , you could get a list of all the operation numbers and the packages at which they are due for the task list number. Using the keys from this table, you could identify the equivalent operation number in the Order(The operation number might not have changed between Task list and Order, if you havent re-numbered them).
Regards
Narasimhan -
How to regenerate COSS table for work order operation planning hours
Hello,
I am looking for a SAP report or a custom solution to update the table COSS table from work order operation hours. Several work orders incorrectly updated in the table COSS with result the cost is incorrect.
For example: In the work order opertions, I have planned 2.5 hrs and in the table COSS it is 1.5.
Much appreciate for your help
BillIt is quite simple actually.
As soon as your array exceeds SDU (defaults to 2048), sqlnet will fragment the packet. (see: sqlnet more data to client messages in your trace file)
As soon as the packet is bigger than your NICs MTU, the NIC will fragment the packet.
So, depending on the number of bytes for 1 record, high array size make sense or don't make sense.
And ideally SDU should be a multiple of MTU.
So do high arraysizes make sense? Usually not.
Hth
Sybrand Bakker
Senior Oracle DBA -
Table name& field name for production order & operation confirmation
Hi All,
I would like to know the table name and field name for the production order "confirmation" (CNF) and the operation confirmation (CNF).
Thanks and Regards,
PSSHi there,
CORU(R/3 Application development: PP Confirmations )
AFFW Goods movements with errors from confirmatio
AFRC Table of planned changes to conf.: Automatic
AFRD Default values for collective confirmation
AFRH Header information for confirmation pool
AFRP1 Table of planned changes to conf.: Automatic
AFRP2 Table of planned changes for confirmation: B
AFRP3 Table of planned changes for confirmation: C
AFRP4 Table of planned changes to confirmatn: Data
AFRU Order completion confirmations
AFWI Subsequently posted goods movements for conf
TAFWD CORU: Messages that are not interpreted as e
TCORD Table for field-dependent check routines
TCORU Parameters for order confirmations
TCORV Table with Routines for structureing variabl
TCORW Confirmation: Window Control
TPARU Control parallelized confirmation processes
TPRRU Control table for process chain for confirma
TPRRUT Text table for process control of confirmati
TRUGS User status caused by deviation
CO(R/3 Application development: PP Production orders )
AFBP CIM order: Batch print requests
AFFL Work order sequence
AFKO Order header data PP orders
AFPO Order item
AFVC Operation within an order
AFVU DB structure of the user fields of the opera
AFVV DB structure of the quantities/dates/values
FAPW Index of production-/issuing plant for produ
FTIND Missing parts index
ORDCOM Communication control Operation download
T024F Production scheduler
T399X Parameters dependent on order type
T441C Profile - availability check
T441CT Texts for Profile "Display Availability Chec
T490 Transactions PP - orders - order category
T496B CIM order: Assigning document types to refer
T496D CIM: Destination/lists/spool parameters per
T496F CIM order: Form description of the list
T496K CIM order: Entity table of possible table id
T496N CIM order: List descriptions
T496P Print PP documents: Determination of output
T496R Print PP shop papers: Report control
T496T Print PP shop papers: Transaction control
T496V PP Print: Default Value for Printing Online
T496Z CIM order: Table-controlled table access
TC32 Assigning subscreen to processing location
TC34 Allocating operation to object type for the
TC62 Sequence of detail screens when processing h
TCO01 Sequence/operations control in logicstics or
TCO03 CIM order: Texts for TCO01, Description of o
TCO04 Table for controlling the screen sequence gr
TCO05 CUA status depending on panel, trans. type,
TCO06 Exclusive functions for PP orders
TCO09 CIM order: Text IDs of objects in orders
TCO10 Valuation variant for order costing
TCO11 Control table for production orders - availa
TCO12 Control table production orders - stock dete
TCO36 PP orders: Control table for calling up pop-
TCO41 CIM order: Default values for generating ope
TCO43 PP-SFC order profile
TCO43T Description of production scheduler profile
TCO60 Sequence keys for input facility and verific
TCO61 Sequence key for PP orders
TCO62 Defining screen sequences for input facility
TCO63 Sequence of detail screens when maintaining
TCODB Database fields development class CO per ord
TCOF Profile for missing parts info system
TCOFF Profile for Missing Parts Info System: Displ
TCOFFT Texts for Missing Parts Info System: Display
TCOFG Profile for missing parts info system: crite
TCOFGT Texts for Missing Parts Info System: Criteri
TCOFK Texts for functions in milestones/trigger po
TCOFS Profile for Missing Parts Info System: Sort
TCOFST Texts for Missing Parts Info System: Sort Cr
TCOFT Texts for Missing Parts Info System
TCOKO Constants for PP orders
TCOKT Account assignment categories for order
TCOP Field selection profile
TCOPS Field selection profile
TCOPT Description of Profile for Field Selection
TDUMMY Dummy structure of a table for READ with VER
TRUG Reason for variances in completion confirmat
TRUGT Text describing the reason for a variance in
TXPR1 XPRA control - missing parts info system
Regards
Hemant G -
Status not updated in JCDS Order Operations
Hello Experts,
I have a requirement in which if status changes (either system or user status ) for any operation of an order, I need a table which shows object number , the date of status change .
In JCDS , when i change some Order Operations status they are reflected into JCDS with their change dates and when i change some Order Operations status they are not reflected into JCDS.
In JEST we have only status values but not the change date , i need the status change date.
I checked so many tables but they don't Order operation status change date.
Can any share some light , are they are restrictions that certain order types operations only get reflected into JCDS.
Thanks
VamsiHello All,
I have spoken to my functional team.
There is setting in SPRO or you can directly go to Tcde 'OIOE' and you have differnt plants and order types and you can set different flags accordingly the change pointers will be updated to JCDS.
From the next doument created after enabling this setting, the change documents are reflected in JCDS in our case.
Appreciate your help.
Thanks
vamsi -
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. -
Process order operation information
Dear Experts,
I want to know the name of table from where I can get information of process order no., process order status and the operations which are still to be confirmed for the order. I think I will have to create a view by using two tables but let me know which tables should I refer.
Thanks in advance.
PrashantDear
Find below the SAP tabel for your report requirement :
Order tables :
AUFK Process order headers
AFKO Order header data PP orders
AFPO Order item
AFVC Order operations
AFVV Quantities/dates/values in the operation
AFVU User fields of the operation
AFFL Work order sequence
AFFH PRT assignment data for the work order(routing)
JSTO Status profile
JEST Object status
AFRU Order completion confirmations
Process Order operation tabel :
PLAS Task list - selection of operations/activities
PLFH Task list - production resources/tools
PLFL Task list - sequences
Order and Operaton syetm Status : SAP Table and field : JEST-OBJNR
1.Orders/Operation with status CRTD : JEST-STAT = I0001 .
2.Orders/operation with status REL/PREL : JEST-STAT = I0002 /I0042
3. Orders with status MSPT : JEST-STAT = I0004
4. Orders with status PRC : JEST-STAT = I0016
5. Orders with status DLV/PDLV : JEST-STAT = I0012
6. Orders/operation with status CNF/PCNF : JEST-STAT = I0009/I0010
7. Orders with status GMPS : JEST-STAT = I0026
8. Orders with status TECO : JEST-STAT = I0045
9. . Orders with status DLFL : JEST-STAT = I0076
Hope this will help you to include required table in your BI report
Regards
JH
Edited by: Jiaul Haque on Jun 3, 2010 9:12 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> -
Work Order Operation Duplicated on Operation/Activity Number
I had a coworker duplicated his activity number on a operation. He hit save after he had changed the operation number. Now it is giving an error "Inconsistent data: Order 20066826 02/11/2008, duplicate entry U 0125. This had only happened once before and I tecoed/business completed the work order. Then told them to create a new order. But this one, has important information in it, so I was asked to save this order.
Any way to renumber the operation or delete it, or just get in the work order itself? I get this error in change or display.
ThanksWhat you describe should not have happened, and in 11 years of consulting on SAP Plant Maintenance I can only recall having seen this kind of problem once previously. It's not a very easy problem to resolve. There are a couple of suggestions I can make, neither of which are particularly easy or straighforward:
1. Raise an OSS message with help.sap.com to see if they are aware of the problem and have an ABAP that you can download that will correct or delete the database entries. I have done this successfully previously but whether they have an off the shelf solution for this will depend on which version you are on and which tables have corrupted entries in them.
2. Get an ABAPer to look at the problem and produce an ABAP program to correct the entries internally. It wouldn't need to be a particularly complex program, only a few lines, but some analysis would be needed to ensure that all of the affected table entries are corrected as the work order operations are split across several tables.
Sorry but there is not really an easy answer to this one. -
Hi,
Is there any fm to get the old and new data of order operations?
Any help would be highly appreciated.
Regards,
PitambarHi,
To get the old and new values you can use FM CO_BO_OPR_OF_ORDER_GET
CALL FUNCTION 'CO_BO_OPR_OF_ORDER_GET'
EXPORTING
aufnr_imp = v_aufnr
* CHECK_DELETED = ' '
get_old = 'X'
* FLG_STATUS = ' '
* FLG_WORK = ' '
* SORT_BY_SEQ = ' '
* GET_ALT_SEQ = 'X'
* FLG_PROV = ' '
* FLG_QUAL = ' '
* FLG_CONV = ' '
flg_oproll = 'X'
TABLES
afvgd_get = it_new
afvgt_old = it_old.
Regards,
Gaurav
<b>Reward points if helpful</b> -
Error message if invalid characters entered in PM order oper.short text fld
Hi ALL,
I need to display a error message, when user enters the invalid characters in work order operation short text field. The error message should be displayed during work order u201CSaveu201D (during creation and change mode).
Kindly let me know is there is any user exit / BADI can be used for this.
Note: I have checked some user exit, such as IWO10009 but I am not getting the value of Operation short text (AFVGD-LTXA1) to compare and throw the error message
Regards
Ramuhi
the exit is correct but don't use structure field,
follow this to get text
get AUFPL(Routing number of operations in the order)from CAUFV and paa it in AFVC -AUFPLyou get the short text
it can be usefull
-ashok
Maybe you are looking for
-
Report as per FBL1N - Vendor line Items
Hi Experts, I have a requirement to generate a report as per FBL1N, the current process is as follows. User enters shipments in dynamic selection > document > Reference > right side Reference. '*' is kept before and after the shipments. Other selecti
-
iTunes keeps saying "song can no longer be made into a ringtone" But it is saying it for every song. I have on multiple song from my library clicked on the little ringtone thing and it keeps coming up saying "this song can no longer be made into a ri
-
I have DSP 4.2.0 I want the DVD to jump back to the menu page after each chapter is finished. Can someone direct me on how to do this? I tried under "connections" setting it up, but it didn't work. Gerry
-
[BUG] Removed source photos: cannot "Cancel all"
It's more a missing feature than a bug, however I just reopened iPhoto after months, just to try out the new version (I'm a Lightroom user). Long time ago I exported an album to take a look of the software and explore its features. After months those
-
Adobe Premier Elements 9 into PowerPoint
how do I embed a video file from Adobe Premier Elements 9 into PowerPoint so both video and sound play?