Open hub destination to download the output file into R/3

Hi Guys,
             I have a requirement where i need to down load the data from my BW cube to R/3.For this i am using Open hub destination.
While creating the open hub destination we have option called RFC Destination(in that i have selected destination as my R/3 system).When i execute my DTP it is saying the load is successful and it is showing the no.of records transfered.
But i am not able to find where this data is getting transfered From BW cube to R/3 system using open hub.

Hi Friends,
I have one Query on WDJ. Here I have two requirements.
I have done click on u201CExport Excelu201D Button that data was download into Excel file Now my requirement is click on Save Button that file will save into (/exchange/CED) this path of R/3 System.
CED -
>is R/3 System ID
Under System id we can save this file.
Here EP Server and R/3 Servers in Diff Systems.
I was write codeing
InputStream text =      null;
     int temp = 0;
     try
     File file =      new File(wdContext.currentContextElement().getResource().getResourceName().toString());
//       String File = "abc.xls";
//       String file = "anat" + ".xls";
     wdComponentAPI.getMessageManager().reportSuccess("File::"+file);
     FileOutputStream op =      new FileOutputStream(file);
//       FileOutputStream op = new FileOutputStream("D://usr//sap//BPE//"+file);
//       FileOutputStream op = new FileOutputStream("D://KumarDev-BackUp//"+file);
     wdComponentAPI.getMessageManager().reportSuccess("op::"+op);
     if (wdContext.currentContextElement().getResource()!= null)
     text = wdContext.currentContextElement().getResource().read(false);
     while((temp=text.read())!= -1)
     op.write(temp);
     op.flush();
     op.close();
//        path = file.getAbsolutePath();
     path =      "/exchange/CED/"+file;
     wdComponentAPI.getMessageManager().reportSuccess("path:"+path);
     catch(Exception ex)
          wdComponentAPI.getMessageManager().reportSuccess("ex.printStackTrace()");
My Req is that file will saved in this path (path =      "/exchange/CED/"+file; )
Regards
Vijay Kalluri

