Extracting Data- Elimination value
Can you please explain how to extract elimination data from HFM using "Extract Data" function?
Thanks,
If I am setting up Extended Analytics, do I point the templates to a "separate" database or can I use HFM Database? What do you recommend?
Thanks,
Similar Messages
-
How to export data from Elimination Value dimension member by HAL HFM adapter?
Good day!<BR><BR>Is it possible to export HFM 4.0.5 data with HAL from the <Elimination> Value dimension member?<BR><BR>In 3.* versions it wasn't and there is Known Issue in the "HFM 3.* Adapter Read Me" file: "The Hyperion Financial Management Adapter exports data using the <entity currency> Value dimension member. The documentation erroneously states that there is a port available for the Value dimension"<BR>But there is not such point in the same file for HFM 4.0.5 AND there is Value port in the HFM 4.0.5. Adapter.<BR><BR>Thanks!<BR><BR>Regards,<BR>Georgy<BR>
In the first approch, try to change the exporting parameter type REF TO DATA.
Try like:
CLASS lcl_test DEFINITION.
PUBLIC SECTION.
DATA: t_mara TYPE HASHED TABLE OF mara WITH UNIQUE KEY matnr.
METHODS:
constructor,
get
IMPORTING
if_matnr TYPE matnr
EXPORTING
ea_mara TYPE REF TO data.
ENDCLASS. "lcl_test DEFINITION
START-OF-SELECTION.
DATA: lo_test TYPE REF TO lcl_test,
lr_data TYPE REF TO data.
FIELD-SYMBOLS: <fa_mara> TYPE ANY,
<f_field> TYPE ANY.
CREATE OBJECT lo_test.
lo_test->get(
EXPORTING
if_matnr = '000000000077000000' " << Replace Your Material
IMPORTING
ea_mara = lr_data ).
ASSIGN lr_data->* TO <fa_mara>.
ASSIGN COMPONENT 'ERSDA' OF STRUCTURE <fa_mara> TO <f_field>.
<f_field> = space.
WRITE: 'Done'.
CLASS lcl_test IMPLEMENTATION.
METHOD constructor.
SELECT * INTO TABLE t_mara
FROM mara
UP TO 10 ROWS.
ENDMETHOD. "constructor
METHOD get.
FIELD-SYMBOLS: <lfs_mara> LIKE LINE OF me->t_mara.
READ TABLE me->t_mara ASSIGNING <lfs_mara> WITH KEY matnr = if_matnr.
GET REFERENCE OF <lfs_mara> INTO ea_mara.
ENDMETHOD. "get
ENDCLASS. "lcl_test IMPLEMENTATION
Regards,
Naimesh Patel -
Extracting data with zero values for periods without data
Hello Together,
i extracted data from our hfm application from period 1 to 3.
Now i found that some rows begin with period 2 or 3 because there are no data in period 1 or 2.
So my question is, how i can get zero values for periods with no data.
Hope someone can help me.
Many thanks in advance.
Martin
P.S.: Our actual hfm version is 11.1.1.3
editFor the periods with no data, HFM does not have a "0" to offer for the data extraction. Since the default data extract from HFM has each period on it's own row in the *.dat file, I don't understand your comment about rows starting with period 2 or 3. In the *.dat file the row for period 1 simply won't exist. Are you using a custom approach/tool for data extraction?
The only time HFM will offer a "0" where there is indeed no data, is if you extract derived data. You must include calculated data, and even then I believe HFM will only extract a "0" for the first period after a period where there was data, and only for flow accounts (Revenue/Expense). so if you have "100" in period 1, and no data in period 2, such that the derived value YTD for period 2 is "0", then you must include calculated values in the extract and you should see "0" for period 2. However, I don't believe HFM will extract "0" for period 3 - instead it will be blank/missing.
In general it could be very dangerous to force HFM to give zeros where there is no data.
--Chris -
How to extract data from CLOB Datatype having XML values
Hi,
I am facing problem in extracting data from a TAble FCT_A where OBJECT_CONTENT field(Datatype CLOB) is having data of XML type.
Below are the value:
<ras-cube>
<jndiDataSourceName>datasource_etl</jndiDataSourceName>
<dimensions class="vector">
<string>CUG_IND</string>
<string>EVENT_DATE</string>
<string>EVENT_DIRECTION_KEY</string>
<string>EVENT_TIME_SLOT_KEY</string>
<string>EVENT_TYPE_KEY</string>
<string>FAF_IND</string>
<string>FILTERED_OUT_FLAG</string>
<string>IN_TG_ID_KEY</string>
<string>LONG_EVENT_IND</string>
<string>NE_ID_KEY</string>
<string>NODE_ADDRESS</string>
<string>OTHER_MSISDN_DIAL_DIGIT_KEY</string>
<string>OUT_TG_ID_KEY</string>
<string>RATING_DELAY_IND</string>
<string>RI_MISMATCH_IND</string>
<string>SERVED_MSISDN_DIAL_DIGIT_KEY</string>
<string>SERVED_MSRN_DIAL_DIGIT_KEY</string>
<string>SRV_TYPE_KEY</string>
<string>SUBS_BU_KEY</string>
<string>SYS_ID_KEY</string>
<string>TERMINATION_REASON_KEY</string>
<string>THIRD_PARTY_DIAL_DIGIT_KEY</string>
<string>ZERO_FLAG_KEY</string>
</dimensions>
<measures class="vector">
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>CHARGE</targetName>
<expression>SUM(FCT_RATED.CHARGE)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>COMPUTED_VOLUME</targetName>
<expression>SUM(FCT_RATED.COMPUTED_VOLUME)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>DOWNLINK_VOLUME</targetName>
<expression>SUM(FCT_RATED.DOWNLINK_VOLUME)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>ORIGINAL_DUR</targetName>
<expression>SUM(FCT_RATED.ORIGINAL_DUR)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>RA_CHARGE</targetName>
<expression>SUM(FCT_RATED.RA_CHARGE)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>RECORD_COUNT</targetName>
<expression>COUNT(FCT_RATED.*)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>UPLINK_VOLUME</targetName>
<expression>SUM(FCT_RATED.UPLINK_VOLUME)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
</measures>
<dimensionMap class="linked-hash-map">
<entry>
<string>FCT_RATED</string>
<null/>
</entry>
</dimensionMap>
<cubeStorageConfig>
<partitionColumn>EVENT_DATE</partitionColumn>
<tableSpaceName>ORV5_ETL_DFLT</tableSpaceName>
<isLogging>false</isLogging>
<isCompressed>false</isCompressed>
<noOfHashPartition>10</noOfHashPartition>
<partitionScheme>1</partitionScheme>
</cubeStorageConfig>
<cubeType>1</cubeType>
<name>MX_RATED</name>
<label></label>
<parentNames>
<string>FCT_RATED</string>
</parentNames>
<otherProperties class="linked-hash-map"/>
</ras-cube>
I want to extract expression tag in the above XML types
Kindly any help will be needful for me
Thanks and Regards9i
with FCT_A as (
select xmltype('
<ras-cube>
<jndiDataSourceName>datasource_etl</jndiDataSourceName>
<dimensions class="vector">
<string>CUG_IND</string>
<string>EVENT_DATE</string>
<string>EVENT_DIRECTION_KEY</string>
<string>EVENT_TIME_SLOT_KEY</string>
<string>EVENT_TYPE_KEY</string>
<string>FAF_IND</string>
<string>FILTERED_OUT_FLAG</string>
<string>IN_TG_ID_KEY</string>
<string>LONG_EVENT_IND</string>
<string>NE_ID_KEY</string>
<string>NODE_ADDRESS</string>
<string>OTHER_MSISDN_DIAL_DIGIT_KEY</string>
<string>OUT_TG_ID_KEY</string>
<string>RATING_DELAY_IND</string>
<string>RI_MISMATCH_IND</string>
<string>SERVED_MSISDN_DIAL_DIGIT_KEY</string>
<string>SERVED_MSRN_DIAL_DIGIT_KEY</string>
<string>SRV_TYPE_KEY</string>
<string>SUBS_BU_KEY</string>
<string>SYS_ID_KEY</string>
<string>TERMINATION_REASON_KEY</string>
<string>THIRD_PARTY_DIAL_DIGIT_KEY</string>
<string>ZERO_FLAG_KEY</string>
</dimensions>
<measures class="vector">
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>CHARGE</targetName>
<expression>SUM(FCT_RATED.CHARGE)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>COMPUTED_VOLUME</targetName>
<expression>SUM(FCT_RATED.COMPUTED_VOLUME)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>DOWNLINK_VOLUME</targetName>
<expression>SUM(FCT_RATED.DOWNLINK_VOLUME)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>ORIGINAL_DUR</targetName>
<expression>SUM(FCT_RATED.ORIGINAL_DUR)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>RA_CHARGE</targetName>
<expression>SUM(FCT_RATED.RA_CHARGE)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>RECORD_COUNT</targetName>
<expression>COUNT(FCT_RATED.*)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<com.connectiva.onereview.rasobjects.cube.CubeMeasure>
<targetName>UPLINK_VOLUME</targetName>
<expression>SUM(FCT_RATED.UPLINK_VOLUME)</expression>
<persist>true</persist>
</com.connectiva.onereview.rasobjects.cube.CubeMeasure>
</measures>
<dimensionMap class="linked-hash-map">
<entry>
<string>FCT_RATED</string>
<null/>
</entry>
</dimensionMap>
<cubeStorageConfig>
<partitionColumn>EVENT_DATE</partitionColumn>
<tableSpaceName>ORV5_ETL_DFLT</tableSpaceName>
<isLogging>false</isLogging>
<isCompressed>false</isCompressed>
<noOfHashPartition>10</noOfHashPartition>
<partitionScheme>1</partitionScheme>
</cubeStorageConfig>
<cubeType>1</cubeType>
<name>MX_RATED</name>
<label></label>
<parentNames>
<string>FCT_RATED</string>
</parentNames>
<otherProperties class="linked-hash-map"/>
</ras-cube>') OBJECT_CONTENT from dual
SELECT EXTRACTVALUE(value(d), '//expression/text()', '') exp
FROM fct_a t,
TABLE(XMLSEQUENCE(EXTRACT (
t.object_content,
'//ras-cube/measures/com.connectiva.onereview.rasobjects.cube.CubeMeasure/expression'
))) dEdited by: Beijing on Aug 10, 2009 9:21 AM -
Extract data from domain-value range
Hi,
I have a requirement to extract data from Domain-Value range.
I am using MDM generic extractor(mdmgx)
in 'Maintain ports and check tables' i can create a port but i should mention a table name.
I have a 'DOMAIN'
with a specific value range:
01 text1
02 text2
03 text3
so on...
i need to get these entries as a part of extracted data.
Could you please tell me how to do this?
Thanks a lot in advance.
Regards,
RashmiHey guys,
you're making things much to complicated. For extracting Domains with MDMGX, the TABLE NAME equals the DOMAIN NAME. Example for domain XFELD that is a common Yes/No Flag:
CLIENT 000
SYSTEM TYPE R3
OBJECT TYPE Vendor
MDM PORTCODE LT_YesNoIndicator
TABLE NAME XFELD
NONLANG FIELDS KEY=Key
LANG FIELDS LANGKEY=LANGKEY,VALUE=Name
WHERE CLAUSE
LINK INFO
FUNC XML
FUNC XSD
PROCESS LEVEL 0
TABLE NAME equals the domain name.
NONLANG FIELDS and LANG FIELDS use default entries as defined above.
If you check your system for "table" XFELD, you'll clearly see that it's a domain.
Cheers
Michael -
Extract data from Pipe Delimited file
Hi everybody,
Could someone provide me the command to extract data from a pipe delimited file ("|") using Open/Read Data set.
I mean eliminating the delimiter ("|") and just picking the data.
Thanks
MHere you go.. this code snippet parses the input file record by using pipe (variable lv_pipe) as separator, for tab separated file you can use lv_tab like wise...
TYPES: BEGIN OF ts_field,
field(50) TYPE c,
END OF ts_field,
tt_field TYPE TABLE OF ts_field.
DATA: ls_record TYPE string,
ls_input_data TYPE ts_input_data,
lv_tab TYPE x VALUE '09',
lv_pipe TYPE C VALUE '|',
ls_field TYPE ts_field,
lt_field_tab TYPE tt_field,
lv_field_index TYPE syindex,
lv_record_no TYPE syindex.
FIELD-SYMBOLS: <fs_field> TYPE ANY.
OPEN DATASET fv_file_path IN TEXT MODE FOR INPUT.
IF sy-subrc = 0.
DO.
lv_record_no = lv_record_no + 1.
READ DATASET fv_file_path INTO ls_record.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT ls_record AT lv_pipe INTO TABLE lt_field_tab.
CLEAR: lv_field_index, ls_input_data.
LOOP AT lt_field_tab INTO ls_field.
lv_field_index = lv_field_index + 1.
ASSIGN COMPONENT lv_field_index OF STRUCTURE
ls_input_data TO <fs_field>.
IF sy-subrc = 0.
<fs_field> = ls_field-field.
ENDIF.
ENDLOOP.
APPEND ls_input_data TO ft_input_data.
ENDIF.
ENDDO.
CLOSE DATASET fv_file_path. -
Adding data in internal table using extracted data
Hi Experts,
Good day!
I have a requirements in our historical data of material price which adding data that are not existing based on data extracted from standard tables such as A004 and KONP.
Now, i need to use the VALIDFROM (DATAB) value as basis for the latest price.
To make it more clear, see the example below:
Extracted data:
Material Number Valid From Valid to Price
100101 01/01/2008 02/01/2008 100.00
100101 02/02/2008 04/02/2008 100.00
100101 04/03/2008 08/01/2008 200.00
100101 08/02/2008 01/31/2009 300.00
100102 05/02/2008 07/01/2008 10.00
100102 07/02/2008 10/31/2008 15.00
100102 11/01/2008 01/31/2009 20.00
Output:
Material Number Calmonth Price
100101 01/2008 100.00
100101 02/2008 100.00
100101 03/2008 100.00
100101 04/2008 200.00
100101 05/2008 200.00
100101 06/2008 200.00
100101 07/2008 200.00
100101 08/2008 300.00
100101 09/2008 300.00
100101 10/2008 300.00
100101 11/2008 300.00
100101 12/2008 300.00
100101 01/2009 300.00
100102 05/2008 10.00
100102 06/2008 10.00
100102 07/2008 15.00
100102 08/2008 15.00
100102 09/2008 15.00
100102 10/2008 15.00
100102 11/2008 20.00
100102 12/2008 20.00
100102 01/2009 20.00
Text that are in bold are the added data. What is the best code to do with this?
How can i come up with this output? Help me please
Thanks and Godbless,
nipsHi Nips,
Logic shud b sumthing on similar lines
lv_count = 1.
Loop at itab into watab.
if lv_count > 12.
lv_count = 1.
endif.
if watab-date+0(2) = lv_count.
append watab to gt_output.
continue.
else.
concatenate lv_count sy-datum+4(4) into watab-date.
append watab to gt_output.
endif.
endloop.
Best regards,
Prashant -
How can I join 3 tables while extracting data from SAP R/3?
I have 3 tables with the following columns
Emp table (emp)
emp_id
emp_name
emp_add
Dept table (dept)
dept_id
dept_name
dept_loc
Location table (loc)
loc_id
loc_name
Now. If I want to select data from loc_id = 10 and emp_id between 2000 and 3000
How to join these three tables while extracting data from R/3
join condition
loc.loc_id = dept.loc_id
and dept.dept_id = emp.dept_id
and loc.loc_id =10
and emp.emp_id between 2000 and 3000.
Could any one let me know the procedure to extract this data into BW system.Hi,
shouldn't your join condition be:
loc.loc_id = dept.DEPT_LOC
and dept.dept_id = ??
If you can join the three tables then create a generic datasource (RSO) based on a view (create your view with your join in SE11).
Enable the loc_id and the emp_id as selectable in the datasource so you can then select the values from a BW IPack.
hope this helps...
Olivier. -
Generate Insert Statement Script to Extract Data from Table in Oracle 7i
Hi all, I have an old Oracle legacy system that is running for over 15 years.Every now and then we need to extract data from this table@ ORacle 7i to be imported back to Oracle 10G.
My thoughts are to create a script of Insert statements in oracle 7 and that to be deployed back to Oracle 10G.
I found this scripts in Google and not sure how exactly this works.Any explanation on thsi scripts , would be greatly appreciated.I find this scripst may help to generate a set of insert statements from that table to the latest table at 10G.
<pre>
-- Step 1: Create this procedure:
create or replace Function ExtractData(v_table_name varchar2) return varchar2 As
b_found boolean:=false;
v_tempa varchar2(8000);
v_tempb varchar2(8000);
v_tempc varchar2(255);
begin
for tab_rec in (select table_name from user_tables where table_name=upper(v_table_name))
loop
b_found:=true;
v_tempa:='select ''insert into '||tab_rec.table_name||' (';
for col_rec in (select * from user_tab_columns
where
table_name=tab_rec.table_name
order by
column_id)
loop
if col_rec.column_id=1 then
v_tempa:=v_tempa||'''||chr(10)||''';
else
v_tempa:=v_tempa||',''||chr(10)||''';
v_tempb:=v_tempb||',''||chr(10)||''';
end if;
v_tempa:=v_tempa||col_rec.column_name;
if instr(col_rec.data_type,'CHAR') > 0 then
v_tempc:='''''''''||'||col_rec.column_name||'||''''''''';
elsif instr(col_rec.data_type,'DATE') > 0 then
v_tempc:='''to_date(''''''||to_char('||col_rec.column_name||',''mm/dd/yyyy hh24:mi'')||'''''',''''mm/dd/yyyy hh24:mi'''')''';
else
v_tempc:=col_rec.column_name;
end if;
v_tempb:=v_tempb||'''||decode('||col_rec.column_name||',Null,''Null'','||v_tempc||')||''';
end loop;
v_tempa:=v_tempa||') values ('||v_tempb||');'' from '||tab_rec.table_name||';';
end loop;
if Not b_found then
v_tempa:='-- Table '||v_table_name||' not found';
else
v_tempa:=v_tempa||chr(10)||'select ''-- commit;'' from dual;';
end if;
return v_tempa;
end;
show errors
-- STEP 2: Run the following code to extract the data.
set head off
set pages 0
set trims on
set lines 2000
set feed off
set echo off
var retline varchar2(4000)
spool c:\t1.sql
select 'set echo off' from dual;
select 'spool c:\recreatedata.sql' from dual;
select 'select ''-- This data was extracted on ''||to_char(sysdate,''mm/dd/yyyy hh24:mi'') from dual;' from dual;
-- Repeat the following two lines as many times as tables you want to extract
exec :retline:=ExtractData('dept');
print :retline;
exec :retline:=ExtractData('emp');
print :retline;
select 'spool off' from dual;
spool off
@c:\t1
-- STEP3: Run the spooled output c:\recreatedata.sql to recreate data.
Source:http://www.idevelopment.info/data/Oracle/DBA_tips/PL_SQL/PLSQL_5.shtml
</pre>Thanks Justin.
I get what you are saying,i really wanted to see the output of the codes, because the furtherst i could get from that code is
SELECT EXTRACTDATA('MYTABLE') FROM MYTABLE;
and it generated this:
"select 'insert into MYTABLE ('||chr(10)||'DATE1,'||chr(10)||'TIME1,'||chr(10)||'COUNTS) values ('||decode(DATE1,Null,'Null','to_date('''||to_char(DATE1,'mm/dd/yyyy hh24:mi')||''',''mm/dd/yyyy hh24:mi'')')||','||chr(10)||''||decode(TIME1,Null,'Null',TIME1)||','||chr(10)||''||decode(COUNTS,Null,'Null',COUNTS)||');' from MYTABLE;
select '-- commit;' from dual;"
"select 'insert into MYTABLE ('||chr(10)||'DATE1,'||chr(10)||'TIME1,'||chr(10)||'COUNTS) values ('||decode(DATE1,Null,'Null','to_date('''||to_char(DATE1,'mm/dd/yyyy hh24:mi')||''',''mm/dd/yyyy hh24:mi'')')||','||chr(10)||''||decode(TIME1,Null,'Null',TIME1)||','||chr(10)||''||decode(COUNTS,Null,'Null',COUNTS)||');' from MYTABLE;
select '-- commit;' from dual;"
"select 'insert into MYTABLE ('||chr(10)||'DATE1,'||chr(10)||'TIME1,'||chr(10)||'COUNTS) values ('||decode(DATE1,Null,'Null','to_date('''||to_char(DATE1,'mm/dd/yyyy hh24:mi')||''',''mm/dd/yyyy hh24:mi'')')||','||chr(10)||''||decode(TIME1,Null,'Null',TIME1)||','||chr(10)||''||decode(COUNTS,Null,'Null',COUNTS)||');' from MYTABLE;
select '-- commit;' from dual;"
"select 'insert into MYTABLE ('||chr(10)||'DATE1,'||chr(10)||'TIME1,'||chr(10)||'COUNTS) values ('||decode(DATE1,Null,'Null','to_date('''||to_char(DATE1,'mm/dd/yyyy hh24:mi')||''',''mm/dd/yyyy hh24:mi'')')||','||chr(10)||''||decode(TIME1,Null,'Null',TIME1)||','||chr(10)||''||decode(COUNTS,Null,'Null',COUNTS)||');' from MYTABLE;
select '-- commit;' from dual;"
"select 'insert into MYTABLE ('||chr(10)||'DATE1,'||chr(10)||'TIME1,'||chr(10)||'COUNTS) values ('||decode(DATE1,Null,'Null','to_date('''||to_char(DATE1,'mm/dd/yyyy hh24:mi')||''',''mm/dd/yyyy hh24:mi'')')||','||chr(10)||''||decode(TIME1,Null,'Null',TIME1)||','||chr(10)||''||decode(COUNTS,Null,'Null',COUNTS)||');' from MYTABLE;
select '-- commit;' from dual;"
"select 'insert into MYTABLE ('||chr(10)||'DATE1,'||chr(10)||'TIME1,'||chr(10)||'COUNTS) values ('||decode(DATE1,Null,'Null','to_date('''||to_char(DATE1,'mm/dd/yyyy hh24:mi')||''',''mm/dd/yyyy hh24:mi'')')||','||chr(10)||''||decode(TIME1,Null,'Null',TIME1)||','||chr(10)||''||decode(COUNTS,Null,'Null',COUNTS)||');' from MYTABLE;
select '-- commit;' from dual;"
I was expecting a string of
insert into mytable values (19/1/2009,1,1);
insert into mytable values (19/10/2008,5,10);
Thanks for the explanation . -
How to extract data from xml and insert into Oracle table
Hi,
I have a large xml file. which will have hundreds of the following transaction tags having column names and there values.
There is a table one of the schema with coulums "actualCostRate","billRate"....etc.
I need to extract the values of these columns and insert into the table
<Transaction actualCostRate="0" billRate="0" chargeable="1" clientID="NikuUK" chargeCode="LCOCD1" externalID="L-RESCODE_UK1-PROJ_UK_CNT_GBP-37289-8" importStatus="N" projectID="TESTPROJ" resourceID="admin" transactionDate="2002-02-12" transactionType="L" units="11" taskID="5017601" inputTypeCode="SALES" groupId="123" voucherNumber="ABCVDD" transactionClass="ABCD"/>
<Transaction actualCostRate="0" billRate="0" chargeable="1" clientID="NikuEU" chargeCode="LCOCD1" externalID="L-RESCODE_US1-PROJ_EU_STD2-37291-4" importStatus="N" projectID="TESTPROJ" resourceID="admin" transactionDate="2002-02-04" transactionType="L" units="4" taskID="5017601" inputTypeCode="SALES" groupId="124" voucherNumber="EEE222" transactionClass="DEFG"/>Re: Insert from XML to relational table
http://www.google.ae/search?hl=ar&q=extract+data+from+xml+and+insert+into+Oracle+table+&btnG=%D8%A8%D8%AD%D8%AB+Google&meta= -
How to extract data from ORCL GL in "full" and not "delta " with FDM ERPI?
Hi
I am using FDM ERPI 11.1.2.1 to extrct data from Oracle eBS 11.
I can see that FDM ERPI extracts data in "delta mode" using the GL_TRACK_BALANCES_DELTA (FDM adds a row in this table after the 1st load of the period").
Is it possible to force the "full mode" in order to reload all the data from Oracle GL for each FDM data load?
Because I don't know why, but I have each month rows which are not imported into FDM.
thanks in advance for your help
FannyHi
I had see that I have to install the FDM 11.1.2.1.502 patch in order to see this option in my ERPI adapter options.
I have passed this patch.
So I have the ERPI-FIN-C1 adaptor.
I can see a new option (Time Out Value) but no "Load Data" or "Execution mode" option :-(
Any idea of where the problem come from?
Fanny -
How to extract data from a file?
o to all labview users.
I am currently learning labview to control the network analyzer hp8720
as part of my project. Through my program, i am able to do a sweeping
function with my NA and the sweeping data are written to txt file. and
i want to extract the db value corresponding to a specific frequency.
my txt file is like the following:
MHz dB
103 0.015
168 2.09
201 2.67e01
I know that we can extract certain selected data by using the some palettes like "read file" and "scan file"
I tried using "scan file" and i couldnt extract the data(ex: the dB
value corresponding to 168MHz) i want successfully....i checked the
help file and did put some syntax in the format string like (%[^2.09]),
but it seems the "scan file" palette was only able to scan the first
line, which gave me "Mhz db".....
is the format of my txt file not correct?
also, i tried using "read file" palettle..and i set the count to "-1"
to read the whole file. someone suggested on the forum that it is
easier to read the whole file and then use array to extract the
selected data.
How can i write to the array using "read file" while specifying the what range of data i want?
Instead of doing that, maybe i can just simply write the db value
related to the specific range of frequency while the program is in a
while loop doing sweeping?
It would be greatly appreciated if someone could me some guidance.
thank you very much
Happy guy
~ currently final year undergraduate in Electrical Engr. Graduating soon! Yes!
~ currently looking for jobs : any position related to engineering, labview, programming, tech support would be great.
~ humber learner of LabVIEW lvl: beginner-intermediateHi, I have been reading this post It is very interesting and also I
need help. I am doing a project involving scattering matrix (S
parameter) using frequency and time domain analysis. In order to make
use of S parameter in frequency domain from Vector Network Analyzer, I
need to convert S parameters from frequency domain (sweep from 8.2 GHz
to 12.4 GHz) to time domain using inverse chirp z transform or any. I
have no idea how to implement it. Could you please help or guide me how
to implement them. I am using Labview 8.0 and matlab. Please see the attached file for the data in frequency domain both linear , dB magnitude and phase.
Thank you so much for any help.
Tantong
Attachments:
S11 Phase.xls 70 KB
S11 dB magnitude.xls 70 KB
S11 linear magnitude.xls 70 KB -
How to extract data from a structure?(Data Dictionary)
Hi all,
This is regarding extracting data from a structure.
For Eg:if we want to extract data from a structure ADDR1_DATA,How will we do that in report programming?Structures on its own has no existence unless it s attached to a database table or view.when am using 'Where used List' on that structure also I am not getting any database tables or views.What can I do about this?
Thanking you,
anjalyHI Anjaly,
as you said structure does not have any value .. unless something is added to it..
So just use the structure to define the type of the sttructure you want..
Or to include it in your itab like..
data : Begin of itab occurs 0.
include structure ADDR1_DATA.
data i type i.
end of itab.
you cannot directly extract data from the structure ADDR1_DATA..
regards
satesh -
How to extract data from planning book
nu t apo. need help regarding how to extract data from planning book givn the planning book name , view name & some key figures.
Total Demand (Key Figure DMDTO):
o Forecast
o Sales Order
o Distribution Demand (Planned)
o Distribution Demand (Confirmed)
o Distribution Demand (TLB-Confirmed)
o Dependent Demand
Total Receipts (Key Figure RECTO):
o Distribution Receipt (Planned)
o Distribution Receipt (Confirmed)
o Distribution Receipt (TLB-Confirmed)
o In-Transit
o Production (Planned)
o Production (Confirmed)
o Manufacture of Co-Products
Stock on Hand (Key Figure STOCK):
o Stock on Hand (Excluding Blocked stock)
o Stock on Hand (Including Blocked stock)
In-Transit Inventory (Cross-company stock transfers)
Work-in-progress (Planned orders / Process orders with start date in one period and finish date in another period)
Production (Planned), Production (Confirmed) and Distribution Receipt elements need to be converted based on Goods Receipt date for projected inventory calculation.Hello Debadrita,
Function Module BAPI_PBSRVAPS_GETDETAIL2 or BAPI_PBSRVAPS_GETDETAIL can help you.
For BAPI BAPI_PBSRVAPS_GETDETAIL, the parameters are:
1) PLANNINGBOOK - the name of your planning book
2) DATA_VIEW - name of your data view
3) KEY_FIGURE_SELECTION - list of key figures you want to read
4) SELECTION - selection parameters which describe the attributes of the data you want to read (e.g. the category or brand). This is basically a list of characteristics and characteristic values.
BAPI_PBSRVAPS_GETDETAIL2 is very similar to BAPI_PBSRVAPS_GETDETAI but is only available from SCM 4.1 onwards.
For the complete list of parameters, you can go to transaction SE37, enter the function module names above and check out the documentation.
Please post again if you have questions.
Hope this helps. -
How can I extract data from a sound file in carbon
hello,
I am a student and I start recently learning carbon. I have to do a application which can read and extract data from a sound file and use that data to do some kind of visual representation of the file. I would like to know if someone can give some directions, tutorial,some code sample etc.
thank you for your help
chenita7hello orangekay
My idea is to create an application that can read a sound file( AIFF, MP3 or other) in order to extract some kind of data ( numbers or any values) and use that data to represent the sound file visually.
I dont know which kind of data can be extract from a sound file, and in which way i can manipulate that data to became a visual representation of the sound file. this is what I want to do as my second assignment for a subject at school, introduction to programming. has to be done based in carbon.
regards
chenita7
Maybe you are looking for
-
Calling web service from oracle application framework r12
Hi Techies Is anybody know How to call web service from oracle application framework r12(step by step procedure),because i searched in net but i could not understand that one Thanks Dillibabu B Edited by: 962005 on 28 Sep, 2012 12:11 AM
-
I can't read my External drive
I bought a 3.5" hard drive enclosure from FRY'S (a Thermaltake) and put an old PATA 160gig HD in it. I just got my first Mac last week (MacBook Pro 15") and reformatted the drive and backed up the laptop with Time Machine. I then proceeded to install
-
Multiple Windows without Document based project?
Is there a way to put multiple windows in my web browser without a document based application? I hate document based projects. A regular project is much easier to work with. What makes a Document based application so special anyway? Thanks in advance
-
Unable to see photos in photo pane after importing
I am working with a slide show. I have already imported the photos from iphoto into iMovie. I now want to adjust some of them ie longer, Ken Burns effect etc. If I highlight a photo in the clip viewer, it does not show in the photo pane. I had alread
-
Generally speaking, when should you use a DB in ARCHIVELOG mode? We're building an intranet web-app for around 400 users that will be hosted on a compaq proliant running linux, and using oracle 9.2. We will have at a minumum, 1 RAID 5 set. I'm trying