Renaming the file in the Source Directory
Hi ,
I have a scenario where the file is left in the source directory after sending it to XI for processing. In order to exclude the file from next polling onwards , the file needs to be replaced . I know the solution is possible through Archiving or OS Command (which are not possible in my project)....Please let me know the feasibility through adapter module(if possible ,sample code pls) or any other solution ?
Thanks in advance
Edited by: chitra l on Aug 12, 2009 12:09 PM
Chitra,
Why do you want to go to the hardest route when you have a standard and simple route. The hardest would be to write an adapter module. The simplest way would be simply read the file and send it to the same folder with a different name. You dont need to do anything in IR also.
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
Regards,
---Satish
Similar Messages
-
What negative effects will renaming the source directory have on my help file topics, graphics etc. For example, the current directory is c:\PRD and I need to rename it to c:\PRD2.
For what it is worth, you can also click on the link whereupon Rh will report it doesn't exist and remove it for you. Then you can browse to the new location.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Does anyone know how to load a file from the source directory?
I have a Photoshop panel that uses the Texturizer function. I would like to use the images in the src images directory of the project. I need to reference the /src/images directory of the panel when the project is running.
Does anyone know how to access the source directory using action script?
I have tried a number of options but only seems to work if I hard code a location
public static function Mat02(): void
// Works
var myTexture:File = new File("C:\\Users\\Ed\\Adobe Flash Builder 4.6\\LayoutBuilderSuite\\src\\images\\mat 02.psd");
// Tried - no luck
// var file = File.applicationStorageDirectory.resolvePath("mat 02.psd");
// var file:File = File.applicationDirectory.resolvePath("mat 02.psd");
//var file:File = File.applicationStorageDirectory;
//file = file.resolvePath("mat 02.psd");
//var myTexture:File = File.applicationDirectory.resolvePath("mat 02.psd");
//var myTexture:File = File.documentsDirectory.resolvePath("mat 02.psd");
var desc5:ActionDescriptor = new ActionDescriptor();
desc5.putEnumerated( app.charIDToTypeID( "GEfk" ), app.charIDToTypeID( "GEft" ), app.charIDToTypeID( "Txtz" ) );
desc5.putPath( app.charIDToTypeID( "TxtT" ), myTexture );
desc5.putInteger( app.charIDToTypeID( "Scln" ), 150 );
desc5.putInteger( app.charIDToTypeID( "Rlf " ), 4 );
desc5.putEnumerated( app.charIDToTypeID( "LghD" ), app.charIDToTypeID( "LghD" ), app.charIDToTypeID( "LDBR" ) );
desc5.putBoolean( app.charIDToTypeID( "InvT" ), false );
app.executeAction( app.charIDToTypeID( "GEfc" ), desc5, DialogModes.NO );
ThanksI haven't seen too many questions like this on this forum. Did you also try the photoshop forums?
-
I want to Pick the Single file from The source Directory
Hi,
My Scenario is File to RFC .. I'm getting the files in the source Directory.. File names are SENDER_(TIMESTAP).XML .. but the problem is... When ever Files are available in the Source Directory Immediately XI was picking all the files at a time.. But I want to to Pick a single file at a time..
for Making this what we have to do.. After Processing the first file then only my Sender adapter should pick the next file... (even though Multiple files are available in my Source Directory)
Regards
JainHi,
the other option was use Adapter specific attributes in the Sender Communication channel..
or
while droping the files ask them to drop using time stamp in another directory and an external validation is required .. and after validation push single file to Source directory using batch file..
i.e use a batch file using run time operating system or make that batch file to run at OS level ..
where the batch files needs to validate the time interval of the file and needs to push a single file to the source directory.. where from there we can directly pick a single file and process..
regards,
Kishore -
Setting the File Adapter Sender Source Directory...
Good morning, Experts
We have 2 sender file adapter communication channels in XI 7.0. Source directories for each are as follows:
Channel A - //757spgmr16-xp.sauder.com/SAP
Channel B - //devqas.sauder.com/ROOTBIN
Channel A works. Channel B does not. It returns "Configured source directory '//devqas.sauder.com/ROOTBIN' does not exist". When I remote into the XI box as the administrator I can open a Windows Explorer window and can see both of these source folders.
What user ID is used to access the NFS for the communication channel???
Any help you could give would be greatly appreciated.
Thanks,
ChadIs the integration engine running in a service on the XI server??? There are a number of SAP labelled services. Some are started with the log on of "Local system", some with the administrator account and then some with an ID of "SAPServicePID".
My guess here is that possibly this SAPServicePID user is running the integration engine and does not have permissions to the source directory??? Could this be the case???
Can somebody tell me the name of the service for the integration??? -
Distribution Manager Failed To Access The Source Directory
Hello All,
I have this issue distributing content to my Distribution Points for months now. I keep running into this error below:
Distribution Manager Failed to Access the source directory (\\share\folder\file.wim)
Possible Cause: Distribution Manager does not have sufficient rights to the source directory.
Solution: Verify that the site server computer account has at least Read access to the directory you specify as the source directory.
Possible Cause: There is not enough disk space available on the site server.
Solution: Verify that there is enough free disk space available on the site server.
I checked the distmgr.log file and received these messages:
GetTempFileNameA failed; 0x80004005 SMS_DISTRIBUTION_MANAGER 3/24/2015 2:15:38 PM 13952 (0x3680)
CFileLibrary::AddFile failed; 0x80004005 SMS_DISTRIBUTION_MANAGER 3/24/2015 2:15:38 PM 13952 (0x3680)
CContentDefinition::AddFile failed; 0x80004005 SMS_DISTRIBUTION_MANAGER 3/24/2015 2:15:38 PM 13952 (0x3680)
Failed to add the file. Please check if this file exists. SMS_DISTRIBUTION_MANAGER 3/24/2015 2:15:38 PM 13952 (0x3680)
SnapshotPackage() failed. Error = 0x80004005 SMS_DISTRIBUTION_MANAGER 3/24/2015 2:15:38 PM 13952 (0x3680)
Failed to take snapshot of package CSU0006A SMS_DISTRIBUTION_MANAGER 3/24/2015 2:15:38 PM 13952 (0x3680)
There is enough space on the site server and the site server has full control over the source directory. I wish I can give you more information but I'm hoping this is enough info to get some assistance. If more information is needed please let me know!We usually give the DP's computer account and the site server computer account read access to these shares in our environment.
... which is not enough for drivers and updates (as there will also files be added).
Torsten Meringer | http://www.mssccmfaq.de
... And for capture Image too if your capture destination points on that share -
MDT 2013 The source directory does not contain an identifiable operating system
Hi,
I am using MDT 2013 and I am trying to deploy server 2008 in it. I mount my 2008 iso file, import OS, then select full set of source files, and enter D:\ . It says, "The source directory does not contain an identifiable operating system". I am
sure that install.wim file is present in sources folder. What other folders/files does it need while importing OS?
Note: it is an customized OS. It has MS hotfixes and dotnet 4.5 installation package in it.
Chaitanya.
Chaitanya.Hi,
I am using MDT 2013 and I am trying to deploy server 2008 in it. I mount my 2008 iso file, import OS, then select full set of source files, and enter D:\ . It says, "The source directory does not contain an identifiable operating system". I am
sure that install.wim file is present in sources folder. What other folders/files does it need while importing OS?
Note: it is an customized OS. It has MS hotfixes and dotnet 4.5 installation package in it.
Chaitanya.
Chaitanya.
This is expected behavior because Server 2008 is unsupported in MDT 2013:
http://deploymentresearch.com/Research/Post/330/What-if-I-told-you-The-OSD-Support-Matrix-for-MDT-and-ConfigMgr-is-here
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
How can I change the source directory in Netbeans
Hi there,
Thanks for reading.
How can I change the source directory in Netbeans so I can have a src directory?
Thanks,
LorenzoForgot to say Netbeans 3.6.
thanks -
Want To Pick a single file from the Source Directory
Hi,
My Scenario is File to Proxy. Legacy team is generating Bunch of files in a same directory.But i want to pick single file for each poll interval. after process teh firts file only Sender Adapter should pick and process the next file .
At prsent , My scenario is picking all the files in a single shot and all the files are processing parellelly. . But all the files are related to one Process Order So, out of bunch of files some few of files are processing successfullu. remaining all teh files are getting " Proces Order is locked by another User" Error message . This was happeing only for the parellel processing. And from technical point of view , In sender Communication Channel i have used Quality of Service is Exactly Once in Order and i have mentioned the Queue name also. .
Evel legacy team is generating Bulk of files i want to pick a single file only, suppose if theer is no chnace then at least i want to process single file at a time after finishing the one file processing , then only i want to go for the next file
For this, is teher any paremeters need to be set , please suggest me,.
Regards
JainAt prsent , My scenario is picking all the files in a single shot and all the files are processing parellelly.
Are you using the Additional Source Files options?
What you can do :
1) Select Processing Tab > Processing Sequence> By Date
2) You can introduce a delay between two processing by using a Thread.sleep(msec) statement in some UDF in your mapping...this will ensure some delay between two processing: Re: Delay in MM possible ?
3) You can select the Connect Mode option as Per File Transfer.....keep it as the last option....
Regards,
Abhishek. -
Create folder (rename), move files and delete source
This seems a simple and obvious need but I cant find anything to help.
I want to be able to create a folder with a unique name (I would prefer to input the folder name when the workflow is run), move some files into it, and ensure the source files in the original location are deleted.
The problem with the create new folder action as it stands is that it COPIES any files passed into it. I want to MOVE the files into a new folder.
Am I missing something obvious?There's no out of the box way to achieve what you're looking for.
Two solutions:
1. Your users would need to open the entry first and then click on the "edit this file" link.
2. You could code your own folder view or landing page element and build what you need.
HTH
Cheers
Erik
PS: Feel free to contact me offlist if you need professional support. -
Distribution manager failed to process package - the source directory does not exist
Hi,
I have the following behaviour:
A Software Update Deployment Package is not distributing because of the following error:
I have found the following query (http://blogs.technet.com/b/ken_brumfield/archive/2013/01/10/troubleshooting-sccm-software-update-deployment-package-distribution-due-to-missing-directories.aspx) to
determine which update is missing.
It is about update KB978601. If we search this update in the console, we see this:
The update is not required, not downloaded, not deployed and superseeded.
If we look into the members of the Update deployment package, we can't find this update.
When I was digging into the database, I found this:
SELECT
distinct cp.Content_ID,
cp.ContentSubFolder,cp.PkgID,
con.ContentProvisioned
FROM
[dbo].[vCI_ContentPackages] cp
INNER
JOIN [dbo].[CI_ConfigurationItemContents]cic
ON cp.Content_ID
= cic.Content_ID
inner
join dbo.v_CIContents_All
con on con.Content_ID
= cp.Content_ID
where cp.PkgID
=
'XXX002BA'
and cp.ContentSubFolder
=
'39b46f0a-7244-48a6-b795-119ac74009f9'
which resulted in:
Content_ID ContentSubFolder PkgID ContentProvisioned
16828355 39b46f0a-7244-48a6-b795-119ac74009f9 BP1002BA 1
I found the "ContentProvisioned = 1 " a little bit strange.
So, my question is:
Why SCCM is thinking of distributing the content although it is not downloaded or deployed and how can we fix this?
Has it something todo with the "ContentProvisioned" or is it something else?
Thanks,
SemI can tell you why CM wants to distribute it, but the easiest way would be downloading that patch thus adding it to the package (so that it can be distributed) and remove it afterwards.
Torsten Meringer | http://www.mssccmfaq.de -
Rename the path of Oracle Files
Hi,
I have a 10g database running, with all the files located at /usr/test/.
Now I want to rename the "test" directory to "development".
Could anyone help me with the steps I need to follow?
Regards,
AparnaIf you are intending to move the datafiles to another directory then you would have to shutdown the database
move the files and recreate the instance with the new file location
Follow the following steps
1) alter database backup controlfile to trace; - from this create a control.sql file
2) shutdown the database
3) update the control.sql file with the new location of the datafiles
4) move the datafiles to the right location
5) run the control.sql which will create the instance
6) open the database -
Error in sender file adapter: source directory does not exist
Hi,
The PI system is 7.11
I've created sender file adapter with following details:
Transport Protocol : File System
Source directory: /interfaces/In
I checked in AL11 that this path really exists and it does. (I can even see the .txt file that should be processed.)
But still i get in Communication Channel Monitoring the following error:
"Configured Source directory "/interfaces/In" does not exist.
(i also tried to give the source directory as "interfaces/In" and as "//interfaces/In" but still the same error.
Any suggestions as to what is wrong?
kr
RobertActually, Need to use forward slash (/) to separate directory names in accordance with the Java specification.
But wanted to try if that works..
Also check directory name , path again as this is case sensitive...
--Divyesh -
File Sender Adapter - Multiple Source Directory
Hi all,
I have the following file to IDoc Scenaraio:
The source file might be in any of 3 directories in source system and so created file sender adapter as follows:
File access parameters:
Source Directory : Directory1
File Name : Filename*.XML
Addiontal Directory:
Directory2 Filename*.XML
Directory3 Filename*.XML
The porblem we are facing is the file adapter is picking the file from Directory1& 2 and not from Directory3.
If the change Directory Order in adapter as follows:
File access parameters:
Source Directory : Directory3
File Name : Filename*.XML
Addiontal Directory:
Directory2 Filename*.XML
Directory1 Filename*.XML
... then file from Directory 2 & 3 is getting processed and not from Directory1.
Any thoughts on this will be greatly appreciated.
Thanks
Sarat.Why use BPM for this?
Instead write an abap program to pick from any of 3 directories in source directory and place it in the shared XI folder and configure your file adapter pointing to XI shared folder...shecdule the abap report for every 5 min..
Wanna know more /people/sravya.talanki2/blog/2005/08/23/sender-xi-ftp-adapter-with-regular-path-expression-150-abap
Or write OS level scripts for doing same. -
File Adapter to iSeries IFS "Configured source directory does not exist"
Good day, All
We are using PI 7.1
I need the PI file adapter to pull a file off of an iSeries(AS400) IFS folder directory.
I'm able to configure the file adapter to pull off files from the PI server C and D drives.
I'm able to configure the file adapter to pull off files from other network drives.
But the iSeries IFS folder keeps coming back "does not exist".
I've configured the Source Directory with / and with \ and it doesn't help.
I am able to navigate to the folder while logged into the PI server as the server admin.
I've tried mapping a drive on the server to the IFS folder but that doesn't work either.
Please help!!!
I've wasted too much time trying different settings on this already.
Any assistance would be greatly appreciated.
Thanks,
ChadDear Chad,
Please go through the following SDN link :
- Configured source directory .... does not exist was suppressed
give the write permisson to the directory for everyone group and check if that helps.
Also, kindly go through the following links :
1) http://wiki.sdn.sap.com/wiki/display/XI/TroubleshootingtheFile+Adapter (point 2)
2) Not able to read files from Windows directory to Unix Server using NFS
which might give some hints in solving your issue.
Best Regards
Nishwanth
Maybe you are looking for
-
Older version of graphical modeller is displayed ;Not able to view all customers
Hi Folks, Currently I am trying to perform segmentation in web ui screen(SAP CRM 7.0 EHP3). Whenever I click on Graphical modeller I get the following Java error. Java version currently being used is 1.6.0_06 Java Plug-in 1.6.0_06 Using JRE version 1
-
Need more info on __restrict
Hi, I am currently working on a firewire video camera project and while comparing some functions that convert raw Bayer to RGB, I found that those who use the following construct: void Bayer_to_RGB8( video_buffer_t *source, video_buffer_t *display )
-
Problem with the master data restriction
Hi All, I have a master data 0EMPLOYEE. The requirement is such that we need to restrict the future dated records i.e BEGINNING DATE <= SYSTEM -DATE. This we need to do at the extractor level which was done successfully. Now even after refreshing the
-
URGENT! Need this TONIGHT!
URGENT! Need this TONIGHT! Posted: Dec 8, 2005 6:48 AM Reply Email I am in dire straits! I have to show (and have 10 copies) of my DVD for a soccer banquet TONIGHT! I have made many DVDs before and never had this happen. I am getting the following er
-
Game center still shows deleted games why? and how to remove them???
why does the game center still show removed games??? this is slightly daft?? or is it just me???