Broadcast Bex queries in CSV format

Hi,
Is there a way to broadcast Bex queries in "CSV" format? Please do not confuse this with the "Export to CSV" option. I need to be able to set up the job periodically to send the reports in CSV format. Any ideas...
Thanks

Hi Tanu,
You can do it by using RSCRM_BAPI tcode. Please see below thread for details.
[Broadcasting Bex Query & Web template in CSV format possible???;
Hope it helps you.
Regards,
Nikhil Joy

Similar Messages

  • Broadcasting BEX Queries

    Hi Expert,
    I am not  getting  infoprovider name , while defining event " when infoprovider data change" for broadcasting email WAD or query. How to get cube/Multprovider name for query/Report.
    Regards,
    Anand Mehrotra.

    Hi,
    Yes i did , but in popup i am getting infoprovider name .
    There are two option
    1. when infoprovider change or predefined time
    2. when data change in ?
    it should display name infoprovider on which query is created.
    Regards,
    Anand Mehrotra.

  • Information broadcasting in CSV format. Unwanted Headers

    Hi,
    I have setup the Information Broadcaster to mail CSV formats of BEx Queries. It is working perfectly , however it also gives me the Query name and Date and Time Stamp when the Data was last updated. How can I get rid of these unwanted information.
    e.g
    Sales Query
    Last Data Update:
    04.08.2008 14:33:47
    CustomerNo.     ProdGrp     ProdCode     AgentNo.     InvNo.     Inv/Cred     QtyOrd     QtyDsp     Nett     ListPr     Cost     Disc     InvDate
    100000130     #     124143132     #     91000192     I     1     12     4.89     0.71     0.32     42.47     01.08.2008
    100000130     #     25986606091     #     91000313     I     1     13     2.3     1.18     0.13     84.98     01.08.2008
    100000130     #     8204469     #     91000193     I     1     11     11.05     1     0.14     0     01.08.2008
    100000130     #     8868732     #     91000292     I     7     55     46.77     0.85     0.04     0     01.08.2008
    Please help me out if anybody has faced and resolved this issue.
    Thanks and Regards,
    Shashank

    In Bex under the Business Explorer / Tools, you should have a Distribute option to distribute workbooks.  This should open the web browser based Information Broadcasting inerface which allows you to send a wkbk immediately, or you can schedule the execution and distribution.
    I believe with 3.5 SP15 there is an option to distribute as a csv file.  I believe the Note has you add an entry to a table that adds csv as an output option, but I think the technical functionality actually exists before SP15.

  • Can we save our BEX queries in tab-delimitted format ?

    Hi ALL
    Can we save our BEX queries in tab-delimitted format (instead of comma-delimited)?
    Please let me know for further clarifications
    Regards
    Bhagesh

    hi bhagesh:
    You mentioned:
    For eg. We can save .CSV file of BEx query extracts with the help of reporting agent with the help of background schduling.
    Can u tell me procedure for this ? how can i get query output in .csv format using reporting agent and with and without option of schedule it in background.
    I will come back and assign the points to the answer.
    thank you,
    K Smith

  • Schedule report results to be stored on a server in Excel or .CSV format

    Hi All,
    there is a requirement to schedule the report results to be saved in Excel or .CSV format and the file to be stored at a server location.
    Could anyone please advise how we can achieve this if its possible at all?
    Many thanks!

    This is possible using BEx Information Broadcasting.
    After Opening the Query in Query Designer, Click on Query -> Publish -> BEx Broadcaster.
    There is plenty of help on SCN Downloads / Articles on Information Broadcasting that will walk you step by step.
    Here are a few links:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/40811e9c-4edd-2a10-06bd-c41e475f607a
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00172934-f3c1-2b10-728a-c42a0fc28c61
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00d91245-1f5d-2a10-c795-8394960f56cc
    Just search in SCN for Information Broadcasting and you will get plenty of help.
    Good Luck.
    MP.

  • Saving a report with two  query providers into .csv format

    Hi,
    I have developed a webi report which has two query providers. I have linked the objects from these two queries at the report level using merged dimensions. the report is running fine. When I save it in EXCEL or PDF it saves the same report, but when I try to save the report in .CSV format, the output of the second query provided is getting appened at the bottom of the report.
    Has anyone encountered similar problem is so whats the solution for it.
    For me business wants the report to be saved as .csv only as it acts as a source file to other application.

    Hi
    please take a look at the explanation area in the following note
    https://css.wdf.sap.corp/sap/support/notes/1417382
    When saving Web Intelligence document as Excel format, the result is saved based on the report design.
    When saving Web Intelligence document as CSV format, all data in the Data Provider are saved.
    I believe that the behaviour you described is by design so there is not much to do about it. You can open a case by SAP support though asking if this changed in a later service pack (actual service pack version for XI R2 is SP 6).
    Regards,
    Stratos

  • Help regarding integrating BEx queries onto portal

    Hi Friends,
    CAn anyone please help me in the steps and process required to follow for integrating the bex queries into portal.
    we have queries developed in bex analyser , the users want to access the reports via portal, for this to be acheived  do we need to integrate or develope the report templates in WAD and then integrate into portal or we can directly integrate these bex queries onto portal, your response and help is highly solicited, many thanks in advance!
    Regards
    Srinivas P
    Cell:09676771313

    Assuming you are using BW 7 objects. If you are satisfied with the formatting provided by the standard template (see transaction spro thread SAP Netweaver / business intelligence / settings for reporting and analysis / BEx Web / set standard web templates and read the accompanying documentation) you don't have to create individual templates.
    Simply create an iview of type Bex Web Application iView (sap netweaver 7 format) and specify "query=technical_name_of_query" as property value for the iview-property "Query-String Bex Web Application".
    If you want to use individual templates the property value would be at least "template=yourtemplate" (if queryname is provided as dataprovider in the wad-template) or "template=yourtemplate&query=yourquery".
    hth
    Klaus

  • How to create a Macro on the BEx Queries

    Hi,
    I got a business case where i need to create a Macro on a particular report.
    That Macro should run on that particular report and it should save into .CSV format and fill the data automatically and that file i need to send to client workstation.
    I got a suggestion that Macros can be done only in BEx Analyzer not in the browser.
    Kindly help me in this...
    Thanks & Regards
    Jagannadha Raju

    Yes, macros can only be created if you are working with a report in the Bex Analyzer. For web reports you may need to look for some javascript function to accomplish your reqt.
    Hope this helps...

  • Send Query Results to Application server in CSV format

    HI All,
    I need to schedule a query on a regular basis and send the results to Apllication server in csv format(rows will be more than 65,000).
    I tried RSCRM_BAPI transaction but i think it has lot of restrictions like, cannot use texts, calculated keyfigures, etc. so cannot use this.
    cannot use Infospoke since there are calculated keyfigures in the query.
    Information Broadcasting is not setup in my system
    Tried WRITEQUERY but it only send the results to Spool, special handling is needed to move the data from spool to Appl. server.
    is there any other way i can achive this, is it even possible?
    Thanks,
    S.B.

    I dont know if this helps.
    1)You can save the file as a normal CSV file on your desktop.
    2) and Based on the ABAP code using ( OPEN DATASET and CLOSE DATASET  statements) You can put your file into the application server
    but i am not sure if you can use this methodilogy for an automated and continous process
    Regards
    satish

  • Filling OLAP Cache for 3 Bex queries

    Dear Experts,
    Here, We would required to fill the OLAP cache for four bex queries using the Broadcaster Settings.
    can any one please suggest for the following.
    how to schedule the OLAP chache filling for 3 different queries at a time. do we need to perform this activity individually for three times for three different queries or can we club three queries and do schedule using only one varaint.
    Request you to suggests the steps for performing this activity
    Thanks in advance,
    Mannu

    Hey,
    this may be useful for you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4?quicklink=index&overridelayout=true
    Regards,
    Kiran

  • Runtime error in KEFC Transaction while uploading CSV format file

    Hi Experts,
    This is regarding Runtime Error while executing the KEFC transaction in R3D.
    It is working successfully while uploading the file in Text format. But there is run time error while uploading in CSV format.
    It showing "The transfer was terminated.However,content errors occured" .
    Please provide the solution.
    Thanks in advance.
    Regards,
    Priya.

    Hi,
    To upload a CSV file it is used FM:
    CALL FUNCTION 'TEXT_CONVERT_CSV_TO_SAP'
    EXPORTING
    i_field_seperator = ';'
    I_LINE_HEADER =
    i_tab_raw_data = lt_file
    i_filename = p_filename
    TABLES
    i_tab_converted_data = p_table
    EXCEPTIONS
    conversion_failed = 1
    OTHERS = 2
    Please check what separetor this fm and your file are using. It should be the same.
    Regards,
    Fernando

  • Unable to save the data in a .CSV format

    Hi All,
    I am trying to pull some data with the help of the sql query from the database and then trying to save this string of data in csv file by using the following code as shown below.The problem iam facing here is that while the file Save as window opens stating to be saved as .CSV format but when i try to save it ,it doesnt givme a csv option ,only html option appears.Can any one help me on this..,,,,,,,,,,,,?
    <%@include file="jtfincl.jsp" %>
    <%@page session="false" %>
    <%@page import="java.io.PrintWriter"%>
    <%@page import="oracle.apps.ibe.util.RequestCtx"%>
    <%@page import="oracle.apps.iri.iribe.postsales.IrIbeOrderSearch"%>
    <%@page import="oracle.apps.ibe.util.*" %>
    <%@page import="java.io.IOException" %>
    <%
    pageContext.setAttribute("_securePage", "true", PageContext.REQUEST_SCOPE);
    pageContext.setAttribute("_guestNotAllowed", "true", PageContext.REQUEST_SCOPE);
    pageContext.setAttribute("_unapprovedNotAllowed", "true", PageContext.REQUEST_SCOPE);
    RequestCtx rCtx = RequestCtx.start(request, response);
    int status = Session.checkContextValues(request, response);
    if(RequestCtx.userIsAnonymous()) {
    signin(out, pageContext, request, response, false);
    return;
    // Set the response type which in this case will be a .csv file
    response.setContentType("application/csv");
    response.setHeader("Content-disposition","attachment;filename=SearchResults.csv");
    String queryStartDate = request.getParameter("queryStartDate");
    String queryEndDate = request.getParameter("queryEndDate");
    String queryField = request.getParameter("queryField");
    String queryOperator = request.getParameter("queryOperator");
    String queryValue = request.getParameter("queryValue");
    String queryOrderByField = request.getParameter("queryOrderByField");
    String showOpenOrdersOnly = request.getParameter("showOpenOrdersOnly");
    IrIbeOrderSearch orderSearch = new IrIbeOrderSearch(
    queryStartDate,
    queryEndDate,
    queryField,
    queryOperator,
    queryValue,
    queryOrderByField,
    showOpenOrdersOnly
    orderSearch.initialise();
    java.util.ArrayList results = orderSearch.getItemTrackerSearchResults();
         out.println("The result array size is======="+results.size()) ;
    // Output the results as the page resonse as a csv file
         try
    write(results, response.getWriter());
         catch(exception e)
         out.println("The stack trace is======="+e.printStackTrace()) ;
         if(IBE_logEnabled) IBEUtil.log("iribeCOtdOrdSearchExport.jsp","Inside the exception"+e.toString);
    %>
    <%!
    * This method will take a ResultSet and JspWriter object and print out the details of the ResultSet as a
    * comma seperated value file.
    * @param results
    * @param writer
    public static void write(java.util.ArrayList results, PrintWriter writer) {
    if(results == null || results.size() == 0) {
    writer.print("No Data Available");
    return;
    String [] data = null;
    String output = "";
              if(IBE_logEnabled) IBEUtil.log("iribeCOtdOrdSearchExport.jsp","Inside the write method");
    for(int i = 0; i < results.size(); i++) {
    data = (String []) results.get(i);
    output = "";
    for(int j = 0; j < data.length; j++) {
    // If its not the last column
    if(j != data.length - 1) {
    output += formatField(data[j]) + ",";
    // If it is the last column
    } else {
    output += formatField(data[j]);
    writer.println(output);
    writer.flush();
    * Format a string value so that it becomes a valid field in a .csv file. This involves making sure that any null
    * data is treated as an empty string, that any quotes are padded and if the file contains any commas that the
    * field is surrounded by quotes.
    * @param value
    private static String formatField(String value) {
    String output = null;
    // Check for null values
    if(value == null) {
    output = "";
    } else {
    output = value;
    // Pad any existing quotes
    output = output.replaceAll("\"", "\"\"");
    // If there is a space or commas then add surrounding quotes
    if(output.startsWith(" ") || output.endsWith(" ") || output.indexOf(",") != -1) {
    output = "\"" + output + "\"";
    return output;
    %>
    <%!
    void signin(
    JspWriter out,
    PageContext pageContext,
    HttpServletRequest request,
    HttpServletResponse response,
    boolean reauth
    ) throws IOException, SQLException, FrameworkException {
    String query = IBEUtil.passQueryString(request, null).toString();
    String uri = request.getRequestURI();
    String targetJsp = uri.substring(uri.lastIndexOf("/") + 1);
    String ref = null;
    if ("true".equals(pageContext.getAttribute("_securePage", PageContext.REQUEST_SCOPE))) {
    ref = RequestCtx.getSecureFormAction(targetJsp);
    } else {
    ref = RequestCtx.getNonSecureFormAction(targetJsp);
    if(!query.equals("")) {
    ref = oracle.apps.jtf.util.Utils.encode(ref + "?" + query);
    String redirect = RequestCtx.getSecureURL("ibeCAcpSSOLogin.jsp", "ref=" + ref + (reauth ? "&reauth=t" : ""));
    // don't add the ref if the session expired and restarted
    RequestCtx rCtx = RequestCtx.getRequestCtx();
    if(rCtx.startRequestException!=null) {
    redirect = RequestCtx.getSecureURL("ibeCAcpSSOLogin.jsp", "ibe_se=t"+(reauth ? "&reauth=t" : ""));
    RequestCtx.end(request);
    response.sendRedirect(redirect);
    regds
    manish
    %>

    This would occur if you were using IE and the requested URL doesn't contain the filename part. The real web browsers would pick up the filename from the response header flawlessly.
    Having said that, this kind of logic doesn't belong in a JSP. Use Java classes (Servlet, Bean, DAO). Further on, JSP/Servlet related questions should be posted in the JSP/Servlet forum.

  • I'm trying to find out how to export my apple contacts to the Salesforce software and they need to be in a csv format and I don't know if this is possible and how to do it if it is?

    I'm trying to find out how to export my apple contacts to the Salesforce software and they need to be in a csv format and I don't know if this is possible and how to do it if it is?

    I think there are third-party programs which will do that, but you can also do it with Automator:
    See the links in my post, here: https://discussions.apple.com/message/22390873#22390873
    The file or clipboard contents will be in Tab Separated vars, so you'll have to open with a spreadsheet program and save as Comma Separated Vars format.

  • EXPORT to text or CSV format from a form

    Dear all,
    Could you please help me to export the data from my form to a text file or to a csv format. I am very new to forms.
    i need to export the data from the oracle form to a text file or CSV file format.
    I had created form named as form1.
    In form1 i have a block named as block1. In this block i have 4fields as field1, field2, field3, field4. using a tabe1 which has the same 4fields.
    This form is in tabular form.
    Example:
    In the form i have data like as below and i got this data from table1. I used a execute query to get the data from the table into this form.
    field1 field2 field3 field4
    raj 1234 abc 510
    dil 777 hi 787
    Now my requirement is i need to export this data into a file, when i click on a button(Export) it has to browse for a folder on my desktop and i have to name the filename to save the data.
    Please help me.
    Thanks in advance.

    This should be almost same as in your previous task for import data.
    Try this:
    DECLARE
       v_file_name   VARCHAR2 (100);
       v_file        client_text_io.file_type;  
       v_delimiter VARCHAR2(1) := ',';
    BEGIN
       v_file_name := webutil_file.file_save_dialog;
       v_file := client_text_io.fopen (v_file_name, 'w');
       GO_BLOCK ('block1');  
       FIRST_RECORD;
       LOOP
            client_text_io.PUT_LINE(v_file, :block1.field1||v_delimiter||:BLOCK1.field2||v_delimiter||:BLOCK1.field3||v_delimiter||:BLOCK1.field4);
        IF :SYSTEM.LAST_RECORD = 'TRUE' THEN
             EXIT;
        END IF;     
        NEXT_RECORD;
       END LOOP;
       client_text_io.fclose (v_file);
    END;

  • How to change the default structure when exporting data in CSV format?

    Hello,
    can some one tell us how to change the default structure in CRM when exporting lists in CSV format (with Option "Always use unformatted list format (CSV) for download" ? Because we want to add a new structure for our own -is it possible ?
    If it is possible where can we find these structure ? In the blueprint customizing ?
    Thank you very much,
    Christian

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

Maybe you are looking for

  • All Applications and Finder Crashing after Leopard Update!!

    I've tried everything. See previous question... http://discussions.apple.com/thread.jspa?threadID=1378080&tstart=0 Now the same problems keep arising... 2/5/08 1:09:36 AM [0x0-0xf00f].com.apple.Safari[213] Safari(213,0xa04da074) malloc: * error for o

  • Frozen 5G iPod after updating

    After purchasing an album from iTunes, I was advised to update to iTunes 7.0, and subsequently to a newer iPod software. On completion, my iPod 'froze'. Every time I reset it, it behaves normally for approximately 20 seconds then freezes again. I've

  • Reminders in Mavericks

    Im surprised that Reminders was left unchanged in Mavericks. Shouldnt it be updated to be more like it is in iCloud or on the iPad. It still looks pretty old-school. Whats the deal?

  • Period for Setup table Fill

    Hi Experts, Is there anyway of giving time ranges for filling up sales order & billing document setup tables? LIke, i want to fillup setup table for sales order for the month of Jun to August 2007.....can do this?how? Any help is appreciated. Rgrds,

  • HT1449 How can I move my music from my iPod series 6 to my new iPod series 7

    I have purchased a new iPod nano series 7.  How can I transfer the music from my old nano series 6 to the new one?