Using open hub to create a file on another server

Hello everyone,
I am wanting open hub to create a file, but create it on a different server (a file sharing server not associated with SAP).  Both BW and this file share server run Windows.
Can this be done using logical files  (FILE transaction) or other configuration?
I am aware of some other people posting here that send the file from open hub to DIR_HOME and then have created an OS command (SM49) to copy to the other file share server.  Also I know one could also write an ABAP to FTP the file from this location out to the file share server as well.
I was hoping that FILE transaction would allow this but so far I have not had any luck with it.
Many Thanks,
Kevin

All,
Found out that this can be done, you can send a flat file from BW to a completely different server in one step, no need for SM49 or AL11 or FTP or ABAP program in the middle.  The trick lies in the configuration in transaction FILE.
FILE transaction configuration steps:
Step 1 - Define Logical File Path - just a place holder here
Step 2 - Assignment of Physical Paths to Logical Path, here is where you enter the server & path but not a filename, for example
\\server_swvs01\SAPFILE\<SYSID>\BPC\Cust_R3_sales\<FILENAME>
Step 3 - Define Cross-client Logical File Name, here is where you specify the actual file name to be written to the file share on the other server in field "Physical file", just make sure and link this to the Local path you created in Step 1 above.  You can also use system variables in the physical file name or hard code it all.
your_file_name.csv
Hope this helps someone
Cheers,
Kevin

