Processing R134 Tables in a VI
Hi you all! I hope you´re all fine
I´m working in the digitalization of a Refrigeration Bank. It´s for testing and experimental purposes (mechanical Engineering students). I made the VI that I considered that fits for the case. It´s the one in the attachment. I´m receving 10 values from the bank (5 for temperature and 5 por Pressure). As you may know, for Thermodynamic purposes I have to use some tables (R134 tables) so i can get the enthalpy in every point i have the sensors. That´s just for calculations on the Heat Rate.
I have everything set up, but I don´t know how to make Labview "recognize" (I know it´s not the correct word for the case) or analyze somehow those tables so I can get the enthalpy for each point with the values i´ll be reading in LABVIEW.
I´ve been searching for this a lot, and i haven´find any guide or possible help. I hope i could get it from you!
Thanks a lot and best regards
Attachments:
muestra.JPG 159 KB
Hey Carlos!
Try this VI. Is this what you've been looking for?
You enter with values of Temperature and Pressure and you get the value of Enthalpy based on a Table Analysis.
Regards!
Felipe Flores
Engenharia de Aplicações
National Instruments Brasil
Felipe Flores
Engenharia de Aplicações
National Instruments Brasil
Attachments:
Table_analysis.vi 11 KB
Similar Messages
-
Process chain tables and tcodes
Hi frinds,
can any one send me the process chain tables and tcodes . plzz
regards,.
rajesh
my mail id is [email protected]Hi Rajesh,
Process chain tables:
RSPC_BUFFER Shared Buffer for Processes (Esp. Customer
RSPC_MONITOR Monitor individual process chains
RSPCABAPASYNC Logging for ABAP Processes(Synchronously a
RSPCCATEGORY Process Type Categories
RSPCCATEGORYT Texts for Category
RSPCCHAIN Process chain
RSPCCHAINATTR Attributes for a Process Chain
RSPCCHAINEVENTS Multiple Events with Process Chains
RSPCCHAINT Texts for Chain
RSPCCOMMANDLOG System Command Execution Logs (Process Cha
RSPCENQUEUE Dummy Table for Runtime Locks of a Process
RSPCEXOR Excluding Or: Log Table
RSPCINFO Special Values for Communication between P
RSPCINFOT Special Values for Communication between P
RSPCINSTANCE Generic Instance Storage
RSPCINSTANCET Texts for Generic Instance-Storage
RSPCLOGCHAIN Cross-Table Log ID / Chain ID
RSPCLOGCROSS Cross-Table Log ID Old / Log ID New
RSPCLOGS Application Logs for the Process Chains (G
RSPCPROCESSLOG Logs for the Chain Runs
RSPCRUNVARIABLES Variables for Process Chains for Runtime
RSPCTRIGGER Variants for the Trigger Processes
RSPCTRIGGERT Texts for the Trigger Variants
RSPCTYPESDEP Dependencies for Processes
RSPCTYPESPROC Attributes of BW processes (RSSM)
RSPCVARIANT Generic Variant-Storage
RSPCVARIANTATTR Attributes of a Process Variant
RSPCVARIANTT Texts for Generic Variant Storage
Regards,
R.Ravi -
Processing SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
I tried to import my 20GB data into my database but it is pending/hanging almost 1 day at this line, which is
Processing SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX .
My db version is :Version 11.1.0.7.0
What could be the reason? Why it is waiting so long on this line? It is locking indexes?Windows Server 2008 R2 Enterprise
impdp user/pass@DB exclude=statistics schemas=user dumpfile=a.dmp log=a.log
Import: Release 11.1.0.7.0 - 64bit Production on Friday, 10 August, 2012 17:04:03
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "ODB"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "ODB"."SYS_IMPORT_FULL_01": odb/********@TEST parallel=4 dumpfile=UAT_08082012.DMP
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"ODB" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
Processing object type SCHEMA_EXPORT/DB_LINK
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "ODB"."PN_INVENTORY_HISTORY" 218.6 MB 1302517 rows
SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
and waiting here since 1 day..
alert log file has some warnings like:
<txt>Warning: drop_queue_table: No evaluation for the queue table: ODB.ROS_IN_QUEUE_TABLE
</txt>
</msg>
<msg time='2012-08-11T00:29:21.710+03:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
Thread 1 advanced to log sequence 91 (LGWR switch)
Current log# 1 seq# 91 mem# 0: D:\APP\TRAXADMIN\ORADATA\TEST\REDO01.LOG
Sat Aug 11 10:16:16 2012
Thread 1 advanced to log sequence 92 (LGWR switch)
Current log# 2 seq# 92 mem# 0: D:\APP\TRAXADMIN\ORADATA\TEST\REDO02.LOG
Sat Aug 11 10:16:40 2012
Thread 1 cannot allocate new log, sequence 93
Checkpoint not complete_
Current log# 2 seq# 92 mem# 0: D:\APP\TRAXADMIN\ORADATA\TEST\REDO02.LOG_
Thread 1 advanced to log sequence 93 (LGWR switch)_
Current log# 3 seq# 93 mem# 0: D:\APP\TRAXADMIN\ORADATA\TEST\REDO03.LOG_
Thread 1 cannot allocate new log, sequence 94_
Checkpoint not complete_
Current log# 3 seq# 93 mem# 0: D:\APP\TRAXADMIN\ORADATA\TEST\REDO03.LOG_
Thread 1 advanced to log sequence 94 (LGWR switch)_
Current log# 1 seq# 94 mem# 0: D:\APP\TRAXADMIN\ORADATA\TEST\REDO01.LOG_
Sat Aug 11 10:16:56 2012_
Thread 1 cannot allocate new log, sequence 95_
Checkpoint not complete_
Current log# 1 seq# 94 mem# 0: D:\APP\TRAXADMIN\ORADATA\TEST\REDO01.LOG
Thread 1 advanced to log sequence 95 (LGWR switch)
Current log# 2 seq# 95 mem# 0: D:\APP\TRAXADMIN\ORADATA\TEST\REDO02.LOG
<txt>Errors in file d:\app\traxadmin\diag\rdbms\test\test\trace\test_j003_6036.trc:
ORA-12012: error on auto execute of job 74639
ORA-20111: ORA-24010: QUEUE ODB.IFACE_AEX_IN_Q does not exist
ORA-06512: at "ODB.PKG_IFACE_QUEUE", line 80
ORA-24010: QUEUE ODB.IFACE_AEX_IN_Q does not exist
ORA-06512: at "ODB.PKG_IFACE_QUEUE", line 48
ORA-06512: at "ODB.PKG_AEX_INBOUND"
Edited by: user638937 on 11.Ağu.2012 00:27 -
Hi
I am creating one z table for sake of monitoring sheet. For that information I need some information.
In which table I get process chain scheduling details .and where should I get the information weather the process chain run manually or through schedule.
PraveenBelow are all tables related to process chains. You should be able to figure out from here.
RSEVENTCHAIN Event Chain Processing Event Table
RSEVENTHEAD Header for the event chain
RSEVENTHEADT Header for the event chain
RSPCCHAIN Process chain details
RSPCCHAINATTR Attributes for a Process Chain
RSPCCHAINEVENTS Multiple Events with Process Chains
RSPCCHAINT Texts for Chain
RSPCCOMMANDLOG System Command Execution Logs (Process Chains)
RSPCLOGCHAIN Cross-Table Log ID / Chain ID
RSPCLOGS Application Logs for the Process Chains
RSPCPROCESSLOG Logs for the Chain Runs
RSPCRUNVARIABLES Variables for Process Chains for Runtime
RSPC_MONITOR Monitor individual process chains
Hope this helps. -
Hi
pls send me process order tables
Edited by: sesidhar gollu on Jul 18, 2008 1:18 PMAFKO Order header data PP orders
AUFU Order Confirmations
AUFK Order master data
AUFM Goods movements for order
Regards,
Dhaval -
Resource for R/3 functional processes and table structures
Dear Experts,
I want to have brief but concise understanding of R/3 modules in aspects of business process flows, table important table structures. Ideally, the document or book should phrase it in a way easy for non-functional people to understand. I am sure as Abap Developers, you gurus have to understand business processes & tables all the time. Appreciate some help here. I am even willing to pay a sum for such resource.
My contact : [email protected]
regards,
BryanHi Bryan,
There's one PDF file on the web which I think is okay. Here's he link -
http://www.auditware.co.uk/SAP/Extras/SAPTables.pdf
Please let me know whether or nor this is what you are looking for.
Regards,
Anand Mandalika. -
OM: CLEARING THE PROCESS MESSAGES TABLES
제품 : MFG_OM
작성날짜 : 2004-10-11
OM: CLEARING THE PROCESS MESSAGES TABLES
==========================================
PURPOSE
OM 모듈을 어느 기간 사용하다 보면 process messages table -
OE_PROCESSING_MSGS_TL/OE_PROCESSING_MSGS - 에 많은 data가 쌓여 있는것을
확인할 수 있다.
이 tables의 size를 줄임으로써 system performance 향상도 기대할 수 있다.
Explanation
OE_PROCESSING_MSGS_TL table은 Order Entry concurreny problem이 실행되거
나 User interface process가 실행될때 발생하는 processing messages를
저장하는 table이다.
아래의 3가지 방법중 하나를 이용하여 process messagea tables
- OE_PROCESSING_MSGS_TL/OE_PROCESSING_MSGS -의 정보를 delete 할 수 있다.
1.SQL을 이용하여 table을 truncate
(OE_PROCESSING_MSGS_TL를 먼저 truncate 시켜야 함을 주의)
경고: 만약 truncate 방법을 선택했다면, 위 두 tables에 있는 모든 정보를
잃게 될 것이다.
2.OM application의 Process Messages form을 이용.
Delete 될 messages는 사용자의 query에 따른다.
Process Messages form에서 delete 하고자 하는 messages range를 설정하여
조회한 후, 그 query된 messages만 delete 할 수 있다.
1) Navigation: Orders, Returns>Process Messages
2) Messages source를 선택
3) Query를 원하는 Messages Request ID range를 입력
4) Query를 원하는 Messages의 Order Number range를 입력
5) Query를 원하는 Messages의 Request Date range를 입력
6) Query를 원하는 Messages의 Program Name을 선택
7) 특정한 Workflow Activity를 가지고 있는 Workflow Activity를 선택
WF activity는 Order의 actual stage를 참조한다.
8) Query를 원하는 Message의 Order Type을 선택
9) Attribute를 선택, Default는 null
10) Customer Name or Number를 선택
11) Requester를 선택
12) Find button을 선택
Process Messages window displays.
13) Query된 모든 messages를 delete 하기 위새 'Delete All' button을
click.
3.SQL을 이용하여 특정 일자전의 모든 process messages를 delete.
(OE_PROCESSING_MSGS_TL 의 data를 먼저 delete 함을 명심!!)
위 1번의 truncate option을 이용하면, SQL statement는 어떤 messages를
delete하는지 전혀 식별할 수가 없다.
만약 특정 process에 관련된 messages만을 delete하길 원하면 아래의
truncate option 2를 이용한다.
아래는 sample script이며, creation date를 근간으로 delete한다.
만약 오늘 날짜(dd-mon-yy)를 입력하면 script는 7일전의 messages만을
delete 할 것이다.
====================================================
DECLARE
l_date DATE := to_date('&delete_date');
BEGIN
Delete from oe_processing_msgs_tl
Where creation_date <= l_date - 7;
Delete from oe_processing_msgs
Where creation_date <= l_date - 7;
Exception
WHEN Others THEN
Null;
END;
After executing this script commit and exit from sqlplus.
=======================================================
Note: 꼭 기억해야 할 것은 'Delete/Truncate' 작업시 'OE_PROCESSING_MSGS'
data를 delete 전에 꼭 'OE_PROCESSING_MSGS_TL' data를 먼저 delete
해야 한다는 것이다.
Example
Reference Documents
Note 123150.1You can include PSA's in process chain and schedule deletion periodically.
You can include process type 'Deletion of Requests from PSA / Deletion of Requests from the Change Log ' in process chain . After EHP1 upgrade you can define pattern like 2lis* or 0* it will delete all the PSA's starting with 2lis or 0 data source .
Ravi -
How to delete columns from process form table
hi,
I have a process form UD_FN_USR. I created one column userid with type long and later the requirement got changed and I need to change the type to string.I am able to delete the column from design console but in the table the column exits so that I coulnt create the column with same name as type string , its tellling same column name exits with different datatype in current version or previous versions.can anybody please tell me how to solve this issueSorry for late response. Got stuck in work.
This time it will answered ;-)
ALTER TABLE UD_ABCD DROP COLUMN UD_ABCD_UID
DELETE FROM SDC WHERE SDC_NAME='UD_ABCD_UID';
COMMIT;
Thanks
Rajiv Dewan -
Process Order tables and Production System Performance
Hi All,
What are the different tables of Process order? Also how do i know which table affects the system performance of Production system and to what extent if Change Logging is made active ?
The issue is in our clients place we would like to set the Change Logging ( Records changes made for any transaction ) for Process orders and we would like to know to which tables change logging should be made active so that Production system performance is not affected.
Please help me regarding this.
Thanks in Advance,
Neetha Avani.All the changes done in any transaction are saved in CDPOS table.
when there is any report developed based on this table then the performance will be very slow.
Tables used for process orders are
AFKO Order header data PP orders
AFPO Order item
AFRU Order Confirmations
AFRUHR Order Confirmations for HR
AFRV Confirmation pool
AFVC Operation within an order
Hope the above helps. -
Very long time to process big table
Hi everyone,
I have a problem with a process that computes 6 columns of a table with 260 millions of rows. At the begining the compute time was about 1.2 mins per row. wich obviously takes more than a life to finish (about 500 years).
So to improve this process naturally my first step was to partition the table. This make 64 partitions with 5 millions rows in the biggest one. My second step was to use a bulk collect with a limit of 500.000 per block, this way i have my array and next step is to compute my columns. So sadly, my first 2 columns just take 2 hours to complete for the 260 millions (Note: I need to compute all rows in the table), but the rest of columns, take 90% of total time or even more. Finally i make a bulk update with forall using the data computed on my arrays.
After all this, the compute time was reduced of 1.2 mins per row to 6 or 7 seconds per row. time wich is great, but just reduced from 500 years to 49 years.
With this scenary, my next logical step is to parallelize my query's, but if a have a degree of 8, my best shot is to take 6 years.
Now, the problem with four of six columns, is that i need to compute some values that requires make some avg and sum over data from last six months previous to the record.
So, here is my real question. ¿how i make this works?... surely i can not wait a lot of years. perhaps the company is broke before this finish.
Which is the professional way to do this real? i think out there companies have tables with lots more of rows, even billions, i have saw in others forums.
I need this, someway, somehow, this takes no more than one or two months... even less is better yet. PLEASE HELP
My DB is a 11G, running on 64bits. 32GB RAM, 6 CPU Quadcore.ok, the objective of the process is to take all the data of six years, wich is in one table only. The table is with nologging, parallel degree 8 and partitioning. and we have to update same table (six columns) and it's values are calculated with data of the same table.
Here is the DDL of the table:
create table MV_DATA_SEC
COD_EMPRESA NUMBER(3),
PERIODO VARCHAR2(6),
ID_CLIENTE VARCHAR2(14),
TIPO_CLIENTE VARCHAR2(1),
NOMBRE VARCHAR2(80),
DIRECCION VARCHAR2(100),
NCONTRATO VARCHAR2(14),
ID_TIPO_NUMERO_CONTRATO NUMBER(1),
FCONTRATO DATE,
FTCONTRATO DATE,
ATIPICA VARCHAR2(2),
SECTOR NUMBER(1),
ID_TIPO_TARIFA NUMBER(2),
ID_TIPO_CONSUMO NUMBER(2),
ID_MEDIDOR VARCHAR2(30),
VOLTAJE NUMBER(6),
KWH NUMBER(10),
LANTERIOR NUMBER(8),
LACTUAL NUMBER(8),
CONSTANTE FLOAT,
ENERGIA NUMBER(8),
LINVIERNO NUMBER(8),
EINVIERNO NUMBER(8),
PINVIERNO NUMBER(8),
PPUNTA NUMBER(8),
DPMAXIMA NUMBER(8),
PBASE NUMBER(8),
PVERANO NUMBER(8),
DPMPUNTA NUMBER(8),
DMLPPUNTA NUMBER(8),
EICINTERNAS FLOAT,
EICEXTERNAS FLOAT,
NDOCUMENTO NUMBER(12),
FDOCUMENTO DATE,
FVENCIMIENTO DATE,
CFIJO NUMBER(10),
CENERGIA NUMBER(10),
CEINVIERNO NUMBER(10),
CPINVIERNO NUMBER(10),
CPBASE NUMBER(10),
CPVERANO NUMBER(10),
CPDMAXIMA NUMBER(10),
CDCMAXIMA NUMBER(10),
CDMPUNTA NUMBER(10),
CRFPOTENCIA NUMBER(10),
CRPTRANS NUMBER(10),
CARRIENDO NUMBER(10),
CSERVICIOS NUMBER(10),
SANTERIOR NUMBER(10),
INTERESES NUMBER(10),
DESCUENTO NUMBER(10),
IVA NUMBER(10),
TOTAL NUMBER(10),
FLANTERIOR DATE,
FLACTUAL DATE,
ID_TIPO_DOCUMENTO VARCHAR2(1),
ID_TIPO_COBRO VARCHAR2(1),
SUBPRIMARIA VARCHAR2(40),
FACTURABLE NUMBER,
FACTURABLE2 NUMBER,
COD_MEDIDOR CHAR(30),
T_LECTURA NUMBER(10),
T_ESTACION CHAR(3),
LIM_INVIERNO NUMBER(10),
E_ADIC_INVIERNO NUMBER(10),
VAL_PROV_CALCULADO NUMBER(10),
PROR_CONSUMO NUMBER(10),
POT_BASE NUMBER(10)
partition by list (PERIODO)
partition PERIODO1 values ('072006')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO2 values ('082006')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO3 values ('092006')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO4 values ('102006')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO5 values ('112006')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO6 values ('122006')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO7 values ('012007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO8 values ('022007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO9 values ('032007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO10 values ('042007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO11 values ('052007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO12 values ('062007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO13 values ('072007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO14 values ('082007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO15 values ('092007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO16 values ('102007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO17 values ('112007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO18 values ('122007')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO19 values ('012008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO20 values ('022008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO21 values ('032008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO22 values ('042008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO23 values ('052008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO24 values ('062008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO25 values ('072008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO26 values ('082008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO27 values ('092008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO28 values ('102008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO29 values ('112008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO30 values ('122008')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO31 values ('012009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO32 values ('022009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO33 values ('032009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO34 values ('042009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO35 values ('052009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO36 values ('062009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO37 values ('072009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO38 values ('082009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO39 values ('092009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO40 values ('102009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO41 values ('112009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO42 values ('122009')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO43 values ('012010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO44 values ('022010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO45 values ('032010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO46 values ('042010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO47 values ('052010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO48 values ('062010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO49 values ('072010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO50 values ('082010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO51 values ('092010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO52 values ('102010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO53 values ('112010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO54 values ('122010')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO55 values ('012011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO56 values ('022011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO57 values ('032011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO58 values ('042011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO59 values ('052011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO60 values ('062011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO61 values ('072011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO62 values ('082011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO63 values ('092011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO64 values ('102011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO65 values ('112011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
partition PERIODO66 values ('122011')
tablespace SEC_SFACTURACION_DAT
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
-- Create/Recreate indexes
create index IDX_DATA_SEC_EMP2 on MV_DATA_SEC (COD_EMPRESA)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_FACT12 on MV_DATA_SEC (FACTURABLE)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_FACT22 on MV_DATA_SEC (FACTURABLE2)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_FDOC2 on MV_DATA_SEC (FDOCUMENTO)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_MEDI on MV_DATA_SEC (ID_MEDIDOR)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 4096M
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_PER2 on MV_DATA_SEC (PERIODO)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_SUBP2 on MV_DATA_SEC (SUBPRIMARIA)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_TCOB2 on MV_DATA_SEC (ID_TIPO_COBRO)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_TDOC2 on MV_DATA_SEC (ID_TIPO_DOCUMENTO)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create index IDX_DATA_SEC_TTAR2 on MV_DATA_SEC (ID_TIPO_TARIFA)
tablespace SEC_SFACTURACION_IDX
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
So, first i make a bulk collect.
cursor c_baseData is
select t.lactual, t.lanterior, t.energia, t.rowid, t.periodo, t.t_lectura, t.t_estacion,
t.lim_invierno, t.e_adic_invierno, t.val_prov_calculado, t.pror_consumo, t.pot_base,
t.cod_empresa, t.id_cliente, t.flactual, t.id_medidor, t.facturable, t.id_tipo_cobro,
t.flanterior, t.id_tipo_tarifa
from mv_data_sec t
where id_tipo_documento in ('B','F');
fetch c_baseData bulk collect
into v_lactual, v_lanterior, v_energia, v_rowid, v_periodo, v_lectura, v_estacion,
v_avg_verano_ins, v_ea_invierno_ins, v_val_provisorio, v_Ecalendario, v_potencia_base,
v_cod_empresa, v_id_cliente, v_flactual, v_id_medidor, v_facturable, v_id_tipo_cobro,
v_flanterior, v_id_tipo_tarifa limit 500000;
exit when c_baseData%NOTFOUND;
And i start a LOOP, because i have to process each row. Inside the loop i have to calculate the values for the six columns. We have 2 escenarios.
First one (This one, have no problem, because is calculated with data of the same row and therefore the execution time is lower than a fraction of second);
v_lectura(idx) := case when ((v_lactual(idx)<>v_lanterior(idx)) and v_energia(idx)>0) then 1 else 0 end;
v_estacion(idx) := case when (substr( v_periodo(idx), 1,2) in ('04', '05','06','07','08','09')) then 'I' else 'V' end;
Second One (This take about 1.5 second and the other 3 values takes about same time);
select nvl(avg(facturable),0), max(flactual), max(flanterior), max(lactual), max(lanterior)
into v_facturable_ant, v_flactual_ant, v_flanterior_ant, v_lactual_ant, v_lanterior_ant
from mv_data_sec
where periodo <> v_periodo(idx)
and cod_empresa = v_cod_empresa(idx)
and id_cliente = v_id_cliente(idx)
and id_medidor = v_id_medidor_consulta
and flactual = (select max(flactual)
from mv_data_sec
where cod_empresa = v_cod_empresa(idx)
and id_cliente = id_cliente
and id_medidor = v_id_medidor_consulta
and periodo <> v_periodo(idx)
and flactual < v_flactual(idx));
if ((v_flactual(idx) = v_flanterior(idx)) and (v_flactual_ant <> v_flanterior_ant)) then
v_Ecalendario(idx) := ((v_facturable_ant / (v_flactual_ant - v_flanterior_ant)) * (extract (day from last_day (v_flactual_ant)) - extract (day from (v_flactual_ant))));
end if;
if ((v_flactual_ant = v_flanterior_ant) and (v_flactual(idx) <> v_flanterior(idx))) then
v_Ecalendario(idx) := ((v_facturable(idx)/ (v_flactual(idx) - v_flanterior(idx))) * (extract (day from (v_flactual(idx)))));
end if;
if ((v_flactual(idx) <> v_flanterior(idx)) and (v_flactual_ant <> v_flanterior_ant)) then
v_Ecalendario(idx) := ((v_facturable(idx)/ (v_flactual(idx) - v_flanterior(idx))) * (extract (day from (v_flactual(idx) )))) + ((v_facturable_ant / (v_flactual_ant - v_flanterior_ant)) * (extract (day from last_day (v_flactual_ant)) - extract (day from (v_flactual_ant))));
end if;
And finally the bulk update (time is depreciable), for example the first 2 columns.
forall r in v_rowid.FIRST .. v_rowid.LAST
update mv_data_sec c
set c.t_lectura = v_lectura(r),
c.t_estacion = v_estacion(r)
where c.rowid = v_rowid(r); -
Need help in processing internal table
Hi all,
Im facing a problem in processing an internal table..especially with MODIFY.
The internal table is having following records.(t_vttp)
TKNUM VBELN KUNNR NAME1 LAND1
0000975179|0071004839|0000022946|HUNTSMAN APC LIMITED |SA |
0000975180|0071004845|0000022946| | |
In the above, there are two delviry documents with same customers.
The customer data is coming from different internal table.
LOOP AT t_vttp.
READ TABLE t_kna1_temp INTO wa_kna1_temp WITH KEY kunnr = t_vttp-kunnr.
IF sy-subrc = 0.
t_vttp-name1 = wa_kna1_temp-name1.
t_vttp-land1 = wa_kna1_temp-land1.
MODIFY t_vttp INDEX sy-tabix TRANSPORTING name1 land1.
ENDIF.
ENDLOOP.
Here for second record,,the customer name and country is nt getting populated to t_vttop.
Pls correct where it is going wrong.
Thanks,
PriyaHi Try the follwoing code with a little modification in your code.
LOOP AT t_vttp.
READ TABLE t_kna1_temp INTO wa_kna1_temp WITH KEY kunnr = t_vttp-kunnr.
IF sy-subrc = 0.
t_vttp-name1 = wa_kna1_temp-name1.
t_vttp-land1 = wa_kna1_temp-land1.
MODIFY t_vttp INDEX sy-tabix TRANSPORTING name1 land1.
append t_vttp.
ENDIF.
clear: wa_kna1_temp, t_vttp.
ENDLOOP
Also Please debugg your code and check if you are getting values.
also check the value of t_vttp-kunnr in debugging for the second run of your loop.
thanks
lalit -
Process chians and process types Table
Hi all,
I'm looking for a table which can give me following details
Chain technical name and not LOG ID
Process Types
Process Technical names and not the ID
number of records in Infopackage
number of records in DTP
staus of each step (red/green/yellow)
status of the chain (red / green/yellow)
thanks for your helpYou may start looking at these tables-
RSBKREQUEST DTP Request
RSBKREQUEST_V View of DTP Request
Process Chain Statistics Tables:
- RSPCLOGCHAIN, RSPCPROCESSLOG
Hope it Helps
Chetan
@CP.. -
Hi
Can anybody tell me where the process code of a particular message type stored.
Suppose my message type is INVOIC
My Process code is - INVF
which table contain this process code value.
Thanks a Lot
Mrutyunjaya TripathyHI
Good, and nice answer but as per my requirement the answer is
TEDE and TEDE1
Thanks a lot and you r getting your marks for the effort.
Mrutyunjaya Tripathy -
Process Chain Tables (Help)
Hi, I am reporting from the RSPCPROCESS table and found that a unique combination of fields is LOGID, TYPE, VARIANT, and INSTANCE. That is until I found that we have an ABAP Process that when it fails does not populate the INSTANCE field. The process is being failed by executing an 'E' error message in the ABAP. By not populating the INSTANCE fields I am ending up with records with the same 4 keys (LOGID, TYPE, VARIANT, and INSTANCE).
Is this the best way to end an ABAP Process by producing an 'E' error message or is there a better way that might allow the INSTANCE field to be populated?
Any guesses or insights to this problem is greatly appreciated!
Ken MurrayHi Kenneth,
Hope the following links will help u.
Business Intelligence Old Forum (Read Only Archive)
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
Assign Points if Helpful -
GRC Process Control Tables - Specially tables Related to CONTROLS
Could anybody please let me know the naming convention of tables related to the CONTROLS in SAP GRC Process controls.
Also could anybody please let me know in which document (source) can I find the tables related to Controls and I am also looking for relation behind these tables.HRP1001 and HRP1000 are the master data tables. go to tcode GRFN_STR_CHANGE to see your org structure. hope this helps
Maybe you are looking for
-
How I got iChat AV to work with an AIM user...
After wasting my Saturday downloading this, reading that, I kept getting user did not respond errors when trying to initiate a one-way video im to a PC user. I finally got it to work. Simply, install a microphone on the PC. That's it. Now I am depres
-
I have a subscription to AdobeExport. Why can't I convert a .pdf to .ppt?
I'm wanting to convert a .pdf to a .ppt. In the file under tools it says I can do that but when I press convert it takes me to Adobe and there is no option to do so. I have an active subscription.
-
How do i get programs to not automatically open when i power on my laptop? I tried system preference > General and unchecked the box "Restore windows when quitting and re-opening" that didnt work.
-
Problems with Movie Maker under Parallels.
Hello, I run Windows 7 on my iMAC via Parallells without any problems normally. It works e.g. fine to run the Windows Office programs. But I run into problems when I try to run Windows Movie Maker. I get the instruction to run dxdiag.exe to verify my
-
Mail : archiving to save space
I try to archive may E mail in order to save space. Is there a rule to set up ? Deleting attachment ? Thanks