Report Script and UTF8 in 9.3.1
Hi guys, I have an issue with report scripts and UTF8 in 9.3.1.
Basically my problem is that if I run the RS from EAS, the output is a txt file in UTF8.
If I run it through Esscmd, the output is a ANSI txt.
I need to info to load a non UTF Cube.
I use English/Latin1 locale, the same settings I used in 9.2. In fact is the same RS, but now it acts weird.
I have this problem in 2 different clients using 9.3.1.
Any suggestion?
The Essbases servers are Non unicode
Thanks, I know that they should export to the local format of the client. That is the weird stuff, because, as I understand the ouput should be the same if I run it through EAS and if I use Esscmd from the same machine.
When I used MaxL it also export in UTF8. I have only tried MaxL through EAS, so I don't know if I run it through the command line if it will export in UTF8.
We use Non unicode basically because we have had some problems with Planning and some character set in previous releases and to keep it simple.
Similar Messages
-
Report Script- Performance Issue
Hi,
I ran this report script and it is taking around 2 hours to complete. Is there any possiblity to better tune this script. Please advice me where else can we better tune this.
Thanks,
UB.ID 581459.1:
Goal
How to optimize Hyperion Essbase Report Scripts?
Solution
To optimize your Report follow the suggested guidelines below:
1. Decrease the amount of Dynamic Calcs in your outline. If you have to, make it dynamic calc and store.
2. Use the <Sparse command at the beginning of the report script.
3. Use the <Column command for the dense dimensions instead of using the Page command. The order of the dense dimensions in the Column command should
be the same as the order of the dense dimension in the outline. (Ex. <Column (D1, D2)).
4. Use the <Row command for the sparse dimensions. The order of the sparse dimensions in the Row command should be in the opposite order of the sparse
dimension in the outline. (Ex. <Row (S3, S2, S1)). This is commonly called sparse bottom up method.
5. If the user does not want to use the <Column command for the dense dimensions, then the dense dimensions should be placed at the end of the <Row command.
(Ex. <Row (S3, S2, S1, D1, D2)).
6. Do not use the Page command, use the Column command instead. -
Strange character in report script unload file.
I have an Essbase Report script I’m using to create an unload file of my Essbase Data.
Ever time I run the report script and open the file it has this character on the first line of the file 
, what are these and how do I suppress them>?
thanksNever mind. Foud out that SUPFEED works fine. The question about page break character affecting SAP is still open though.
-
Hi Gurus,
The issue is I created two report scripts one using Query designer and the other manually.
I'm creating a report script to export current period data against ASO.
I know the optimization basics against BSO.
Placing last dim fisrt and all!!
coming to the ASO......
my Report script is hanging at the time of validation itself!!!
it is showing when there are some errors in the report script.
I don't see any thing but EAS hanging when i thought that they were no errors.
the idea is to export the level0 data and relaod with #mi values to load new set of data for the current period.
What are the steps to follow to optimize it in ASO.
I know we need to increase agg chache, retrieval buffer, sort retrieval..!!
what next!!
I know we can also use slices to get rid of previous data (deleting old slice) and creating new one.
but currently we are implementing this way!!
suggestions please....
Thanks,
Jeeth
Edited by: Jithendra on Mar 15, 2011 10:59 AMHi Robb,
I'm in ASO!! so calculations are not possible.
here is one more question!!! may be I need to post it seperately. (but I don't want my questions unanswered :) )!!
I tried to do level 0 export from ASO and it failed telling that the member combinations exceeded 2^64 (this is part of our cube!! want it in column format).
As per my knowledge, the option I have are.
1. chop the report script in to smaller report scripts and run it (may be I need to chop like 100 to 1000 times not sure!!)
2. will MDX query effectively handles the situation (worth trying it)??
3. is the CDF export meant for ASO?
4. StarAnalytics (is this the better option) ??
Pls suggest!!
I will now start writing MDX!!....will all let you know!!
BTW the hanging is because ...I forgot to use logical operator after LINK function... after fixing that the report got validated.
Thanks,
Jeeth
Edited by: Jithendra on Mar 17, 2011 11:20 PM
Edited by: Jithendra on Mar 18, 2011 11:16 AM -
Report script execution is getting failed
Hi ,
We are facing one strange issue while executing the Essbase report script. I am new to the report script and I am not getting how to resolve the issue.
When we are changing the year in code from FY13 to FY14 the script is getting failed however the same script is successfully generating the report if we keep year as FY13 in code.
Could you please let me know where would be the problem , below is the part of the code form Report script.
{MISSINGTEXT "0"} // replace #Missing with 0
<Link ((<LEV("Customer", "Lev0,Customer")) AND ( <IDESC("All Customers")))
<Link ((<LEV("Product", "Lev0,Product")) AND ( <IDESC("All Products")))
<Link ((<LEV("Period", "Lev0,Period")) AND ( <IDESC("YearTotal")))
FY14Hi ,
I am getting below error message.
"Report Script execution Failed. Please see message panel for details " and in message panel It is not showing any details , just displaying Execute Report script Failed with date and time details.
I also checked that FY14 do exist in the application and no duplicate FY14 member exist in the outline.
Could you please suggest where would be the problem. -
Hi
I exceuted a report script,and the report came out to be blank .
So to check ,i opened the report script and verified and came out as verified successfully.
Please let me know what might may be the cause and where to check.
Thanks in advance.First try
{ROWREPEAT}
{SUPMISSINGROWS}
{SUPZEROROWS}
{MISSINGTEXT "0"}
{SUPBRACKETS}
<SETUP { TabDelimit } { decimal 13 } { IndentGen -5 } <ACCON <SYM <QUOTE <END
<PAGE("Entity","Products")
<COLUMN("Accounts")
<ROW("Reporting Date","Class","Contract Dates")
// Page Members
// Selection rules and output options for dimension: Entity
{OUTMBRNAMES}
<DESCENDANTS "US Region"
// Selection rules and output options for dimension: Products
{OUTMBRNAMES}
"Total Lease"
// Column Members
// Selection rules and output options for dimension: Accounts
{OUTMBRNAMES}
" Loss Units"
"Adjusted MSRP"
"Net Cost"
" Sales Proceeds"
" Loss $$ "
"Gain/Loss % "
"Gain/Loss % MSRP"
"Sales Proceeds % of MSRP"
// Row Members
// Selection rules and output options for dimension: Reporting Date
{OUTMBRNAMES}
(<CHILD "RD2006"
<CHILD "RD2007"
// Selection rules and output options for dimension: Class
{OUTMBRNAMES}
<DESCENDANTS"Car"
"Other Class"
// Selection rules and output options for dimension: Contract Dates
{OUTMBRNAMES}
<DESCENDANTS "CD2006
<DESCENDANTS "CD2007"
// End of Report
I'm not sure that you need all the link statements as you don't have compound selections. If this does not work, try to simplify the report by first taking out the <descendants and <Child (or<Children) and see if you get results. If so, start adding them back in until it breaks. -
Optimize report script having many Link statements
Hi,
I have a report script in Essbase which uses around 10 <Link statements to extract level 1 entity members from decendants of specific entity members and around 8 <Link statements to extract level 0 account members from decendants of specific account members. I observed that this report script takes almost 10 to 12 hours to execute. After some investigation I found out that ideally a report script should have maximum 5 <Link statements defined; in case if there are more than 5 <Link statements the report script would run very slow.
Following is excerpt from my report script:
<PAGE ("Scenario", "Year")
<ROW("Entity", "Account", "Custom1", "Custom2")
<COLUMN("Period")
For Entity:
<LINK((<LEV("Entity","Lev1,Entity")) AND (<IDESC("Ent001")))
<LINK((<LEV("Entity","Lev1,Entity")) AND (<IDESC("Ent002")))
<LINK((<LEV("Entity","Lev1,Entity")) AND (<IDESC("Ent003")))
For Account:
Link ((<LEV("Account", "Lev0,Account")) AND (<IDESC("Acc001")))
Link ((<LEV("Account", "Lev0,Account")) AND (<IDESC("Acc002")))
Link ((<LEV("Account", "Lev0,Account")) AND (<IDESC("Acc003")))
Could you please help me to fine tune/optimize this report script and suggest an alternate way to write this script without <Link statements so that I could run this report script faster?
Thanks in advance!
AKYou state 10 but show six. Which is it?
As for performance, if you make it just one Entity dimension LINK statement, is it fast?
Following on that, have you tried breaking the report into multiple report scripts? If they are individually faster, you could just concatenate the output files through an OS batch script. The thought of 10 individual report scripts (although I suppose we are potentially talking about more than that but I can't tell based on the information you've provided) could be complicated, but it might be worthwhile from a prototyping perspective.
Have you tried joining them together with a "!" statement. <--What that means is you write a report script and terminate it with a !. Then write another, similar report script and stick a ! on it. And again, and again, etc. Essbase reads to the ! and then goes to the next report script.
Regards,
Cameron Lackpour -
Extract data from Essbase - MDX/Report Script
Hi,
I was trying to extract data from an ASO cube using both MDX and Report Script approaches.
I liked the MDX_ method since i could specify:
- level zero members with values for the Revenue measure.
SELECT
{[Revenue]} on columns,
NON EMPTY{[Accounts].Levels(0).Members} on AXIS(1),
NON EMPTY {[Accounts2].Levels(0).Members} on AXIS(2),
NON EMPTY {[Accounts3].Levels(0).Members} on AXIS(3),
NON EMPTY {[Accounts4].Levels(0).Members} on AXIS(4)
FROM CUBER.CUBER
Problem:_ For other measure, it shows many #Missing at Cost measure field. Not sure how it happened. I tried to use:
SELECT
{[Revenue]} on columns,
NON EMPTY{ FILTER ([Accounts].Levels(0).Members}, [Revenue] <> Missing) on AXIS(1),
NON EMPTY {[Accounts2].Levels(0).Members} on AXIS(2)
FROM CUBER.CUBER
But still does not solve the issue.
Then i tried to use Report Script_ approach. However, it is not simple to declare that i want all level zero members within dimension Account1 (which has 5 level hierarchy, with level zero members almost each level) and only entries that has values for my measure "Revenue" or "Cost"Hi Ye
For extracting data from Essbase you need to have either Calc script or Report script and you have to use LKM Essbase(Data) to SQL as your KM
For loading data into SQL server you can use IKM SQL Append or IKM SQL incremental update.
When you use Essbase as your source you have to use LKM ESSBASE (MetaData) to SQL as your KM.
So all sources would have LKMs (as KMs) and all targets have IKM as KMs.
-app -
Report Script returns no data and "java.io.FileNotFoundException" error
When attempting to write to a new file (Eg: C:\TEST.txt), Report Script returns no data and "java.io.FileNotFoundException" error occurs.
This error occurs only in Essbase 9.3.1.3 release, however it works fine in release 9.3.1.0.
After running the report the script, it pops up the follwing message:
"java.io.FileNotFoundException: ..\temp\eas17109.tmp (The system cannot find the file specified): C:\TEST.txt"
When checked the TEST.txt, it was empty.Sorry folks, I just found out the reason. Its because there was no data in the combination what I was extracting.
but is this the right error message for that? It should have atleast create a blank file right? -
Hi Peers,
I am working on the report which calling the Form from SAP Script and displaying the form.
I wanted a selection screen in which if the user enters some value it should automatically preview in the form.
I am really new to the ABAP Pls some help on this .
Any code is appreciated.
Every answers will be rewarded.
Pls peers help on this.
Seema.Hi,
where is a simple example:
PARAMETERS: KUNNR(10).
PARAMETERS: PREVI AS CHECKBOX DEFAULT 'X'.
START-OF-SELECTION.
PERFORM OPEN_FORM.
PERFORM START_FORM.
PERFORM PRINT_DATA.
PERFORM END_FORM.
PERFORM CLOSE_FORM.
*& Form OPEN_FORM
FORM OPEN_FORM.
CLEAR ITCPO.
ITCPO-TDCOPIES = 1.
ITCPO-TDDEST = PRINTER.
IF PREVI = 'X'.
ITCPO-TDPREVIEW = 'X'.
ENDIF.
ITCPO-TDNEWID = 'X'.
ITCPO-TDDATASET = 'test'.
ITCPO-TDSUFFIX1 = PRINTER.
ITCPO-TDSUFFIX2 = 'test'.
ITCPO-TDDELETE = ' '. " Não eliminar imediatamente
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
DIALOG = ' '
FORM = 'YOUR_FORM_NAME'
LANGUAGE = SY-LANGU
OPTIONS = ITCPO
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
OTHERS = 6.
ENDFORM. " OPEN_FORM
*& Form START_FORM
FORM START_FORM.
CALL FUNCTION 'START_FORM'
EXPORTING
LANGUAGE = SY-LANGU.
ENDFORM. " START_FORM
*& Form PRINT_DATA
FORM PRINT_DATA.
SELECT * FROM KNA1 WHERE KUNNR EQ KUNNR.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'TEST'
WINDOW = 'MAIN'.
ENDFORM. " PRINT_DATA
*& Form END_FORM
FORM END_FORM.
CALL FUNCTION 'END_FORM'.
ENDFORM. " END_FORM
*& Form CLOSE_FORM
FORM CLOSE_FORM.
CALL FUNCTION 'CLOSE_FORM'
EXCEPTIONS
UNOPENED = 1
OTHERS = 2.
ENDFORM. " CLOSE_FORM
Then, you must create your SapScript in order to print some information.
Regards, -
HOW DO I GET ALL LEVEL 0 MEMBER AND ITS PARENT IN A REPORT SCRIPT
I want to create a report script that generate a list of all level 0 members and its parent for a particular dimension. I created the following report script that generate a list of level 0 members.
//ESS_LOCALE English_UnitedStates.Latin1@Binary
//The purpose of this script is to list
//the Lvl0 descendants of the Account dimension
{ DECIMAL 2
WIDTH 31 0
SUPBRACKET
SUPCOMMA
SUPHEADING
NOINDENTGEN
SUPFEED
ROWREPEAT }
<SUPSHARE
<ROW (Account)
Lev0,Account
!Hi Kris,
I want to produce a report like this for all level 0 member
For example --> database name; parent member; child member
if it is not possible, can I produce a report for members at various level but with the level idenntifier.
For example --> Account
Level 3 100
Level 2 100-10
Level 1 100-10-20
Level 0 100-10-20-1
Level 0 100-10-20-2
actual report row --> Level 1 100-10; 100-10-20
Level 0 100-10-20; 100-10-20-1
Level 0 100-10-20; 100-10-20-2 -
Hello.
Try to use sql script in utf8 encoding to run from sqlplusw oracle 9201 win. Database encoding is BLT8MSWIN1257, client registry contatins the same BLT8MSWIN1257
SQL> @c:\temp\db\define.sql -- file define.sql has UTF8 encoding
SP2-0734: unknown command beginning "-- Пе..." - rest of line ignored.
Is it because of non-utf8 database encoding or sqlplusw does not read utf8 files at all?
Regards, DmitryDont know whether sqlplusw supports utf-8, but if the input really is in this encoding I would set nls_lang=.UTF8 (no dash). This would, in theory, tell Sql*plus that your terminal or files uses utf-8.
Note that with a setup you describe, with client side and database using the same character set, called passed-through setup, you have to make sure that characters really conform to win-1257. Any invalid characters will be incorrectly stored in the database. Storing multi-byte characters in this case, would be one example where things could go wrong. -
New Page Format implentation in Sap Scripts and Reports
Hi,
I want to print Report details and also some of the SAP Script details on the paper size of 350MM width and 310MM Height in the PORTRAIT format.
So i created new page format with these dimensions.
How i can use this for reports. So i can set these parameters while taking output from Report.
Pls specify if any configuration required for this.
Thanks in Advance,
Regards,
Pavan.In SAPscript, you set the Page Format for the document in the "Page Format" field of the "Basic Settings" page of the documents "Header" information. The popup list of this field will show all available formats in your system, so this is a ggod way to make sure your new format is set up properly.
For reports, page format is set either with the LINE-SIZE addition to the REPORT and NEW-PAGE commands, or through the PARAMETERS addition to the NEW-PAGE command. When you use LINE-SIZE the print system picks the format for you, based on the available formats in the systems.
I don't remember if there is an activation step for Page Formats, or if saving is all you have to do. -
To View Calc Scripts and Report scripts via MaxL or Esscmd
Hi all,
Can somebody tell how to read any calc script or report script in any database with the help of MaxL or Esscmd?
For example if there is any .csc or .rep file, I want to read the context of the file i.e. the script that is written in the file. Is it possible via MaxL or Esscmd?
Does Hyperion supports this functionality?
Regards,
JamesYou know that calc and report scripts are text files, right?
They are typically stored in the database directory, although that is not a requirement; they can be stored in other client-accessible directories and run from there.
I haven't done it in ages, but is also possible to pass calc and report scripts to Essbase via the API. I can't remember if the API will let you enumerate calc scripts from the database directory. I sort of strongly think yes. Someone who is more knowledgeable will either correct or refute that statement pretty soon. :)
If you want to list the objects (calcs or reports): http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
A few things that you can do with MaxL re calc scripts:
1) execute calculations, including a string that you pass through MaxL: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/excalc.htm
2) delete calculations: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/drpcalc.htm
3) list the calcs: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispclc.htm
4) create the calc: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/crecalc.htm
Report scripts are sort of a poor relation in MaxL (and were in Esscmd as well). You can basically only run a report as kind of export: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/exprt.htm
So, I think it's mostly there, especially the display object command. BTW, if MaxL can list it, the API can too -- how else does MaxL work?
Regards,
Cameron Lackpour
Edited by: CL on Dec 1, 2008 11:53 PM
Didn't post the right URLs. Now fixed. CL -
How to find out existing Reports and sap scripts and smartforms ?
Dear Friends ,
How to find out existing Reports and sap scripts and smartforms ?
( e.g: how many existing reports and SAP scripts are available in MM or SD module , What is the procedure to find out ? )
Thanking you.
Regards,
Subash.scripts r stored in TNAPR TABLES
Maybe you are looking for
-
Inability to import a pdf made in Formscentral to illustrator fully...
Dear guys, can u update the bug?? there is deletion of the white boxes where we write text once imported on illustrator...
-
Same Sequence# with different applied value in v$archived_log
Hi everyone, I have an issue with one of the dataguard servers here. Basically, looking at the v$managed_standby, it is still applying the latest archived log sequence. However when I checked for unapplied archived log from v$archived_log, I found at
-
How do I re-establish Events in iPhoto 11?
I have a Macbook Pro running 10.7.4 w/ a 2.66 ghz intel core i7, 4 GB of memory and am currently using iPhoto 11 9.3.1. I recently upgrade from iPhoto '09 8.1.2. I was using iPhoto '09 to import pictures from a card, Upon completion all my evnts were
-
Standard variant of SAP query is loaded automatically
Hi! I have created SAP query and standard variant via SQ01. When I run my query (via transaction) values of variant are loaded automatically in a selection screen and in my case I need empty selection screen at the beginning and values should appear
-
Osx mavericks 10.9.3 cannot open large folders on smb share
hi, This week I bought mij first macbook pro. so I new in osx. I have a ubuntu 14.04 server running with samba 4.1.6. From a Windows or linux computer is can acces the shares just fine. When i try to acces the share from my macbook i can open t