Report script. with pipe delimited?

hi
when i create script to extract some selective data with tab delimited it was ok
but how abt pipe delimited isit possible ?
i tried checking in oracle technical help but no use
for example
Account | Year | Period | instead of Account Year Period ( present script)
cheers

i really appreciate ur help glenn
but i have this kind of issue
{Tabdelimited Rowrepeat no indentgen outmbrnames
supemptyrows supmissingrows supfeed sup commas supheading}
{ decimal 8 } {indentGen -5}
<row("year","period","scenario","Account".....blah blah
and i get output like this
jan FY09 Actual SG cust1
jan FY09 Actual UK
jan FY09 Actual IND
But iam looking for this
JKSG | 1 | FY09 | Actual | SG
JKUK | 2 | FY09 | Actual | UK
JKIND | 3 | Fy09 | Actual | IND
Tab delimited = pipe delimited
here i want to join Jk with calculating legal entity but what i wonder is Jk is not present in OUtline how can i keep in <ROW(....)
Can possible?
Edited by: user8800516 on Mar 9, 2010 12:02 AM

Similar Messages

  • Report script with attribute members

    <BR>In a report script, is there a way to output the attribute members associated with a base mbr. For example, the base member I'm interested in is item codes which is in a sparse dimension with 500k members. Each code has been tagged with 5 attribute members of buyer, warehouse, vendor, product line, and date of last receipt. Desired output is:<BR><BR>Item Code, Buyer, warehouse, vendor, product, and date of last receipt. <BR><BR>Right now I don't care about data at any intersections, rather I just want to output the various attributes associated with each item code. I tried doing dimbottom on items, buyers, warehouse, vendor, etc, but as expected the report would not run. <BR><BR>Thanks in advance for any suggestions.

    <p>Maybe you can use the Outline Extractor, you can download itsomewhere on this website...</p>

  • How to create schema for Header and Footer with pipe delimiter file BPEL11g

    Hi all,
    I have issule creating Schema for Header and Footer with body file .The file format is Pipe delimiter.The following format below like is...
    Softeware Components:File Adapter(Read) 11g,
    1|1211|000|577|5444
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|4544|000|yted
    I hope get the sollution for this from this Forum..Please help me out..Thankyou.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • How to create Schema Header and footer with Pipe delimiter file..?

    Hi all,
    I have issue with creating Schema Header and footer with body file ..The file format is Pipe delimiter.. The follwing file below like is...
    Adapters:File Adapter(Read)-11g.
    1|000|2025|SDFG|54787
    1|2055|244|9566|000|000|044|2577|361147|45554|wweqw|52555|564|000|647|464
    1|2027|344|4566|000|000|044|8577|361147|45554|wweqw|82555|564|000|647|844
    1|2024|444|6566|000|000|044|9577|361147|45554|wweqw|12555|564|000|647|544
    1|2023|544|8566|000|000|044|5577|361147|45554|wweqw|52555|564|000|647|442
    1|2022|644|3566|000|000|044|7577|361147|45554|wweqw|02555|564|000|647|448
    1|0000|546|25544|454
    If you have sollution for this, please help me out..Thank you.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • Create SSRS report export option pipe delimited .txt format for subscription in sharepoint integrated mode

    I'm trying to research a way of creating a  custom export option called Pipe.txt. Which is just a pipe delimited .txt format option for a report that i have that requires this format. This report will set up in a subscription that'll run a daily basis
    for the previous business day.
    I'm running on a SharePoint Integrated Mode. I have seen the option of changing the rsreportserver.config file which doesn't work in my case because the file doesn't exist in integration mode. I was wondering what are some ways or possibly some links to
    achieving this because I've ran into dead ends or execution option i don't understand.
    Any help would be greatly appreciated.

    New-SPRSExtension -identity YOUR GUID GOES HERE -ExtensionType "Render" -name "TxtPipeDelimited" -TypeName "Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering" -ServerDirectives
    "<OverrideNames><Name Language='en-US'>TXT Pipe Delimited</Name></OverrideNames>" -ExtensionConfiguration "<DeviceInfo><FieldDelimiter>|</FieldDelimiter><NoHeader>true</NoHeader><FileExtension>txt</FileExtension><ExcelMode>False</ExcelMode><Encoding>ASCII</Encoding></DeviceInfo>"

  • How to make a systemd service for a bash script with pipes?

    I haven't been able to make a successful systemd service from this script.
    The script itself works (in terminal and xdg autostart), but systemd doesn't run anything after the first pipe (neither sed nor spd-say execute).
    Here's my service:
    [Unit]
    Description=Speak kernel and userspace messages
    [Service]
    Type=simple
    ExecStart=/usr/local/sbin/dmesg-speak
    [Install]
    WantedBy=multi-user.target
    Systemd says the script starts successfully, but only dmesg is started; it's output is not piped through sed or spd-say.
    I've also tried Type=forking without much success.
    Is there something I can do other than switching to sysv-init?
    Do I need IgnoreSIGPIPE=false?
    Last edited by quequotion (2015-02-12 17:07:21)

    fsckd wrote:The linked script appears to lack a hashbang. No hashbang = arbitrary interpretor.
    Yeah, that should probably be there. Since last post I've employed /usr/bin/bash in the service and added a hasbang, but sdp-say still does not run as a systemd service.
    I didn't test either option individually; the key seems to be finding an audio output accessible before user login. I am not certain:
    ccoffey wrote:If a pulseaudio session exists at all
    I am curious to try this:
    ccoffey wrote:run pulseaudio and dbus via XVFB.
    Setting DISPLAY as root would then allow you play audio.
    Still, it seems to me that ALSA would be available at some stage during boot, as is speech-dispatcher (for working with speakup!). If espeak were configured to play audio for root to ALSA, there would be a sound outlet for it (espeak can be used in pipeline mode without speech-dispatcher if need be), and pulseaudio would be probably be OK with that whenever it got around to starting (audio passed through alsa gets piped through, regardless of its source right?).
    I have tried the script with espeak instead of spd-say without success.
    Last edited by quequotion (2015-02-26 03:06:24)

  • dynamic way to create record with pipe delimited

    Hi guys,
    I got one program currently doing this to create record in a flat txt file
    APPEND WA_OUTPUT TO GT_OUTPUT.
    Now, client comes back and says they want pipe delimiter ( | ) between each field of record.
    So I know I can do something like this.
    CONCATENATE WA_OUTPUT-REC1 WA_OUTPUT-REC2 WA_OUTPUT-REC3.....INTO GT_OUTPUT-LINE SEPERATED BY "PIPE".
    The thing is, wa_output structure has like hundreds of field, and I do not want to do a long concatenate syntax.
    Is there anyway to go around this situation?
    Thanks in advance!
    BB

    Ok Alejiandro and Keshav,
    Let me get this straight, sorry in advance if I get it wrong.
    My work area in my program always has the first field populated since it's record type value and it's hard-coded. I would assume that it would be safe to check if lv_string is initial in the DO loop as is in the original code. What do you think?
    In case my work area first  field is blank, I did this below?
    ASSIGN COMPONENT sy-index OF STRUCTURE ls_kna1 TO <lv_field>.
        IF sy-subrc EQ 0.
          " add record to string, if it's the first field don't use separator
          IF <lv_field> IS INITIAL.
            WRITE <lv_field> TO lv_string_field.
            CONCATENATE lv_string '|' INTO lv_string.
          elseIF lv_string IS INITIAL.
            WRITE <lv_field> TO lv_string_field.
            lv_string = lv_string_field.
          elseIF lv_string(1) = '|' and sy-index = 2.
            WRITE <lv_field> TO lv_string_field.
            CONCATENATE lv_string lv_string_field INTO lv_string.
          ELSE.
            WRITE <lv_field> TO lv_string_field.
            CONCATENATE lv_string '|' lv_string_field INTO lv_string.
          ENDIF.
        ELSE.
          " add string to our table and leave the DO-ENDDO-loop for this KNA1 record
          APPEND lv_string TO lt_string.
          EXIT.
        ENDIF.
    I tested it, and it should work if the first field of the record is blank.
    Thanks,
    Edited by: Ben Boman on Aug 12, 2010 1:06 AM
    Edited by: Ben Boman on Aug 12, 2010 1:07 AM

  • Interactive Reporting Scripting with Picture Object

    I'm using CreateShape(bqShapeType, [sectionName]) to dynamically create some simple graphics on a report. I've created simple shapes and lines fine. But I'm at a loss when creating new picture objects (which is a shapetype bqPicture). I can create it fine, but I have not been able to find the property to set to the image file or resource that I want to use. I belive I've inspected all properties and methods of the picture object and there doesn't seem to be one for setting the actual image to use. I find this really odd! I looked at all the following properties and methods.
    Picture Object
    - Methods - OnClick
    - Properties - Alignment, Comments, Locked, Name, Text, Type, VerticalAlignment, Visible
    - UserValues - Methods: Add, Item, RemoveAll, Properties: Count
    - Line - Properties: Color, DashStyle, Width
    - Fill - Properties: Color, Pattern
    - Placement- Methods: Modify, Properties: Height, Width, XOffset, YOffset

    Unfortunately, there is no way to programmatically replace picture in the dashboard. If you need to dynamically change some picture then the common approach is to add several pictures one upon another and hide/show the picture you need. 'Visible' property is used in this case.
    However the replacement is possible for report pictures, see the 'FilePath' property for details (dashboard pictures lack this property).
    This problem is solved in the upcoming release. It will contain a full featured api to manage the centralized image storage (aka Resource Manager, Tools -> Resource Manager). Also, FilePath property will be added to dashboard picture property list.
    Hope this information will help you.

  • Comma delimited report script

    Hi All,
    Is there an "unofficial" way to export a report script with comma as the delimiter?
    We are trying to load data from Analytic Services 9.2 into Enterprise and need to automate the process. However this is proving difficult since the only delimiter seems to be a tab and we need a comma delimited file.
    Thanks for your help.
    Seb

    Have a read of Re: CSV format file through Report scripts.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Help with Report Script please :(

    Hi,
    I'm trying to write a report script with a slight calculation and would really appreciate some help.
    Ideally I want to create a report where I only get the Account and Value. I select all my members but I need a calculation on the Entity dimension. Here's what i am trying to achieve:
    (All selected members for all Entities + All selected members for all Entities in group RIA-IFRS REPORTING ADJS. ) Yes I'm duplicating the members of group RI-IFRS REPORTING ADJS.
    So account 100 for all Entities = 50
    account 100 for all Entities in RI-IFRS REPORTING ADJS. = 25
    I want to display account 100 grouped as 75 without showing a line for each entity.
    This is what I have so far but it doesn't work right:
    ROWREPEAT
    SUPCOLHEADING
    SUPCOMMAS
    SUPHEADING
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT "#mi"
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( Years, Version, Currency, Scenario, InterCompany, "Entity", "Cost Center","Set of Books","Reporting")
    "FY10" "Current" "Currency" "Actual" "InterCompany" "Entity" "Cost Center" "AB_CON_USD" "Reporting"
    <ROW ("Account")
    <LINK(<DESCENDANTS("Total Balance Sheet Accounts","Lev0,Account"))
    { CALCULATE ROW "Entity" = "Entity" + "RI-IFRS REPORTING ADJS."})
    <COL (Period)
    "Dec"
    !

    Dreamscapeuk wrote:
    Hi Robert,  I wasn't getting any data, but I managed to figure that out.  Basically I created 2 columns with the values I needed and then added them up with a calc cloumn.  However I can't get my essbase substitution variables working.  So I created a substitution variable called CurrQtr  and set this to Quarter3.  In my script I'm using this @CurrQtr as  a period however it doesn't use it as it's just giving me the total for the Period dimension.  Any help?
    Here's the script:
    ROWREPEAT
    SUPCOMMAS
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT ""
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( DataSrc, Years, Version, "P&L Type", Currency, Scenario, InterCompany, "Cost Center","Set of Books","Reporting")
         "DataSrc" "FY10" "Current" "No_Type" "USD" "Actual" "InterCompany" "Cost Center" "AB_CON_USD" "No_Cost_Type"
    <COLUMN (Period)
              @CurrQtr
         WWL "RIA-IFRS REPORTING ADJS."
    CALCULATE COLUMN "Gaap" = 1 - 2
    ORDER 0,3,1,2
    <ROW (Account)
    <LINK(<DESCENDANTS("Global Accounts","Lev0,Account"))
    In my script I'm using this @CurrQtr as a period however it doesn't use it as it's just giving me the total for the Period dimension. Any help?
    I don't understand this...
    *<COLUMN (Period)*
    *          Qtr3      WWL "RIA-IFRS REPORTING ADJS."*
    have you tried like this.??
    Edited by: Prabhas on Feb 1, 2011 12:05 AM

  • Help with report script query please

    Hi,
    I'm trying to write a report script with a slight calculation and would really appreciate some help.
    Ideally I want to create a report where I only get the Account and Value. I select all my members but I need a calculation on the Entity dimension. Here's what i am trying to achieve:
    (All selected members for all Entities + All selected members for all Entities in group RIA-IFRS REPORTING ADJS. ) Yes I'm duplicating the members of group RI-IFRS REPORTING ADJS.
    So account 100 for all Entities = 50
    account 100 for all Entities in RI-IFRS REPORTING ADJS. = 25
    I want to display account 100 grouped as 75 without showing a line for each entity.
    This is what I have so far but it doesn't work right:
    ROWREPEAT
    SUPCOLHEADING
    SUPCOMMAS
    SUPHEADING
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT "#mi"
    DECIMAL 2
    NOINDENTGEN
    <PAGE ( Years, Version, Currency, Scenario, InterCompany, "Entity", "Cost Center","Set of Books","Reporting")
    "FY10" "Current" "Currency" "Actual" "InterCompany" "Entity" "Cost Center" "AB_CON_USD" "Reporting"
    <ROW ("Account")
         <LINK(<DESCENDANTS("Total Balance Sheet Accounts","Lev0,Account"))
    { CALCULATE ROW "Entity" = "Entity" + "RI-IFRS REPORTING ADJS."})
         <COL (Period)
         "Dec"
         !

    For the benefit of anyone else looking for this answer, I figured it out.
    //To do this it's better to create 2 columns:
    <COLUMN (Period)
              Q4           
    WWL "RIA-IFRS REPORTING ADJS."
    //Then add the 2 columns up:
    CALCULATE COLUMN "Q4 Gaap" = 1 - 2
    //And order the column how you want
    ORDER 0,3,1,2
    Hope this help someone out.
    http://atmyplace.co.uk

  • Pipe Delimited

    Hi,
    I am creating a report to generate S/Ns items been sold to customers on a particular time frame. The report has to be in Pipe delimited format with pipe characters seperate each field. I would like to get some help from anyone who have an idea.
    Thank you,
    Joel

    If your running from InfoView (Crystal Enterprise or BOE), the option is under the Format section of the Schedule Report page.  Select Character Delimited File.  Or, if running from Designer, choose File -> Export -> Export Report -> Separated Values.
    This will "print" the report to a pipe-delimited file.  Some formatting might be required to get exactly what you are looking for, but usually not much.  Using this option, the destination of the report will change the formatting based on what you're gonna do with the report, so if someone wants to see the data in a more user-friendly way, they just print the report as usual.  Or, the data can be exported to Excel, etc.  This also makes adding fields or chaging field formatting far easier.
    HTH,
    Carl

  • Need to write output to a file in pipe ( | )delimited format

    Hi All,
    I am trying to extract values from a database and write them to a text file with pipe( | ) delimited format. Can someone guide me on this with an example. I ma very much new to Java.
    Thanks for help,
    Abhi

    abhibora wrote:
    Hi All,
    I am trying to extract values from a database and write them to a text file with pipe( | ) delimited format. Can someone guide me on this with an example. I ma very much new to Java.
    Thanks for help,
    AbhiSimply print your values separated by the '|' pipe symbol; I don't see the problem.
    kind regards,
    Jos

  • Report Script is Failing while Zooming in 55K+ member dimension

    Hi,
    we have a ASO cube and there is one dimension called PART NUMBER...which is having nearly 56,000 members...we wrote a report script to zoom in all the members under PART NUMBER along with other dimensions..
    the problem we are facing is when we execute the script by removing the line
    &lt;DIMBOTTOM "Part Number"; the report script is executing fine and the final result includes 5200 rows, but when we try to execute the report script with &lt;DIMBOTTOM "Part Number" , its getting failed.
    any idea why its happening? is any limit on the number of records which the report script can pull? or is it related to any memory issues? do we need to change any configuration file settings???
    Any help is much appreciated...
    Thanks,
    Sunil

    Thanks Doug for your valuable input.
    i tried with the options 2 and 3, but no joy :-(
    i am not very good in option 1, so can you pls help me to show how to do that? below is my script.
    //ESS_LOCALE English_UnitedStates.MS1252@Binary
    {SUPPAGEHEADING}
    {SUPCOLHEADING}
    {SUPZEROROWS}
    {SUPEMPTYROWS}
    { NOINDENTGEN }
    { SUPMISSINGROWS }
    {SUPFEED}
    {SUPHEADING}
    {SUPBRACKETS}
    {TABDELIMIT}
    {ROWREPEAT}
    {MISSINGTEXT "0"}
    {DECIMAL 2}
    <SUPSHARE
    <Col (Period,Year,Entity)
    <iDESCENDANTS "YTD"
    <iDESCENDANTS "2007"
    <iDESCENDANTS "L-200112"
    <ROW (Account,"Revenue Segment",Platform,Customer,"Part Number")
    <iDESCENDANTS "Total Revenue" ;
    <iDESCENDANTS "Total Cos";
    <iDESCENDANTS "Qty";
    <DIMBOTTOM "Revenue Segment";
    <DIMBOTTOM "Platform";
    <DIMBOTTOM "Customer";
    <DIMBOTTOM "Part Number";
    //Run
    !

  • Report script - using substitution variable with multiple values

    Hi All,
    Substitution variable with multiple values is not working correctly with Report scripts. Can you please let me know what is the syntax to assign multiple values to a sub variable using maxl:
    alter database samp.samp set variable 'ExtractQuarter' 'Q1,Q2,Q3,Q4';
    alter database Samp.Samp set variable 'ExtractQuarter' 'Q1:Q4';
    I tried both of the above but they are errored out with the below error:
    Error: 1001005 - Unknown Member [Q1:Q4] in Report.
    my requirement is different for both Actual and forecast data extract so i would like to make use of this variable to extract whole year data for Forecast and current quarter data for Actual with out duplicating the report scripts for both processes.
    Thanks,
    PRaveen

    Hi,
    Please refer following thread,
    range of months in report script?
    Hope it helps.
    Regards

Maybe you are looking for