How to extract member, default alias and custom alias into separate columns
Hi,
is there a way to get simultaneously member name, default alias name and custom alias name with Essbase 9x report scripts (Report Writer)?
I do know that using for example
<OUTALTSELECT "default or custom alias table"
<REPMBRALIAS "dimension"
I can get both the real member name and selected alias table, but the problem is that they're both returned to same column.
Using fix columns and order I can repeat member name into several columns if needed, but I would need to tell what to put for each column.
For example : { ORDER 0,0,0,1,2,3,4,5 FIXCOLUMNS 8 }
I would like to force the report script to put Member name into first column in row, default alias name of member into second column in row and custom alias name of member into third column in row, like :
MEMBERNAME DEFAULTALIASNAME CUSTOMALIASNAME
Any ideas how to handle this?
I can of course create several extracts containing one sort of info per list, but it would make life somewhat easier having all of these in same extract.
Thanks in advance!
Br,
MK
Hi,
well, that's pretty much what I want to achieve, to get all info of member within same row, but into separate columns.
The other option is to then produce 2 other extracts containing:
Extract 1:
MEMBERNAME DEFAULTALIASNAME
and
Extract 2:
MEMBERNAME CUSTOMALIASNAME
These values should be in separate columns?
I think I lost the track while playing around with report writer, does anyone have a ready made solution for this?
<REPMBRALIAS brings the needed info, but returns the values into same column.
Empty space delimiter could be handled with customalias table, but in this case default alias name may have long text with several empty spaces making it hard to sort in the other system side.
Any suggestions?
Thanks so far for your kind help.
Br,
MK
Similar Messages
-
How to Extract Data from SAP and Load it into Essbase
Hi All,
Can you recommend some ways to extract data from SAP and load it into Essbase?. I have no knowledge about SAP, not sure how I can perform this task. Can I use ODI for this job?
Thankshi,
Not sure if this helps but give a try
you can create connection from EAS to SAP .. using a plug-in .. if you have access to oracle Support go for [ID 968961.1]
or
below are steps
1. In EASPATH\console, open components.xml in a text editor.
2. Under <PluginList>, enter <Plugin archiveName="SAP" packageName="com.essbase.eas.sap.ui"/> before the closing </PlugIn> tag.
3. Save and close the file.
4. In EASPATH\console\bin, open admincon.lax in a text editor.
5. Search for lax.class.path= and append ;..\lib\sap_client.jar;..\lib \sap_common.jar to the entry. Save and close the file.
6. In EASPATH\server\bin, open adminsvr.lax in a text editor.
7. Search for lax.nl.java.option.additional, and append -DRFC_INI=EASPATH\server\saprfc.ini. Save and close the file.
8. Create a new environment variable, RFC_INI, with a value of EASPATH\server\saprfc.ini
9. Copy librfc.dll andsapjcorfc.dll to EASPATH\server\bin. You may need to obtain these files from SAP.
let me know if it works :) -
How to extract data from CLOB and insert them into DB?
Hi PL/SQL Gurus,
I have no experience in PL/SQL, but I have a requirement now where I have to use it.
We have a table with 10 columns, one of them is a CLOB and it holds XML data. The XMLs are very huge in size.
Two new columns are added to the table and the data has to be filled for the existing records from the corresponding XML. The XML has all the data as attributes. I started searching on the internet and tried if I could extract the data out of XML.
SELECT extractValue(value(x), '/Order/Package/@Code',
'xmlns:ns0="http://mycompany.com/Order/OrderType.xsd"' )
FROM ORDER_TABLE A
, TABLE(
XMLSequence(
extract(
xmltype(A.XML_DATA)
, '/ns0:Root'
, 'xmlns:ns0="http://mycompany.com/Order/OrderType.xsd"'
) x;
But this isn't working. Could anyone please provide some ideas.
I just want to confirm that I am able to extract data. Once this is done I would like to create a procedure so that all the existing records can be updated.
Thanks in advance.
Regards,
FazzyCan this be acheived using a SQL statement.Yes, you can do it with the DML error logging clause.
Here's a quick example I've just set up :
Base table
SQL> create table order_table (
2 order_id number,
3 package_code varchar2(30),
4 package_desc varchar2(100),
5 xml_data clob
6 );
Table created
SQL> alter table order_table add constraint order_table_pk primary key (order_id);
Table altered
Adding data...
SQL> insert into order_table (order_id, xml_data)
2 values (1, '<?xml version="1.0" encoding="UTF-8"?>
3 <ns0:Root xmlns:ns0="http://mycompany.com/Order/OrderType.xsd" BookingDate="2009-06-07">
4 <ns1:OrderKey xmlns:ns1="http://mycompany.com/Order/OrderKeyTypes.xsd" SystemCode="THOMAS" Id="458402-TM1" Version="1"/>
5 <ns0:Package Code="0001" Desc="ProductName1"/>
6 <ns0:PromotionGroup Code="DSP" Name="OrderThomasPortal"/>
7 <ns0:Promotion Code="TH902" Name="OrderThomasPortal" SellingName="OrderThomasPortal" BackOfficeName="OrderThomasPortal"/>
8 <ns0:FinancialSupplier Code="HHT" Name="NYOrdSupp"/>
9 <ns0:SellingCurrency Code="EUR" Name="Euro"/>
10 <ns0:Owner ClientId="02654144" ClientMandator="T" ClientSystem="ROSY"/>
11 <ns0:Agent PersonInAgency="5254" AgentCode="000009" CommissionAmount="2.8" CommissionDueDate="2009-07-01+02:00" VatOnCommission="0"/>
12 </ns0:Root>');
1 row inserted
SQL> insert into order_table (order_id, xml_data)
2 values (2, '<?xml version="1.0" encoding="UTF-8"?>
3 <ns0:Root xmlns:ns0="http://mycompany.com/Order/OrderType.xsd" BookingDate="2009-06-07">
4 <ns1:OrderKey xmlns:ns1="http://mycompany.com/Order/OrderKeyTypes.xsd" SystemCode="THOMAS" Id="458402-TM1" Version="1"/>
5 <ns0:Package Code="0002" Desc="ProductName2/>
6 <ns0:PromotionGroup Code="DSP" Name="OrderThomasPortal"/>
7 <ns0:Promotion Code="TH902" Name="OrderThomasPortal" SellingName="OrderThomasPortal" BackOfficeName="OrderThomasPortal"/>
8 <ns0:FinancialSupplier Code="HHT" Name="NYOrdSupp"/>
9 <ns0:SellingCurrency Code="EUR" Name="Euro"/>
10 <ns0:Owner ClientId="02654144" ClientMandator="T" ClientSystem="ROSY"/>
11 <ns0:Agent PersonInAgency="5254" AgentCode="000009" CommissionAmount="2.8" CommissionDueDate="2009-07-01+02:00" VatOnCommission="0"/>
12 </ns0:Root>');
1 row inserted
SQL> commit;
Commit complete
{code}
Note that the second row inserted contains a not well-formed XML (no closing quote for the /Root/Package/@Desc attribute).
*Creating the error logging table...*
{code}
SQL> create table error_log_table (
2 ora_err_number$ number,
3 ora_err_mesg$ varchar2(2000),
4 ora_err_rowid$ rowid,
5 ora_err_optyp$ varchar2(2),
6 ora_err_tag$ varchar2(2000)
7 );
Table created
{code}
*Updating...*
{code}
SQL> update (
2 select extractvalue(doc, '/ns0:Root/ns0:Package/@Code', 'xmlns:ns0="http://mycompany.com/Order/OrderType.xsd"') as new_package_code
3 , extractvalue(doc, '/ns0:Root/ns0:Package/@Desc', 'xmlns:ns0="http://mycompany.com/Order/OrderType.xsd"') as new_package_desc
4 , package_code
5 , package_desc
6 from (
7 select package_code
8 , package_desc
9 , xmltype(xml_data) doc
10 from order_table t
11 )
12 )
13 set package_code = new_package_code
14 , package_desc = new_package_desc
15 log errors into error_log_table ('My update process')
16 reject limit unlimited
17 ;
1 row updated
SQL> select order_id, package_code, package_desc from order_table;
ORDER_ID PACKAGE_CODE PACKAGE_DESC
1 0001 ProductName1
2
{code}
One row has been updated as expected, the other has been rejected and logged into the error table :
{code}
SQL> select * from error_log_table;
ORA_ERR_NUMBER$ ORA_ERR_MESG$ ORA_ERR_ROWID$ ORA_ERR_OPTYP$ ORA_ERR_TAG$
31011 ORA-31011: XML parsing failed AAAF6PAAEAAAASnAAB U My update process
ORA-19202: Error occurred in XML processing
LPX-00244: invalid use of less-than ('<') character (use <)
Error at line 5
ORA-06512: at "SYS.XMLTYPE", line 272
ORA-06512: at line 1
{code} -
How to Extract the URLs,Tittles and Snippets only
Hi,
My HTML file looks like the fallowing.
[ URL = "http://www.apple.com/" Title = "Apple" Snippet = "Official site of Apple Computer, Inc." Directory Category = {SE="", FVN=""} Directory Title = "" Summary = "" Cached Size = "33k" Related information present = true Host Name = "www.apple.com" ],
[ URL = "http://www.apple.com/quicktime/" Title = "Apple - QuickTime" Snippet = "Apple's free media player supporting innumerable audio and video formats. The proversion includes an abundance of media authoring capabilities." Directory Category = {SE="", FVN=""} Directory Title = "" Summary = "" Cached Size = "7k" Related information present = true Host Name = "www.apple.com" ],
thus it contains set of URL's,tittles and Snippets.Now my task is how to extract only URL,title and snippet part only.Can you please suggest me suitable method.
thanking you inadvance.Regex is an option, here's a small start:import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Main {
public static void main(String[] args) {
String htmlText = "[ URL = \"http://www.apple.com/\" Title = \"Apple\" Snippet = "+
"\"Official site of Apple Computer, Inc.\" Directory Category = "+
"{SE=\"\", FVN=\"\"} Directory Title = \"\" Summary = \"\" Cached "+
"Size = \"33k\" Related information present = true Host Name = "+
"\"www.apple.com\" ], [ URL = \"http://www.apple.com/quicktime/\" "+
"Title = \"Apple - QuickTime\" Snippet = \"Apple's free media player "+
"supporting innumerable audio and video formats. The proversion "+
"includes an abundance of media authoring capabilities.\" Directory "+
"Category = {SE=\"\", FVN=\"\"} Directory Title = \"\" Summary = \"\" "+
"Cached Size = \"7k\" Related information present = true Host Name = "+
"\"www.apple.com\" ],";
String regex = "[a-zA-Z]+.*?\\s+=\\s+\"(.*?)\"";
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(htmlText);
while(matcher.find()) {
String s = matcher.group();
System.out.println(s);
}Details: http://java.sun.com/docs/books/tutorial/essential/regex/ -
How to extract data via webservices and configure webservices in BI 7
Hi to all,
Can any body tell me How to extract data via webservices and configure webservices in BI 7.
i have created a remote functionmodule which extract data from R/3 , now i want to upload data to BI 7 using that remote function module.
i have use webservice (push) as adapter mode, as i want to connect function module with SOAP , via web services.
please can any body tell how to do that.
also how to configure the webserive , what is it .
I SHALL BE THANKFULL TO YOU FOR THAT
Regards
Pavneet ranaHi,
1. Using the function library (transaction SE37), call the Web service creation wizard.
To do this, select the desired function module in the function library and choose Utilities ®Generate Web Service ® From the Function Module.
2. Go through the following steps, shown in the wizard:
a. Create a virtual interface.
The virtual interface represents the interface between the Web Service and the outside.
b. Choose the end point.
The name of the function module that is to be offered as Web service is already entered here.
c. Create the Web service definition.
The Web service definition helps with assigning the Web service features, such as how security can be guaranteed in data transfer.
d. Release the Web service.
The wizard generates the object virtual interface and Web service definition in the object navigator.
The function group that was generated when the XML DataSource was created is not transportable and is thus assigned to a local package. To prevent errors due to transports, make sure that the objects that were generated in the Web service creation wizard are assigned to a local non-transportable package.
The Web service is released for the SOAP runtime.
3. In the virtual interface for the import parameter DATASOURCE, define the name of the XML DataSource as the fixed value.
A separate function group is generated for each XML DataSource. It makes sense to pre-assign the parameter DATASOURCE with the name of the XML DataSource in the virtual interface of the Web service for which the function group was generated.
If you do not pre-assign the parameter, it will be necessary to transfer the data sent with the appropriate filled DataSource element, for example, by setting the value in the application that implements the Web service.
a. In the object navigator, choose the name of the package in which the Web service was created and choose Enterprise Services ® Web Service Library ® Virtual Interfaces.
b. Choose Change in the context menu for the virtual interface.
c. For the virtual interface, remove the flags exposed and initial and enter the name of the XML DataSource in apostrophes, for example u20196ADATASOURCENAMEu2019.
d. Activate the virtual interface.
Regards,
Marasa. -
How to extract keyframe from AVI and MPG
Hi guy,
I'm Marco and I'm using JMF; I need for an help because I don't know how to extract keyframes from AVI and MPG files.
I'm using the code posted in this forum for extracting all frame in a video with the adding of an if expression that in the accessFrame method that I report below:
void accessFrame(Buffer frame) {
BufferToImage stopBuffer = new BufferToImage((VideoFormat) frame.getFormat());
Image stopImage = stopBuffer.createImage(frame);
try {
BufferedImage outImage = new BufferedImage(size.width, size.height, BufferedImage.TYPE_INT_RGB);
Graphics og = outImage.getGraphics();
og.drawImage(stopImage, 0, 0, size.width, size.height, null);
Iterator writers = ImageIO.getImageWritersByFormatName("jpg");
ImageWriter writer = (ImageWriter) writers.next();
File f = new File(frame.getSequenceNumber() + ".jpg");
{color:#ff0000}
if ((frame.getFlags() & Buffer.FLAG_KEY_FRAME) != 0){{color}
{color:#ff9900}
ImageOutputStream ios = ImageIO.createImageOutputStream(f);
writer.setOutput(ios);
{color}
{color:#ff9900}
writer.write(outImage);
ios.close();}
} catch (IOException e) {{color}
System.out.println("Error :" + e);
So, I'm able to extract some keyframe, but i'm not sure it is the correct way and my dubt grows out of the fact that without the if expression highlighted in red, it seems that I have more keyframes (those ones with flag ==1040). Another problem is that it works only with AVI because MPG instead of 1040, they have alternate sequence of 32 and 1056.
Cheers and thank u
Marcomy email-id is [email protected].. anyone plz send me the codings for extracting all the frames from a video..
-
How do I get my photos and music back into new version iTunes from my iPad?
I have the new version of iTunes (11 0 2 26) for Windows which installed over my old copy. I see none of my music etc even after it claims to have synced and backed up. How do I get my photos and music back into iTunes from my iPad? It syncs OK with calendar and contacts from Outlook and I can force copying of apps and books but why does it not show music and photos in the iTunes library? help please.
DavidEmpty/corrupt library after upgrade/crash
Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.
In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be renamed as iTunes Library.itl to restore the library to a recent state.
See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
When you get it all working make a backup!
Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.
tt2 -
How can i add the dimensions and data loading into planning apllications?
Now please let me know how can i add the dimensions and data loading into planning apllication without manuallly?
you can use tools like ODI or DIM or HAL to load metadata & data into planning applications.
The data load can be done at the Essbase end using rules file. But metadata changes should flow from planning to essbase through any of above mentioned tools and also there are many other way to achieve the same.
- Krish -
Can any one tell me how to include the company logo and some poictures into the Teststand report
1. Can any one tell me how to include the company logo and some pictures into the Teststand report?
2. How to include the waveforms into the report?http://zone.ni.com/devzone/cda/epd/p/id/3619
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~ -
HT1918 how can i remove my billing and change it into a free apple id user?
how can i remove my billing and change it into a free apple id user?
iTunes Store: Changing Account Information
http://support.apple.com/kb/HT1918
Select None under your payment method. -
How to embed the Word Document and PDF file into Crystal report?
How to embed the Word Document and PDF file into Crystal report?
I have word doc which having 10 pages. I need to show all of the 10 pages at a time. I tried OLE object but problem is it shows only one page.
Is there any solution to show word doc / PDF file in CR?Symptom :
When embedding a pdf document into a Crystal Report, only the one page shows.
Reproducing the Issue
Environment:
Crystal Reports OLE object
Cause
An OLE object only displays the first page.
Resolution
Embed multiple objects, one for each page
Or
Use a hyperlink to the object instead
Hope this helps!
Regards,
Vinay -
How do I take the audio from a video and divide it into separate songs
How do I take the audio from a video file and divide it into separate audio songs? I then want to export those songs into itunes.
http://www.bulletsandbones.com/GB/GBFAQ.html#exportsections
(Let the page FULLY load. The link to your answer is at the top of your screen) -
Revision: 15449
Revision: 15449
Author: [email protected]
Date: 2010-04-15 12:57:20 -0700 (Thu, 15 Apr 2010)
Log Message:
Add example showing how to inject a live NetConnection and/or NetStream into a VideoElement.
Modified Paths:
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as
Added Paths:
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/netconnection/
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/netconnection/SimpleNet ConnectionFactory.as
osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/netconnection/SimpleNet Loader.asRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
Can any one tell me how to break this into separate columns 05/13/2014,"46","48","37","70","74","1","2","121000000.0000"
Paste your content into TextEdit. Format > Make Plain Text.
Comand-S to save.
Command-Click the filename at the top of the TextEdit window. Click on the second line, the name of the folder where you saved the document.
Select the extension of the document Name in the finder window that is being displayed and replace TXT with CSV.
Right-Click the csv file and choose Open With > Numbers.
Numbers will open with a column for each field in your data.
Jerry -
How do I delete photos after I moved them into separate albums
How do I delete photos after I moved them into separate albums?
The links below have instructions for deleting photos.
iOS and iPod: Syncing photos using iTunes
http://support.apple.com/kb/HT4236
iPad Tip: How to Delete Photos from Your iPad in the Photos App
http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
Another Way to Quickly Delete Photos from Your iPad (Mac Only)
http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
How to Delete Photos from iPad
http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
How to: Batch Delete Photos on the iPad
http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
(With iOS 5.1, use 2 fingers)
How to Delete Photos from iCloud’s Photo Stream
http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
Cheers, Tom
Maybe you are looking for
-
Itunes will only let me load 1 playlist! I cannot have 2 on my IPod!
I installed Itunes and the IPod software onto my laptop because I thought that I was running out of space on my desktop. When I try to update the IPod, the music from the other playlist will delete. I have tried this several times with the playlist a
-
Video died on my MacBook Pro, question on Time Machine
Hi - The video died on my MacBook Pro (2007 - after some research I see there was a recall on it due to a manufacturer's defect). I hadn't backed up in a few months - so would like to back it up before I take the computer into the store. I have mount
-
How is new Mac mini's shared video memory limited?
If I upgrade my memory, say from 1GB to 4GB, will the limit of shared memory size be raised?
-
I need to start all over again! Help...
So, somehow or other, I still haven't quite figured out how, I have completely lost my Admin Password. My mac refuses to allow me to create a new password on the OSX disc; it tries to launch and then fails and shuts down. I haven't been able to updat
-
Audit who did or tried to run reports on certain criterias and when?
Hi, Where can I find more information on Security in BPC? I´d like to know more about on how to audit users, is there any standard reports that can show me who ran reports, which critera, which time etc.? Thanks!