Report Script Help Needed - Data Extract

Hi,
I have a cube with 11 dims: Account, Period, Resource, Facility, SSSS, CCCC, Activity, Years, Version, Scenario, Charges
I need a report script that will extract data for a certain year and scenario only. I have not written a report script in a long time and have the following thus far. However it's not extracting data that I know exists. Can anyone help? Thanks is advance. This runs but I just get a blank screen or file....
//ESS_LOCALE English_UnitedStates.Latin1@Binary
// This report script extracts data from cube
"FY11"
{DECIMAL 4}
{NAMEWIDTH 25}
{SUPCOMMAS}
{SUPBRACKETS}
{SUPPAGEHEADING}
{NOINDENTGEN}
{SUPMISSINGROWS}
{SUPZEROROWS}
{TABDELIMIT}
{SUPFEED}
{ROWREPEAT}
"JAN"
"FEB"
"MAR"
//"APR"
//"MAY"
//"JUN"
//"JUL"
//"AUG"
//"SEP"
//"OCT"
//"NOV"
//"DEC"
"BUDGET"
// This is the members of the CCCC dimension to extract
// This is the members or the ACCOUNT dimension to extract
!

Hello -
You can try/modify the code below and see if this works -
//ESS_LOCALE English_UnitedStates.Latin1@Binary
{ SUPMISSINGROWS }
{ SUPZEROROWS }
{ SUPFEED, SUPBRACKETS, SUPCOMMAS }
{ NOINDENTGEN }
{ DECIMAL 4}
{ NAMEWIDTH 30 }
{ ROWREPEAT }
{ TABDELIMIT }
{MISSINGTEXT "-" }
<PAGE ("Scenario", "Resource", "Facility" ,"SSSS", "Activity", "Version", "Charges")
"Budget"
"Resource"
"Facility"
"SSSS"
"Activity"
"Version"
"Charges"
<COLUMN ("Year","Period")
"FY11"
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
<ROW ("Account", "CCCC")
<LINK (<DESCENDANTS ("ACCOUNT") AND <LEV("ACCOUNT",0))
<LINK (<DESCENDANTS ("RT9_CCCC") AND <LEV("CCCC",0))
Here you may want to change teh combination in the Page dimensions for eg -
I know for Scenario you want Budget
But for Version should it be "Version" or may be "Working" Or "Final" or any other version dimension member ...?
Same way modify the dimension memebres for other dimensions.
Regards
Edited by: Rosi on Aug 24, 2009 10:01 AM
Edited by: Rosi on Aug 24, 2009 10:02 AM