Similar Messages

  • Help - Downloading the par file into NWDS

    Hi,
    Can anyone please tell me how to download the par file in NWDS to customize iviews.
    What is the pre-requisites?
    Is there any step by step procedure available to download the EP iViews and put our codes into that.
    Regards,
    Nirmal

    Hi Nirmal
    You can find all pars at this location :
    <Drive>:/usr/sap/<SID>/JC<Instance number>/j2ee/cluster/server<XX>/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/deployment/
    Reneme selected par name (remove .bak extension). And than follow :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/96/df7f409cd50a1ae10000000a155106/frameset.htm
    Regards
    Jakub Krecicki

  • Downloaded the output file for bridge, but still can't find output option in bridge?

    I bought photo shop for a photography class and was told I needed to install the output plug-in in order to make a PDF file for the class assignments. I followed the steps and put it in the correct folder but it still isn't showing up as an option when I go to change my workspace. This is getting aggravating.

    Thanks Kirk...found it buried in Edit, Preferences.

  • Open Hub destinations

    I am using open hub destinations to transfer the cube data into database tables in BI.During activation of open hub the database tables with names /BIC/OH* are created. I am facing problem with the reference fields associated with this table.It is taking the field name itself as the reference field for Quantity and currency fields.Suppose I have a field CRM_NETVAM in table, the reference field shown for that in table is CRM_NETVAM only.This is the problem, so it wo'nt allow us to activate the databse table and ulltimately will be cause of failure of the open hub functionality.
    I need quick help for this and will give full points to anything which can help me out in solving this.

    Hello,
    Open hub service is to distibute data from BI system to non SAP systems. In open hub service for data export from BI system to non SAP system the central object is Infospoke and within infospoke BI Objects acts as open hub data source  from which data is extracted in full and delta mode and flat files and database tables acts as open hub destinations basically the target system into which data is transferred and data can be transferred using Business Add In (BADI)
    Please check this link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/c5/03853c01c89d7ce10000000a11405a/frameset.htm
    Hope it helps.
    Regards,
    Mona

  • Open Hub Destination with Flat File - Structure file is not correct

    Using the new concept for Open Hub destination (NOT an InfoSpoke).
    Output is to a Flat File. Remember that when output is to a flat file 2 files are generated: the output file and a structure file (S_<name of output file>.CSV)
    The Output file structure corresponds to the structure defined in the Open Hub destination.
    However, the S_ (structure) file does not reflect the proper structure. The S_ file lists all fields sorted in alphabetical order based on the field name, instead of listing all fields in the correct order that they appear in the output file.
    I have not found any settings that I can modify for the S_ file. When using InfoSpokes the S_ file is correct and I do not have to do anything.
    The issue is that the S_ file cannot be used to describe the output file. This is a problem.
    Anyone knows a solution to this issue? The goal is to get the S_ file to reflect the proper structure.
    I could not find any Notes on this. Please do not send general help links, this is a specific question.
    Thank you all for your support.

    Hi,
    However, the S_ (structure) file does not reflect the proper structure. The S_ file lists all fields sorted in alphabetical order based on the field name, instead of listing all fields in the correct order that they appear in the output file.
    As I know and checked this is not the case. The S_ file has the fields in the order of infospoke object sequence ( and in transformation tab, source structure).
    I would suggest you to control it again.
    Derya

  • Open Hub Destination - csv files

    Hi all,
    I nedd to send information through Open Hub Destination from a cube to a File in a server. But the Open Hub Destination is originating 2 csv files instead of 1: one of the files has just the name of the fields that will be in the columns and the other file only the data in the columns.
    There is an alternative to generate through Open Hub Destination, only one file, with the headers in the columns?
    Can you explain to me how to do it?
    There are other options to generate csv files, automaticaly from cubes,and send them to other applications?
    Thanks a lot.
    Regards.
    Elisabete Duarte

    Hi,
    To send information from a cube to applicatin server thru OHS,
    two files will be formed while using OHS. One which will be saved inthe aplication server and for other u should give the path. For downloadin the file to the applc server, in the  destination tab, select applcn server option and transform it
    Hopeit helps
    Cheers
    Raj
    Message was edited by:
            Raj

  • Issue for DTP from DSO to open hub destination

    Hello Gurus,
            I have a issue for DTP from DSO to open hub destination, long text for error in the monitor is as follows:
              " Could not open file
    SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr_2 on application server"
              " Error while updating to target ZFIGLH03 (type Open Hub Destination)     "
          for open hub destination, I check the configure for logical file name , which is "
    SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr",
    I am wondering where that file " 
    SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr_2" in the error message comes from?
    Many thanks,

    Hi
    You do not need to create a file in application server. It will be created automatically.
    But if you have defined a logical file name in tcode FILE and used that in OHD and if it is not correct then it will show a conflict. Check this out.

  • Need a code for open hub destination

    Hi Experts,
    I have a requirement on open hub destination, as we are working on FI datasources,
    while using open hub destination, it will create two files. one is structure file and another is header file,
    nw my client is asking us to combine these both files into a same file while using open hub destination..
    could you please explain me hw to achieve this situation
    plz share the CODE ...
    Thanks in advance !!!!
    Regards
    sinu reddy

    ghhyh

  • Open Hub: Using Infoset as the source.

    I found SAP documentation indicating that an INFOSET can be used as a source to a OPEN HUB. See  below.
    Structure
    The open hub destination contains all the information about a data target: the type of destination, the name of the flat file or database table and its properties, and the field list and its properties.
    BI objects such as InfoCubes, DataStore objects, InfoObjects (attributes or texts), and InfoSets can function as open hub data sources. Note that DataSources may not be used as the source.
    My question is When creating the Open Hub Destination in the Template section; What Object Type do I select for an INFOSET? I do not see an INFOSET as a choice.
    We are BI 7.0 NewtWeaver 2004s.
    Thanks for your assistance and expertise.
    Den

    Sure,
    this is available for over 3 years, now.
    Best,
    Tobias

  • Open Hub Destination transports

    Hi Experts..
    We have crated Open Hub destinations to pull data from ODS to DB table in BI 7.0. But while transport the transformations for OHD are failing with transformation becoming inactive with error messageu201D Target ODSO ZODS*** does not exist" But the ODS is present in QA system and is in active version.
    So can any one pls help me to know the proper sequence for Open Hub Destination transport and the necessary objects to be captured in the request? Currently I had captured OHD, transformation and DTP in the same request.
    <removed by moderator>
    Regards,
    Umesh.
    Edited by: Siegfried Szameitat on Jan 16, 2009 11:57 AM

    Send the OHD in one request, transformations in one request, then DTP in another request.
    When club transformations & DTP together it fails in my experience.

  • SAP BI 7.0 to SAP PI to FTP and with Open Hub Destination ...Help!!!!

    Dear SCN Experts,
    I am currently working on scenario where I have a requirement to push data from SAP BI 7.0 to SAP PI 7.
    And I am using Client proxy for SAP BI to send the data from BI tables to SAP PI and then to write to FTP address.
    Now the challenge I am facing is the ABAP Proxy how to use it with Process Chain and also I am having Open hub destination created for the same.(Specifically with the new version i.e. 7.0)
    Can you atleast make me understand what are the steps involved in this for Client Proxy, Process Chaing, How will proxy trigger and other regarding the same.
    I have searched SDN but got the document having older versions in it. Which doesn't serve the purpose.
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

    Hi Michal,
    Thanks for the reply buddy.
    I know that we can run the scheduled report for the proxy to fetch the report. But the client requirement is to use process chain, Open hub destination which fetches data from the ODS to Ztable created.
    We need to fetch that data from the table via our proxy. I am familiar with that report related method.
    I have one document using the same method but is using Infospoke(which is now obsolete) so have to OHD and also some of the proxy of XI's older version. So is not helping me out.
    Please do the needful. Or can you send me some sample scenario like this with screen shots. It will be a great help.
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

  • Problem in transporting Open Hub destination

    Hi,
    I have a open hub destination. The destination is a database table. When i try to  transport the open hub destination to staging, the transport fails saying "Unable to activate table /BIC/OHXXX" . What could be the reason ?
    Thanks,
    Satya

    Hi Satya,
    I have exactly the same problem. The reason why the table could not be activated is because the referenced fields of the open hub table are wrong. Unfortunately I do not know at the moment why this is done. It would be great if could post the solution if you solved the problem. I will keep you informed...
    Thanks,
    Thomas

  • Help required for Creation of process chain for Open hub destination(table)

    Hi Experts,
    I am working on creating process chain for the open hub destination which is targeting data transfer into Table. Which is then push to SAP PI.
    2.) Steps to create a process chain for OHD????? Not knowing and even after that
    3.) What are the steps for Pushing it to PI (I mean we have generated client proxy also) But need to know ABAP related to trigger process chain
    please need your expertise and knowledge. Well atleast with the point 2 I need BI experts help...
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

    Hi Gaurav,
    Creating Process chain for OHD.
    1. Go to RSPC-> Create a astart variant.
    2. Click on process typesin the menu. Fourth from the left. Under this go to LOAD PROCESSES AND POST PROCESSING option.
    3. The fifth option is "DATA EXPORT INTO EXTERNAL SYSTEMS". Click on that.
    4. Click on F4 and choose your infospoke name.
    5. Press the RIGHT button.(if it asks for variant, create a new variant in the same small window besideswritting bar).
    6. Join the START process and the 2nd process via dragging.
    7. Now add your required other processes.
    The general process chain processes are :
    1. Start.
    2. Delete Indexes (if data loaded to cube).
    3. Load process.
    4. Delete duplicate request (if it is a full load in cube).
    5. Create Indexes.
    Hope it helps.
    Preet

  • To view the data in open hub destination

    Hi all,
    Can anyone help me out how to check the data in open hub destination file.
    These are the details:
    Destination: File
    Type of file : Logical file
    Application Server file name : XXXXXXX
    If it was file name, i know it has to be checked in AL11 with directory name and file name.
    Here its a logical file name. Which is the directory corresponding to this?
    Thanks,
    tinkugeo

    Hi,
    Question: "Are all the logical files are saved in the home directory DIR_HOME?
                      Please correct me if I am wrong"
    Ans: When you create an Open hub destination using Physical file, the file will get created in DIR_HOME directory (by default) in AL11
    And for locating the physical path in AL11. Go through the below link. it gives ans to all your ques
    http://bx.businessweek.com/sap/view?url=http%3A%2F%2Fweblogs.sdn.sap.com%2Fpub%2Fwlg%2F17370
    Edited by: kumkum basu on May 20, 2010 8:20 AM

  • Help~open hub destination file is not open error!

    Hi all,
    I met a problem, i tried several times and all got error messages.
    It is about open hub destination, i want to use it to send some files to sever, but when i execute the DTP, i got system dump:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Runtime Errors         DATASET_NOT_OPEN
    Except.                CX_SY_FILE_OPEN_MODE
    Date and Time          26.10.2011 01:18:09
    Short text
        File "I:\usr\sap\Q26\DVEBMGS11\work\ZSS_O0021.CSV" is not open.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_RSB_FILE_APPLSRV===========CP" had to
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I have two open hub, one is fine ,but the rest one always get this error. Help..........

    Thanks! I checked my ID and found that i have the role to access this folder.
    Then i found that our Q system have two servers, A and B, for open hub i should run my process chain in system B, but i forgot that, so i got error. After i changed to sever B, i re-active my open hub and DTP, then re-fresh the process chain and re-executed it again, the error disappeared.

Maybe you are looking for