Archiving object in open hub with logical file name

Hello,
I am trying to use an open hub with a logical file name.
By the SAP help looks like you have to use/define a archiving object:
http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
Steps 1 and 2 of "Defining Logical Path and File Names" are done and tested:
       1.      Definition of the logical path name
       2.      Definition of the logical file name
       3.      Assignment of the logical fine name for the archiving object
But is it not clear to me if an archiving object is suppose to be used, which one then?,  or if you have to create a new archiving object, with which characteristics?
Any help welcome,
Alberto.

Alberto,
Can you explain what you are trying to do. Are you trying to archive data from a BI object or are you trying to export data out of a BI object using open hub.

Similar Messages

  • Infpackage with logical file name having current year and month

    Hello all,
    I am using the FILE transaction to maintain the logical file name for infopackage loads in BW.This logicalfile name is to be assigned to physical csv file in AL11 directory.
    This csv  file would be having the current month and date at the end of the name for e.g for the month of April 2008,the file name would be say xx_200804.csv.I wanted to know if by using the palceholder  <YEAR><MONTH> in the physical file name ,would the current month date and month be automatically concatenated at the end of file name ?Has anyone used this option before?

    yes it does work,i tried out finally and the system picks current month and year

  • Open dataset with Chinese file name does not work

    HI Guru,
       I have an issue now, when I try to open dataset '/test/file.txt'  it works, but when I tried to open a file name contains Chinese file name like open dataset '/test/文件.txt'  , it failed again and again, no matter in text mode or legacy text mode  or binary mode also I tried encodings.    I need to read/write files to application server.  the backend OS is HP Unix 11.
      thank you in advance.

    Moving this thread from WDA to ABAP General becuase it has nothing to do with WDA.  Please in the future pick your forum appropriately.

  • How to use variables in logical file name definition FILE

    Hi Friends,
    How can I use variables in logical file name definition (tcode FILE). The requirement is to pass value in these variables (based on selection criteria), and use it as part of file name. You quick response will be highly appreciated.
    Thanks,
    Kuldeep Joshi

    Hi,
    Thanks for your reply.
    In detail, the scenario is like I have created an Open Hub. Its working fine. Now I am planning to execute this open hub using process chain and for that I have to define the file output on application server along with logical file name (using tcode FILE). The logical file name contains two variables (defined in FILE) i.e. z_dept and z_fiscperiod.
    Filter value in DTP ( I will read these values from Ztable using routine )
    Dept = R&D
    Fisc period = 004/2009
    Variables defined in tcode FILE:
    z_dept for Dept
    z_fiscperiod for Fiscal Period
    Logical file name : <z_dept>_<z_fiscperiod>.csv
    Now the challenge is to populate filter values in these two variables so that the filter value can be used for naming the output file.
    My last option is to read/update SAP standard table used for storing variable values (i.e. PARAMVALUE)
    Please let me know if you can help me in this issue OR is there any standard method/FM to populate value in these variables
    Thanks,
    Kuldeep

  • Problem with open hub with application server

    Hello...
    I have a problem.
    I have bw 7.0 ad im usin Open Hub.
    When I configured the open hub in my development environment, In the destination tab i try two options
    Option 1.
    I use the application server, then i choose my server (the development server).
    But when i try to transport I get the follow mistake:
    Application sevier sapnwd01 does not exist (sapnwd01 is my development server)
    I now I can change the table  RSBFILE , or made an abap program.
    The problem is, i need to pass the transport withouts errors to quality, because i need to transport to my production server.
    And in production server I don't have the permission to change tables.
    Option 2.
    Using a logical file name (this logical file name, i used for other process and its working correctly)
    But when i try to transport I get the follow mistake:
    Unpermitted name   for a file .
    I hope you can help me!!
    Thanks in advance

    Hi Sharayu Kumatkar  
    Sorry for the delay, I had been problems with my access :$
    I check the AL11, there are a lot of directories, so I dont know which its the one
    My logicla path is ZAPD_INVERSIONES
    My phisical path is /netweaver/bw/fuentes/miig/altamira/
    My logical path Definition is :
    Logical file ZAPD_INVERSIONES2
    Physical file  ExtraccionInversiones.txt
    Data Format ASC
    Aplicat. Area FI
    Logical Path ZAPD_INVERSIONES
    In definition of variable
    FILENAME Test.txt
    I get this messaje error while Im trying to transport
    Start of the after-import method RS_DEST_AFTER_IMPORT for object type(s) DEST (Modo activación)
    Unpermitted name   for a file
    Thanks to help me!!

  • Archiving : Change of Logical File Name & physical path

    Hello friends,
    We are doing archiving for a Z* archiving object.
    We run a write job(not delete job till now) for this archiving object and it created archive files in .../SYS/GLOBAL directory as was expected from settings of Logical File Name and hence physical path corresponding to it. So far no problem..
    Now, requirement is to change this path and for this i created a new Logical File Name with a different physical path.
    My concern is, about already archived data in older path. Should i only run delete job for that session ?
    Or should i copy the archive files to new path and then start delete job OR do a write job once again..
    please suggest.
    thanks
    ashish

    Hello Juan,
    Ok, i can copy the files, those are not too many as we did it only for 2 months selection.
    Can i go for write job again for same selection ? If yes, probably it will create a new session.. correct ? and then i will go for deletion for new session.
    If this is also correct way, i want to do this.. as till now this has been one for only 2 months and we are going to do for 8 yrs.
    One more question, will the be any problem for having 2 sessions for same selection.. means 2 write or archive job for same selection.
    thanks
    ashish

  • Open Hub export of file without meta file?

    Hi Gurus,
    I am daily exporting delta files with Open Hub Services to server.
    The name of the files include dates, so every day a new file is created and also a new meta S_ file is created.
    How can I export with Open Hub just data file without meta data file?
    Because every month there will be 30 meta files which will be of no use for me.....
    Regards, Uros

    Hi gurus,
    I've the same problem. I don't need of the S_ file. How can I block this file estraction??
    Thanks in advance & Best Regards,
    Domenico.

  • HT2506 Hello I'm unable to open any pdf's with preview window opens up with message file couldn't be opened because you don't have permission to view it (none of the pdf's have any security thanks if you can assist

    Hello this week I'm unable to open any pdf's with preview, when I select to open a window opens up with message "file couldn't be opened because you don't have permission to view it" none of the pdf's have any security thanks if you can assist

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • InfoSpoke and Logical File Name

    We have created an Infospoke to extract data to a logical file. When we define the “Logical File Name Definition” using the “FILE” transaction, we have to enter a physical file name. This will require us to create a new Logical File Name Definition for every Infospoke.  Instead of hard coding the physical file name in the “Logical File Name Definition” for each InfoSpoke we would like to dynamically create the file name to include the InfoObject Name (cube, ODS object, etc) in the physical file name.
    We have tried to use the <F=CPROG> substitution parameter in the logical file name. When the function module FILENAME_EXIT_CPROG” is called we find that we do not have access to any information other then what is available in the system variables (structure “SYST”)
    1.     Are there any modification to the class “CL_RSB_FILE_LOGICAL” and method DETERMINE_FILENAME that we can make to create a logical file name that includes the InfoSpoke name?
    2.     Is there any way to access any system information from within the FILENAME_EXIT_CPROG function module that would give us the InfoSpoke information?

    I think you can modify the method 'DETERMINE_FILENAME' for this.
    In the call to FILE_GET_NAME_USING_PATH FM, add an additional parameter 'parameter_1', and set its value to O_R_REQUEST-N_OHDEST (this should have the open hub destination name).
    call function.....
    parameter_1 = O_R_REQUEST-N_OHDEST
    If the logical filename contains placeholder (< > ??), it should now be replaced with the destination name.
    I am not very familiar with ABAP objects. You might wish to check whethet it is possible without a 'modification' like this, where you create another Z implementation of the class and delegate(?).

  • Logical file name or logical path name incorrectly defined

    Dear All,
    We are doing archival in our IDES for test purpose before we do it to our Production.
    Steps Performed
    Copied AM_ASSET archive object to ZAM_ASSET
    Logical Path
      Logical path    ZAM_ASSET
      Name            Asset
      Syntax group    UNIX       Unix compatible
      Physical path   /archive/test/<FILENAME>
    Logical File Name
       Logical file    ZAMASSET
       Name            Asset
       Physical file   FI_<MONTH>_<DAY>.txt
       Data format     ASC
       Applicat.area   AM
       Logical path    ZAM_ASSET
    But when we run the WRITE though SARA , in the job log we get the following
    Logical file name or logical path name incorrectly defined
    When generating a file name for an archive file that is to be created, the system determined that the logical file name FIAA_ARCHIVE_DATA_FILE or the logical path name ARCHIVE_GLOBAL_PATH  was defined incorrectly.
    But we have maintained a Logical name  ZAMASSET , so we are unable to change the location of archived file and as well as the format.
    So is there any setting we need to maintain apart from the logical file name and logical file path.
    Suggestions are highly appreciated.
    Thanks in anticipation

    hi,
    follow this steps :
    - transaction SARA
    - enter authorization objects, eg SD_VBAK
    - hit button CUSTOMIZING
    - Archiving Object-Specific Customizing: execute Technical Setting
    - field Logical File Name enter or select ARCHIVE_DATA_FILE
    - leave CONTENT REPOSITORY as blank if you are not using 3rd party for storing (eg. IBM Tivoli)
    - back to customizing
    - from Basis Customizing, execute : Cross-Client File Names/Paths
    - on Logical FIle Path Definition, highlight (select) ARCHIVE_GLOBAL_PATH on the right pane
    - double click on the Assignment of Physical Paths to Logical Path on the left pane
    - double click on OS used, eg. UNIX, define Physical Path where archive file (on WRITE process) will be stored
    - save changes made
    - double click Logical File Definition, Cross Client on the left pane
    - double click ARCHIVE_DATA_FILE on the right pane
    - make sure that logical path is already set to ARCHIVE_GLOBAL_PATH
    - save changes made
    this setting also can be done using transaction FILE
    we have experienced on this case using SAP standard archiving (SARA, SARI) and everything is fine with this setting above.
    hope it help you.
    rgds,
    Alfonsus Guritno

  • Technical Name of Openhub in logical file name

    Hi All,
    I am creating a few open hub flatfiles for a client. I want to use logical file names to create the files on the application server.
    I want to create one logical file name which creates a file like <"Open Hub Technical name">_<DATE>_<TIME>.csv.
    Now i can't find a way to include the openhub technical name in the file name.
    It says in F1 that i can use a function module named FILENAME_EXIT_* that will be called in the function module FILE_GET_NAME.
    Does anybody know about the coding that can be used for this? I have just basic ABAP knowledge on this one. Or is there perhaps another way on this.
    Let me know!
    Thanks in advance!
    Best regards,
    F Geldof.

    Hi guys,
    Thanks for your answers first of all.
    I don't want to store the technical name of the openhub in the logical file name....i want this to be determined dynamically, depending on the openhub that is used with this logical file name.
    I was wondering were i can fetch the openhub technical name during the execution of the DTP on the openhub / when also the function module FILE_GET_NAME is being ran.
    Let me know!
    Thanks in advance!
    Regards,
    Freek

  • Logical file name(Need Urget Help)

    Hi,
    I'm extracting data from cube in the csv file formate, for this i used open hube and using logical file name,
    logical file :Z_TEST
    Name: folder name
    Physical file: give the
    server\test.csv
    data formate:BIN.
    when i run it. it is creating only one file(structure file) not creating data file.
    Could you please help me to fix this problem,
    Thanks

    Hi Pria,
    Please check :
    Open Hub Destination with Flat File - Structure file is not correct
    -Vikram

  • TCODE SARA and its variant in logical file name

    Hi forum,
    how can I create a logical file name (FILE tcode) with execution varian of SARA for archiving ?
    Regards.
    Ganimede Dignan.

    Hello Ganimede,
    Apart from the very good note suggested by Naveen please check this as well;
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
    You ca get more information from SAP help- data archiving section.
    Regards.
    Ruchit.
    Message was edited by:
            Ruchit Khushu

  • Regarding assignment of physical path to logical file name

    Hi All,
    We have created one logical file name and assigned physical path to it in FILE tcode.
    IN PATH table also these details got updated with correct logical file name & physical path.
    But in my program when i have used FILE_GET_NAME F.M to retrieve physical path from logical file.
    Here this F.M is not returning anything.
    What is the issue over here.
    We are working in ECC 6.0
    Can anybody resolve this issue!
    Thanks,
    Deep.

    do one thing i give my report so according to do this
    *& Report ZMIO_MANU_VENDOR_EXTR
    report zmio_manu_vendor_extr.
    DATA BASE TABLES
    tables: lfa1 ,eina, lfm1 .
    STRUCTURES
    *---structure for the vendor details.
    data: begin of ws_lfa1 ,
    lifnr type lfa1-lifnr,
    name1 type lfa1-name1,
    end of ws_lfa1 .
    *---structure for the pur org details.
    data: begin of ws_lfm1 ,
    lifnr type lfm1-lifnr,
    kalsk type lfm1-kalsk,
    minbw type lfm1-minbw,
    end of ws_lfm1 .
    *---structure for the pur inf rec.
    data: begin of ws_eina,
    lifnr type eina-lifnr,
    relif type eina-relif,
    end of ws_eina .
    *--structure for the output file
    data: begin of ws_final,
    lifnr(10) type c,
    name1(35) type c,
    kalsk(1) type c,
    minbw(13) type c,
    eoln(1) type c,
    end of ws_final .
    INTERNAL TABLES
    *---internal table for vendor details
    data:i_lfa1 like ws_lfa1 occurs 0.
    *---internal table for pur org details
    data:i_lfm1 like ws_lfm1 occurs 0.
    *---internal table for pur inf details
    data:i_eina like ws_eina occurs 0.
    *---internal table for final file output
    data:i_final like ws_final occurs 0.
    *DATA : P_FLAG(1) TYPE C.
    CONSTANTS
    *-- Default file name
    constants: c_filename_default(40) type c
    value 'VOLSAP/MAXVRLIB/manu_retail_vendor',
    c_kalsk(2) type c value '05'.
    SELECTION SCREEN
    selection-screen begin of block b1 with frame.
    selection-screen: begin of block b2 with frame title text-001 .
    select-options:s$lifnr for lfa1-lifnr .
    parameters:p$relif as checkbox.
    selection-screen end of block b2.
    selection-screen: begin of block b3 with frame title text-002 .
    parameters: p$file(128) obligatory default c_filename_default.
    selection-screen end of block b3.
    selection-screen end of block b1 .
    START OF SELECTION
    start-of-selection.
    if not s$lifnr is initial.
    perform get_vendor_data .
    endif.
    perform build_file .
    perform display_file .
    END OF SELECTION
    end-of-selection .
    *& Form GET_VENDOR_DATA
    form get_vendor_data .
    select lifnr
    name1
    from lfa1
    into table i_lfa1
    where lifnr in s$lifnr .
    if not i_lfa1[] is initial.
    sort i_lfa1 by lifnr .
    select lifnr
    kalsk
    minbw
    from lfm1
    into table i_lfm1
    for all entries in i_lfa1
    where lifnr = i_lfa1-lifnr .
    select lifnr
    relif
    from eina
    into table i_eina
    for all entries in i_lfa1
    where lifnr = i_lfa1-lifnr
    and relif = 'X'.
    endif.
    endform. " GET_VENDOR_DATA
    *& Form BUILD_FILE
    form build_file .
    loop at i_lfa1 into ws_lfa1 .
    ws_final-lifnr = ws_lfa1-lifnr .
    ws_final-name1 = ws_lfa1-name1 .
    read table i_lfm1 into ws_lfm1 with key lifnr = ws_lfa1-lifnr .
    if ws_lfm1-kalsk = c_kalsk .
    ws_final-kalsk = 'X'.
    endif.
    ws_final-minbw = ws_lfm1-minbw .
    ws_final-eoln = 'X'.
    if p$relif = 'X'.
    CLEAR P_FLAG.
    LOOP AT I_EINA INTO WS_EINA
    WHERE LIFNR = WS_LFA1-LIFNR
    AND RELIF = 'X'.
    P_FLAG = 'X'.
    EXIT.
    ENDLOOP.
    IF P_FLAG = 'X'.
    APPEND WS_FINAL TO I_FINAL .
    CLEAR WS_FINAL.
    ENDIF
    read table i_eina into ws_eina with key lifnr = ws_lfa1-lifnr
    relif = 'X'.
    if sy-subrc = 0.
    append ws_final to i_final .
    clear ws_final.
    endif.
    else.
    append ws_final to i_final .
    clear ws_final.
    endif.
    endloop .
    endform. " BUILD_FILE
    *& Form DISPLAY_FILE
    form display_file .
    data: l_lines type i.
    describe table i_final lines l_lines.
    if l_lines > 0.
    perform open_file using p$file.
    loop at i_final into ws_final.
    transfer ws_final to p$file.
    endloop.
    close dataset p$file.
    else.
    write: / 'no data found'.
    endif.
    endform. " DISPLAY_FILE
    *& Form open_file
    Open an output file, customizing default name to include
    vendor number and job completion timestamp.
    form open_file using file_nm.
    data: l_vendor like eina-lifnr,
    l_timestamp(12) type c.
    Get correct path/filename for the system we're running on
    call function 'FILE_GET_NAME'
    exporting
    logical_filename = 'ZVOL'
    parameter_1 = file_nm
    importing
    file_name = file_nm.
    Open file for output
    open dataset file_nm for output in text mode encoding default.
    if sy-subrc ne 0.
    message e368(00) with 'Error opening output file:' file_nm.
    endif.
    endform. "open_file
    All definitions needed for the platform-independent assignment of file names are maintained client-independently with transaction FILE. Logical file names (but not logical file paths) can also be defined specifically for the current client with transaction SF01. Transaction SF07 generates a list of current definitions.
    Edited by: krupa jani on Aug 20, 2008 6:55 AM

  • FM for getting the logical file name

    Hi,
    is there any FM for getting the logical file name.
    Thanks
    Vikranth

    Hi,
    CONSTANTS: c_mask          TYPE char9      VALUE ',.,..'.
          Pick up the file path from the application server
    FORM f1001_browse_appl_file .
      DATA:  lcl_directory  TYPE char128.
      lcl_directory  = p_direct.
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = lcl_directory
          filemask         = c_mask
        IMPORTING
          serverfile       = p_f2  " Parameter File
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
       MESSAGE e000(zmm) WITH text-039.
       flg_app = 'X'.
      ENDIF.
    Then use  OPEN DATASET for data reading
    Hope this Helps.
    Manish
    Message was edited by:
            Manish Kumar

Maybe you are looking for