Regarding file to file
HI,
if i am getting a file in a particular intervals of every day say morning 9 , afternoon 12 and 5 in the evening then how to process that file. i mean set the poll interval which can process the 3 files which are comming in 9,12 and 5.
Hi !
Depending on your SP, you can set channel availability times:
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
or you should enter a poll interval in the comm channel of about 30 min (1800secs) or 1 hour, depending how immediate you need XI to process the files once they arrive.
Be aware that the poll interval starts to count at the moment you activate the channel...so if you use a 3hrs poll interval, then if you activate the channel at 8am, the next poll will occur at 11am, 2 hrs after 9 am !
Regards,
Matias.
ps: please award points if helpful
Edited by: Matias Denker on Jan 18, 2008 9:32 AM
Similar Messages
-
Regarding Background Job scheduling for file to file scenario
Hi Guru's
Good morining all of u
I have one doubt on ...
can we do background job scheduling for file to file scenario?
Please give me response as early as possible.
thanks and regards
saibackground jobscheduling for file adapter...
you can schedule the file adapter according to your requirement as follows:
In the Communication Channel Monitoring Locate the link Availability Time Planning, In Availability Time Planning, choose the Availability time as daily and say create, give the time details, select the communication channel in your case file adapter , goto the Communication Channels tab and filter and add the respective channel, save it
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19- -
Regarding Application server file path browsing
Hi All,
I have a issue regarding Application Server File Path browsing.
Actually in my selection-screen i will declare a parameter as <b>Application Server File Path</b> now when i press F4 in that field it should be able to browse through <b>Application Server Path's</b>.
Just like <b>F4_FILENAME</b> in the case of <b>Presentation Server File Path</b> Browsing.
Can anybody solve my issue.
Thanks in advance.
Thanks & Regards,
Rayeez.Hi Shaik,
Just copy and paste:
Here is the code for retrieving list of files contained within specific Application server directory(SAP).
PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/tmp'.
data: begin of it_filedir occurs 10.
include structure salfldir.
data: end of it_filedir.
START-OF-SELECTION.
Get Current Directory Listing for OUT Dir
call function 'RZL_READ_DIR_LOCAL'
exporting
name = p_fdir
tables
file_tbl = it_filedir.
List of files are contained within table it_filedir
loop at it_filedir.
write: / it_filedir-NAME.
endloop.
Hope this will help you.
Let me know incase of any concerns.
EDIT:
There are few FM for ur refernce :
RZL_READ_DIR_LOCAL
SUBST_GET_FILE_LIST Return table with file list for the given directory (pattern allowed)
F4_DXFILENAME_TOPRECURSION Popup to select one file from the given application server directory
TH_SERVER_LIST Returns list of application servers.
EPS_GET_DIRECTORY_LISTING Lists filenames from the application server .
Cheers
Sunny
Rewrd points, if found helpful
Message was edited by: Sunny -
Hi Everyone,
Would anyone Please give me steps for RFC to File Scenario.
Thanks & Regards,
Varun1) Create synch interfaces 4r source and target.
For RFC while creation of interface
input msgtype - Request msg
output msgtype - Response msg
2) Create 2 msg mappings.
inputmsgtype(file)----> Requestmsgtype(RFC)
Responsemsgtype(RFC)--->outputmsgtype(file)
3) Create 1 interface mapping choosing synch interfaces on
src and tgt side.
-->you ll get two tabs here request and response.
-->Click on request nd specify 1'st mapping
--> Click on response nd specify the 2nd mapping.
Refer this blog:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29& -
Needs Clarification Regarding Listener.ora file
I want a clarification regarding listener.ora file I've Listener.ora file and its content look like as:
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = Oracle8)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
I can understand every entry in this file accept the following
*(SID_DESC =*
*(SID_NAME = PLSExtProc)*
*(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)*
*(PROGRAM = extproc)*
*(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))*
Although rest of entries refer to network services(Database name) and host address and protocol etc.
what these above refere to.
Please clarify me in this.
Regards,
D.Abbasi(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
that about External Procedure, If you don't use "External Procedure" you can remove it, by the way you should avoid default configure.
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1331
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#NETAG0132
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_extern_proc.htm#sthref1658
Sample create External Procedure:
http://surachartopun.com/2008/07/create-and-run-sample-external.html -
HT1925 during reinstall I get an error message regarding itunes.msi file.
I have uninstalled itunes according to these instrutions, but during reinstall I still get an arror message regarding itunes.msi file. How do I fix this?
(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
(2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
Regarding file 2 file using BPM
Hi Experts,
In file to file using BPM scenario my file is being picked in the server but it is not displaying again after polling interval. please help me one this issue as early as possible.Hi,
File is picked up from the server is ok, but it does not mean that it reached to IE.
Just go to RWB-Component MonitoringAdapter EngineCommunication Channel MOnitoring. and check the Sender File adapter from there and let us know the status??
If it is in Error it cannot be delievered to IS and BPE, so first check it
Thanks
Farooq. -
Regarding Import .dmp files to Oracle
I have GosalesDw.dmp files. I need to import these files to Oracle database.
I am loging to system/admin . Then I issues 'host cmd' and then i am using ' imp' command for import. But i am unable to import.
I think I am giving wrong information for path . so suggested me how i will give the path.
can you please explain me with Example.
Thanks,
MohanaKrishna KPost Operating System (OS) name & version for DB server system.
Post results of
SELECT * from v$version
I am loging to system/admin why
imp help=yes
Import: Release 10.2.0.1.0 - Production on Wed Mar 3 09:47:46 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:
Example: IMP SCOTT/TIGER
Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:
Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword Description (Default) Keyword Description (Default)
USERID username/password FULL import entire file (N)
BUFFER size of data buffer FROMUSER list of owner usernames
FILE input files (EXPDAT.DMP) TOUSER list of usernames
SHOW just list file contents (N) TABLES list of table names
IGNORE ignore create errors (N) RECORDLENGTH length of IO record
GRANTS import grants (Y) INCTYPE incremental import type
INDEXES import indexes (Y) COMMIT commit array insert (N)
ROWS import data rows (Y) PARFILE parameter filename
LOG log file of screen output CONSTRAINTS import constraints (Y)
DESTROY overwrite tablespace data file (N)
INDEXFILE write table/index info to specified file
SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
FEEDBACK display progress every x rows(0)
TOID_NOVALIDATE skip validation of specified type ids
FILESIZE maximum size of each dump file
STATISTICS import precomputed statistics (always)
RESUMABLE suspend when a space related error is encountered(N)
RESUMABLE_NAME text string used to identify resumable statement
RESUMABLE_TIMEOUT wait time for RESUMABLE
COMPILE compile procedures, packages, and functions (Y)
STREAMS_CONFIGURATION import streams general metadata (Y)
STREAMS_INSTANTIATION import streams instantiation metadata (N)
VOLSIZE number of bytes in file on each volume of a file on tape
The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set
Import terminated successfully without warnings. -
Step by Step Guide Details for RFC to File and File to RFC scenario
Hi Guru's
Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
thanks in advance.
Regards
RajHi Aaron,
I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
Edited by: Marshal on Oct 8, 2009 5:08 PM
I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
Edited by: Marshal on Oct 8, 2009 5:22 PM -
Help needed for file to file communication
Dear all I am working on file to file adapter in XI 3.0 . I tried to different waysof flat file location C:\ and C:/ I am not soure witch one is currect and any time i am getting NO MESSAGE FOUND ! error in SX_MONI.
and
Any one have step by step clear procedure for File to File Adapter SAP XI 3.0.
Thanking U,
<b>Murali</b>.Hi Murali,
first we need to uderstand how to do content conversion ( to convert flat files to xml format ) for which u can go through the following links :
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
http://help.sap.com/saphelp_nw04/helpdata/en/89/90fd3f0521c842e10000000a1550b0/frameset.htm
then file to file scenarios:
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
http://help.sap.com/saphelp_nw04/helpdata/en/43/25112ab6140b25e10000000a1553f6/frameset.htm
Configuring sender file adapter:
/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
Configuring receiver file adapter:
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
going through all the given links you will not have any problems doing a file to file scenario with any constraints.
Regards,
abhy -
Deleting the data from logical file/unix file
Hi all.
I need to delete the all the data from logical file (application server file/unix file).But I dont want to delete the logical file ( only data in the logical file should be deleted, i.e making file empty)
Thanks in advance.
Cheers.
samiHi Sami,
Refer thsi document https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4d7aeb7d-0c01-0010-fa8a-a4a8e8968a93.
Regards,
Flavya -
Hi,
I have a problem in file to file scenario in which the file is not getting transferred from source to target.
Source communication channel - Transport protocol - NFS | Process mode : Delete | The file is picked but not able to delete from the directory.
Error: File: d:\test\file.txt deleting after processing failed - retry
The file is not transferred to target is it because of this CC is not able to delete the file. Does windows also have any authorization issue if so how should one check the authorization. I have the admin access of my system.
Thanks.Hi,
Firstly, Since the scenario works perfectly while using Test mode, so all your design & configuration are OK.
Now, there can be Two reasons why PI is not able to delete the file and process it (during Delete Mode):
(The Problem will persists if you use Archive Mode also)
Prob 1. The directory is write protected or read only
Prob 2. The file is write protected or read only
Solution:
If Unix System
Soln for Prob 1. - go to the directory structure
for ex: if directory where file is kept is /staging/Interface/PI/Test/inbox/
then go to /staging/Interface/PI/Test/ and give command ls -lrt
It will show the directory names with permisions.
use chmod 777 inbox and the permissions willl be changed ( drwxrwxrwx )
Soln for Prob 2. - Get inside /staging/Interface/PI/Test/inbox/ and give command ls -lrt
if the file does not have authorizations as (-rwxrwxrwx) give chmod 777 <filename> and then give command touch <filename>
If Windows System
Soln for Prob 1. - Goto the directoty and right click on the folder and deselect the Read Only Checkbox.
Soln for Prob 2. - Right Click on the file and deselect the Read Only Checkbox
Try again and the scenario will work surely. Let me know if any issues.
Regards,
Souvik
Edited by: Souvik Chatterjee on Mar 14, 2011 8:14 AM -
File-RFC-File (without BPM)- Issue
Hi All,
I am working on a File-RFC-File (without BPM) scenario in PI 7.1.
My scenario is having few problems like, its not able to delete the file from the source directory path (for which we have delete permissions) and it is an NFS system and it shows an error in the Sender file CC.
"Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId"
But it gets processed successfully and provides a written paramter which I could see in MONI, but again doesn't write the file in the target directory. Could you please provide your inputs and let me know if I need to do any additional settings w.r.to PI7.1.
These are the parameters which I have specified in the Sender File adapter
Processing sequence
AF_Modules/RequestResponseBean Local Enterprise Bean 1
CallSapAdapter Local Enterprise Bean 2
AF_Modules/ResponseOnewayBean Local Enterprise Bean 3
Module configuration:
1 PassThrough true
3 receiverChannel <FilereceiverCCname>
3 receiverService <Receiver Bus System>
Regards,
NithiyanandamHello,
Check out in module configuration tab for any "type error" or spell mistakes.
Check out this thread which might be useful for you :[ File - RFC - File without a BPM - Possible from SP 19.|File - RFC - File without a BPM - Possible from SP 19.]
regards
Ramesh -
Store \ Retrieve files from file system
Hi to all!
I would like to implement a solution for storing files uploaded via apex user interface to servers file system. As well I would like this files to be retrievable by apex users. I designed the following solution:
For upload:
1. Through file browse item user chooses file to be uploaded
2. File goes to custom table (as BLOB)
-- so far i would use apex Upload\Download files tutorial
3. File(BLOB) would then have to be written to file system to some directory and file id would have to be written to some db table which holds pointers to files on file system
4. delete file(blob) from custom table (from step 2)
For download:
1. user chooses link from some report region(based on table giving file pointers to files residing on file system)
2. file identified with chosen file pointer is then inserted into blob column of some custom table in db
3. from custom table with download procedure fie is finally presented to user
4. delete file(blob) from custom table (from step 2)
Using apex tutorial for Upload\Download files it is straitforward to get the files from db table or into db table using blobs. But i have not seen any example of using BFILE or migrating files from db to file system and vice versa.
So some Q arise:
a) How can I implement step 3 under For upload section above
b) How can I implement step 2 under For download section above
c) Is there any way to directly upload file to file system via apex user interface or to directly download file from file system via some report region link column?
Please help!!!
Regards Marinero
Message was edited by:
marineromarinero,
Here is a procedure that will copy an uploaded file to the file system:
Procedure BLOB_TO_FILE(p_file_name In Varchar2) Is
l_out_file UTL_FILE.file_type;
l_buffer Raw(32767);
l_amount Binary_Integer := 32767;
l_pos Integer := 1;
l_blob_len Integer;
p_data Blob;
file_name Varchar2(256);
Begin
For rec In (Select ID
From HTMLDB_APPLICATION_FILES
Where Name = p_file_name)
Loop
Select BLOB_CONTENT, filename Into p_data, file_name From HTMLDB_APPLICATION_FILES Where ID = rec.ID;
l_blob_len := DBMS_LOB.getlength(p_data);
l_out_file := UTL_FILE.fopen('UPDOWNFILES_DIR', file_name, 'wb', 32767);
While l_pos < l_blob_len
Loop
DBMS_LOB.Read(p_data, l_amount, l_pos, l_buffer);
If l_buffer Is Not Null Then
UTL_FILE.put_raw(l_out_file, l_buffer, True);
End If;
l_pos := l_pos + l_amount;
End Loop;
UTL_FILE.fclose(l_out_file);
End Loop;
Exception
When Others Then
If UTL_FILE.is_open(l_out_file) Then
UTL_FILE.fclose(l_out_file);
End If;
end; And here is a procedure that will download a file directly from the file system:
Procedure download_my_file(p_file In Number) As
v_length Number;
v_file_name Varchar2(2000);
Lob_loc Bfile;
Begin
Select file_name
Into v_file_name
From UpDownFiles F
Where File_id = p_file;
Lob_loc := bfilename('UPDOWNFILES_DIR', v_file_name);
v_length := dbms_lob.getlength(Lob_loc);
owa_util.mime_header('application/octet', False);
htp.p('Content-length: ' || v_length);
htp.p('Content-Disposition: attachment; filename="' || SUBSTR(v_file_name, INSTR(v_file_name, '/') + 1) || '"');
owa_util.http_header_close;
wpg_docload.download_file(Lob_loc);
End download_my_file;I could put a sample application on apex.oracle.com, but it wouldn't be able to access the file system on that server. -
Hi,
We have an application built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1.
When a file url is clicked instead of asking for Save or Open or Cancel options, the file gets opened on IPad by default.
Is this default behaviour which cannot be changed or can it be configured to ask user preference?
When we try to download a file(.pvw file -> a model file) in the above application, safari throws "Download failed" error.
Please suggest what needs to be done.
Regards,
PramodSafari on an iPad in general does not allow downloading of files. That's a safety precaution in the iOS SDK to keep unauthorized content off of iOS devices. Safari will open from the web site file types that it can handle, but direct downloading isn't normal behavior, and I don't believe the behavior can be changed, though you can try asking in the developer forum, either here or the one to which you have access as a member of Apple's iOS developer program.
Regards. -
Hi,
SQL Server 2008 R2 on a Windows Server 2008 R2 x64 box.
Strange one here. A user can OPEN SSMS and VS fine however when they try to Open a file by going Open > File > Open File in SSMS Windows Explorer opens then when you click 'Look-in' an error pops up saying "Visual Studio has encountered an unexpected
error". When I move that User to a different AD group it works.
GPO restricts only the D drive from view and it looks like that looks like the most relevant GPO to be set. Any ideas?
BjornHi Bjorn,
Based on my understanding, you could open SQL Server Management Studio and Visual Studio application. The issue was that error message "Visual Studio has encountered an unexpected error" was thrown out when you tried to open a file in SSMS.
According to “When I move that User to a different AD group it works”, the issue can occur because the computer is having trouble contacting the domain server to authenticate you as a user. In this scenario, there are two methods we can use:
Add the TCP\UDP port 88 to firewall rules.
Set the "Primary DNS" address to the IP address of your domain authentication server.
For more information, please refer to this article:
https://ava.co.uk/support/faq/general/visual-studio-encountered-an-unexpected-error.aspx.
Besides, based on this article(http://msdn.microsoft.com/en-us/library/ba78632y.aspx), the issue could be caused by unexpected data format and unexpected data source. Therefore, we should
close and then restart Visual Studio.
If you have any other questions, please feel free to ask.
Best regards,
Qiuyun Yu
Maybe you are looking for
-
Can't change filetype association back to CS5
[FYI - similar post in the Acrobat and InDesign forums.] We installed the CS5.5 upgrade today, and for the time being I would prefer to open my existing Illustrator docs with CS5.0, using 5.1 only when we receive v5.1 files. I highlight an AI fi
-
Same send step for multiple receivers: BPM scenario
Hi forum, I have a file -BPM -file scenario, from the BPM i need to send the same message to multiple Business systems, so, i need to make receiver determinations in the IB_directory, but it allows me to have only 1 receiver determination for a set o
-
Re-posting old documents for Foreign Currency Valuation
Hi all, I have a lot of old documents in the system that were posted with 'only balance in local currency' set in the G/L account master data. Therefore, when I try to valuate them in FAGL_FC_VAL now, they cannot be fx valuated. The client needs them
-
Will renderpdf activity support arabic locale
hi, i have an Arabic pdf form,Am able to key-in fieldsin Arabic and complete the form in workspace. When it goes to next user for aprroval..(am using a render pdf activity in workflow).the render pdf activity converts the fields in pdf to english. h
-
I can't activate my iPhone or iPad for Match
I finally got my library uploaded - which took a lot longer than expected. But it's complete now. There is nothing to turn on or activate for Match when I go to Settings>Music on either of my devices so I don't have access to my libraray on Match.