Similar Messages

  • Report Script Help Needed

    Hi,
    I have not written one in years and am having trouble with a fairly simple one (I think). Was wondering if you could take a look. Anyways we have 11 dimensions which may make this impossible due to performance. I basically need a report script to perform a data extract. Data requirements for each dimension would be:
    Scenario: Budget
    Version: Final
    CCCC: Tot_CCCC (Rollup)
    SCCC: Tot_SCCC (Rollup)
    Charge_Type: Charge_Type_Total (Rollup)
    Resource: NU_RESC (Rollup)
    SAU_CAU_Facility: Zero level members of "NU_Consolidated"
    Account: Zero level members of "TOTCO_FERC"
    Activity: Zero level members of "NU_Actv"
    Years: Children of "YEARS"
    Periods: Jan to Dec only
    Report format would suppress the PAGE thus Budget and Final would not appear.
    Was also hoping to somehow suppress CCCC, SCCC, Charge_Type and Resource(Not sure if possible).
    Thus format would look something like this tab delimited:
    Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
    SAU_CAU_Facility Account Activity Year 100 200 100 100 010 100 200 300 100 100 100 100
    Here is what I have so far. I have not been able to get it to return any results even though I have loaded one row of fake data. Does anything jump out at you as to what I'm doing wrong? Appreciate any help you may have as I'm really stuck as it's been years since I have tried this.
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    // This report script extracts data from NUMaster
    <SUPSHARE
    {DECIMAL 4}
    {NAMEWIDTH 25}
    {SUPCOMMAS}
    {SUPBRACKETS}
    {SUPPAGEHEADING}
    {NOINDENTGEN}
    {SUPMISSINGROWS}
    {SUPZEROROWS}
    {TABDELIMIT}
    {SUPFEED}
    {ROWREPEAT}
    <PAGE ("SCENARIO", "VERSION")
    "BUDGET" "FINAL"
    <COLUMN ("PERIOD")
    "JAN"
    "FEB"
    "MAR"
    "APR"
    "MAY"
    "JUN"
    "JUL"
    "AUG"
    "SEP"
    "OCT"
    "NOV"
    "DEC"
    <ROW ("RESOURCE_LOCATION", "SCCC", "CCCC", "VERSION", "CHARGE_TYPE", "SCENARIO", "SAU_CAU_FACILITY", "ACCOUNT", "ACTIVITY", "YEARS")
    <DIMBOTTOM "SAU_CAU_Facility"
    <DIMBOTTOM "ACCOUNT"
    <DIMBOTTOM "ACTIVITY"
    <DIMBOTTOM "YEARS"
    "TOT_CCCC"
    "TOT_SCCC"
    "CHARGE_TYPE_TOTAL"
    "NU_RESC"
    // Limits the members within the specified dimensions to the correct zero level members of the specified rollup
    <LINK (<DESCENDANTS ("NU_CONSOLIDATED") AND <LEV("SAU_CAU_Facility",0))
    <LINK (<DESCENDANTS ("TOTCO_FERC") AND <LEV("ACCOUNT",0))
    <LINK (<DESCENDANTS ("NU_Actv") AND <LEV("ACTIVITY",0))
    Thanks,
    SAm

    One thing that may help - it looks like you're using both <DIMBOTTOM and <LINK for three of your dimensions.
    <DIMBOTTOM "SAU_CAU_Facility"
    <DIMBOTTOM "ACCOUNT"
    <DIMBOTTOM "ACTIVITY"
    You should just need the <LINK and not the <DIMBOTTOM. <DIMBOTTOM's can really kill report script performance.
    Whenever I do these, I try to start small, and then open the report script up to more and more members to see what's affecting performance. I'd start with one year, one facility, one activity, one account, etc. Then slowly add in the full member specifications you want.
    Hope this helps,
    - Jake

  • 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?

  • Help needed in  extracting data from PCD tables

    Hi Friends
    I Have a requiremnt for creating custom portal activity report ,even though
    we have  standard report, the extraced data will be used to create bw reports later.
    my part is to find a way to extract the data from PCD tables for creating
    custom portal activity reports
    i have selected the following  tables for the data extraction
    WCR_USERSTAT,WCR_WEBCONTENTSTAT,WCR_USERFIRSTLOGON,
    WCR_USERPAGEUSAGE.
    My questions are
    1.Did i select the Exact PCD tables?
    2.Can i use UME api  for  accessing the data from those tables?
    3.can i use  the data extracted  from PCD tables in JSPdynpage  or
    webdynpro apps?
    4.can i Querry  the  PCD tables from  JSPDynpage or Webdynpro
    Please help me in finding a solution for this
    Thanks
    Ashok Battula

    Hi daniel
    Can u tell  me weather i can develop the following  custom reports from those WCR tables
         Report Type
    1     Logins
          - Unique Count
          - Total Count
          - Most Active Users (by Partner Name)
          - Most Active Users (by Contact Name)
          - Entry Point (by page name)
          - Session Time
          - Hourly Traffic Analysis
    2     Login Failures
          - Total Count
          - Count by error message
          - Credentials Entered (by user name and password)
    3     Content Views (by File Name)
          - Unique Count
          - Total Count
          - Most requested Files
          - Most requested Pages
          - File Not Found
    4     Downloads (by File Name)
          - Unique Count
          - Total Count
          - Most requested Files
          - File Not Found
    5     Portal Administration
          - Site Content (by file name)
          - Site Content (by page name)
          - Latest Content (by file name)
          - Expired Content (by file name)
          - Subscriptions Count (by file name)
    6     Login History (by Partner, Contact Name)
          - No Login
          - First Login
          - Duration between registration and first login
          - Most Recent Login
          - Average Number of Logins
    plz  help me in find ing a way
    thanks
    ashok

  • Help: need to extract an application from oracle/apex directory

    Hi, all!
    I worked on oracle10xe and apex 1.3.1 and then messed with partition table a bit so got my windows crashed and I don't believe i'll be able to restore it.
    so what i have is an oracle directory from the long-dead windows with apex inside, and i need to extract the applications and the data i was working with somehow.
    Any thoughts?
    Does anybody knows where does oracle store all its databases and where apex keeps its applications?
    oraclexe\oradata\xe\ has some .dbf files in it, will it work if i just write them over in a newly installed oracle+apex?

    Hello,
    At this point, since you can't turn to Oracle Support (since it is XE), then I would suggest asking amongst your colleagues/friends/etc and trying to find a friendly DBA who will try and help you out for a beer or 3.
    Depending on how critical your work was, I wouldn't throw away all hope of recovering your database until you've exhausted all the options.
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • REPORT CALCULATION HELP NEEDED!!!

    Hello
    I have a report where i need to do some calculation .
    I have 3 columns in my report Businesstype , Business Code & Fact . When i display the report i see the Business Code 1 - Business Code 5 in 5 rows . But sometimes the report contains Business Code 6 along with Business Code 1 - Business Code 5 then Business Code 6 needs to calculate SUM(Business Code 1-6) and display in one row .
    Could anybody please leave me any suggestions .

    Hi there,
    Create a table
    - On the first row create for each group to populate the data for Business Code [1-n] with a second column containing numeric values.
    - On the second row use the sum function using current-group() function for the value that you want to calculate the sum for.
    Hope this helps.
    Let me how you get on.
    cheers...

  • Essbase Report Script Help - Restrict

    Hi folks,
    Problem : We are building a cube to perform tier/stage based allocations.
    I have to generate a report script that displays balances of each cost center(row), for each tier (coloumn).
    but i have to restrict the data strictly to <0 or negetive balances for all coloumns
    I have used
    <RESTRICT (@DataCol(1) < 0 )
    to restrict for coloumn one, but when i tried to repeat this for coloumn 2, the script gives me a syntax error that i cant use restrict more than once. Is there a way around it
    Thank you in advance .

    restrict is limited to a single data column. It would not make sense to restrict on multiple columns. think about the implication if you could. what you might consider is have a total column and restrict on it.

  • Need data extract and load program

    hi
    where i can find all the standard data extract programs and standard load programs. Pls thisis urgent.
    thankyou

    Thankyou
    can i get a list of the extract programs and dataload programs? SAP provides programs for extracting data for material master, customer, vendor, purchase order , sales order ? It also provides std programs for data load rite? where can i find the list. i need to prepare a document with the list.
    Heng

  • Hi need help in data extraction.

    Hi everybody,
           I am trying to extract some ekpo table datas from R/3 and load in BW. What i did was:
    1) created a char info object with a field and no attributes.
    2) Created a Key fig with Target quantity-->0unit.
    3) Created Info cube Assigned Dimensions.
    4) Created a info source with all the three fields(Ebeln, 0unit, tar_quan).
    5) Now I open R/3, t-code SBIW --> generic data source
    --> created new transaction data name ---> gave an appli comp.
    6) In the Column view/Table(text box) I gave as EKPO , to extract data from table EKPO. When I saved, it gives this error message.       
    "Invalid extract structure template EKPO of DataSource" .
    What should i do to extract the datas from EKPO from R/3 to BW.
    Please, help me with this.

    Hi Naga
    Do not create a view or what ever for what you want to extract. I mean You ask : "What should i do to extract the datas from EKPO from R/3 to BW"
    the answer is activate the standard Datasource for purchasing that allows you to extract data from table ekpo.
    The datasource name is 2LIS_02_ITM
    activate it in r3 with TC RSA5 have a look in RSA6 before to check if it is already avalaible (if not then proceed with RSA5)
    Then go to the LO cockpit TC LBWE find your datasource in application 02 and look if it is active, if not do it. With the maintenance screen you can select your fields.
    If you want to extract data from R3 what you should do before creating view FM and so on is to check if business content datasource exists first.
    For Example you do not have a standard datasource for purchase requisition from eban and ebkn, so it is logical for you to create a generic ds based on tables FM and struc. etc... but SAP provide you with standard datasources so make use of it when they exist. You find names and info on existing datasources etc on SDN, help.sap.com sap.service for example.
    hope this helps
    Boujema

  • Help needed in extracting pipe delimited fields in a CLOB data type

    hi
    i Had a table with clob field as shown below.
    CREATE TABLE TRANSACTION_INFO
      TRASACTION_ID  CLOB,
      LOG_ID  NUMBER
    Insert into TRANSACTION_INFO
       (TRASACTION_ID, LOG_ID)
    Values
       ('354502002020910|000000610214609663||09/27/09 08:02:37|RNEW|DC25|MOTOROLA|8802939198', 123);
    Insert into TRANSACTION_INFO
       (TRASACTION_ID, LOG_ID)
    Values
       ('354599892020910|000000610214609663||09/27/10 08:12:47|SOLD|DC23||8802939198', 456);
    COMMIT;As you can see Clob field is a pipe delimited data.Now i am able to extract the first two fields using the below querry.But it may be the right solution as
    substring function fails if there is missing character in any on the fields.
    Also when there is a null value in any of the fields,how can i be able to get as null value ? Basically i want to get the values in a delimited manner.
    how can we do this ?
    Select Substr (TRASACTION_ID, 1, Instr (TRASACTION_ID, '|')-1) field1,
            Substr (TRASACTION_ID, 17, Instr (TRASACTION_ID, '|')+2) field2              
      From TRANSACTION_INFO;
    output should be like as shown
       FIELD1          FIELD2          FEILD3                 FEILD4
    354502002020910     000000610214609663                  09/27/09 08:02:37
    354599892020910     000000610214609663                  09/27/10 08:12:47Thanks
    Rede

    hi Michael
    Thanks for the solution and its my bad not mention that there is a possibility of having a null value at the start of the record also which RPLACE function no longer works for this case.
    For example
    with transaction_info (trasaction_id, log_id)
         as (
    select '354502002020910|000000610214609663||09/27/09 08:02:37|RNEW|DC25|MOTOROLA|8802939198', 123 from dual union all
    select '354599892020910|000000610214609663||09/27/10 08:12:47|SOLD|DC23||8802939198', 456 from dual union all
    select '|000000610214609663||09/27/10 08:12:47|SOLD|DC23||8802939198', 456 from dual
    select trim(regexp_substr (trasaction_id, '[^|]+', 1, 1)) f1,
           trim(regexp_substr (trasaction_id, '[^|]+', 1, 2)) f2,
           trim(regexp_substr (trasaction_id, '[^|]+', 1, 3)) f3,
           trim(regexp_substr (trasaction_id, '[^|]+', 1, 4)) f4,
           trim(regexp_substr (trasaction_id, '[^|]+', 1, 5)) f5
      from (select replace (trasaction_id, '||', '| |') trasaction_id from transaction_info)
    F1                   F2                   F3                   F4                   F5                 
    354502002020910      000000610214609663                        09/27/09 08:02:37    RNEW               
    354599892020910      000000610214609663                        09/27/10 08:12:47    SOLD  
    000000610214609663                        09/27/10 08:12:47    SOLD Now the last record is wrongly created....

  • Need help for data extraction from table

    Hi all,
    i have a requirement where i need to identify fields PERNR,BEGDA,ENDDA,REASN,fmlan in table PA0672 .If all these field are identical for an employee in more than one record, then greatest value of REMAN field out of these records should be displayed only in output.
                                            How would i go about it?
    Thanks
    Snehasish

    select PERNR BEGDA ENDDA REASN REMAN
      into table itab
      from PA0672.
    * delete all but the highest reman value for each pernr
    sort itab by pernr reman descending.
    delete adjacent duplicates from itab comparing PERNR BEGDA ENDDA REASN.

  • LIS help needed : SD Extraction

    Hi Gurus
    I am fairly new to SD and am looking for some help regarding LIS
    I have setup a sales process which uses Inquiries > Quotation > Sales Order > Delivery Process. The Process is running fine.
    However when I am trying to get some basic reports using the Standard Analyses for customer / material I am getting the message "No Data Exists for Chosen Selection"
    Looking through the forums i tried to use the LIS Check utility from IMG and executed it for Infostructure S016 :SIS sales activities and it gives me an error in Check units "No DDIC information for source field MCEKPO"
    Please tell me what I need to do. I am using ECC 6.0 and there is no BIW system connected to SAP system. Therefore we have to generate reports using Standard ABAP queries.
    Any help is welcome. Will definitely award points to all helpful answers
    Thanks in advance

    Hi Ravi
    Thanks for responding.
    I am aware of these option and right now I am using the standard analyses (MCTA, MCTC etc.).
    My query is what do I have to do to set up reporting using the standard SAP Analyses. I am able to do my sales transactions but am not able to see them in the analysis.
    Problem was resolved... got the response on another channel.. thanks everyone..
    Regards
    Pranav
    Message was edited by:
            Pranav Kumar

  • Report Script Help

    Hello, I am trying to create 2 reports from one script file where the member name needed for one report is the child of the member name of the 2nd report. (See example below) Dim 1 A B Dim 2 X Y Dim 3 CR Tar How do I limit my query to retrieve a CR report limited to YA and a Tar report limited to XB without dbl counting?

    Thanks for replying. I am not sure if I explained correctly. I want a report where 2 members from one dimension matches 2 members from another dimension where one is a child of the other, without double counting. I was told that MATCH or Link may work, but I am unfamiliar with those terms. I tried the following, but I am getting an error.{LINK (<IChildren(CCR) AND <IChildren(VL))}

  • Reporting agent help needed

    Hi BW Gurus,
    i want to know the physical storage location of the  HTML file , when i schedule a WAD report by using REPORTING AGENT , i can see it in transaction RSRAPS , but i want to know the location where it is stored can any one help me in this .
    Regards,
    Abraham

    Hi
    Usually doc's are stored in the SAP directory on the server SAP is running on.
    It is usually
    USR\SAP\-SID- on a one of the drives (D, F etc).
    To get the technical name of the doc go to the doc in the Report Agent and right click on it, then goto the most right tab and you will find a logical and physical docs (that looks like so EF4DDB8E6B183B4D9797EE842C0EF0CC).
    The physical is the one you need.
    Reg's
    Edan

  • TCL script help needed on Nexus7000 !

    Does anyone know how to create a TCL script on Nexus7000 switch for following scenario ? Need urgent help here.. :-
    Here is what I am trying to do :-
    1. Whenever following log on "show log log" prints out :-
    testnexus7000 %PIXM-2-PIXM_SYSLOG_MESSAGE_TYPE_CRIT:
    2. Print out the output of show system internal pixm errors
    And look for following line :-
    [102] pixm_send_msg_mcast(1208): MTS Send to LC X failed >> where X is 0 based
    and this error can occur multiple times for different LCs too.
    4. Reload line card (s) X and syslog " task done"
    Regards
    Vijaya

    Hi,
    Vijaya I found same post on support cisco forums So people helped someone in same question !!!!!!
    Please read it ....
    https://supportforums.cisco.com/thread/2128886
    Yes plus if u can help me in ......Cisco ASA same security problem than that will be good for me .....I will contact u and will be great help for me if u help
    Hope that link help u .....
    Bye,

Maybe you are looking for

  • Expression Question for SQL Server Reporting Services 2008 R2

    I am trying to form an expression that will give me the est. hours for a specific project type.  Project Type is a field in the data set as well as est.hrs.  There are no calculations needed.  The hours is listed under the field name"Est.Hours".  So

  • BAPI_SALESORDER_CHANGE add new line and conditions with a condition value

    Hi, I am using BAPI_SALESORDER_CHANGE to add new lines to a credit memo. All works fine except that I can not seem to put a condition value on the new lines. The condition is created but with a value of 0. I can popluate the condition amount field, K

  • Hotmail emails won't update and download since this morning

    TThis morning when I went to open my emails in Hotmail, it wouldn't download any new emails.  emails from April 7th and prior are there but current emails from after are not there. They were there as of last night but gone this morning.  Also, when I

  • DNG SDK thinks 0xFFFFFFFF is invalid white level for 32 bit integers

    As discussed in another message the DNG SDK does not seem to be able to write floating point DNGs. Since I need higher dynamic range than a 16 bit sample I instead went for 32 bit integers. This works, and I manage to create a file but when I run dng

  • Smart guides labels appears but sometimes NOT.

    When I am using smart guides in illustrator cs6 it is problem which makes me nervous. When I select point, handles appear. When I move next to handle top the label appear. But SOMETIMES NOT appear, SOMETIMES APPEAR. It is terrible. - It might be nice