Similar Messages

  • Open hub error when generating file in application server

    Hi, everyone.
    I'm trying to execute an open hub destination that save the result as a file in the application server.
    The issue is: in production environment we have two application servers, XYZ is the database server, and A01 is the application server. When I direct the open hub to save file in A01 all is working fine. But when I change to save to XYZ I´m getting the following error:
    >>> Exception in Substep Start Update...
    Message detail: Could not open file "path and file" on application server
    Message no. RSBO214
    When I use transaction AL11, I can see the file there in XYZ filesystem (with data and time correspondent to execution), but I can´t view the content and size looks like be zero.
    Possible causes I already checked: authorization, disk space, SM21 logs.
    We are in SAP BW 7.31 support package 6.
    Any idea what could be the issue or where to look better?
    Thanks and regards.
    Henrique Teodoro

    Hi, there.
    Posting the resolution for this issue.
    SAP support give directions that solved the problem. No matter in which server (XYZ or A01) I logon or start a process chains, the DTP job always runs in A01 server, and it causes an error since the directory doesn´t exist in server XYZ.
    This occurs because DTP settings for background job was left blank. I follows these steps to solve the problem:
    - open DTP
    - go to "Settings for Batch Manager"
    - in "Server/Host/Group on Which Additional Processes Should Run" I picked the desired server
    - save
    After that, no matter from where I start the open hub extraction, it always runs in specified server and saves the file accordingly.
    Regards.
    Henrique Teodoro

  • Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"

    Hi all,
    We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded. 
    I understand we could use logical file for this purpose.  However we are not sure how to have the period and year to be dynamically derived in filename.
    I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename".  However i could not seem to be able to get document from the link given. 
    Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
    Many thanks and best regards,
    Victoria

    Hi,
    After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths'  then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of  physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
    however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
    hope this helps u to some extent.
    Regards

  • Unable to create a file in Application Server using OPEN DATASET stattement.

    I am unable to create a file in Application Server using the following statement.
    OPEN DATASET filename FOR OUTPUT
    IN TEXT MODE ENCODING DEFAULT
    MESSAGE msg.
    The message I'm getting is "Permission Denied". I have checked authorisation using SU53 which says "The last authorization check was successful". Please help.

    You can use following code to capture the error.
    TRY.
          OPEN DATASET filename FOR OUTPUT IN BINARY MODE MESSAGE V_MSG.
          CATCH CX_ROOT
          INTO EXCEPTION.
          CALL METHOD O_EXCEPTION ->IF_MESSAGE~GET_TEXT
            RECEIVING
            RESULT = V_MSG.
          MESSAGE v_msg
          TYPE 'E'.
    ENDTRY.
    You can capture error in v_msg.
    Following are the exceptions for the same:
    Exceptions
    Catchable Exceptions
    CX_SY_FILE_OPEN
    Cause: The file is already open.
    Runtime Error: DATASET_REOPEN
      CX_SY_CODEPAGE_CONVERTER_INIT   
    Cause: The desired conversion is not supported. (Due to specification of invalid code page or of language not supported in the conversion, with SET LOCALE LANGUAGE.)
    Runtime Error: CONVT_CODEPAGE_INIT
    CX_SY_CONVERSION_CODEPAGE
    Cause: Internal error in the conversion.
    Runtime Error: CONVT_CODEPAGE
    CX_SY_FILE_AUTHORITY
    Cause: No authorization for access to file
    Runtime Error: OPEN_DATASET_NO_AUTHORITY
    Cause: Authorization for access to this file is missing in OPEN DATASET with addition FILTER.
    Runtime Error: OPEN_PIPE_NO_AUTHORITY
      CX_SY_PIPES_NOT_SUPPORTED   
    Cause: The operating system does not support pipes.
    Runtime Error: DATASET_NO_PIPE
    CX_SY_TOO_MANY_FILES
    Cause: Maximum number of open files exceeded.
    Runtime Error: DATASET_TOO_MANY_FILES   Non-Catchable Exceptions   
    Cause: An attempt was made to open a pipe that is already open.
    Runtime Error: DATASET_PIPE_POSITION
    Hope that will help you.
    Please reward if useful.

  • How to send  Million records using  Open hub using  into my own file server

    hi
    i am using OPEN HUB process to send  6 miilion record to my own network server. is there any limitaiton how i need to go about that? my process is failing when i execute DTP openhub. i am abel to send few records to sap aplication server.
    did any body send  more than million records to aplication server out side SAP ? how to achieve this. pelase help me out..
    i am trying to send ods records into file server

    I'm glad you solved your problem.
    Generally it is nice to post how you solved your problem so that when others have a similar problem and search the archives, they can see your solution.
    Thanks

  • Importing table using Open Hub - (BODI - 1112339)

    Hi all
    We could connect to the open hub for SAP BW 7.0 hosted in a remote server . Then tried to import the tables created there. However it stops us with:
    " Error: Cannot import the metadata table xxxx.
    Parser detected an unknown data type. Please notify Customer Support. (BODI - 1112339)."
    Have you any idea why it's happening?
    Thank you.

    Hey guys
    thanks anyway iam using open hub to export data to other sources by creating a file and Ftp the same.
    some one responding to the question posted 2 yrs back..!
    anyway thanks this is resolved. Thank u
    Regards

  • Make a CSV using OPEN HUB including some nodes of a hierarchy

    Hi People:
    I have a requirement that needs to make a CSV using OPEN HUB DESTINATION in BI7. I'm taking the information of a virtual cube (SEM ).  However, I have the detail in 0CS_ITEM. In this Infobject there are some nodes that have to be displayed in the file, but this nodes are the acumulated of some 0CS_ITEM.
    My question is: Do I have to make an abap program to read de hierarchy and make manually the adittion of the acumulated and display it into the file? Is there any other way to get this target without making abap code?
    Any clue will be great
    Thanks in advanced

    Hi
    Instead of ABAP program I suggest you to create infospoke..and it will show a message in which format you want to save..
    Hope this will work..
    Kindly refer to the link given below..
    [Info spoke|http://searchsap.techtarget.com/generic/0,295582,sid21_gci1224953,00.html]
    Prasanna

  • Open hub destination problem - .csv file is empty

    Hi everyone,
    I am trying to extract data from our BW system using Open Hub Dest. to a .csv file
    DTP runs successfully means show total no. of records but when I see in AL11 then records are not in .csv file that is .csv file is empty.
    How to figure out the problem?
    Best regards
    Ahmad

    @Jagadeesh:
    if I correctly understood you, you mean to say that first I should run DTP and save to an excel file to see if it shows data or not. This i think is not possible; as when we create OHD then 'Destination Type' we can choose among 'DB table', 'table' and 'third party tool',
    so if I choose 'Table' then 'File Name' is .csv file (same name as the OHD) and can change it to .xls file
    @Arun:
    have permission to write in the folder
    Do you mean creating OH to a Database Table?
    in DTP I have a filter on a Characteristic, when its 1500 records then it works (data is in .csv file) but when 3500 records then .csv file is empty
    no error message, no log
    Regards
    Ahmad

  • Change of sign while extracting data using Open hub

    Hello All,
    We are extracting data from Info cube to a file in the application server using Open hub.
    While extracting data, if there is any negative value for the key figure, negative sign is appending on the right side of the value(Eg: "123.67-"), which is the standard behaviour but I want the sign to be on the left side of the value (Eg: "-123.67") while extracting to the file at application server.
    Could any one please let me know if there is any setting to do this change ?
    Thanks in advance

    Hi,
    Changing the SIGN position from one side of the NUMBER to the other side can happen in following ways.
    1) After the file is place in the application server. Deploy a OS SCRIPT file (for .csv) for obtaining the required changes to the required COLUMN [Basis team will have more idea on this]
    2)This is time consuming idea. well deploy a routine at the Open hub -Infospoke level.
    Regards

  • Trouble opening a just created Pages file.....error message says I need a newer version of Pages......Apple Store says I have version 5.0.......opening an older Pages file it says I have version 4.3.......can not find any way to try another upgrade to 5.0

    Trouble opening a just created Pages file.....error message says I need a newer version of Pages......Apple Store says I have version 5.0.......opening an older Pages file it says I have version 4.3.......can not find any way to try another upgrade to 5.0........please help......
    Thanks

    Personally, I would not recommend deleting/removing the iWorks 09 folder for several reasons: one is that the new versions have had several functionalities removed and until you decide that you can work with the new one and do not miss any features the older version had, I would leave the old one in place. Personally, I will not be using the new versions.
    The second reason is that you can accomplish what you want using a different approach: simply open a Get Info window of your document and choose which version of Pages you want this to open in - you can also stipulate that all docs like this are opened with whichever particular version.
    FWIW: Once you have edited an old document in the new Pages version, you can no longer open it in the older version. However, you can still export it to the old version.

  • Reports using Open Hub

    All - We are currenlty using Bex and some of the reports that the users will be generating will exceed excel limit of 65k rows. I had suggested using web reports, but when the users run large reports they are timing out. The basis team changed the time out settings multiple times but they have been of no use.  It is critical that the users are able to run these reports or atleast have them run by a BW team member. Is it possible to use open hub to run reports?

    You can download the data of your data target into CSV (or other forms) using open hub.. this will be just a flat structure with the dump of all records for the specified selection...
    In your case report may be timing out on web coz of user inactivity (idle)/ dialog time..ask your basis team to check that param..(sorry i could not remember the exact param name)

  • Create Excel file in application server but the field value is incorrect

    Hi Experts,
    i am facing a problem when create excel file in application server using OPEN DATASET command.
    the internal table have 4 field and one of those field contains 19 digit number --> ICCID.
    the code running well, successfully create EXCELfile in application server but the problem is SAP only copy exactly first 15 digit numeric only and the rest became zero 0
    Example :
    the field value in internal table is 8962118800000447654 but when i opened in the excel file the value became 8962118800000440000.
    and if i add alphabet like a8962118800000447654 then it is correct.
    is there is anything wrong with my code?
    here is my code
    CONSTANTS: c_tab TYPE abap_char1 VALUE cl_abap_char_utilities=>horizontal_tab. "Tab Char
    Data : begin of lt_zdsdmmdt00005 occurs 0,
             SERNR (18) type c,
             MSISDNl(20) type c,
             BOX1 (20) type c,
             ICCID(30) type c,
           end of lt_zdsdmmdt00005.
    data : ld_temp(100) type c.
    i_file = '/usr/sap/DM/test_excel.xls'.
    open dataset i_file for output in legacy text mode.
      loop at lt_zdsdmmdt00005.
        move lt_zdsdmmdt00005-ICCID to ld_iccid .
        concatenate lt_zdsdmmdt00005-sernr  lt_zdsdmmdt00005-MSISDN  lt_zdsdmmdt00005-BOX1 ld_iccid
        into ld_temp separated by c_tab.
        transfer ld_temp to i_file.
      endloop.
      close dataset i_file.
    Best Regard,
    Akbar.

    Hi Naveen,
    thanks for your reply,
    i already tried and the result still the same. any idea?
    Best Regard,
    Akbar.

  • Receiver-File-Adatper creates empty files on FTP-Server

    Hi experts,
    I have a problem with my IDOC-to-File-scenario. My Mapping converts IDOCs to XML-files. Then the xml-files should be send to a ftp-server in New York. but only the filename is created on the ftp-server in New York. but without any content.
    At first I tested the scenario with a ftp-server in our company. and it works. the files and the right content were created. so the scenario and the mapping are working correctly.
    Have you any idea what the problem is?
    Thanks and best regrads
    Christopher

    Dont use anonymous login. Please provide user name and password.
    Also go to adapter engine queue. There see the details description of your message. There it will specify which file got created, on which FTP server, in which folder and also how many bytes XI has transferred. If possible let me know these details.
    Also try uploading any other file to FTP.
    For this got to Command prompt.
    1. open (o) IP ADDRESS
    2. User name
    3. Password
    4. go to specified folder
    5. Use PUT command to save the file on FTP server.
    If after all these empty files is getting created then contact your system administrator and tell him to check firewall settings. Because there are few parameters which allows data transfer.
    Because if firewall problem is there then u wont be able to put a file manually on that FTP server.
    Let me know the output.
    Warm Regards,
    Gouri

  • How to create a file in the server?

    Hi,
    I'm making a webservice that has to generate a XML file, sign it using another webservice and return this XML. The problem is that i don't know how to create the file in the server throught webservice.
    I use this code in the webservice to generate the XML and after I return the XML to client in a byte[]
         static void outputDocumentToFile(Document myDocument, String path) {
            //setup this like outputDocument
              try {
                   // XMLOutputter outputter = new XMLOutputter("  ", true);
                   XMLOutputter outputter = new XMLOutputter();
                   //output to a file
                   FileWriter writer = new FileWriter(path);
                   outputter.output(myDocument, writer);
                   writer.close();
              } catch(java.io.IOException e) {
                   e.printStackTrace();
        }But the file is generated in the client-side, how can I generate the file in the server-side?
    Thanks very much.

    Well the File object doesn't create a file it's simply an abstract representation of file and directory pathnames.
    You can try something like this:
    <%
    try
    // get the path to the web server root
    // I read somewhere not to use 'getRealPath' for some reason which I
    // can't seem to remember :S Hopefull someone can enlighten us :)
    String path = application.getRealPath("/project/jsp/demo.txt");
    File file = new File(path);
    PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(file)));
    writer.println("Hello World!");
    writer.close();
    catch (Exception e)
    System.err.println(e.getMessage());
    %>
    Hope this helps :)

  • How to copy file to another server from database using FTP in oracle

    How to copy file to another server from database using FTP in oracle.
    Please do the needfaul.

    Billy  Verreynne  wrote:
    BluShadow wrote:
    Not to mention that some FTP servers can return more than one return message per operation whereas others may return one message for the same operation.I had the problem using the LIST command to determine if a file exists on the server. Cannot be determined via the FTP server's return code. Which means parsing and checking the text response from the server to the command. And this vary from server to server.
    But the basics were quite easy to code. The entire package is 500 lines, includes comments and blank lines for formatting, and supports the basic FTP client command set. Not really a complex piece of software to write - but I found that many developers seem to think that writing network socket software is complex. Not really the case...Mine's a big larger, but incorporates functionality similar to what Chris provided in his, such as being able to use SQL to query a remote file using pipelined functions, or functionality to write the results of a query directly to a remove file.
    :)

Maybe you are looking for

  • New airport extreme network very slow

    I just bought the latest AE base station dual band, but am having trouble with the speeds. We have on the network: 1 macbook pro, 1 windows pc, 2 ipads, 1 ipad mini, 1 kindle fire, 2 iphones, 2 ipods (wow we have a lot of products I just realized now

  • Adobe Reader 8 and Vista

    Can someone help me figure this out? I am using Reader 8.1 on a vista pc, and my downloads of music are showing as a pdf through my file sharing program. Therefore I cannot play or burn them, as they dl as a read only file. I cannot uninstall reader

  • Is there a way to use bpm object in jsp (java)

    hello i could see that the bpm object can be used in jsp with javascript and fuego tag. but is there a way to use bpm object with java code? thank you!

  • SB Audigy ZS and headpho

    I have some Labtech headphones from walmart...will they work with this card? I have checked all settings I know of and can't get sound thru headset. I have?tried 2 diff. sets no luck. Any ideas?

  • Snow Leopard Preview app will no longer opens/saves 'sgi' images

    Now that i'm running Snow Leopard I an unable to open of save images through Preview as sgi format. Is this another Snow Leopard change or is something broken? Anyone else had this problem?