How to know the timestamp of the data in a BI dimension table?
We have some BI dimension tables that we want to know the entry date of each record.
Could you please tell us how to do it?
Thanks a lot!
Hi Jessica,
Is it related to dms? if yes, then please check the field status log where you will get all the information of time and date for DIR's.
which you can use in BI reports.
I hope this will resolve the query.
Regards,
Ravindra
Similar Messages
-
How to know the data transfer is complited? there is any message will get l
how to know the data transfer is complited? there is any message will get like 'data uploaded is successfully complited' ?
Hi,
You can check SY-SUBRC = 0 or if there is an exception raised then an error occured.
Regards,
Ferry Lianto -
APD process is active, How to trigger the data from BI to CRM table
Hi All,
I want to send data from BI system(using APD method) to CRM table (ADS method).
I am able to see the table for e.g ABCD in CRM system , i can open using SE11 , but data is 0.
In BI , i have data in DSO and i have mapped it in APD process to data Target to CRM system and APD is active.
Now i want to know how to trigger the data from BI to CRM table? (e.g ABCD).
Please let me know the steps.
Regards.
Nithi.Hi
Just create a Process Chain to execute this APD method, if the process Chain is already available, then just insert this Process in to the process Chain and execute the Process Chain by normal process, by hoe we do in general.
Hope it solves... -
How to load the data from excel file into table in oracle using UTL_FI
How to load the data from excel file into table in oracle
and from table to excel file
using UTL_FILE package
Please give me some exampleThis is something i tried in oracle apex
http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
Regards,
CKLP -
How to know the date of the deleted delta
Hi,
Deltas run every 30 min daily.
One of the delta is deleted .
How can I know on what date & which delta is deleted.
Points will be assigned.
Message was edited by:
vijay ajarlaHi Vijay,
Are you loading a CUBE or ODS? How did you come to know that a DELTA has been deleted? Is there any message saying that a DELTA or a REQUXXX is missing? any other info?
All the above information would help us in identifying your issue quickly.
But try this anyway .......
Goto Manage of the ODS or CUBE...goto the Contents Tab...Here you will find a Button "Selective Deletion"...click on this button.
This will popup another window....in this window you will find a Button "LOG", click on it, this will again display a list of LOGs, if you know the date on which the DELTA might have deleted...then double click on that LOG and you will find the request id that was deleted(if a request was deleted as a whole) or you will find hte selection used to delete data from the target (if selective deletion was used)
Hope this helps.
Cheers,
Praveen. -
How to insert the data from XML to a table
Hi,
I'm using Oracle 10g Express Edition
I need help in How to insert the data from XML file into the table.
Below is the example i'm working on..
I have create ridb user with below mentioned privileges:
Account Status Locked Unlocked
Default Tablespace: USERS
Temporary Tablespace: TEMP
User Privileges :
Roles:
CONNECT
RESOURCE
Direct Grant System Privileges:
CREATE DATABASE LINK
CREATE MATERIALIZED VIEW
CREATE PROCEDURE
CREATE PUBLIC SYNONYM
CREATE ROLE
CREATE SEQUENCE
CREATE SYNONYM
CREATE TABLE
CREATE TRIGGER
CREATE TYPE
CREATE VIEW
& table is created TRIALZIPCODES below mentioned is the DDL:
CREATE TABLE TRIALZIPCODES
STATE_ABBR VARCHAR2(20) NOT NULL
, ZIP_CODE NUMBER(10, 0) NOT NULL
, ZIP_CODE_EXT VARCHAR2(20)
Below is the XML FILE: which is stored in C:\OracleProject Folder
File name: trial.xml
<?xml version="1.0" ?>
<metadata>
- <Zipcodes>
- <mappings Record="4">
<STATE_ABBREVIATION>CA</STATE_ABBREVIATION>
<ZIPCODE>94301</ZIPCODE>
</mappings>
- <mappings Record="5">
<STATE_ABBREVIATION>CO</STATE_ABBREVIATION>
<ZIPCODE>80323</ZIPCODE>
<ZIP_CODE_EXTN>9277</ZIP_CODE_EXTN>
</mappings>
</Zipcodes>
</metadata>
PL/SQL Procedure:which i'm trying to execute from SQLDeveloper
create or replace
PROCEDURE TRIAL AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
begin
-- DBMS_XMLGEN.setRowTag ( ctx IN ctxHandle, rowTag IN VARCHAR2);
-- DBMS_XMLGEN.setRowSetTag ( ctx IN ctxHandle, rowSetTag IN VARCHAR2);
-- the name of the table as specified in our DTD
DBMS_XMLGEN.SETROWSETTAG(l_context_handle,'zipcodes');
-- the name of the data set as specified in our DTD
DBMS_xmlgen.setRowTag(l_context_handle,'mappings');
-- for getting the output on the screen
dbms_output.enable(1000000);
-- open the XML document in read only mode
v_FileHandle := utl_file.fopen('c:/OracleProject','trial.xml', 'r');
loop
BEGIN
utl_file.get_line(v_FileHandle, charString);
exception
when no_data_found then
utl_file.fclose(v_FileHandle);
exit;
END;
dbms_output.put_line(charString);
if finalStr is not null then
finalStr := finalStr || charString;
else
finalStr := charString;
end if;
end loop;
-- for inserting the XML data into the table
insCtx := DBMS_XMLSTORE.NEWCONTEXT('RIDB.TRIALZIPCODES');
insCtx := DBMS_XMLSTORE.INSERTXML(insCtx, finalStr);
dbms_output.put_line('INSERT DONE '||TO_CHAR(rowsp));
DBMS_XMLStore.closeContext(insCtx);
END;
END TRIAL;
For the first time when i complied i got the errors as :
Procedure RIDB.PROCEDURE1@RIDB
Error(16,14): PLS-00201: identifier 'UTL_FILE' must be declared
Error(16,14): PL/SQL: Item ignored
Error(29,1): PLS-00320: the declaration of the type of this expression is incomplete or malformed
Error(29,1): PL/SQL: Statement ignored
Error(33,1): PL/SQL: Statement ignored
Error(33,19): PLS-00320: the declaration of the type of this expression is incomplete or malformed
Error(36,1): PL/SQL: Statement ignored
Error(36,17): PLS-00320: the declaration of the type of this expression is incomplete or malformed
So i logged in as sys & grant the permission to execute on UTL_FILE to ridb (user):
SQL Statement:
grant execute on utl_file to ridb
So, it got compiled successfully but when i execute it gives me error as:
Source does not have a runnable target.
What does this mean?
So I browse through forum & i got to know that i need to initial the UTL_FILE_DIR ="C:/OracleProject" in init.ora
So can i edit the init.ora with notepad.When i tried to do that it says permission denied
In my system it shows the init.ora file in path C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts
but there is also other file initXETemp in the same path do i need to do the changes in it.
I have tried even editing the SPFILE as mentioned below:
C:\oraclexe\app\oracle\product\10.2.0\server\dbs\SPFILEEXE - I had edit this file using notepad & set the value of UTL_FILE_DIR ="C:/OracleProject". So next time when i restarted i'm unable to log on to the database.
So i had reinstall the software again.
Could you please let me know how to proceed..hi,
I have created the directory from sys database
CREATE or replace DIRECTORY XML_DIR2 AS 'C:\OracleProject';
& grant read,write access to the user
grant read,write on directory XML_DIR2 to RIDB;
& i had change the tag name in the xml file as shown below:
<?xml version = '1.0'?>
<metadata>
<Zipcodes>
<mappings Record="4">
<STABBRE>CA</STABBRE>
<ZIPCODE>94301</ZIPCODE>
</mappings>
<mappings Record="5">
<STABBRE>CO</STABBRE>
<ZIPCODE>80323</ZIPCODE>
<ZIPCODEEXT>9277</ZIPCODEEXT>
</mappings>
</Zipcodes>
</metadata>
TRIALZIPCODE table as shown below:
CREATE TABLE "RIDB"."TRIALZIPCODE"
( "STABBRE" VARCHAR2(20 BYTE),
"ZIPCODE" NUMBER(*,6) NOT NULL ENABLE,
"ZIPCODEEXT" NUMBER
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
I have tried two methods as shown below:
Procedure 1:
create or replace
PROCEDURE TRIAL_V2 AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
cnt NUMBER;
xmldoc xmltype := xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') );
--XML_DIR VARCHAR2(40) := 'C:\\OracleProject';
BEGIN
insCtx := DBMS_XMLStore.newContext('DEV.TRIALZIPCODES');
DBMS_XMLStore.setUpdateColumn(insCtx, 'STABBRE');
DBMS_XMLStore.setUpdateColumn(insCtx, 'ZIPCODE');
DBMS_XMLStore.setUpdatecolumn(insCtx, 'ZIPCODEEXT');
DBMS_XMLStore.setRowTag(insCtx, 'mappings');
cnt := DBMS_XMLStore.insertXML(insCtx, xmldoc);
DBMS_XMLStore.closeContext(insCtx);
END;
Procedure 1 was compiled with out errors but when i execute i got the error as :
Source does not have a runnable target.
Procedure 2_
CREATE OR REPLACE PROCEDURE TRIAL_V3 AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
cnt NUMBER;
xmldoc xmltype := xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') );
--XML_DIR VARCHAR2(40) := 'C:\\OracleProject';
BEGIN
INSERT INTO trialzipcode (STABBRE, ZIPCODE, ZIPCODEEXT)
SELECT extractvalue(x.column_value, 'mappings/STABBRE'),
extractvalue(x.column_value, 'mappings/ZIPCODE'),
extractvalue(x.column_value, 'mappings/ZIPCODEEXT')
FROM TABLE(
XMLSequence(
EXTRACT(
xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') ),
'metadata/Zipcodes/mappings'
) x
END;
END TRIAL_V3;
Procedure 2 was complied without errors but when i execute i got the error as:
Connecting to the database RIDB.
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at "RIDB.TRIAL_V3", line 12
ORA-06512: at line 2
Process exited.
Disconnecting from the database RIDB.
Could you please let me know how to proceed... -
How to delete the data loaded into MySQL target table using Scripts
Hi Experts
I created a Job with a validation transformation. If the Validation was failed the data passed the validation will be loaded into Pass table and the data failed will be loaded into failed table.
My requirement was if the data was loaded into Failed database table then i have to delete the data loaded into the Passed table using Script.
But in the script i have written the code as
sql('database','delete from <tablename>');
but as it is an SQL Query execution it is rising exception for the query.
How can i delete the data loaded into MySQL Target table using scripts.
Please guide me for this error
Thanks in Advance
PrasannaKumarHi Dirk Venken
I got the Solution, the mistake i did was the query is not correct regarding MySQL.
sql('MySQL', 'truncate world.customer_salesfact_details')
error query
sql('MySQL', 'delete table world.customer_salesfact_details')
Thanks for your concern
PrasannaKumar -
How to know the data transfer amount (MB o KB) between SAP and BW
Hello everybody,
Somebody know how calculate the data transfer amount between SAP and BW. Would be fantastic to know the transfer speed and other similar data. Is there any transaction where you can see this information?
thanks for your help.
ManoloA quick, although less accurate, way is to add up your field lengths to get your total record size and then multiply it by the number of records.
So, 5 fields, with 10 char length = 50 chars * 8 bytes /char = 400bytes.
8 bytes / char may be higher on unicode systems.
with 500 records ... you get 200,000 bytes = /1024 = 195kb.
This is just a rough estimate and it is pretty quick to figure out. Not all fields will be completely filled, so this is the maximum size for this recordset.
Brian -
How to fetch the data from query to internal table ?
Dear all ,
I would like to fetch the query data(sq01) into my internal table ? is it possible to do that ?
Best Regards,
CarlosHi
Try this <b>RRW3_GET_QUERY_VIEW_DATA</b>
Also, you can have a look at this...
<a href="/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii Query results into Internal table</a>
Regards
Raj -
How to fetch the data from a pl/sql table and varray, with some example
I want to fetch the data using a cursor from Pl/sql table and varry and I want to update the data.
Please provide me some example.PL/SQL Table - please note that, right term is Associative Array.
Presumably you are referring to the 'often heated' back-and-forth that sometimes goes on in the forums when people refer to ANY PL/SQL type using a term with the word 'table' in it?
Curious that you then show an example of a nested table!
type emp_tab is table of employees%rowtype;
The 'right term' for that is 'nested table'. The following would be an 'associative array' or 'index-by table'
type emp_tab is table of employees%rowtype INDEX BY PLS_INTEGER;
Those used to be called 'PL/SQL tables' or 'index-by tables' but 'associative array' is the current term used.
Associative Arrays
An associative array (formerly called PL/SQL table or index-by table) is a set of key-value pairs. Each key is a unique index, used to locate the associated value with the syntax variable_name(index).
The data type of index can be either a string type or PLS_INTEGER.
Since the Oracle docs often use 'PL/SQL table' or 'index-by table' it isn't unusual for someone asking a question to use those terms also. Technically the types may not be 'tables' but it's clear what they mean when they use the term.
In PL/SQL the term 'nested table' is still used even though the PL/SQL collection is not really a table. SQL does have nested tables where the data is actually stored in a table. The PL/SQL 'nested table' type can be used as the source/destination of the SQL data from a nested table so that may be why Oracle uses that term for the PL/SQL type.
The doc that SKP referenced refers to this use:
Nested Tables
In the database, a nested table is a column type that stores an unspecified number of rows in no particular order. When you retrieve a nested table value from the database into a PL/SQL nested table variable, PL/SQL gives the rows consecutive indexes, starting at 1. -
How to know the data type of a variable?
Hi,
Can anyone tell me which function can return the name data type of a variable?
Thanks!
Message was edited by: Long ZhengHi long,
1. I don't know whether this will serve your purpose.
2.
REPORT abc.
DATA : components LIKE rstrucinfo OCCURS 0 WITH HEADER LINE.
DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
CALL FUNCTION 'GET_COMPONENT_LIST'
EXPORTING
program = sy-repid
fieldname = 'T001'
TABLES
components = components.
LOOP AT components.
WRITE :/ components-compname , components-type.
ENDLOOP.
regards,
amit m. -
How to know the date you added a specific contact?
Hi,
Just wanted to knnow how to figure out when exactly i added a specific contact on my skype account...? I didn't find anything in the options etc...
Please help!
Thanks,
Chanot sure if there's such option (I think there's none), you can try to contact customer service as they may be able to provide you with such info, here's how;
How to Contact Skype Customer Service
CONTACT SKYPE CUSTOMER SERVICE | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES | WINDOWS PROBLEMS TROUBLESHOOTING | SKYPE DOWNLOAD LINKS
MORE TIPS, TRICKS AND UPDATES AT
skypefordummies.blogspot.com -
How to get the data from 2 out ports (tables) of BAPI into one table
I have a BAPI that has two out ports (header and detail). How do I display this data in one table.
Thanks,
SubbaHi,
you have the Union operator to merge multiple datasets into one dataset
regards Tobias -
How to identify the data mismatch between inventory cube and tables?
Hi experts,
i have a scenario like how to identify the data mismatch between 0IC_C03 and tables,and what are the steps to follow for avoiding the data mismatchHi
U can use data reconcilation method to check the consistency of data between the r/3 and bw. Plz check the below link
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0931642-1805-2e10-01ad-a4fbec8461da?QuickLink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d08ce5cd-3db7-2c10-ddaf-b13353ad3489
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14?QuickLink=index&overridelayout=true
Thanx & Regards,
RaviChandra -
How to findout the data source information for the perticular tables
Hi,
Can you please tell me the process to findout the data source information for the perticular tables .
For ex.. T2503 ,T2507 ,T25A1,T25A2 etc ..
I am doing a reverse engineering to find out the data sources build on the above SAP Tables.
Thanks.Hi,
Still we haven't get the field level information ,before they send us we should first give them the corresponding data sources for the COPA tables which they have given .
I have searched in help.sap.com but I didn't find any information on this .
Please let me know is there any way to know the data source details for SAP Tables.
Thanks
Maybe you are looking for
-
Hi, Can any one tell me how to bring checkboxs in a horizontal line???? Pls... Thx, Shashi
-
Will iTunes 8 install and work properly on a machine with Panther?
-
"Start Deletion of Data in Receiver System" does not start
I faced the problem tha data deletion in Receiver system is not started in TDTIM synario. I started the activity "Start Deletion of Data in Receiver System" , the job "CNV_TDMS_09_RESTART_JOBS" is aborted till the job "CNV_MBT_CNV_TDMS_09_START_JOBS"
-
I have issu Hot Key I Unable to adjust brightness and contrast
please solve my issue.
-
Could someone please tell me why this is not working? Please move your mouse down. At the end of the animation, when you roll your mouse on and then of the "Enter" button, the animation starts again. How do I prevent this from happening? There are tw