Restricting the CSV Output

Hi
we want to restrict some of the columns in the csv output is there any way to do it other than using extext templates.
Thanks in Advance,
Have a Nice day

Thanks for your reply .
But i am having some idea will it can be implemented.
as you said it will depend on the datamodel .
Consider i am having 2 datasets in my datamodel for my report to get the pdf,html,excel.
so i want to add one more data set in the same data model with llimited number of columns in the select query and i want to use that dataset in the datamodel in the report generation when i choose the csv ouput.
Is it possible i am using bi publisher 11g.
So if it is possbile i can restrict my output in csv format too.
This is my idea i dont know whether it is possible or not.

Similar Messages

  • Performance Issue-;How to restrict the total output of the report.

    Hi Experts
    I need your advise to resolve one performance issue in my BI Publisher report.
    My report query is extracting more than 80000 records at once. To load these records into the report template it is taking all most 14 to 15 hours. Unfortunately i cannot change my logic to put some more filter to restrict the query output, as this is the requirement from the client.
    Is there any way i can restrict my report so that it will extract the first 1000 record and on the event of pressing next it will extract the next 1000 record and so on from the point when it left in last time.
    Kindly let me know if you have any solution for this.
    Thanks in advance.
    Regards
    Srikant

    Hi experts...
    Any update on this...

  • How to Create a Selection Variable for restricting the querry output

    Hi Gurus,
    I have created a query in query designer on a Multiprovider and the output of the query is a Formula in a structure which calculates a % value, the client is looking for entering a range of number during the query selection screen and the output should be restricted to the given selection values.
    Can any one tell me how i should create a selection variable that would take the input from the user during the query selection screen and then restrict the output to that value which user specified.
    Is there a need to write any customer exit or is there any alternative way to make the query work as the requirement is.
    I hope this explains my problem but if any questions please let me know so that i can give u specific information.
    Thanks,
    Nisha.

    Hi Nisha,
    Firstly, in order to restrict the query output by a key figure value, you will need to create a condition on that key figure. This is done in the query deisgner. Now when you are creating the condition you can also use user entry variables (formula variables with user entry) to let the users enter the value that they want to see.
    See here for more details:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/content.htm
    Hope this helps...

  • How to add delimiters to the csv output sent to outlook?

    Hi, our application server 10.1.2 host oracle reports, we need to send the csv output of the oracle reports to the emails of clients, we can send in format = 'ascii' but delimiter such as double quote("), comma(,) can not be added.

    Hi Chaitanya,
    As we include key figure sets in column of report writer report. First you need to create required Key figure set for your table/structure using T-code GS01.
    Go to GR32; give Library name and your reportu2019s name, Click on u2018Columnu2019 button of application toolbar.
    You will get the list of column sets, to add new column sets click on + icon (Insert       row) displayed in same screen.
    Save the report.
    Generate related report group and execute it .
    Let me know if you need any more details.
    Regards,
    Dinesh Tiwari

  • Get the csv output

    I need to make a script that pulls the server uptime information and saves the results into csv format. I am able to create a csv file, however the values are not coming in the different columns.. The data is getting saved only in one column.
    $OutputFile="Output.csv"
    Function Columns_Table($columns)
    $data = ""
    For($i=0; $i -le $columns.Length-1; $i++)
    $col = $columns[$i]
    $data = "$data $col",","
    $data >> $OutputFile
    Function Rows_Table($rowData)
    $data = ""
    For($i=0; $i -le $rowData.Length-1; $i++)
    $row = $rowData[$i]
    $data = "$data $row",","
    $data >> $OutputFile
    Function TestServerUp($Server)
    Try
    If (Test-Connection -Computername $Server -count 1 -quiet)
    $UpTimeCheck = gwmi Win32_OperatingSystem -computer $Server
    $LastBootedTime = $UpTimeCheck.ConvertToDateTime($UpTimeCheck.Lastbootuptime)
    [TimeSpan]$uptime = New-TimeSpan $LastBootedTime $(get-date)
    $Day = $Uptime.days
    $Hours = $Uptime.hours
    $Minutes = $Uptime.minutes
    Rows_Table @("Server is up", $Day, $Hours, $Minutes)
    Else
    Rows_Table @("Server is not reachable! Hence No 3rd party results", "Server is down", "Server is down", "Server is down")
    Catch
    Rows_Table @("Server is not reachable! Hence No 3rd party results", "Server is down", "Server is down", "Server is down")
    Columns_Table @("Server", "Server Information", "Days", "Hours", "Minutes")
    TestServerUp K0z0s
     

    I ran your code, gave  a lot of errors
    [ordered] is not available in PowerShell V2
    Unable to find type [ordered]: make sure that the assembly containing this type is loaded.
    At line:13 char:25
    + $props=[ordered] <<<< @{
    + CategoryInfo : InvalidOperation: (ordered:String) [], RuntimeException
    + FullyQualifiedErrorId : TypeNotFound
    Property 'Online' cannot be found on this object; make sure it exists and is settable.
    At line:27 char:17
    + $props. <<<< Online=$true
    + CategoryInfo : InvalidOperation: (Online:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Property 'LastBootedTime' cannot be found on this object; make sure it exists and is settable.
    At line:29 char:20
    + $props. <<<< LastBootedTime=$os.ConvertToDateTime($os.Lastbootuptime)
    + CategoryInfo : InvalidOperation: (LastBootedTime:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Cannot find an overload for "op_Subtraction" and the argument count: "2".
    At line:30 char:44
    + $props.Uptime=[DateTime]::Now - <<<< $props.LastBootedTime
    + CategoryInfo : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodCountCouldNotFindBest
    Property 'Days' cannot be found on this object; make sure it exists and is settable.
    At line:31 char:20
    + $props. <<<< Days=$props.Uptime.days
    + CategoryInfo : InvalidOperation: (Days:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Property 'Hours' cannot be found on this object; make sure it exists and is settable.
    At line:32 char:20
    + $props. <<<< Hours=$props.Uptime.hours
    + CategoryInfo : InvalidOperation: (Hours:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Property 'Minutes' cannot be found on this object; make sure it exists and is settable.
    At line:33 char:20
    + $props. <<<< Minutes=$props.Uptime.minutes
    + CategoryInfo : InvalidOperation: (Minutes:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Property 'Manufacturer' cannot be found on this object; make sure it exists and is settable.
    At line:34 char:20
    + $props. <<<< Manufacturer=$os.Manufacturer
    + CategoryInfo : InvalidOperation: (Manufacturer:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Get-WmiObject : Cannot validate argument on parameter 'ComputerName'. The argument is null or empty. Supply an argument that is not nul
    l or empty and then try the command again.
    At line:35 char:78
    + $props.OSLevel=(Get-WmiObject Win32_OperatingSystem -computerName <<<< $props.Server).Caption
    + CategoryInfo : InvalidData: (:) [Get-WmiObject], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.GetWmiObjectCommand
    New-Object : Cannot validate argument on parameter 'Property'. The argument is null or empty. Supply an argument that is not null or em
    pty and then try the command again.
    At line:38 char:38
    + new-object psobject -Property <<<< $props
    + CategoryInfo : InvalidData: (:) [New-Object], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.NewObjectCommand
    Unable to find type [ordered]: make sure that the assembly containing this type is loaded.
    At line:13 char:25
    + $props=[ordered] <<<< @{
    + CategoryInfo : InvalidOperation: (ordered:String) [], RuntimeException
    + FullyQualifiedErrorId : TypeNotFound
    Property 'Online' cannot be found on this object; make sure it exists and is settable.
    At line:27 char:17
    + $props. <<<< Online=$true
    + CategoryInfo : InvalidOperation: (Online:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Property 'LastBootedTime' cannot be found on this object; make sure it exists and is settable.
    At line:29 char:20
    + $props. <<<< LastBootedTime=$os.ConvertToDateTime($os.Lastbootuptime)
    + CategoryInfo : InvalidOperation: (LastBootedTime:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Cannot find an overload for "op_Subtraction" and the argument count: "2".
    At line:30 char:44
    + $props.Uptime=[DateTime]::Now - <<<< $props.LastBootedTime
    + CategoryInfo : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodCountCouldNotFindBest
    Property 'Days' cannot be found on this object; make sure it exists and is settable.
    At line:31 char:20
    + $props. <<<< Days=$props.Uptime.days
    + CategoryInfo : InvalidOperation: (Days:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Property 'Hours' cannot be found on this object; make sure it exists and is settable.
    At line:32 char:20
    + $props. <<<< Hours=$props.Uptime.hours
    + CategoryInfo : InvalidOperation: (Hours:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Property 'Minutes' cannot be found on this object; make sure it exists and is settable.
    At line:33 char:20
    + $props. <<<< Minutes=$props.Uptime.minutes
    + CategoryInfo : InvalidOperation: (Minutes:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Property 'Manufacturer' cannot be found on this object; make sure it exists and is settable.
    At line:34 char:20
    + $props. <<<< Manufacturer=$os.Manufacturer
    + CategoryInfo : InvalidOperation: (Manufacturer:String) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
    Get-WmiObject : Cannot validate argument on parameter 'ComputerName'. The argument is null or empty. Supply an argument that is not nul
    l or empty and then try the command again.
    At line:35 char:78
    + $props.OSLevel=(Get-WmiObject Win32_OperatingSystem -computerName <<<< $props.Server).Caption
    + CategoryInfo : InvalidData: (:) [Get-WmiObject], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.GetWmiObjectCommand
    New-Object : Cannot validate argument on parameter 'Property'. The argument is null or empty. Supply an argument that is not null or em
    pty and then try the command again.
    At line:38 char:38
    + new-object psobject -Property <<<< $props
    + CategoryInfo : InvalidData: (:) [New-Object], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.NewObjectCommand

  • How to Generate CSV Output from JD Edwards BI Publisher

    Hi All,
    I have a report "Critical Date Report" - R15611 in JD Edwards 8.11. This report has to be generated as CSV output from BI Publisher which is embedded to JDE.
    The purpose we want use BI Publisher is to move some of the data displaying to different place in the page(ex: Move the company address from top left corner to Bottom right corner).
    In order to achieve this
    1.We created blank rtf template and upload to XML repository using P95600 application
    2.Create report definition using P95620 application
    3.Here I see the available output types as PDF,RTF,HTML,EXCEL,POWERPOINT and XML,ETEXT(GRAYED OUT)
    Which output type we can use for CSV ?
    4.Execute the report definition of the critical date report from P95620 to get the XML source
    5.This XML source will be loaded into the blank rtf template
    6.From this point no idea how to design the rtf template in order to get the CSV output.
    7.We did design and output type as excel - but the result data is not in good formatting and alignment*(Headers and footers are repeating).*
    If any one has worked on similar type of requirement,let us know how to do or send a sample XML source,rtf template and how the CSV output will be. Or any document link present in Oracle site will be helpful. Please let me know if you need more details.
    Thanks in Advance.
    Vijay

    Hi Vijay,
    For CSV output, you need an E-text template (not RTF) that's why its grayed out! You can use Excel as output type and have (No headers and footers) , then you can open the file in Excel and store it as CSV. Does not always display correctly though.
    Why are you compelled to use BI publisher? you can use the JDE standard csv output report, (as is used by most EDI systems) of course this may involve a bit of customization if you wants the fields arranged differently.
    -Domnic

  • Values for htmldb_item.text  field do not display in CSV output

    HTML DB experts,
    I have a report query with the following 2 items in the SELECT statement:
    wwv_flow_item.display_and_save(2, DOC_CD, 10) DOC_CD,
    htmldb_item.text(3, DOC_DESC, 50, 255) DOC_DESC
    I have enabled the CSV output for this report. The problem is, when I generate a csv file, only the DOC_CD (wwv_flow_item.display_and_save) displays. The values for the DOC_DESC (htmldb_item.text) do not display. What do I need to do to get the DOC_DESC to display?
    Thanks for your help.
    Message was edited by:
    [email protected]

    Items rendered using htmldb_item generate HTML tags on the form, not plain text. You are right, the CSV export excludes them.
    Your best best is to create another report region on some other page with the same query except replace all the htmldb_item() calls with regular columns i.e. make it a read-only report and use the "export: CSV" template and put up a link to this page at the bottom of your editable report (instead of the builtin CSV link). This way when you click on this link, it will generate your report and immediately offer to export it to CSV
    Hope this helps.

  • Problem in CSV Output

    when i am trying look at the csv outpt even if i am not giving the table header row in the template design it is taking some other header rows and displaying it in the output i need just the data in the csv output
    how to solve this issue
    Can you give me any idea how to proceed on this issue.
    Thank you
    Have a Nice Day.

    If some could specify solution for this, it will be great help for me.
    I ll give an example:
    if the data model contains 5 columns and if I design template with 2 columns with some aggregation function included .Then if I try to view the same report in csv format, it displays all the 5 columns from the data model without considering the template. But when I try to view the same report in different format (excel, html, pdf, etc) it is displaying as it is uploaded in the bi publisher. So I request someone to give solution for the same
    And i want add one more question to this post
    when the bi publisher report viewed in a csv format, it includes the column header as well. I want to remove these header from the csv output.
    Edited by: user12511280 on Sep 12, 2011 10:08 PM

  • Customize CSV output?

    Hi Experts,
    Is it possible to customize CSV output files via XSL?  When I specify ContentType=text/csv in a request, MII appears to ignore the StyleSheet parameter.  Is this expected behavior?
    Specifically, my issue is that I'm trying to customize the CSV output so that null string data appears as blanks, not "---".
    Thanks in advance.

    All,
    When you put that content type on the end, MII knows to look for IllumRowsetCSV.xsl and applies it. This is done behind the scenes, however you can access the system stylesheets and modify them to get the desired result. Then you can apply them as a transform to a query or a transaction.
    http://<server>:<port>/XMII/Stylesheets/IllumRowsetCSV.xsl
    Hint: Anytime you want to play with stylesheets, you can open a query > Transformation > Load,  and see what predefined XSL files that are out there. Just save (using above format) and modify and you save the time of creating one from scratch
    Regards,
    Kevin

  • Csv output has database column names instead of aliases as in template

    Hi,
    I'm trying to publish a csv report to an ftp server in a specific format and layout. The column names need to be customized. I've modified the alias name both in the data model and in the rtf layout template. But the csv still contains the data base names as in column0, column 1, etc. Does anyone know how to fix this? The html or rtf format displays the correct column names but not the csv.
    output sent:
    Column 0 Jane
    Column 1 Doe
    Column2 Female
    desired output:
    Name Jane
    Last Name Doe
    MF Female
    Edited by: user556100 on Apr 30, 2013 2:25 AM
    Edited by: user556100 on Apr 30, 2013 2:25 AM

    As far as i know CSV output will not consider any template formatting. it will basically give output of all the columns used in select statement of SQL in comma separated format.
    It is the default behavior of CSV output in bi publisher
    Guru's Correct me if i am wrong

  • CSV output is always blank

    Im having trouble with one of the reports im working on. Im allowing the user to select from 3 output formats (PDF, CSV, and Data). If i select the PDF it works perfectly (using an RTF template), and if i select DATA it also works fine and returns XML output. But if i select CSV then it comes back empty. No errors... No messages... Nothing...
    I have another report that seems to work fine, including the CSV output. This is why it seems baffling to me. The difference between those 2 reports is that the working one uses a SQL query for its data while the one that doesnt work is using a template. Since the template only contains a single query, i did take it out and tried it as a SQL Query but had the same results (blank page).
    Im at a loss for things to try. Without any feedback from Publisher, i have no idea where to go. I know that there is data available because several rows are returned with the PDF and Data outputs.
    Any suggestions and/or ideas are definitely welcome.
    Thanks
    --Brett
    PS: in case anyone is interested, here's my data template:
    <dataTemplate name="CurrCompany" description="Current Company List" dataSourceRef="iub_datasource">
    <!-- CVS Version $Revision: 1.4 $ -->
    <parameters>
         <parameter name="P_CODE" dataType="character"/>
         <parameter name="P_IND_TYPE" dataType="character"/>
         <parameter name="P_STATUS" dataType="character"/>
         <parameter name="P_ORDER_BY" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q_COMPANY">
    <![CDATA[
    select distinct TRIM(cinfo.fname || ' ' || cinfo.lname) contact_name,
    co.companyname company_name,
    co2.companyname dba_name,
    ci.address1,
    ci.address2,
    ci.address3,
    ci.city,
    sc.name state_full_name,
    sc.code state_abbreviated,
    ci.zipcode,
    ty.name company_type
    from company co,
    company co2,
    company_relationshiptype crt,
    relationshiptype rst,
    company_IndustryType cit,
    industryType it,
    companyStatus cs,
    companyInfo ci,
    Company_Companycodetype cct,
    Companycodetype ty,
    company_contact cc,
    Contacttype ct,
    Contact con,
    contactInfo cinfo,
    statecode sc
    where co.companystatusid = cs.companystatusid
    and cs.name = NVL(:P_STATUS, cs.name)
    and co.companyid = ci.companyid
    and ci.statecodeid = sc.statecodeid (+)
    and co.companyid = cit.companyid (+)
    and cit.industrytypeid = it.industrytypeid (+)
    and instr( NVL(:P_IND_TYPE, it.description ), it.description ) > 0
    and co.companyid = cct.companyid
    and cct.companycodetypeid = ty.companycodetypeid
    and instr( NVL(:P_CODE,ty.name), ty.name ) > 0
    and co.Companyid = cc.companyid
    and cc.contacttypeid = ct.contacttypeid
    and UPPER(ct.name) = 'REGULATORY'
    and cc.contactid = con.contactid
    and con.contactid = cinfo.contactid
    and co.companyid = crt.companyid (+)
    and crt.relationshiptypeid = rst.relationshiptypeid (+)
    and rst.name (+)= 'Doing Business As'
    and crt.relatedcompanyid = co2.companyid (+)
    order by UPPER(DECODE( :P_ORDER_BY, 'Name', company_name || zipcode, 'Type', company_type || company_name, 'Zipcode', zipcode || City || company_name ))
    ]]>
    </sqlStatement>
    </dataQuery>
         <dataStructure>
              <group name="G_COMPANY" source="Q_COMPANY">
              <element name="contact_name" value="contact_name"/>
              <element name="company_name" value="company_name"/>
              <element name="dba_name" value="dba_name"/>
              <element name="address1" value="address1"/>
              <element name="address2" value="address2"/>
              <element name="address3" value="address3"/>
              <element name="city" value="city"/>
              <element name="state_full_name" value="state_full_name"/>
              <element name="state_abbreviated" value="state_abbreviated"/>
              <element name="zipcode" value="zipcode"/>
              <element name="company_type" value="company_type"/>
              </group>
         </dataStructure>
    </dataTemplate>

    Yes, you wont get the csv,
    CSV is supported only if the xml is having rowset/row tags.
    Since you have your own tags G_COMPANY, as the groupings, you wont get the csv from BIP.
    So, use the query directly in BIP , it will automatically add the rowset/row tag, and csv generated is supported for that.
    even in data template it is supported if you put rowset and row tags as the group names.
    or
    you have to write the e-text template with each field separated by the comma , or desired separator.

  • CSV Output for Classic Reports 100 columns.

    Hi,
    After hours of research and several attempts, I still haven't been able to figure out a way to export a report in CSV format. I can't use an Interactive Report as the view I am displaying on the report is larger than 100 columns. Although all the columns are displayed on the report,the CSV Output link doesn't export all the columns. Can anyone help me out? I would really appreciate it.
    Thanks a lot.
    Werot.

    Were we looking at the same page?  That page shows an ORACLE PACKAGE that you can modify if need be to get what you want.  It's NOT a plugin with wrapped code..
    (You need to look for this line in the blob: The source code for the package: as_xlsx)
    Thank you,
    Tony Miller
    LuvMuffin Software

  • Csv output feature results in a "page not found" error in IE (ver 8)

    Has anyone else had issues with the csv output feature returning a "404 page not found" error when using IE version 8.0?

    Hello. I'm getting an Http 404 The webpage cannot be found" error when trying to export any APEX application's query results into Excel (Application Express 3.2.1.00.10). This was working fine before. Nothing changed with our APEX application. I've been always using I.E. Version 7.0.5730.11 with no problems. I've reset the I.E. defaults and still the problem exists. I've downloaded Mozilla Firefox and the problem does not happen. However, I would like to know why my I.E. still gets this error? Any feedback or suggestions would greatly be appreciated. Thanks for your time.

  • CSV Output from a button

    Is there any way to have the CSV Output link be a button instead of a link?

    Dwayne,
    Yes, but only if you create a copy of your report on another page. The steps are: copy your report page, on the copied page, edit the report attributes. Choose CSV as the template. Make sure there’s no other content on that page. Then create a CSV button on your original page and a branch that takes you to the copied page. When pressing the button, instead of actually taking you to that page, you should get a CSV download dialog.
    Hope this helps,
    Marc

  • CSV Output numbers

    using the CSV output functionality, numbers are exported correctly as numbers to Excel.
    I have requirement to control the format of cells in Excel so I cannot use the built-in CSV output.
    I have successfully created my own custom procedure to output to Excel. However values which are numeric e.g 7.75 when exported to Excel as text.
    The inbuilt CSV output does this correctly. I like to know how it is done that way
    Thanks

    Any suggestions/comments anyone?

Maybe you are looking for

  • How to use different iViews for variables and queries?

    Hi all! I need to use separtate iViews for storing variables and extracting queries. For example, I have one variable "Currency" for two different queries,  and I need that all of these queries (in separate iViews) would use the value of currency was

  • Appleworks 6.4 printing probs

    Sorry this is long, but the following probs have arisen at home & at work since updating to 10.4.4 & a/wx 6.4: Many of my previous template documents now only print in a sort of dark grey, although they are black on-screen, and those created since up

  • Why do I keep having an app that fails to install, after syncing with iTunes on my computer?

    One or two months ago, I purchased EA's game 'Need for Speed Most Wanted', when it was on special for $1.29 NZ. I downloaded the app onto my iPod touch (4th generation 8GB), and later synced the app with my computer. A few weeks later I deleted this

  • ITunes and Bluetooth

    I would like to know if iTunes has the ability to stream music to my stereo Bluetooth headset. I have a built-in Bluetooth card that is A2DP capable. I can get Windows Media Player 11 to stream to my Motorola BT820 headset. Please tell me how to get

  • Duplicate entry removal

    Currently the omcpany I work for runs corporate time 6. Now don't laugh, we still use netscape 4.8 and the included palm sync (Netscape Calendar Link for Palm Pilot, NCSetup v2). I have a OS 5 palm device. Once a week it seems my conduit craps out an