What is to be given archive file name?
hi
I am importing a standard aplication "welcome"
by following the following steps:
file->import->par file.
now it asks for 3 things .
what is to be given in archive file name.
For project root folder: i m selecting "welcome"
from the Program Files\SAPinst_WAS\J2EE-CD\IDE\eclipse\workspace\welcome .
Hi Kamlesh,
> what is to be given in archive file name
The "Archive file name" is the full qualified name of the PAR to be imported. You can browse for this PAR.
Next entry is "Project name". This is the name of the project to be created. When you try to deploy the project later on, NWDS initially suggests this name as the name of the PAR file (but you can modify it, and this modification would be used next time you'd try to deploy again).
> For project root folder: i m selecting "welcome"
The "Project root folder" is the folder under which the project will be created. This should be somewhat constantly for all projects you are creating.
So if you want to import "com.company.welcome.par", which is on your hard disc under c:/someFolder, the entry for "Archive file name" would be "c:/someFolder/com.company.welcome.par".
If you want to use the same namespace as given, under "Project name" you'd just use "com.company.welcome". If you want to do midifications and to deploy the resulting PAR under a different namespace, you could use "com.company.modifiedwelcome".
And last but not least under "Project root folder" you can use something like "c:\sap" or "c:\development\portalprojects"...
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!
Similar Messages
-
In OSB file protocol, trying to get the archived file name in proxy service
Hi,
I have a requirement that i need to process the archived file of file protocol, with java callout in proxy service.
I am able to get the file name which is reading with 'tokenize($inbound/ctx:transport/ctx:request/tp:headers/file:fileName,"\\")[last()]' , but this file is getting archived to archive folder. I want to pass the archive file name as input to the Java callout.
Please let me know if this can achieve in OSB proxy or any other options.
Note : I am reading a xlsx file in the file protocolIf you're using pass by reference option in the file transport, I guess the archive filename can be obtained from $body/ctx:binary-content/@ref. Try it out.
-
Is there a way to pass archive file name to the command-line control?
Hi there,
I have been researching the flash media live encoder laterly. But still cannot find confirmed anwsers on the following questions:
1. Is there a way to pass an archive file name to the command-line control when starting an encoder?
2. Can the username/password to the Flash Media Server be saved in the profile? If not, is there any otherway to provide(GUI mode) them automatically,
like as variables to a script?
Thanks a lot in advance.
Helen1. The only way to inform the command-line encoder about the archive file name is to save the FMLE session profile with the file name. The node for saving the file name is <output><file><path>C:\sample.flv</output></file></path>. The easier way to update the xml profile is to use "Save Profile" option of the GUI mode. If you want to programmatically update the file name, read the profile and update the node before launching the encoder. I hope this answers your question.
2. No. Credentials can't be saved in the profile. The only way to provide them programmatically is to use /ap and /ab commands for the command-line encoder. For GUI mode, there is no programmable option. But still you can try capturing keystrokes. -
File Adapter - Archived file name issue
Hello all.
I am using an 11g composite application to read from the file system and move/archive the files to a "Backup" subdirectory. Everything works well, but the archived file name has the original filename plus an extra long guid. E.g.
File_1.DAT_156dsfsdgw67rqwedb1c6b54d6fh7yerfa16wewet168erw)-dsfsdg
Does anyone know how I can control the archiving feature of the file read adapter? I would love for it to just move the file to the Backup folder and keep the original filename.
I look forward to a response.
Thank you.
Nick G.Thank you Sahil. I will look into it and test. I will post my results.
Nick G. -
How to capture Archive File name in File/Ftp Adapter
Hi,
I want to capture the archive file name when working with File/Ftp Adapters. I think there is no out of box property available to achieve this (Like jca.file.filename).
Please let me know if there is any possible solution.
Thanks
JGunHi,
Use jca.file.PhysicalArchiveDirectory/jca.file.LogicalArchiveDirectory depends upon which you have configured.
Thanks -
BW Archiving / Dynamic archive file name
Hello Experts,
i would like to archive the data in a cube by each period. Hence i want the archived file name to indicate the period also so, that it can be easily identified, which file contains which period data.
Eg File Name : 0FIAR_C03_PER_01_2005
where 01_2005 denotes that the files contains period 01_2005 data.
Could some one please suggest how can this be done using the function module FILENAME_EXIT_ ? Would appreciate if you could give me the exact steps for this.
Thanks in advance,
Sanjayhi Sanjay,
create your function module name, e.g
FILENAME_EXIT_<u>FIAR_C03</u>, in logical file name maintain (transaction FILE >> logical file name, cross client), for 'Physical file' put <F=<u>FIAR_C03</u>>.
not sure if you can just use system parameter like <YEAR>, <MONTH>, etc.
for function module, you can manipulate 'output' for the file name. maybe see FILENAME_EXIT_ARCHIVELINK and FILENAME_EXIT_EXAMPLE.
detail system parameter for physical file can see :
http://help.sap.com/saphelp_nw04s/helpdata/en/2a/fa02aa493111d182b70000e829fbfe/frameset.htm
hope this helps. -
Is it possible to get the archive file name and directory. If so how?
cheers
JamesNo the way I worked around this issues was to create an another adapter that would write the archive using the adapter headers. So I had to manually configurate it and not use the standard archive functionality.
cheers
James -
How To Control The Archive File Name using file adpater or OSB file traspor
Hi all,
My requirement is I want to archive a file by appending my BPEL instant id to the file name.
Is this possible changing the file name when archive the file???
Thanks
PhaniI couldn't find that out when I had the same requirement. I was running out of time, so I let Archive functionality works as it works and used the write file option with opaque schema.
-
Archive File Name in FTP adapter
Hi,
While archiving a file using an FTP adapter, I want to archvie it with a name which is going to be generated dynamically. However i don't see any placeholder where i can mention the file name for achving. Can anyone please suggest.
Thanks,
PhaniHi Phani,
did you figure out a solution?
Anders -
File Adapter Archive File Name Pattern
Hi All,
Thanks in advance for your answers.
Here is my question.
I have BPEL process that reads a file, process it and archives it.
The process is working fine, but the archived file has timestamp attached to the file extension. since my file already has timestamp in its name, is there any way that we can configure file adapter not to add that timestamp to archived file?.
Thanks
PraveenThe timestamp added to the archive filename is the time that the file was processed by bpel. i think this is good information that you can keep just in case you need to resubmit the same file for processing later. or if the file is actually processed in a different date than than on your filename's. just a thought.
-
Renaming the archived file name
Hi,
We have a requirement where we are archiving the file using sender FILE adapter but we need to change the file name when it is archived. I am unable to find any option in Comm channel to change/rename the File name.
Pls suggest me is there anyway to achieve it.
Thanks in Advance,
sudha.Hi sudhasree,
Please have a look at the following link and see if it helps you
Re: Archiving With FTP Receiver
It tells about how you can archive files with different name, time and dates format.
Also,
Please go through this link as well
Re: Archiving files
Best Regards
Edited by: Prakash Bhatia on May 8, 2009 2:53 PM -
What happened to right click on file name in Indesign CS4?
I just upgraded to CS4, does anyone know what happened to being able to right click on indesign (open) file name to see where on your system it is filed? I can still do this in other programmes.
Firefox doesn't have such context menu entries for "Open Bookmark ...". So it looks that there has been a problem with the extension that added them and that started working again.
-
How to validate a file given the file name and the path
hi ,
is their any function module which can validate a file present in the presentation server given its filename and path nameHi,
Refer Sample Code Below:
Selection Screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : rb_pc RADIOBUTTON GROUP r1 DEFAULT 'X', "For Presentation
p_f1 LIKE rlgrap-filename,
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN SKIP.
AT SELECTION-SCREEN ON p_f1.
IF p_f1 IS INITIAL.
MESSAGE e000(zmm) WITH text-002. ' Enter File Path
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_f1.
*-- Browse Presentation Server
PERFORM f1000_browse_presentation_file.
FORM f1000_browse_presentation_file .
CONSTANTS: lcl_path TYPE char20 VALUE 'C:\Migration Files\'.
CALL FUNCTION<b> 'WS_FILENAME_GET'</b>
EXPORTING
def_path = lcl_path
mask = c_mask "',.,..'
mode = c_mode
title = text-006
IMPORTING
filename = p_f1
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE s000 WITH 'No file Selected'.
flg_pre = c_x.
ENDIF.
ENDFORM. " f1000_browse_presentation_file
*& Form f1001_browse_appl_file
Select file from Application Server
FORM f1001_browse_appl_file.
DATA: lcl_directory TYPE char128,
lcl_file TYPE char10.
lcl_directory = p_direct.
CALL FUNCTION <b>'/SAPDMC/LSM_F4_SERVER_FILE'</b>
EXPORTING
directory = lcl_directory
filemask = c_mask
IMPORTING
serverfile = p_f2
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e000(zmm) WITH text-039.
flg_app = 'X'.
ENDIF.
ENDFORM. " f1001_browse_appl_file
*& Form f1003_pre_file
Open Presentation Server file
FORM f1003_pre_file .
DATA: lcl_filename TYPE string.
CONSTANTS: lc_codepage(3) TYPE c VALUE 'IBM', " Code page
lc_filetype TYPE char10 VALUE 'ASC'.
lcl_filename = p_f1.
CHECK p_f1 IS NOT INITIAL.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lcl_filename
filetype = lc_filetype
has_field_separator = c_x
TABLES
data_tab = i_reg_grp
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b>Reward points if this helps.
Manish</b> -
Hello,
I don't think this question should be asked in this forum but could find another one.
"If we have logical file name,physical file name,archiving parameters,start time of archiving" .Then what will be the output archiving file name.
Thanks.
Regards,
TusharHi,
In archiving customizing one needs to define Logical Path name(LP), Physical Path name (PP), Logical File name(LF) and Physical File name(PF).
The PP is assigned to LP. LP and PF are assigned to LF. The LF is assigned to an archived object. The actual physical file name is generated at runtime based on the LF definition.
For example:
LP -> ARCHIVE_GLOBAL_PATH
PP -> /data/archive/<FILENAME>
LF -> ARCHIVE_DATA_FILE
PF -> <PARAM_1><MONTH><DAY><PARAM_2>.<TIME>.ARCHIVE
If for example FI data was archived and a archive file was created on Dec 11th at 10.00 AM then the actual physical file name would be
/data/archive/FI12110.100000.ARCHIVE
Hope this helps
Cheers!
Samanjay -
Dear all,
db:10.2.0.3
o/s:Red Hat Linux 4
I have created a cron job to back the archivefiles using traditional cp command not using rman for this.I want to know when the cp command i executed and the oracle archiver is writing archive file what will happen will that archive file gets corruppted or i will not have any issues?
RegardsThe file that Arch is writing to won't be corrupted. But the file that has been copied out -- i.e. the backup that has been created by your script -- would be incomplete -- the same as being corrupt.
When I used to write such scripts, I would have the scripts order the ArchiveLogs by Sequence# (which is part of the file name) and then not copy the last 4 archivelogs. Why 4 ? Because, although you generally have only 1 ArchiveLog being written to, when it is busy the database instance can start of multiple archivelog processes (based on LOG_ARCHIVE_MAX_PROCESSES), each of which is archiving out one redo log. Since 10g, this behaviour is automated and not controllable.
Therefore, I urge you not to write such scripts. Use RMAN. It has a COPY command that can be used to copy out archivelogs, if you do not wish to use the BACKUP command.
Hemant K Chitale
Maybe you are looking for
-
Error invoking a bpel through ESB RS
Hi Guys, I have a problem which i can not solve. I have a ESB RS which captures the request then pass it to a bpel where i have 3 partnerlinks and 5 paralel sequences. When send a requet then the Bpel tries to access the end services defined in partn
-
Hi everyone! I've been planning to replace my PowerBook G4 with a new MacBook Pro and was planning to do this over the summer, maybe as late as fall. I'm concerned about a change in the recently released MacBook Pros in that they all (except the 17")
-
After install of itunes 7, does not recognize ipod
I recently updated itunes to 7, after the update itunes does not recognize my ipod. I am using windows xp with a 5th generation 30G video ipod, have followed the troubleshooting guide relating to this to no avail. have also gone through the 5 r's, wi
-
Xorg error: Failed to load module
I'm trying to configure the X server. My configuration file was generated with "hwd -xa". But when I run "startx" I get this: (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 25 04:26:36 2009 (==) Using config file: "/etc/X11/xorg.conf" (EE) Faile
-
Datafiles of deafult InfraHome database (orcl) accidently dropped
Hi Friends, I need a very urgent help from u all. The datafiles of the local default database in the InfraHome is somehow deleted by a user. Now is there any solution to recover the database. It was not running in archivelog mode or we are not having